diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:24:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:24:08 +0000 |
commit | f449f278dd3c70e479a035f50a9bb817a9b433ba (patch) | |
tree | 8ca2bfb785dda9bb4d573acdf9b42aea9cd51383 /src/libzscanner | |
parent | Initial commit. (diff) | |
download | knot-f449f278dd3c70e479a035f50a9bb817a9b433ba.tar.xz knot-f449f278dd3c70e479a035f50a9bb817a9b433ba.zip |
Adding upstream version 3.2.6.upstream/3.2.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/libzscanner.pc.in | 13 | ||||
-rw-r--r-- | src/libzscanner/Makefile.inc | 40 | ||||
-rw-r--r-- | src/libzscanner/error.c | 202 | ||||
-rw-r--r-- | src/libzscanner/error.h | 119 | ||||
-rw-r--r-- | src/libzscanner/functions.c | 980 | ||||
-rw-r--r-- | src/libzscanner/functions.h | 141 | ||||
-rw-r--r-- | src/libzscanner/scanner.c.g2 | 102263 | ||||
-rw-r--r-- | src/libzscanner/scanner.c.t0 | 9692 | ||||
-rw-r--r-- | src/libzscanner/scanner.h | 405 | ||||
-rw-r--r-- | src/libzscanner/scanner.rl | 564 | ||||
-rw-r--r-- | src/libzscanner/scanner_body.rl | 2326 | ||||
-rw-r--r-- | src/libzscanner/version.h | 25 | ||||
-rw-r--r-- | src/libzscanner/version.h.in | 25 |
13 files changed, 116795 insertions, 0 deletions
diff --git a/src/libzscanner.pc.in b/src/libzscanner.pc.in new file mode 100644 index 0000000..35a8dab --- /dev/null +++ b/src/libzscanner.pc.in @@ -0,0 +1,13 @@ +prefix=@prefix@ +exec_prefix=@prefix@ +libdir=@libdir@ +includedir=@includedir@ +soname=@libzscanner_SONAME@ + +Name: libzscanner +Description: Knot DNS Zone Parsing library +URL: https://www.knot-dns.cz +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lzscanner +Libs.private: -lm +Cflags: -I${includedir} diff --git a/src/libzscanner/Makefile.inc b/src/libzscanner/Makefile.inc new file mode 100644 index 0000000..36fb795 --- /dev/null +++ b/src/libzscanner/Makefile.inc @@ -0,0 +1,40 @@ +lib_LTLIBRARIES += libzscanner.la +pkgconfig_DATA += libzscanner.pc + +libzscanner_la_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAG_VISIBILITY) ${fuzzer_CFLAGS} +libzscanner_la_LDFLAGS = $(AM_LDFLAGS) $(libzscanner_VERSION_INFO) \ + $(LDFLAG_EXCLUDE_LIBS) ${fuzzer_LDFLAGS} +libzscanner_la_LIBADD = $(math_LIBS) + +EXTRA_DIST += \ + libzscanner/scanner.rl \ + libzscanner/scanner_body.rl \ + libzscanner/scanner.c.g2 \ + libzscanner/scanner.c.t0 +include_libzscannerdir = $(includedir)/libzscanner + +include_libzscanner_HEADERS = \ + libzscanner/error.h \ + libzscanner/scanner.h \ + libzscanner/version.h + +libzscanner_la_SOURCES = \ + libzscanner/error.c \ + libzscanner/functions.h \ + libzscanner/functions.c \ + $(include_libzscanner_HEADERS) + +BUILT_SOURCES += libzscanner/scanner.c +CLEANFILES += libzscanner/scanner.c + +nodist_libzscanner_la_SOURCES = \ + libzscanner/scanner.c + +if FAST_PARSER +libzscanner/scanner.c: libzscanner/scanner.c.g2 + @cp $(srcdir)/$@.g2 $@ + @echo "NOTE: Compilation of scanner.c can take several minutes!" +else +libzscanner/scanner.c: libzscanner/scanner.c.t0 + @cp $(srcdir)/$@.t0 $@ +endif diff --git a/src/libzscanner/error.c b/src/libzscanner/error.c new file mode 100644 index 0000000..8e571f9 --- /dev/null +++ b/src/libzscanner/error.c @@ -0,0 +1,202 @@ +/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +#include <stdlib.h> + +#include "libzscanner/error.h" + +typedef struct { + int code; + const char *text; + const char *code_name; +} err_table_t; + +#define ERR_ITEM(code, text) { code, text, #code } + +static const err_table_t err_msgs[] = { + ERR_ITEM( ZS_OK, + "ok" ), + ERR_ITEM( ZS_EINVAL, + "invalid parameter" ), + ERR_ITEM( ZS_ENOMEM, + "not enough memory" ), + ERR_ITEM( ZS_FILE_OPEN, + "file open error" ), + ERR_ITEM( ZS_FILE_INVALID, + "invalid file" ), + ERR_ITEM( ZS_DOS_NEWLINE, + "unsupported CRLF newline, remove CR bytes" ), + ERR_ITEM( ZS_UNCOVERED_STATE, + "general scanner error" ), + ERR_ITEM( ZS_UNCLOSED_MULTILINE, + "unclosed last multiline block" ), + ERR_ITEM( ZS_LEFT_PARENTHESIS, + "too many left parentheses" ), + ERR_ITEM( ZS_RIGHT_PARENTHESIS, + "too many right parentheses" ), + ERR_ITEM( ZS_UNSUPPORTED_TYPE, + "unsupported record type" ), + ERR_ITEM( ZS_BAD_PREVIOUS_OWNER, + "previous owner is invalid" ), + ERR_ITEM( ZS_BAD_DNAME_CHAR, + "invalid domain name character" ), + ERR_ITEM( ZS_BAD_OWNER, + "owner is invalid" ), + ERR_ITEM( ZS_LABEL_OVERFLOW, + "maximal domain name label length has exceeded" ), + ERR_ITEM( ZS_DNAME_OVERFLOW, + "maximal domain name length has exceeded" ), + ERR_ITEM( ZS_BAD_NUMBER, + "invalid number" ), + ERR_ITEM( ZS_NUMBER64_OVERFLOW, + "number is too big" ), + ERR_ITEM( ZS_NUMBER32_OVERFLOW, + "number is bigger than 32 bits" ), + ERR_ITEM( ZS_NUMBER16_OVERFLOW, + "number is bigger than 16 bits" ), + ERR_ITEM( ZS_NUMBER8_OVERFLOW, + "number is bigger than 8 bits" ), + ERR_ITEM( ZS_FLOAT_OVERFLOW, + "float number overflow" ), + ERR_ITEM( ZS_RDATA_OVERFLOW, + "maximal record data length has exceeded" ), + ERR_ITEM( ZS_ITEM_OVERFLOW, + "maximal item length has exceeded" ), + ERR_ITEM( ZS_BAD_ADDRESS_CHAR, + "invalid address character" ), + ERR_ITEM( ZS_BAD_IPV4, + "invalid IPv4 address" ), + ERR_ITEM( ZS_BAD_IPV6, + "invalid IPv6 address" ), + ERR_ITEM( ZS_BAD_GATEWAY, + "invalid gateway" ), + ERR_ITEM( ZS_BAD_GATEWAY_KEY, + "invalid gateway key" ), + ERR_ITEM( ZS_BAD_APL, + "invalid address prefix list" ), + ERR_ITEM( ZS_BAD_RDATA, + "invalid record data" ), + ERR_ITEM( ZS_BAD_HEX_RDATA, + "invalid record data in hex format" ), + ERR_ITEM( ZS_BAD_HEX_CHAR, + "invalid hexadecimal character" ), + ERR_ITEM( ZS_BAD_BASE64_CHAR, + "invalid Base64 character" ), + ERR_ITEM( ZS_BAD_BASE32HEX_CHAR, + "invalid Base32hex character" ), + ERR_ITEM( ZS_BAD_REST, + "unexpected data" ), + ERR_ITEM( ZS_BAD_TIMESTAMP_CHAR, + "invalid timestamp character" ), + ERR_ITEM( ZS_BAD_TIMESTAMP_LENGTH, + "invalid timestamp length" ), + ERR_ITEM( ZS_BAD_TIMESTAMP, + "invalid timestamp" ), + ERR_ITEM( ZS_BAD_DATE, + "invalid date" ), + ERR_ITEM( ZS_BAD_TIME, + "invalid time" ), + ERR_ITEM( ZS_BAD_TIME_UNIT, + "invalid time unit" ), + ERR_ITEM( ZS_BAD_BITMAP, + "invalid bitmap" ), + ERR_ITEM( ZS_TEXT_OVERFLOW, + "text is too long" ), + ERR_ITEM( ZS_BAD_TEXT_CHAR, + "invalid text character" ), + ERR_ITEM( ZS_BAD_TEXT, + "invalid text string" ), + ERR_ITEM( ZS_BAD_DIRECTIVE, + "invalid directive" ), + ERR_ITEM( ZS_BAD_TTL, + "invalid zone TTL" ), + ERR_ITEM( ZS_BAD_ORIGIN, + "invalid FQDN zone origin" ), + ERR_ITEM( ZS_BAD_INCLUDE_FILENAME, + "invalid filename in include directive" ), + ERR_ITEM( ZS_BAD_INCLUDE_ORIGIN, + "invalid origin in include directive" ), + ERR_ITEM( ZS_UNPROCESSED_INCLUDE, + "include file processing error" ), + ERR_ITEM( ZS_UNOPENED_INCLUDE, + "include file opening error" ), + ERR_ITEM( ZS_BAD_RDATA_LENGTH, + "the rdata length statement is incorrect" ), + ERR_ITEM( ZS_CANNOT_TEXT_DATA, + "unable to process text form for this type" ), + ERR_ITEM( ZS_BAD_LOC_DATA, + "invalid zone location data" ), + ERR_ITEM( ZS_UNKNOWN_BLOCK, + "unknown rdata block" ), + ERR_ITEM( ZS_BAD_ALGORITHM, + "invalid algorithm" ), + ERR_ITEM( ZS_BAD_CERT_TYPE, + "invalid certificate type" ), + ERR_ITEM( ZS_BAD_EUI_LENGTH, + "invalid EUI length" ), + ERR_ITEM( ZS_BAD_L64_LENGTH, + "invalid 64-bit locator" ), + ERR_ITEM( ZS_BAD_CHAR_COLON, + "missing colon character" ), + ERR_ITEM( ZS_BAD_CHAR_DASH, + "missing dash character" ), + ERR_ITEM( ZS_DUPLICATE_SVCB_KEY, + "duplicate parameter name" ), + ERR_ITEM( ZS_BAD_SVCB_PARAM, + "invalid parameter" ), + ERR_ITEM( ZS_BAD_SVCB_MANDATORY, + "invalid mandatory value" ), + ERR_ITEM( ZS_DUPLICATE_SVCB_MANDATORY, + "duplicate mandatory value" ), + ERR_ITEM( ZS_MISSING_SVCB_MANDATORY, + "missing mandatory parameter" ), + ERR_ITEM( ZS_EMPTY_LIST_ITEM, + "empty comma-separated list item" ), + ERR_ITEM( ZS_FILE_ACCESS, + "permission denied" ), + + ERR_ITEM( 0, NULL ) // Terminator +}; + +__attribute__((visibility("default"))) +const char* zs_strerror(const int code) +{ + const err_table_t *err = err_msgs; + + while (err->text != NULL) { + if (err->code == code) { + return err->text; + } + err++; + } + + return NULL; +} + +__attribute__((visibility("default"))) +const char* zs_errorname(const int code) +{ + const err_table_t *err = err_msgs; + + while (err->text != NULL) { + if (err->code == code) { + return err->code_name; + } + err++; + } + + return NULL; +} diff --git a/src/libzscanner/error.h b/src/libzscanner/error.h new file mode 100644 index 0000000..f54a750 --- /dev/null +++ b/src/libzscanner/error.h @@ -0,0 +1,119 @@ +/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +/*! + * \file + * + * \brief Error codes and handling. + * + * \addtogroup zone_scanner + * @{ + */ + +#pragma once + +enum err_codes { + ZS_OK = 0, + ZS_EINVAL = -1000, + ZS_ENOMEM, + ZS_FILE_OPEN, + ZS_FILE_INVALID, + ZS_DOS_NEWLINE, + ZS_UNCOVERED_STATE, + ZS_UNCLOSED_MULTILINE, + ZS_LEFT_PARENTHESIS, + ZS_RIGHT_PARENTHESIS, + ZS_UNSUPPORTED_TYPE, + ZS_BAD_PREVIOUS_OWNER, + ZS_BAD_DNAME_CHAR, + ZS_BAD_OWNER, + ZS_LABEL_OVERFLOW, + ZS_DNAME_OVERFLOW, + ZS_BAD_NUMBER, + ZS_NUMBER64_OVERFLOW, + ZS_NUMBER32_OVERFLOW, + ZS_NUMBER16_OVERFLOW, + ZS_NUMBER8_OVERFLOW, + ZS_FLOAT_OVERFLOW, + ZS_RDATA_OVERFLOW, + ZS_ITEM_OVERFLOW, + ZS_BAD_ADDRESS_CHAR, + ZS_BAD_IPV4, + ZS_BAD_IPV6, + ZS_BAD_GATEWAY, + ZS_BAD_GATEWAY_KEY, + ZS_BAD_APL, + ZS_BAD_RDATA, + ZS_BAD_HEX_RDATA, + ZS_BAD_HEX_CHAR, + ZS_BAD_BASE64_CHAR, + ZS_BAD_BASE32HEX_CHAR, + ZS_BAD_REST, + ZS_BAD_TIMESTAMP_CHAR, + ZS_BAD_TIMESTAMP_LENGTH, + ZS_BAD_TIMESTAMP, + ZS_BAD_DATE, + ZS_BAD_TIME, + ZS_BAD_TIME_UNIT, + ZS_BAD_BITMAP, + ZS_TEXT_OVERFLOW, + ZS_BAD_TEXT_CHAR, + ZS_BAD_TEXT, + ZS_BAD_DIRECTIVE, + ZS_BAD_TTL, + ZS_BAD_ORIGIN, + ZS_BAD_INCLUDE_FILENAME, + ZS_BAD_INCLUDE_ORIGIN, + ZS_UNPROCESSED_INCLUDE, + ZS_UNOPENED_INCLUDE, + ZS_BAD_RDATA_LENGTH, + ZS_CANNOT_TEXT_DATA, + ZS_BAD_LOC_DATA, + ZS_UNKNOWN_BLOCK, + ZS_BAD_ALGORITHM, + ZS_BAD_CERT_TYPE, + ZS_BAD_EUI_LENGTH, + ZS_BAD_L64_LENGTH, + ZS_BAD_CHAR_COLON, + ZS_BAD_CHAR_DASH, + ZS_DUPLICATE_SVCB_KEY, + ZS_BAD_SVCB_PARAM, + ZS_BAD_SVCB_MANDATORY, + ZS_DUPLICATE_SVCB_MANDATORY, + ZS_MISSING_SVCB_MANDATORY, + ZS_EMPTY_LIST_ITEM, + ZS_FILE_ACCESS, +}; + +/*! + * \brief Returns error message for the given error code. + * + * \param code Error code. + * + * \return String containing the error message. + */ +const char* zs_strerror(const int code); + +/*! + * \brief Returns error code name of the given error code. + * + * \param code Error code. + * + * \return String containing the error code name. + */ +const char* zs_errorname(const int code); + +/*! @} */ diff --git a/src/libzscanner/functions.c b/src/libzscanner/functions.c new file mode 100644 index 0000000..f6a1c44 --- /dev/null +++ b/src/libzscanner/functions.c @@ -0,0 +1,980 @@ +/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +#include <stdint.h> +#include <stdlib.h> +#include <string.h> + +#include "libzscanner/error.h" +#include "libzscanner/functions.h" +#include "libknot/endian.h" + +const uint8_t digit_to_num[] = { + ['0'] = 0, ['1'] = 1, ['2'] = 2, ['3'] = 3, ['4'] = 4, + ['5'] = 5, ['6'] = 6, ['7'] = 7, ['8'] = 8, ['9'] = 9, +}; + +/* + * Hex transformation: + * 1 2 + * 12345678 12345678 + * in: AAAA BBBB + * out: AAAABBBB + */ + +const uint8_t first_hex_to_num[] = { + ['0'] = ( 0 * 16), ['6'] = ( 6 * 16), ['C'] = (12 * 16), ['b'] = (11 * 16), + ['1'] = ( 1 * 16), ['7'] = ( 7 * 16), ['D'] = (13 * 16), ['c'] = (12 * 16), + ['2'] = ( 2 * 16), ['8'] = ( 8 * 16), ['E'] = (14 * 16), ['d'] = (13 * 16), + ['3'] = ( 3 * 16), ['9'] = ( 9 * 16), ['F'] = (15 * 16), ['e'] = (14 * 16), + ['4'] = ( 4 * 16), ['A'] = (10 * 16), ['a'] = (10 * 16), ['f'] = (15 * 16), + ['5'] = ( 5 * 16), ['B'] = (11 * 16), +}; + +const uint8_t second_hex_to_num[] = { + ['0'] = 0, ['4'] = 4, ['8'] = 8, ['C'] = 12, ['a'] = 10, ['d'] = 13, + ['1'] = 1, ['5'] = 5, ['9'] = 9, ['D'] = 13, ['b'] = 11, ['e'] = 14, + ['2'] = 2, ['6'] = 6, ['A'] = 10, ['E'] = 14, ['c'] = 12, ['f'] = 15, + ['3'] = 3, ['7'] = 7, ['B'] = 11, ['F'] = 15, +}; + +/* + * Base64 transformation: + * 1 2 3 4 + * 12345678 12345678 12345678 12345678 + * in: 00AAAAAA 00BBBBBB 00CCCCCC 00DDDDDD + * out: AAAAAABB BBBBCCCC CCDDDDDD + */ + +// 0x3F = 00111111 +const uint8_t first_base64_to_num[] = { + ['A'] = (( 0 & 0x3F) << 2), ['g'] = ((32 & 0x3F) << 2), + ['B'] = (( 1 & 0x3F) << 2), ['h'] = ((33 & 0x3F) << 2), + ['C'] = (( 2 & 0x3F) << 2), ['i'] = ((34 & 0x3F) << 2), + ['D'] = (( 3 & 0x3F) << 2), ['j'] = ((35 & 0x3F) << 2), + ['E'] = (( 4 & 0x3F) << 2), ['k'] = ((36 & 0x3F) << 2), + ['F'] = (( 5 & 0x3F) << 2), ['l'] = ((37 & 0x3F) << 2), + ['G'] = (( 6 & 0x3F) << 2), ['m'] = ((38 & 0x3F) << 2), + ['H'] = (( 7 & 0x3F) << 2), ['n'] = ((39 & 0x3F) << 2), + ['I'] = (( 8 & 0x3F) << 2), ['o'] = ((40 & 0x3F) << 2), + ['J'] = (( 9 & 0x3F) << 2), ['p'] = ((41 & 0x3F) << 2), + ['K'] = ((10 & 0x3F) << 2), ['q'] = ((42 & 0x3F) << 2), + ['L'] = ((11 & 0x3F) << 2), ['r'] = ((43 & 0x3F) << 2), + ['M'] = ((12 & 0x3F) << 2), ['s'] = ((44 & 0x3F) << 2), + ['N'] = ((13 & 0x3F) << 2), ['t'] = ((45 & 0x3F) << 2), + ['O'] = ((14 & 0x3F) << 2), ['u'] = ((46 & 0x3F) << 2), + ['P'] = ((15 & 0x3F) << 2), ['v'] = ((47 & 0x3F) << 2), + ['Q'] = ((16 & 0x3F) << 2), ['w'] = ((48 & 0x3F) << 2), + ['R'] = ((17 & 0x3F) << 2), ['x'] = ((49 & 0x3F) << 2), + ['S'] = ((18 & 0x3F) << 2), ['y'] = ((50 & 0x3F) << 2), + ['T'] = ((19 & 0x3F) << 2), ['z'] = ((51 & 0x3F) << 2), + ['U'] = ((20 & 0x3F) << 2), ['0'] = ((52 & 0x3F) << 2), + ['V'] = ((21 & 0x3F) << 2), ['1'] = ((53 & 0x3F) << 2), + ['W'] = ((22 & 0x3F) << 2), ['2'] = ((54 & 0x3F) << 2), + ['X'] = ((23 & 0x3F) << 2), ['3'] = ((55 & 0x3F) << 2), + ['Y'] = ((24 & 0x3F) << 2), ['4'] = ((56 & 0x3F) << 2), + ['Z'] = ((25 & 0x3F) << 2), ['5'] = ((57 & 0x3F) << 2), + ['a'] = ((26 & 0x3F) << 2), ['6'] = ((58 & 0x3F) << 2), + ['b'] = ((27 & 0x3F) << 2), ['7'] = ((59 & 0x3F) << 2), + ['c'] = ((28 & 0x3F) << 2), ['8'] = ((60 & 0x3F) << 2), + ['d'] = ((29 & 0x3F) << 2), ['9'] = ((61 & 0x3F) << 2), + ['e'] = ((30 & 0x3F) << 2), ['+'] = ((62 & 0x3F) << 2), + ['f'] = ((31 & 0x3F) << 2), ['/'] = ((63 & 0x3F) << 2), +}; + +// 0x30 = 00110000 +const uint8_t second_left_base64_to_num[] = { + ['A'] = (( 0 & 0x30) >> 4), ['g'] = ((32 & 0x30) >> 4), + ['B'] = (( 1 & 0x30) >> 4), ['h'] = ((33 & 0x30) >> 4), + ['C'] = (( 2 & 0x30) >> 4), ['i'] = ((34 & 0x30) >> 4), + ['D'] = (( 3 & 0x30) >> 4), ['j'] = ((35 & 0x30) >> 4), + ['E'] = (( 4 & 0x30) >> 4), ['k'] = ((36 & 0x30) >> 4), + ['F'] = (( 5 & 0x30) >> 4), ['l'] = ((37 & 0x30) >> 4), + ['G'] = (( 6 & 0x30) >> 4), ['m'] = ((38 & 0x30) >> 4), + ['H'] = (( 7 & 0x30) >> 4), ['n'] = ((39 & 0x30) >> 4), + ['I'] = (( 8 & 0x30) >> 4), ['o'] = ((40 & 0x30) >> 4), + ['J'] = (( 9 & 0x30) >> 4), ['p'] = ((41 & 0x30) >> 4), + ['K'] = ((10 & 0x30) >> 4), ['q'] = ((42 & 0x30) >> 4), + ['L'] = ((11 & 0x30) >> 4), ['r'] = ((43 & 0x30) >> 4), + ['M'] = ((12 & 0x30) >> 4), ['s'] = ((44 & 0x30) >> 4), + ['N'] = ((13 & 0x30) >> 4), ['t'] = ((45 & 0x30) >> 4), + ['O'] = ((14 & 0x30) >> 4), ['u'] = ((46 & 0x30) >> 4), + ['P'] = ((15 & 0x30) >> 4), ['v'] = ((47 & 0x30) >> 4), + ['Q'] = ((16 & 0x30) >> 4), ['w'] = ((48 & 0x30) >> 4), + ['R'] = ((17 & 0x30) >> 4), ['x'] = ((49 & 0x30) >> 4), + ['S'] = ((18 & 0x30) >> 4), ['y'] = ((50 & 0x30) >> 4), + ['T'] = ((19 & 0x30) >> 4), ['z'] = ((51 & 0x30) >> 4), + ['U'] = ((20 & 0x30) >> 4), ['0'] = ((52 & 0x30) >> 4), + ['V'] = ((21 & 0x30) >> 4), ['1'] = ((53 & 0x30) >> 4), + ['W'] = ((22 & 0x30) >> 4), ['2'] = ((54 & 0x30) >> 4), + ['X'] = ((23 & 0x30) >> 4), ['3'] = ((55 & 0x30) >> 4), + ['Y'] = ((24 & 0x30) >> 4), ['4'] = ((56 & 0x30) >> 4), + ['Z'] = ((25 & 0x30) >> 4), ['5'] = ((57 & 0x30) >> 4), + ['a'] = ((26 & 0x30) >> 4), ['6'] = ((58 & 0x30) >> 4), + ['b'] = ((27 & 0x30) >> 4), ['7'] = ((59 & 0x30) >> 4), + ['c'] = ((28 & 0x30) >> 4), ['8'] = ((60 & 0x30) >> 4), + ['d'] = ((29 & 0x30) >> 4), ['9'] = ((61 & 0x30) >> 4), + ['e'] = ((30 & 0x30) >> 4), ['+'] = ((62 & 0x30) >> 4), + ['f'] = ((31 & 0x30) >> 4), ['/'] = ((63 & 0x30) >> 4), +}; + +// 0x0F = 00001111 +const uint8_t second_right_base64_to_num[] = { + ['A'] = (( 0 & 0x0F) << 4), ['g'] = ((32 & 0x0F) << 4), + ['B'] = (( 1 & 0x0F) << 4), ['h'] = ((33 & 0x0F) << 4), + ['C'] = (( 2 & 0x0F) << 4), ['i'] = ((34 & 0x0F) << 4), + ['D'] = (( 3 & 0x0F) << 4), ['j'] = ((35 & 0x0F) << 4), + ['E'] = (( 4 & 0x0F) << 4), ['k'] = ((36 & 0x0F) << 4), + ['F'] = (( 5 & 0x0F) << 4), ['l'] = ((37 & 0x0F) << 4), + ['G'] = (( 6 & 0x0F) << 4), ['m'] = ((38 & 0x0F) << 4), + ['H'] = (( 7 & 0x0F) << 4), ['n'] = ((39 & 0x0F) << 4), + ['I'] = (( 8 & 0x0F) << 4), ['o'] = ((40 & 0x0F) << 4), + ['J'] = (( 9 & 0x0F) << 4), ['p'] = ((41 & 0x0F) << 4), + ['K'] = ((10 & 0x0F) << 4), ['q'] = ((42 & 0x0F) << 4), + ['L'] = ((11 & 0x0F) << 4), ['r'] = ((43 & 0x0F) << 4), + ['M'] = ((12 & 0x0F) << 4), ['s'] = ((44 & 0x0F) << 4), + ['N'] = ((13 & 0x0F) << 4), ['t'] = ((45 & 0x0F) << 4), + ['O'] = ((14 & 0x0F) << 4), ['u'] = ((46 & 0x0F) << 4), + ['P'] = ((15 & 0x0F) << 4), ['v'] = ((47 & 0x0F) << 4), + ['Q'] = ((16 & 0x0F) << 4), ['w'] = ((48 & 0x0F) << 4), + ['R'] = ((17 & 0x0F) << 4), ['x'] = ((49 & 0x0F) << 4), + ['S'] = ((18 & 0x0F) << 4), ['y'] = ((50 & 0x0F) << 4), + ['T'] = ((19 & 0x0F) << 4), ['z'] = ((51 & 0x0F) << 4), + ['U'] = ((20 & 0x0F) << 4), ['0'] = ((52 & 0x0F) << 4), + ['V'] = ((21 & 0x0F) << 4), ['1'] = ((53 & 0x0F) << 4), + ['W'] = ((22 & 0x0F) << 4), ['2'] = ((54 & 0x0F) << 4), + ['X'] = ((23 & 0x0F) << 4), ['3'] = ((55 & 0x0F) << 4), + ['Y'] = ((24 & 0x0F) << 4), ['4'] = ((56 & 0x0F) << 4), + ['Z'] = ((25 & 0x0F) << 4), ['5'] = ((57 & 0x0F) << 4), + ['a'] = ((26 & 0x0F) << 4), ['6'] = ((58 & 0x0F) << 4), + ['b'] = ((27 & 0x0F) << 4), ['7'] = ((59 & 0x0F) << 4), + ['c'] = ((28 & 0x0F) << 4), ['8'] = ((60 & 0x0F) << 4), + ['d'] = ((29 & 0x0F) << 4), ['9'] = ((61 & 0x0F) << 4), + ['e'] = ((30 & 0x0F) << 4), ['+'] = ((62 & 0x0F) << 4), + ['f'] = ((31 & 0x0F) << 4), ['/'] = ((63 & 0x0F) << 4), +}; + +// 0x3C = 00111100 +const uint8_t third_left_base64_to_num[] = { + ['A'] = (( 0 & 0x3C) >> 2), ['g'] = ((32 & 0x3C) >> 2), + ['B'] = (( 1 & 0x3C) >> 2), ['h'] = ((33 & 0x3C) >> 2), + ['C'] = (( 2 & 0x3C) >> 2), ['i'] = ((34 & 0x3C) >> 2), + ['D'] = (( 3 & 0x3C) >> 2), ['j'] = ((35 & 0x3C) >> 2), + ['E'] = (( 4 & 0x3C) >> 2), ['k'] = ((36 & 0x3C) >> 2), + ['F'] = (( 5 & 0x3C) >> 2), ['l'] = ((37 & 0x3C) >> 2), + ['G'] = (( 6 & 0x3C) >> 2), ['m'] = ((38 & 0x3C) >> 2), + ['H'] = (( 7 & 0x3C) >> 2), ['n'] = ((39 & 0x3C) >> 2), + ['I'] = (( 8 & 0x3C) >> 2), ['o'] = ((40 & 0x3C) >> 2), + ['J'] = (( 9 & 0x3C) >> 2), ['p'] = ((41 & 0x3C) >> 2), + ['K'] = ((10 & 0x3C) >> 2), ['q'] = ((42 & 0x3C) >> 2), + ['L'] = ((11 & 0x3C) >> 2), ['r'] = ((43 & 0x3C) >> 2), + ['M'] = ((12 & 0x3C) >> 2), ['s'] = ((44 & 0x3C) >> 2), + ['N'] = ((13 & 0x3C) >> 2), ['t'] = ((45 & 0x3C) >> 2), + ['O'] = ((14 & 0x3C) >> 2), ['u'] = ((46 & 0x3C) >> 2), + ['P'] = ((15 & 0x3C) >> 2), ['v'] = ((47 & 0x3C) >> 2), + ['Q'] = ((16 & 0x3C) >> 2), ['w'] = ((48 & 0x3C) >> 2), + ['R'] = ((17 & 0x3C) >> 2), ['x'] = ((49 & 0x3C) >> 2), + ['S'] = ((18 & 0x3C) >> 2), ['y'] = ((50 & 0x3C) >> 2), + ['T'] = ((19 & 0x3C) >> 2), ['z'] = ((51 & 0x3C) >> 2), + ['U'] = ((20 & 0x3C) >> 2), ['0'] = ((52 & 0x3C) >> 2), + ['V'] = ((21 & 0x3C) >> 2), ['1'] = ((53 & 0x3C) >> 2), + ['W'] = ((22 & 0x3C) >> 2), ['2'] = ((54 & 0x3C) >> 2), + ['X'] = ((23 & 0x3C) >> 2), ['3'] = ((55 & 0x3C) >> 2), + ['Y'] = ((24 & 0x3C) >> 2), ['4'] = ((56 & 0x3C) >> 2), + ['Z'] = ((25 & 0x3C) >> 2), ['5'] = ((57 & 0x3C) >> 2), + ['a'] = ((26 & 0x3C) >> 2), ['6'] = ((58 & 0x3C) >> 2), + ['b'] = ((27 & 0x3C) >> 2), ['7'] = ((59 & 0x3C) >> 2), + ['c'] = ((28 & 0x3C) >> 2), ['8'] = ((60 & 0x3C) >> 2), + ['d'] = ((29 & 0x3C) >> 2), ['9'] = ((61 & 0x3C) >> 2), + ['e'] = ((30 & 0x3C) >> 2), ['+'] = ((62 & 0x3C) >> 2), + ['f'] = ((31 & 0x3C) >> 2), ['/'] = ((63 & 0x3C) >> 2), +}; + +// 0x03 = 00000011 +const uint8_t third_right_base64_to_num[] = { + ['A'] = (( 0 & 0x03) << 6), ['g'] = ((32 & 0x03) << 6), + ['B'] = (( 1 & 0x03) << 6), ['h'] = ((33 & 0x03) << 6), + ['C'] = (( 2 & 0x03) << 6), ['i'] = ((34 & 0x03) << 6), + ['D'] = (( 3 & 0x03) << 6), ['j'] = ((35 & 0x03) << 6), + ['E'] = (( 4 & 0x03) << 6), ['k'] = ((36 & 0x03) << 6), + ['F'] = (( 5 & 0x03) << 6), ['l'] = ((37 & 0x03) << 6), + ['G'] = (( 6 & 0x03) << 6), ['m'] = ((38 & 0x03) << 6), + ['H'] = (( 7 & 0x03) << 6), ['n'] = ((39 & 0x03) << 6), + ['I'] = (( 8 & 0x03) << 6), ['o'] = ((40 & 0x03) << 6), + ['J'] = (( 9 & 0x03) << 6), ['p'] = ((41 & 0x03) << 6), + ['K'] = ((10 & 0x03) << 6), ['q'] = ((42 & 0x03) << 6), + ['L'] = ((11 & 0x03) << 6), ['r'] = ((43 & 0x03) << 6), + ['M'] = ((12 & 0x03) << 6), ['s'] = ((44 & 0x03) << 6), + ['N'] = ((13 & 0x03) << 6), ['t'] = ((45 & 0x03) << 6), + ['O'] = ((14 & 0x03) << 6), ['u'] = ((46 & 0x03) << 6), + ['P'] = ((15 & 0x03) << 6), ['v'] = ((47 & 0x03) << 6), + ['Q'] = ((16 & 0x03) << 6), ['w'] = ((48 & 0x03) << 6), + ['R'] = ((17 & 0x03) << 6), ['x'] = ((49 & 0x03) << 6), + ['S'] = ((18 & 0x03) << 6), ['y'] = ((50 & 0x03) << 6), + ['T'] = ((19 & 0x03) << 6), ['z'] = ((51 & 0x03) << 6), + ['U'] = ((20 & 0x03) << 6), ['0'] = ((52 & 0x03) << 6), + ['V'] = ((21 & 0x03) << 6), ['1'] = ((53 & 0x03) << 6), + ['W'] = ((22 & 0x03) << 6), ['2'] = ((54 & 0x03) << 6), + ['X'] = ((23 & 0x03) << 6), ['3'] = ((55 & 0x03) << 6), + ['Y'] = ((24 & 0x03) << 6), ['4'] = ((56 & 0x03) << 6), + ['Z'] = ((25 & 0x03) << 6), ['5'] = ((57 & 0x03) << 6), + ['a'] = ((26 & 0x03) << 6), ['6'] = ((58 & 0x03) << 6), + ['b'] = ((27 & 0x03) << 6), ['7'] = ((59 & 0x03) << 6), + ['c'] = ((28 & 0x03) << 6), ['8'] = ((60 & 0x03) << 6), + ['d'] = ((29 & 0x03) << 6), ['9'] = ((61 & 0x03) << 6), + ['e'] = ((30 & 0x03) << 6), ['+'] = ((62 & 0x03) << 6), + ['f'] = ((31 & 0x03) << 6), ['/'] = ((63 & 0x03) << 6), +}; + +// 0x3F = 00111111 +const uint8_t fourth_base64_to_num[] = { + ['A'] = (( 0 & 0x3F) << 0), ['g'] = ((32 & 0x3F) << 0), + ['B'] = (( 1 & 0x3F) << 0), ['h'] = ((33 & 0x3F) << 0), + ['C'] = (( 2 & 0x3F) << 0), ['i'] = ((34 & 0x3F) << 0), + ['D'] = (( 3 & 0x3F) << 0), ['j'] = ((35 & 0x3F) << 0), + ['E'] = (( 4 & 0x3F) << 0), ['k'] = ((36 & 0x3F) << 0), + ['F'] = (( 5 & 0x3F) << 0), ['l'] = ((37 & 0x3F) << 0), + ['G'] = (( 6 & 0x3F) << 0), ['m'] = ((38 & 0x3F) << 0), + ['H'] = (( 7 & 0x3F) << 0), ['n'] = ((39 & 0x3F) << 0), + ['I'] = (( 8 & 0x3F) << 0), ['o'] = ((40 & 0x3F) << 0), + ['J'] = (( 9 & 0x3F) << 0), ['p'] = ((41 & 0x3F) << 0), + ['K'] = ((10 & 0x3F) << 0), ['q'] = ((42 & 0x3F) << 0), + ['L'] = ((11 & 0x3F) << 0), ['r'] = ((43 & 0x3F) << 0), + ['M'] = ((12 & 0x3F) << 0), ['s'] = ((44 & 0x3F) << 0), + ['N'] = ((13 & 0x3F) << 0), ['t'] = ((45 & 0x3F) << 0), + ['O'] = ((14 & 0x3F) << 0), ['u'] = ((46 & 0x3F) << 0), + ['P'] = ((15 & 0x3F) << 0), ['v'] = ((47 & 0x3F) << 0), + ['Q'] = ((16 & 0x3F) << 0), ['w'] = ((48 & 0x3F) << 0), + ['R'] = ((17 & 0x3F) << 0), ['x'] = ((49 & 0x3F) << 0), + ['S'] = ((18 & 0x3F) << 0), ['y'] = ((50 & 0x3F) << 0), + ['T'] = ((19 & 0x3F) << 0), ['z'] = ((51 & 0x3F) << 0), + ['U'] = ((20 & 0x3F) << 0), ['0'] = ((52 & 0x3F) << 0), + ['V'] = ((21 & 0x3F) << 0), ['1'] = ((53 & 0x3F) << 0), + ['W'] = ((22 & 0x3F) << 0), ['2'] = ((54 & 0x3F) << 0), + ['X'] = ((23 & 0x3F) << 0), ['3'] = ((55 & 0x3F) << 0), + ['Y'] = ((24 & 0x3F) << 0), ['4'] = ((56 & 0x3F) << 0), + ['Z'] = ((25 & 0x3F) << 0), ['5'] = ((57 & 0x3F) << 0), + ['a'] = ((26 & 0x3F) << 0), ['6'] = ((58 & 0x3F) << 0), + ['b'] = ((27 & 0x3F) << 0), ['7'] = ((59 & 0x3F) << 0), + ['c'] = ((28 & 0x3F) << 0), ['8'] = ((60 & 0x3F) << 0), + ['d'] = ((29 & 0x3F) << 0), ['9'] = ((61 & 0x3F) << 0), + ['e'] = ((30 & 0x3F) << 0), ['+'] = ((62 & 0x3F) << 0), + ['f'] = ((31 & 0x3F) << 0), ['/'] = ((63 & 0x3F) << 0), +}; + +/* + * Base32hex transformation (with lower-case): + * 1 2 3 4 5 6 7 8 + * 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 + * in: 000AAAAA 000BBBBB 000CCCCC 000DDDDD 000EEEEE 000FFFFF 000GGGGG 000HHHHH + * out AAAAABBB BBCCCCCD DDDDEEEE EFFFFFGG GGGHHHHH + */ + +// 0x1F = 00011111 +const uint8_t first_base32hex_to_num[] = { + ['0'] = (( 0 & 0x1F) << 3), ['R'] = ((27 & 0x1F) << 3), + ['1'] = (( 1 & 0x1F) << 3), ['S'] = ((28 & 0x1F) << 3), + ['2'] = (( 2 & 0x1F) << 3), ['T'] = ((29 & 0x1F) << 3), + ['3'] = (( 3 & 0x1F) << 3), ['U'] = ((30 & 0x1F) << 3), + ['4'] = (( 4 & 0x1F) << 3), ['V'] = ((31 & 0x1F) << 3), + ['5'] = (( 5 & 0x1F) << 3), ['a'] = ((10 & 0x1F) << 3), + ['6'] = (( 6 & 0x1F) << 3), ['b'] = ((11 & 0x1F) << 3), + ['7'] = (( 7 & 0x1F) << 3), ['c'] = ((12 & 0x1F) << 3), + ['8'] = (( 8 & 0x1F) << 3), ['d'] = ((13 & 0x1F) << 3), + ['9'] = (( 9 & 0x1F) << 3), ['e'] = ((14 & 0x1F) << 3), + ['A'] = ((10 & 0x1F) << 3), ['f'] = ((15 & 0x1F) << 3), + ['B'] = ((11 & 0x1F) << 3), ['g'] = ((16 & 0x1F) << 3), + ['C'] = ((12 & 0x1F) << 3), ['h'] = ((17 & 0x1F) << 3), + ['D'] = ((13 & 0x1F) << 3), ['i'] = ((18 & 0x1F) << 3), + ['E'] = ((14 & 0x1F) << 3), ['j'] = ((19 & 0x1F) << 3), + ['F'] = ((15 & 0x1F) << 3), ['k'] = ((20 & 0x1F) << 3), + ['G'] = ((16 & 0x1F) << 3), ['l'] = ((21 & 0x1F) << 3), + ['H'] = ((17 & 0x1F) << 3), ['m'] = ((22 & 0x1F) << 3), + ['I'] = ((18 & 0x1F) << 3), ['n'] = ((23 & 0x1F) << 3), + ['J'] = ((19 & 0x1F) << 3), ['o'] = ((24 & 0x1F) << 3), + ['K'] = ((20 & 0x1F) << 3), ['p'] = ((25 & 0x1F) << 3), + ['L'] = ((21 & 0x1F) << 3), ['q'] = ((26 & 0x1F) << 3), + ['M'] = ((22 & 0x1F) << 3), ['r'] = ((27 & 0x1F) << 3), + ['N'] = ((23 & 0x1F) << 3), ['s'] = ((28 & 0x1F) << 3), + ['O'] = ((24 & 0x1F) << 3), ['t'] = ((29 & 0x1F) << 3), + ['P'] = ((25 & 0x1F) << 3), ['u'] = ((30 & 0x1F) << 3), + ['Q'] = ((26 & 0x1F) << 3), ['v'] = ((31 & 0x1F) << 3), +}; + +// 0x1C = 00011100 +const uint8_t second_left_base32hex_to_num[] = { + ['0'] = (( 0 & 0x1C) >> 2), ['R'] = ((27 & 0x1C) >> 2), + ['1'] = (( 1 & 0x1C) >> 2), ['S'] = ((28 & 0x1C) >> 2), + ['2'] = (( 2 & 0x1C) >> 2), ['T'] = ((29 & 0x1C) >> 2), + ['3'] = (( 3 & 0x1C) >> 2), ['U'] = ((30 & 0x1C) >> 2), + ['4'] = (( 4 & 0x1C) >> 2), ['V'] = ((31 & 0x1C) >> 2), + ['5'] = (( 5 & 0x1C) >> 2), ['a'] = ((10 & 0x1C) >> 2), + ['6'] = (( 6 & 0x1C) >> 2), ['b'] = ((11 & 0x1C) >> 2), + ['7'] = (( 7 & 0x1C) >> 2), ['c'] = ((12 & 0x1C) >> 2), + ['8'] = (( 8 & 0x1C) >> 2), ['d'] = ((13 & 0x1C) >> 2), + ['9'] = (( 9 & 0x1C) >> 2), ['e'] = ((14 & 0x1C) >> 2), + ['A'] = ((10 & 0x1C) >> 2), ['f'] = ((15 & 0x1C) >> 2), + ['B'] = ((11 & 0x1C) >> 2), ['g'] = ((16 & 0x1C) >> 2), + ['C'] = ((12 & 0x1C) >> 2), ['h'] = ((17 & 0x1C) >> 2), + ['D'] = ((13 & 0x1C) >> 2), ['i'] = ((18 & 0x1C) >> 2), + ['E'] = ((14 & 0x1C) >> 2), ['j'] = ((19 & 0x1C) >> 2), + ['F'] = ((15 & 0x1C) >> 2), ['k'] = ((20 & 0x1C) >> 2), + ['G'] = ((16 & 0x1C) >> 2), ['l'] = ((21 & 0x1C) >> 2), + ['H'] = ((17 & 0x1C) >> 2), ['m'] = ((22 & 0x1C) >> 2), + ['I'] = ((18 & 0x1C) >> 2), ['n'] = ((23 & 0x1C) >> 2), + ['J'] = ((19 & 0x1C) >> 2), ['o'] = ((24 & 0x1C) >> 2), + ['K'] = ((20 & 0x1C) >> 2), ['p'] = ((25 & 0x1C) >> 2), + ['L'] = ((21 & 0x1C) >> 2), ['q'] = ((26 & 0x1C) >> 2), + ['M'] = ((22 & 0x1C) >> 2), ['r'] = ((27 & 0x1C) >> 2), + ['N'] = ((23 & 0x1C) >> 2), ['s'] = ((28 & 0x1C) >> 2), + ['O'] = ((24 & 0x1C) >> 2), ['t'] = ((29 & 0x1C) >> 2), + ['P'] = ((25 & 0x1C) >> 2), ['u'] = ((30 & 0x1C) >> 2), + ['Q'] = ((26 & 0x1C) >> 2), ['v'] = ((31 & 0x1C) >> 2), +}; + +// 0x03 = 00000011 +const uint8_t second_right_base32hex_to_num[] = { + ['0'] = (( 0 & 0x03) << 6), ['R'] = ((27 & 0x03) << 6), + ['1'] = (( 1 & 0x03) << 6), ['S'] = ((28 & 0x03) << 6), + ['2'] = (( 2 & 0x03) << 6), ['T'] = ((29 & 0x03) << 6), + ['3'] = (( 3 & 0x03) << 6), ['U'] = ((30 & 0x03) << 6), + ['4'] = (( 4 & 0x03) << 6), ['V'] = ((31 & 0x03) << 6), + ['5'] = (( 5 & 0x03) << 6), ['a'] = ((10 & 0x03) << 6), + ['6'] = (( 6 & 0x03) << 6), ['b'] = ((11 & 0x03) << 6), + ['7'] = (( 7 & 0x03) << 6), ['c'] = ((12 & 0x03) << 6), + ['8'] = (( 8 & 0x03) << 6), ['d'] = ((13 & 0x03) << 6), + ['9'] = (( 9 & 0x03) << 6), ['e'] = ((14 & 0x03) << 6), + ['A'] = ((10 & 0x03) << 6), ['f'] = ((15 & 0x03) << 6), + ['B'] = ((11 & 0x03) << 6), ['g'] = ((16 & 0x03) << 6), + ['C'] = ((12 & 0x03) << 6), ['h'] = ((17 & 0x03) << 6), + ['D'] = ((13 & 0x03) << 6), ['i'] = ((18 & 0x03) << 6), + ['E'] = ((14 & 0x03) << 6), ['j'] = ((19 & 0x03) << 6), + ['F'] = ((15 & 0x03) << 6), ['k'] = ((20 & 0x03) << 6), + ['G'] = ((16 & 0x03) << 6), ['l'] = ((21 & 0x03) << 6), + ['H'] = ((17 & 0x03) << 6), ['m'] = ((22 & 0x03) << 6), + ['I'] = ((18 & 0x03) << 6), ['n'] = ((23 & 0x03) << 6), + ['J'] = ((19 & 0x03) << 6), ['o'] = ((24 & 0x03) << 6), + ['K'] = ((20 & 0x03) << 6), ['p'] = ((25 & 0x03) << 6), + ['L'] = ((21 & 0x03) << 6), ['q'] = ((26 & 0x03) << 6), + ['M'] = ((22 & 0x03) << 6), ['r'] = ((27 & 0x03) << 6), + ['N'] = ((23 & 0x03) << 6), ['s'] = ((28 & 0x03) << 6), + ['O'] = ((24 & 0x03) << 6), ['t'] = ((29 & 0x03) << 6), + ['P'] = ((25 & 0x03) << 6), ['u'] = ((30 & 0x03) << 6), + ['Q'] = ((26 & 0x03) << 6), ['v'] = ((31 & 0x03) << 6), +}; + +// 0x1F = 00011111 +const uint8_t third_base32hex_to_num[] = { + ['0'] = (( 0 & 0x1F) << 1), ['R'] = ((27 & 0x1F) << 1), + ['1'] = (( 1 & 0x1F) << 1), ['S'] = ((28 & 0x1F) << 1), + ['2'] = (( 2 & 0x1F) << 1), ['T'] = ((29 & 0x1F) << 1), + ['3'] = (( 3 & 0x1F) << 1), ['U'] = ((30 & 0x1F) << 1), + ['4'] = (( 4 & 0x1F) << 1), ['V'] = ((31 & 0x1F) << 1), + ['5'] = (( 5 & 0x1F) << 1), ['a'] = ((10 & 0x1F) << 1), + ['6'] = (( 6 & 0x1F) << 1), ['b'] = ((11 & 0x1F) << 1), + ['7'] = (( 7 & 0x1F) << 1), ['c'] = ((12 & 0x1F) << 1), + ['8'] = (( 8 & 0x1F) << 1), ['d'] = ((13 & 0x1F) << 1), + ['9'] = (( 9 & 0x1F) << 1), ['e'] = ((14 & 0x1F) << 1), + ['A'] = ((10 & 0x1F) << 1), ['f'] = ((15 & 0x1F) << 1), + ['B'] = ((11 & 0x1F) << 1), ['g'] = ((16 & 0x1F) << 1), + ['C'] = ((12 & 0x1F) << 1), ['h'] = ((17 & 0x1F) << 1), + ['D'] = ((13 & 0x1F) << 1), ['i'] = ((18 & 0x1F) << 1), + ['E'] = ((14 & 0x1F) << 1), ['j'] = ((19 & 0x1F) << 1), + ['F'] = ((15 & 0x1F) << 1), ['k'] = ((20 & 0x1F) << 1), + ['G'] = ((16 & 0x1F) << 1), ['l'] = ((21 & 0x1F) << 1), + ['H'] = ((17 & 0x1F) << 1), ['m'] = ((22 & 0x1F) << 1), + ['I'] = ((18 & 0x1F) << 1), ['n'] = ((23 & 0x1F) << 1), + ['J'] = ((19 & 0x1F) << 1), ['o'] = ((24 & 0x1F) << 1), + ['K'] = ((20 & 0x1F) << 1), ['p'] = ((25 & 0x1F) << 1), + ['L'] = ((21 & 0x1F) << 1), ['q'] = ((26 & 0x1F) << 1), + ['M'] = ((22 & 0x1F) << 1), ['r'] = ((27 & 0x1F) << 1), + ['N'] = ((23 & 0x1F) << 1), ['s'] = ((28 & 0x1F) << 1), + ['O'] = ((24 & 0x1F) << 1), ['t'] = ((29 & 0x1F) << 1), + ['P'] = ((25 & 0x1F) << 1), ['u'] = ((30 & 0x1F) << 1), + ['Q'] = ((26 & 0x1F) << 1), ['v'] = ((31 & 0x1F) << 1), +}; + +// 0x10 = 00010000 +const uint8_t fourth_left_base32hex_to_num[] = { + ['0'] = (( 0 & 0x10) >> 4), ['R'] = ((27 & 0x10) >> 4), + ['1'] = (( 1 & 0x10) >> 4), ['S'] = ((28 & 0x10) >> 4), + ['2'] = (( 2 & 0x10) >> 4), ['T'] = ((29 & 0x10) >> 4), + ['3'] = (( 3 & 0x10) >> 4), ['U'] = ((30 & 0x10) >> 4), + ['4'] = (( 4 & 0x10) >> 4), ['V'] = ((31 & 0x10) >> 4), + ['5'] = (( 5 & 0x10) >> 4), ['a'] = ((10 & 0x10) >> 4), + ['6'] = (( 6 & 0x10) >> 4), ['b'] = ((11 & 0x10) >> 4), + ['7'] = (( 7 & 0x10) >> 4), ['c'] = ((12 & 0x10) >> 4), + ['8'] = (( 8 & 0x10) >> 4), ['d'] = ((13 & 0x10) >> 4), + ['9'] = (( 9 & 0x10) >> 4), ['e'] = ((14 & 0x10) >> 4), + ['A'] = ((10 & 0x10) >> 4), ['f'] = ((15 & 0x10) >> 4), + ['B'] = ((11 & 0x10) >> 4), ['g'] = ((16 & 0x10) >> 4), + ['C'] = ((12 & 0x10) >> 4), ['h'] = ((17 & 0x10) >> 4), + ['D'] = ((13 & 0x10) >> 4), ['i'] = ((18 & 0x10) >> 4), + ['E'] = ((14 & 0x10) >> 4), ['j'] = ((19 & 0x10) >> 4), + ['F'] = ((15 & 0x10) >> 4), ['k'] = ((20 & 0x10) >> 4), + ['G'] = ((16 & 0x10) >> 4), ['l'] = ((21 & 0x10) >> 4), + ['H'] = ((17 & 0x10) >> 4), ['m'] = ((22 & 0x10) >> 4), + ['I'] = ((18 & 0x10) >> 4), ['n'] = ((23 & 0x10) >> 4), + ['J'] = ((19 & 0x10) >> 4), ['o'] = ((24 & 0x10) >> 4), + ['K'] = ((20 & 0x10) >> 4), ['p'] = ((25 & 0x10) >> 4), + ['L'] = ((21 & 0x10) >> 4), ['q'] = ((26 & 0x10) >> 4), + ['M'] = ((22 & 0x10) >> 4), ['r'] = ((27 & 0x10) >> 4), + ['N'] = ((23 & 0x10) >> 4), ['s'] = ((28 & 0x10) >> 4), + ['O'] = ((24 & 0x10) >> 4), ['t'] = ((29 & 0x10) >> 4), + ['P'] = ((25 & 0x10) >> 4), ['u'] = ((30 & 0x10) >> 4), + ['Q'] = ((26 & 0x10) >> 4), ['v'] = ((31 & 0x10) >> 4), +}; + +// 0x0F = 00001111 +const uint8_t fourth_right_base32hex_to_num[] = { + ['0'] = (( 0 & 0x0F) << 4), ['R'] = ((27 & 0x0F) << 4), + ['1'] = (( 1 & 0x0F) << 4), ['S'] = ((28 & 0x0F) << 4), + ['2'] = (( 2 & 0x0F) << 4), ['T'] = ((29 & 0x0F) << 4), + ['3'] = (( 3 & 0x0F) << 4), ['U'] = ((30 & 0x0F) << 4), + ['4'] = (( 4 & 0x0F) << 4), ['V'] = ((31 & 0x0F) << 4), + ['5'] = (( 5 & 0x0F) << 4), ['a'] = ((10 & 0x0F) << 4), + ['6'] = (( 6 & 0x0F) << 4), ['b'] = ((11 & 0x0F) << 4), + ['7'] = (( 7 & 0x0F) << 4), ['c'] = ((12 & 0x0F) << 4), + ['8'] = (( 8 & 0x0F) << 4), ['d'] = ((13 & 0x0F) << 4), + ['9'] = (( 9 & 0x0F) << 4), ['e'] = ((14 & 0x0F) << 4), + ['A'] = ((10 & 0x0F) << 4), ['f'] = ((15 & 0x0F) << 4), + ['B'] = ((11 & 0x0F) << 4), ['g'] = ((16 & 0x0F) << 4), + ['C'] = ((12 & 0x0F) << 4), ['h'] = ((17 & 0x0F) << 4), + ['D'] = ((13 & 0x0F) << 4), ['i'] = ((18 & 0x0F) << 4), + ['E'] = ((14 & 0x0F) << 4), ['j'] = ((19 & 0x0F) << 4), + ['F'] = ((15 & 0x0F) << 4), ['k'] = ((20 & 0x0F) << 4), + ['G'] = ((16 & 0x0F) << 4), ['l'] = ((21 & 0x0F) << 4), + ['H'] = ((17 & 0x0F) << 4), ['m'] = ((22 & 0x0F) << 4), + ['I'] = ((18 & 0x0F) << 4), ['n'] = ((23 & 0x0F) << 4), + ['J'] = ((19 & 0x0F) << 4), ['o'] = ((24 & 0x0F) << 4), + ['K'] = ((20 & 0x0F) << 4), ['p'] = ((25 & 0x0F) << 4), + ['L'] = ((21 & 0x0F) << 4), ['q'] = ((26 & 0x0F) << 4), + ['M'] = ((22 & 0x0F) << 4), ['r'] = ((27 & 0x0F) << 4), + ['N'] = ((23 & 0x0F) << 4), ['s'] = ((28 & 0x0F) << 4), + ['O'] = ((24 & 0x0F) << 4), ['t'] = ((29 & 0x0F) << 4), + ['P'] = ((25 & 0x0F) << 4), ['u'] = ((30 & 0x0F) << 4), + ['Q'] = ((26 & 0x0F) << 4), ['v'] = ((31 & 0x0F) << 4), +}; + +// 0x1E = 00011110 +const uint8_t fifth_left_base32hex_to_num[] = { + ['0'] = (( 0 & 0x1E) >> 1), ['R'] = ((27 & 0x1E) >> 1), + ['1'] = (( 1 & 0x1E) >> 1), ['S'] = ((28 & 0x1E) >> 1), + ['2'] = (( 2 & 0x1E) >> 1), ['T'] = ((29 & 0x1E) >> 1), + ['3'] = (( 3 & 0x1E) >> 1), ['U'] = ((30 & 0x1E) >> 1), + ['4'] = (( 4 & 0x1E) >> 1), ['V'] = ((31 & 0x1E) >> 1), + ['5'] = (( 5 & 0x1E) >> 1), ['a'] = ((10 & 0x1E) >> 1), + ['6'] = (( 6 & 0x1E) >> 1), ['b'] = ((11 & 0x1E) >> 1), + ['7'] = (( 7 & 0x1E) >> 1), ['c'] = ((12 & 0x1E) >> 1), + ['8'] = (( 8 & 0x1E) >> 1), ['d'] = ((13 & 0x1E) >> 1), + ['9'] = (( 9 & 0x1E) >> 1), ['e'] = ((14 & 0x1E) >> 1), + ['A'] = ((10 & 0x1E) >> 1), ['f'] = ((15 & 0x1E) >> 1), + ['B'] = ((11 & 0x1E) >> 1), ['g'] = ((16 & 0x1E) >> 1), + ['C'] = ((12 & 0x1E) >> 1), ['h'] = ((17 & 0x1E) >> 1), + ['D'] = ((13 & 0x1E) >> 1), ['i'] = ((18 & 0x1E) >> 1), + ['E'] = ((14 & 0x1E) >> 1), ['j'] = ((19 & 0x1E) >> 1), + ['F'] = ((15 & 0x1E) >> 1), ['k'] = ((20 & 0x1E) >> 1), + ['G'] = ((16 & 0x1E) >> 1), ['l'] = ((21 & 0x1E) >> 1), + ['H'] = ((17 & 0x1E) >> 1), ['m'] = ((22 & 0x1E) >> 1), + ['I'] = ((18 & 0x1E) >> 1), ['n'] = ((23 & 0x1E) >> 1), + ['J'] = ((19 & 0x1E) >> 1), ['o'] = ((24 & 0x1E) >> 1), + ['K'] = ((20 & 0x1E) >> 1), ['p'] = ((25 & 0x1E) >> 1), + ['L'] = ((21 & 0x1E) >> 1), ['q'] = ((26 & 0x1E) >> 1), + ['M'] = ((22 & 0x1E) >> 1), ['r'] = ((27 & 0x1E) >> 1), + ['N'] = ((23 & 0x1E) >> 1), ['s'] = ((28 & 0x1E) >> 1), + ['O'] = ((24 & 0x1E) >> 1), ['t'] = ((29 & 0x1E) >> 1), + ['P'] = ((25 & 0x1E) >> 1), ['u'] = ((30 & 0x1E) >> 1), + ['Q'] = ((26 & 0x1E) >> 1), ['v'] = ((31 & 0x1E) >> 1), +}; + +// 0x01 = 00000001 +const uint8_t fifth_right_base32hex_to_num[] = { + ['0'] = (( 0 & 0x01) << 7), ['R'] = ((27 & 0x01) << 7), + ['1'] = (( 1 & 0x01) << 7), ['S'] = ((28 & 0x01) << 7), + ['2'] = (( 2 & 0x01) << 7), ['T'] = ((29 & 0x01) << 7), + ['3'] = (( 3 & 0x01) << 7), ['U'] = ((30 & 0x01) << 7), + ['4'] = (( 4 & 0x01) << 7), ['V'] = ((31 & 0x01) << 7), + ['5'] = (( 5 & 0x01) << 7), ['a'] = ((10 & 0x01) << 7), + ['6'] = (( 6 & 0x01) << 7), ['b'] = ((11 & 0x01) << 7), + ['7'] = (( 7 & 0x01) << 7), ['c'] = ((12 & 0x01) << 7), + ['8'] = (( 8 & 0x01) << 7), ['d'] = ((13 & 0x01) << 7), + ['9'] = (( 9 & 0x01) << 7), ['e'] = ((14 & 0x01) << 7), + ['A'] = ((10 & 0x01) << 7), ['f'] = ((15 & 0x01) << 7), + ['B'] = ((11 & 0x01) << 7), ['g'] = ((16 & 0x01) << 7), + ['C'] = ((12 & 0x01) << 7), ['h'] = ((17 & 0x01) << 7), + ['D'] = ((13 & 0x01) << 7), ['i'] = ((18 & 0x01) << 7), + ['E'] = ((14 & 0x01) << 7), ['j'] = ((19 & 0x01) << 7), + ['F'] = ((15 & 0x01) << 7), ['k'] = ((20 & 0x01) << 7), + ['G'] = ((16 & 0x01) << 7), ['l'] = ((21 & 0x01) << 7), + ['H'] = ((17 & 0x01) << 7), ['m'] = ((22 & 0x01) << 7), + ['I'] = ((18 & 0x01) << 7), ['n'] = ((23 & 0x01) << 7), + ['J'] = ((19 & 0x01) << 7), ['o'] = ((24 & 0x01) << 7), + ['K'] = ((20 & 0x01) << 7), ['p'] = ((25 & 0x01) << 7), + ['L'] = ((21 & 0x01) << 7), ['q'] = ((26 & 0x01) << 7), + ['M'] = ((22 & 0x01) << 7), ['r'] = ((27 & 0x01) << 7), + ['N'] = ((23 & 0x01) << 7), ['s'] = ((28 & 0x01) << 7), + ['O'] = ((24 & 0x01) << 7), ['t'] = ((29 & 0x01) << 7), + ['P'] = ((25 & 0x01) << 7), ['u'] = ((30 & 0x01) << 7), + ['Q'] = ((26 & 0x01) << 7), ['v'] = ((31 & 0x01) << 7), +}; + +// 0x1F = 00011111 +const uint8_t sixth_base32hex_to_num[] = { + ['0'] = (( 0 & 0x1F) << 2), ['R'] = ((27 & 0x1F) << 2), + ['1'] = (( 1 & 0x1F) << 2), ['S'] = ((28 & 0x1F) << 2), + ['2'] = (( 2 & 0x1F) << 2), ['T'] = ((29 & 0x1F) << 2), + ['3'] = (( 3 & 0x1F) << 2), ['U'] = ((30 & 0x1F) << 2), + ['4'] = (( 4 & 0x1F) << 2), ['V'] = ((31 & 0x1F) << 2), + ['5'] = (( 5 & 0x1F) << 2), ['a'] = ((10 & 0x1F) << 2), + ['6'] = (( 6 & 0x1F) << 2), ['b'] = ((11 & 0x1F) << 2), + ['7'] = (( 7 & 0x1F) << 2), ['c'] = ((12 & 0x1F) << 2), + ['8'] = (( 8 & 0x1F) << 2), ['d'] = ((13 & 0x1F) << 2), + ['9'] = (( 9 & 0x1F) << 2), ['e'] = ((14 & 0x1F) << 2), + ['A'] = ((10 & 0x1F) << 2), ['f'] = ((15 & 0x1F) << 2), + ['B'] = ((11 & 0x1F) << 2), ['g'] = ((16 & 0x1F) << 2), + ['C'] = ((12 & 0x1F) << 2), ['h'] = ((17 & 0x1F) << 2), + ['D'] = ((13 & 0x1F) << 2), ['i'] = ((18 & 0x1F) << 2), + ['E'] = ((14 & 0x1F) << 2), ['j'] = ((19 & 0x1F) << 2), + ['F'] = ((15 & 0x1F) << 2), ['k'] = ((20 & 0x1F) << 2), + ['G'] = ((16 & 0x1F) << 2), ['l'] = ((21 & 0x1F) << 2), + ['H'] = ((17 & 0x1F) << 2), ['m'] = ((22 & 0x1F) << 2), + ['I'] = ((18 & 0x1F) << 2), ['n'] = ((23 & 0x1F) << 2), + ['J'] = ((19 & 0x1F) << 2), ['o'] = ((24 & 0x1F) << 2), + ['K'] = ((20 & 0x1F) << 2), ['p'] = ((25 & 0x1F) << 2), + ['L'] = ((21 & 0x1F) << 2), ['q'] = ((26 & 0x1F) << 2), + ['M'] = ((22 & 0x1F) << 2), ['r'] = ((27 & 0x1F) << 2), + ['N'] = ((23 & 0x1F) << 2), ['s'] = ((28 & 0x1F) << 2), + ['O'] = ((24 & 0x1F) << 2), ['t'] = ((29 & 0x1F) << 2), + ['P'] = ((25 & 0x1F) << 2), ['u'] = ((30 & 0x1F) << 2), + ['Q'] = ((26 & 0x1F) << 2), ['v'] = ((31 & 0x1F) << 2), +}; + +// 0x18 = 00011000 +const uint8_t seventh_left_base32hex_to_num[] = { + ['0'] = (( 0 & 0x18) >> 3), ['R'] = ((27 & 0x18) >> 3), + ['1'] = (( 1 & 0x18) >> 3), ['S'] = ((28 & 0x18) >> 3), + ['2'] = (( 2 & 0x18) >> 3), ['T'] = ((29 & 0x18) >> 3), + ['3'] = (( 3 & 0x18) >> 3), ['U'] = ((30 & 0x18) >> 3), + ['4'] = (( 4 & 0x18) >> 3), ['V'] = ((31 & 0x18) >> 3), + ['5'] = (( 5 & 0x18) >> 3), ['a'] = ((10 & 0x18) >> 3), + ['6'] = (( 6 & 0x18) >> 3), ['b'] = ((11 & 0x18) >> 3), + ['7'] = (( 7 & 0x18) >> 3), ['c'] = ((12 & 0x18) >> 3), + ['8'] = (( 8 & 0x18) >> 3), ['d'] = ((13 & 0x18) >> 3), + ['9'] = (( 9 & 0x18) >> 3), ['e'] = ((14 & 0x18) >> 3), + ['A'] = ((10 & 0x18) >> 3), ['f'] = ((15 & 0x18) >> 3), + ['B'] = ((11 & 0x18) >> 3), ['g'] = ((16 & 0x18) >> 3), + ['C'] = ((12 & 0x18) >> 3), ['h'] = ((17 & 0x18) >> 3), + ['D'] = ((13 & 0x18) >> 3), ['i'] = ((18 & 0x18) >> 3), + ['E'] = ((14 & 0x18) >> 3), ['j'] = ((19 & 0x18) >> 3), + ['F'] = ((15 & 0x18) >> 3), ['k'] = ((20 & 0x18) >> 3), + ['G'] = ((16 & 0x18) >> 3), ['l'] = ((21 & 0x18) >> 3), + ['H'] = ((17 & 0x18) >> 3), ['m'] = ((22 & 0x18) >> 3), + ['I'] = ((18 & 0x18) >> 3), ['n'] = ((23 & 0x18) >> 3), + ['J'] = ((19 & 0x18) >> 3), ['o'] = ((24 & 0x18) >> 3), + ['K'] = ((20 & 0x18) >> 3), ['p'] = ((25 & 0x18) >> 3), + ['L'] = ((21 & 0x18) >> 3), ['q'] = ((26 & 0x18) >> 3), + ['M'] = ((22 & 0x18) >> 3), ['r'] = ((27 & 0x18) >> 3), + ['N'] = ((23 & 0x18) >> 3), ['s'] = ((28 & 0x18) >> 3), + ['O'] = ((24 & 0x18) >> 3), ['t'] = ((29 & 0x18) >> 3), + ['P'] = ((25 & 0x18) >> 3), ['u'] = ((30 & 0x18) >> 3), + ['Q'] = ((26 & 0x18) >> 3), ['v'] = ((31 & 0x18) >> 3), +}; + +// 0x07 = 00000111 +const uint8_t seventh_right_base32hex_to_num[] = { + ['0'] = (( 0 & 0x07) << 5), ['R'] = ((27 & 0x07) << 5), + ['1'] = (( 1 & 0x07) << 5), ['S'] = ((28 & 0x07) << 5), + ['2'] = (( 2 & 0x07) << 5), ['T'] = ((29 & 0x07) << 5), + ['3'] = (( 3 & 0x07) << 5), ['U'] = ((30 & 0x07) << 5), + ['4'] = (( 4 & 0x07) << 5), ['V'] = ((31 & 0x07) << 5), + ['5'] = (( 5 & 0x07) << 5), ['a'] = ((10 & 0x07) << 5), + ['6'] = (( 6 & 0x07) << 5), ['b'] = ((11 & 0x07) << 5), + ['7'] = (( 7 & 0x07) << 5), ['c'] = ((12 & 0x07) << 5), + ['8'] = (( 8 & 0x07) << 5), ['d'] = ((13 & 0x07) << 5), + ['9'] = (( 9 & 0x07) << 5), ['e'] = ((14 & 0x07) << 5), + ['A'] = ((10 & 0x07) << 5), ['f'] = ((15 & 0x07) << 5), + ['B'] = ((11 & 0x07) << 5), ['g'] = ((16 & 0x07) << 5), + ['C'] = ((12 & 0x07) << 5), ['h'] = ((17 & 0x07) << 5), + ['D'] = ((13 & 0x07) << 5), ['i'] = ((18 & 0x07) << 5), + ['E'] = ((14 & 0x07) << 5), ['j'] = ((19 & 0x07) << 5), + ['F'] = ((15 & 0x07) << 5), ['k'] = ((20 & 0x07) << 5), + ['G'] = ((16 & 0x07) << 5), ['l'] = ((21 & 0x07) << 5), + ['H'] = ((17 & 0x07) << 5), ['m'] = ((22 & 0x07) << 5), + ['I'] = ((18 & 0x07) << 5), ['n'] = ((23 & 0x07) << 5), + ['J'] = ((19 & 0x07) << 5), ['o'] = ((24 & 0x07) << 5), + ['K'] = ((20 & 0x07) << 5), ['p'] = ((25 & 0x07) << 5), + ['L'] = ((21 & 0x07) << 5), ['q'] = ((26 & 0x07) << 5), + ['M'] = ((22 & 0x07) << 5), ['r'] = ((27 & 0x07) << 5), + ['N'] = ((23 & 0x07) << 5), ['s'] = ((28 & 0x07) << 5), + ['O'] = ((24 & 0x07) << 5), ['t'] = ((29 & 0x07) << 5), + ['P'] = ((25 & 0x07) << 5), ['u'] = ((30 & 0x07) << 5), + ['Q'] = ((26 & 0x07) << 5), ['v'] = ((31 & 0x07) << 5), +}; + +// 0x1F = 00011111 +const uint8_t eighth_base32hex_to_num[] = { + ['0'] = (( 0 & 0x1F) << 0), ['R'] = ((27 & 0x1F) << 0), + ['1'] = (( 1 & 0x1F) << 0), ['S'] = ((28 & 0x1F) << 0), + ['2'] = (( 2 & 0x1F) << 0), ['T'] = ((29 & 0x1F) << 0), + ['3'] = (( 3 & 0x1F) << 0), ['U'] = ((30 & 0x1F) << 0), + ['4'] = (( 4 & 0x1F) << 0), ['V'] = ((31 & 0x1F) << 0), + ['5'] = (( 5 & 0x1F) << 0), ['a'] = ((10 & 0x1F) << 0), + ['6'] = (( 6 & 0x1F) << 0), ['b'] = ((11 & 0x1F) << 0), + ['7'] = (( 7 & 0x1F) << 0), ['c'] = ((12 & 0x1F) << 0), + ['8'] = (( 8 & 0x1F) << 0), ['d'] = ((13 & 0x1F) << 0), + ['9'] = (( 9 & 0x1F) << 0), ['e'] = ((14 & 0x1F) << 0), + ['A'] = ((10 & 0x1F) << 0), ['f'] = ((15 & 0x1F) << 0), + ['B'] = ((11 & 0x1F) << 0), ['g'] = ((16 & 0x1F) << 0), + ['C'] = ((12 & 0x1F) << 0), ['h'] = ((17 & 0x1F) << 0), + ['D'] = ((13 & 0x1F) << 0), ['i'] = ((18 & 0x1F) << 0), + ['E'] = ((14 & 0x1F) << 0), ['j'] = ((19 & 0x1F) << 0), + ['F'] = ((15 & 0x1F) << 0), ['k'] = ((20 & 0x1F) << 0), + ['G'] = ((16 & 0x1F) << 0), ['l'] = ((21 & 0x1F) << 0), + ['H'] = ((17 & 0x1F) << 0), ['m'] = ((22 & 0x1F) << 0), + ['I'] = ((18 & 0x1F) << 0), ['n'] = ((23 & 0x1F) << 0), + ['J'] = ((19 & 0x1F) << 0), ['o'] = ((24 & 0x1F) << 0), + ['K'] = ((20 & 0x1F) << 0), ['p'] = ((25 & 0x1F) << 0), + ['L'] = ((21 & 0x1F) << 0), ['q'] = ((26 & 0x1F) << 0), + ['M'] = ((22 & 0x1F) << 0), ['r'] = ((27 & 0x1F) << 0), + ['N'] = ((23 & 0x1F) << 0), ['s'] = ((28 & 0x1F) << 0), + ['O'] = ((24 & 0x1F) << 0), ['t'] = ((29 & 0x1F) << 0), + ['P'] = ((25 & 0x1F) << 0), ['u'] = ((30 & 0x1F) << 0), + ['Q'] = ((26 & 0x1F) << 0), ['v'] = ((31 & 0x1F) << 0), +}; + +// Without leap day 29. 2. +static const uint8_t days_in_months[] = { + [ 1] = 31, [ 2] = 28, [ 3] = 31, [ 4] = 30, [ 5] = 31, [ 6] = 30, + [ 7] = 31, [ 8] = 31, [ 9] = 30, [10] = 31, [11] = 30, [12] = 31, +}; + +// Without leap day 29. 2. +static const uint16_t days_across_months[] = { + [ 1] = 0, [ 2] = 31, [ 3] = 59, [ 4] = 90, [ 5] = 120, [ 6] = 151, + [ 7] = 181, [ 8] = 212, [ 9] = 243, [10] = 273, [11] = 304, [12] = 334, +}; + +// 0 ~ 1970 ... 135 ~ 2105 ... 255 ~ 2225 +static const uint8_t is_leap_year[] = { + [ 1] = 0, [ 2] = 1, [ 3] = 0, [ 4] = 0, [ 5] = 0, + [ 6] = 1, [ 7] = 0, [ 8] = 0, [ 9] = 0, [ 10] = 1, + [ 11] = 0, [ 12] = 0, [ 13] = 0, [ 14] = 1, [ 15] = 0, + [ 16] = 0, [ 17] = 0, [ 18] = 1, [ 19] = 0, [ 20] = 0, + [ 21] = 0, [ 22] = 1, [ 23] = 0, [ 24] = 0, [ 25] = 0, + [ 26] = 1, [ 27] = 0, [ 28] = 0, [ 29] = 0, [ 30] = 1, + [ 31] = 0, [ 32] = 0, [ 33] = 0, [ 34] = 1, [ 35] = 0, + [ 36] = 0, [ 37] = 0, [ 38] = 1, [ 39] = 0, [ 40] = 0, + [ 41] = 0, [ 42] = 1, [ 43] = 0, [ 44] = 0, [ 45] = 0, + [ 46] = 1, [ 47] = 0, [ 48] = 0, [ 49] = 0, [ 50] = 1, + [ 51] = 0, [ 52] = 0, [ 53] = 0, [ 54] = 1, [ 55] = 0, + [ 56] = 0, [ 57] = 0, [ 58] = 1, [ 59] = 0, [ 60] = 0, + [ 61] = 0, [ 62] = 1, [ 63] = 0, [ 64] = 0, [ 65] = 0, + [ 66] = 1, [ 67] = 0, [ 68] = 0, [ 69] = 0, [ 70] = 1, + [ 71] = 0, [ 72] = 0, [ 73] = 0, [ 74] = 1, [ 75] = 0, + [ 76] = 0, [ 77] = 0, [ 78] = 1, [ 79] = 0, [ 80] = 0, + [ 81] = 0, [ 82] = 1, [ 83] = 0, [ 84] = 0, [ 85] = 0, + [ 86] = 1, [ 87] = 0, [ 88] = 0, [ 89] = 0, [ 90] = 1, + [ 91] = 0, [ 92] = 0, [ 93] = 0, [ 94] = 1, [ 95] = 0, + [ 96] = 0, [ 97] = 0, [ 98] = 1, [ 99] = 0, [100] = 0, + [101] = 0, [102] = 1, [103] = 0, [104] = 0, [105] = 0, + [106] = 1, [107] = 0, [108] = 0, [109] = 0, [110] = 1, + [111] = 0, [112] = 0, [113] = 0, [114] = 1, [115] = 0, + [116] = 0, [117] = 0, [118] = 1, [119] = 0, [120] = 0, + [121] = 0, [122] = 1, [123] = 0, [124] = 0, [125] = 0, + [126] = 1, [127] = 0, [128] = 0, [129] = 0, [130] = 0, + [131] = 0, [132] = 0, [133] = 0, [134] = 1, [135] = 0, + [136] = 0, [137] = 0, [138] = 1, [139] = 0, [140] = 0, + [141] = 0, [142] = 1, [143] = 0, [144] = 0, [145] = 0, + [146] = 1, [147] = 0, [148] = 0, [149] = 0, [150] = 1, + [151] = 0, [152] = 0, [153] = 0, [154] = 1, [155] = 0, + [156] = 0, [157] = 0, [158] = 1, [159] = 0, [160] = 0, + [161] = 0, [162] = 1, [163] = 0, [164] = 0, [165] = 0, + [166] = 1, [167] = 0, [168] = 0, [169] = 0, [170] = 1, + [171] = 0, [172] = 0, [173] = 0, [174] = 1, [175] = 0, + [176] = 0, [177] = 0, [178] = 1, [179] = 0, [180] = 0, + [181] = 0, [182] = 1, [183] = 0, [184] = 0, [185] = 0, + [186] = 1, [187] = 0, [188] = 0, [189] = 0, [190] = 1, + [191] = 0, [192] = 0, [193] = 0, [194] = 1, [195] = 0, + [196] = 0, [197] = 0, [198] = 1, [199] = 0, [200] = 0, + [201] = 0, [202] = 1, [203] = 0, [204] = 0, [205] = 0, + [206] = 1, [207] = 0, [208] = 0, [209] = 0, [210] = 1, + [211] = 0, [212] = 0, [213] = 0, [214] = 1, [215] = 0, + [216] = 0, [217] = 0, [218] = 1, [219] = 0, [220] = 0, + [221] = 0, [222] = 1, [223] = 0, [224] = 0, [225] = 0, + [226] = 1, [227] = 0, [228] = 0, [229] = 0, [230] = 0, + [231] = 0, [232] = 0, [233] = 0, [234] = 1, [235] = 0, + [236] = 0, [237] = 0, [238] = 1, [239] = 0, [240] = 0, + [241] = 0, [242] = 1, [243] = 0, [244] = 0, [245] = 0, + [246] = 1, [247] = 0, [248] = 0, [249] = 0, [250] = 1, + [251] = 0, [252] = 0, [253] = 0, [254] = 1, [255] = 0, +}; + +// 0 ~ 1970 ... 135 ~ 2105 ... 255 ~ 2225 +static const uint32_t days_across_years[] = { + [ 1] = 365, [ 2] = 730, [ 3] = 1096, [ 4] = 1461, [ 5] = 1826, + [ 6] = 2191, [ 7] = 2557, [ 8] = 2922, [ 9] = 3287, [ 10] = 3652, + [ 11] = 4018, [ 12] = 4383, [ 13] = 4748, [ 14] = 5113, [ 15] = 5479, + [ 16] = 5844, [ 17] = 6209, [ 18] = 6574, [ 19] = 6940, [ 20] = 7305, + [ 21] = 7670, [ 22] = 8035, [ 23] = 8401, [ 24] = 8766, [ 25] = 9131, + [ 26] = 9496, [ 27] = 9862, [ 28] = 10227, [ 29] = 10592, [ 30] = 10957, + [ 31] = 11323, [ 32] = 11688, [ 33] = 12053, [ 34] = 12418, [ 35] = 12784, + [ 36] = 13149, [ 37] = 13514, [ 38] = 13879, [ 39] = 14245, [ 40] = 14610, + [ 41] = 14975, [ 42] = 15340, [ 43] = 15706, [ 44] = 16071, [ 45] = 16436, + [ 46] = 16801, [ 47] = 17167, [ 48] = 17532, [ 49] = 17897, [ 50] = 18262, + [ 51] = 18628, [ 52] = 18993, [ 53] = 19358, [ 54] = 19723, [ 55] = 20089, + [ 56] = 20454, [ 57] = 20819, [ 58] = 21184, [ 59] = 21550, [ 60] = 21915, + [ 61] = 22280, [ 62] = 22645, [ 63] = 23011, [ 64] = 23376, [ 65] = 23741, + [ 66] = 24106, [ 67] = 24472, [ 68] = 24837, [ 69] = 25202, [ 70] = 25567, + [ 71] = 25933, [ 72] = 26298, [ 73] = 26663, [ 74] = 27028, [ 75] = 27394, + [ 76] = 27759, [ 77] = 28124, [ 78] = 28489, [ 79] = 28855, [ 80] = 29220, + [ 81] = 29585, [ 82] = 29950, [ 83] = 30316, [ 84] = 30681, [ 85] = 31046, + [ 86] = 31411, [ 87] = 31777, [ 88] = 32142, [ 89] = 32507, [ 90] = 32872, + [ 91] = 33238, [ 92] = 33603, [ 93] = 33968, [ 94] = 34333, [ 95] = 34699, + [ 96] = 35064, [ 97] = 35429, [ 98] = 35794, [ 99] = 36160, [100] = 36525, + [101] = 36890, [102] = 37255, [103] = 37621, [104] = 37986, [105] = 38351, + [106] = 38716, [107] = 39082, [108] = 39447, [109] = 39812, [110] = 40177, + [111] = 40543, [112] = 40908, [113] = 41273, [114] = 41638, [115] = 42004, + [116] = 42369, [117] = 42734, [118] = 43099, [119] = 43465, [120] = 43830, + [121] = 44195, [122] = 44560, [123] = 44926, [124] = 45291, [125] = 45656, + [126] = 46021, [127] = 46387, [128] = 46752, [129] = 47117, [130] = 47482, + [131] = 47847, [132] = 48212, [133] = 48577, [134] = 48942, [135] = 49308, + [136] = 49673, [137] = 50038, [138] = 50403, [139] = 50769, [140] = 51134, + [141] = 51499, [142] = 51864, [143] = 52230, [144] = 52595, [145] = 52960, + [146] = 53325, [147] = 53691, [148] = 54056, [149] = 54421, [150] = 54786, + [151] = 55152, [152] = 55517, [153] = 55882, [154] = 56247, [155] = 56613, + [156] = 56978, [157] = 57343, [158] = 57708, [159] = 58074, [160] = 58439, + [161] = 58804, [162] = 59169, [163] = 59535, [164] = 59900, [165] = 60265, + [166] = 60630, [167] = 60996, [168] = 61361, [169] = 61726, [170] = 62091, + [171] = 62457, [172] = 62822, [173] = 63187, [174] = 63552, [175] = 63918, + [176] = 64283, [177] = 64648, [178] = 65013, [179] = 65379, [180] = 65744, + [181] = 66109, [182] = 66474, [183] = 66840, [184] = 67205, [185] = 67570, + [186] = 67935, [187] = 68301, [188] = 68666, [189] = 69031, [190] = 69396, + [191] = 69762, [192] = 70127, [193] = 70492, [194] = 70857, [195] = 71223, + [196] = 71588, [197] = 71953, [198] = 72318, [199] = 72684, [200] = 73049, + [201] = 73414, [202] = 73779, [203] = 74145, [204] = 74510, [205] = 74875, + [206] = 75240, [207] = 75606, [208] = 75971, [209] = 76336, [210] = 76701, + [211] = 77067, [212] = 77432, [213] = 77797, [214] = 78162, [215] = 78528, + [216] = 78893, [217] = 79258, [218] = 79623, [219] = 79989, [220] = 80354, + [221] = 80719, [222] = 81084, [223] = 81450, [224] = 81815, [225] = 82180, + [226] = 82545, [227] = 82911, [228] = 83276, [229] = 83641, [230] = 84006, + [231] = 84371, [232] = 84736, [233] = 85101, [234] = 85466, [235] = 85832, + [236] = 86197, [237] = 86562, [238] = 86927, [239] = 87293, [240] = 87658, + [241] = 88023, [242] = 88388, [243] = 88754, [244] = 89119, [245] = 89484, + [246] = 89849, [247] = 90215, [248] = 90580, [249] = 90945, [250] = 91310, + [251] = 91676, [252] = 92041, [253] = 92406, [254] = 92771, [255] = 93137, +}; + +int date_to_timestamp(uint8_t *buff, uint32_t *timestamp) +{ + uint32_t year, month, day, hour, minute, second; + uint32_t leap_day = 0; + + year = 1000 * (buff[ 0] - '0') + 100 * (buff[ 1] - '0') + + 10 * (buff[ 2] - '0') + (buff[ 3] - '0'); + month = 10 * (buff[ 4] - '0') + (buff[ 5] - '0'); + day = 10 * (buff[ 6] - '0') + (buff[ 7] - '0'); + hour = 10 * (buff[ 8] - '0') + (buff[ 9] - '0'); + minute = 10 * (buff[10] - '0') + (buff[11] - '0'); + second = 10 * (buff[12] - '0') + (buff[13] - '0'); + + if (year < 1970 || year > 2225 || month < 1 || month > 12 || day < 1) { + return ZS_BAD_DATE; + } else { + year -= 1970; + } + + if (is_leap_year[year]) { + if (month > 2) { + leap_day = 1; // Add one day in case of leap year. + } else if (month == 2 && + day > (uint32_t)(days_in_months[month] + 1)) { + return ZS_BAD_DATE; + } + } else if (day > days_in_months[month]){ + return ZS_BAD_DATE; + } + + if (hour > 23 || minute > 59 || second > 59) { + return ZS_BAD_TIME; + } + + *timestamp = hour * 3600 + minute * 60 + second + + (days_across_years[year] + + days_across_months[month] + + day - 1 + leap_day) * 86400; + + return ZS_OK; +} + +void wire_dname_to_str(const uint8_t *data, + const uint32_t data_len, + char *text) +{ + uint32_t i = 0, text_len = 0; + + if (data == NULL || data_len == 0 || text == NULL) { + return; + } + + uint8_t label_len = data[0]; + + // Loop over data characters. + for (i = 1; i < data_len; i++) { + // Replace label length with dot. + if (label_len == 0) { + label_len = data[i]; + text[text_len++] = '.'; + continue; + } + + // Just in case use \123 notation. + text[text_len++] = '\\'; + text[text_len++] = (data[i] / 100) + '0'; + text[text_len++] = (data[i] / 10) % 10 + '0'; + text[text_len++] = (data[i] ) % 10 + '0'; + + label_len--; + } + + // Add trailing dot for root domain. + if (data_len == 1 && label_len == 0) { + text[text_len++] = '.'; + } + + // Ending text string. + text[text_len] = 0; +} + +uint8_t loc64to8(uint64_t number) +{ + uint8_t exponent = 0; + + while (number > 9) { + number /= 10; + exponent++; + } + // First 4 bits are mantisa, second 4 bits are exponent. + return ((uint8_t)number << 4) + (exponent & 15); +} + +static int mandatory_cmp(const void *p1, const void *p2) +{ + uint16_t val1, val2; + memcpy(&val1, p1, sizeof(val1)); + memcpy(&val2, p2, sizeof(val2)); + + if (be16toh(val1) < be16toh(val2)) { + return -1; + } else if (val1 == val2) { + return 0; + } else { + return 1; + } +} + +void svcb_mandatory_sort(uint8_t *list_begin, uint8_t *list_end) +{ + uint32_t count = (list_end - list_begin) / sizeof(uint16_t); + qsort(list_begin, count, sizeof(uint16_t), mandatory_cmp); +} + +int svcb_sort(zs_scanner_t *scanner, uint8_t *rdata_end) +{ + zs_svcb_t *svcb = &(scanner->svcb); + + uint8_t *curr_pos = svcb->param_position; + + uint16_t curr_key; + memcpy(&curr_key, curr_pos, sizeof(uint16_t)); + curr_key = be16toh(curr_key); + + if (curr_key > svcb->last_key) { + // Already sorted. + svcb->last_key = curr_key; + return ZS_OK; + } + + uint8_t *param_pos = svcb->params_position; + while (param_pos < curr_pos) { + uint16_t param_key, param_len; + memcpy(¶m_key, param_pos, 2); + param_key = be16toh(param_key); + memcpy(¶m_len, param_pos + sizeof(uint16_t), 2); + param_len = be16toh(param_len); + + uint32_t param_full_len = 2 * sizeof(uint16_t) + param_len; + + if (curr_key < param_key) { + uint32_t curr_full_len = rdata_end - curr_pos; + memcpy(scanner->buffer, curr_pos, curr_full_len); + memmove(param_pos + curr_full_len, param_pos, + curr_pos - param_pos); + memcpy(param_pos, scanner->buffer, curr_full_len); + break; + } else if (curr_key == param_key) { + return ZS_DUPLICATE_SVCB_KEY; + } + + param_pos += param_full_len; + } + + return ZS_OK; +} + +int svcb_check(zs_scanner_t *scanner, uint8_t *rdata_end) +{ + zs_svcb_t *svcb = &(scanner->svcb); + + if (svcb->params_position == rdata_end || + svcb->params_position[0] != 0 || svcb->params_position[1] != 0) { + return ZS_OK; // No parameters or no mandatory parameter available. + } + + uint16_t mandat_size; + memcpy(&mandat_size, svcb->params_position + sizeof(uint16_t), sizeof(uint16_t)); + mandat_size = be16toh(mandat_size); + + uint16_t mandat_count = mandat_size / sizeof(uint16_t); + + uint8_t *param_pos = svcb->params_position + 2 * sizeof(uint16_t) + mandat_size; + const uint8_t *mandats = svcb->params_position + 2 * sizeof(uint16_t); + for (int i = 0; i < mandat_count; i++) { + // Check for duplicates. + if (i > 0 && memcmp(mandats + (i - 1) * sizeof(uint16_t), + mandats + i * sizeof(uint16_t), 2) == 0) { + return ZS_DUPLICATE_SVCB_MANDATORY; + } + + bool found = false; + while (param_pos < rdata_end && !found) { + uint16_t param_key, param_len; + memcpy(¶m_key, param_pos, 2); + memcpy(¶m_len, param_pos + sizeof(uint16_t), 2); + param_len = be16toh(param_len); + + // Compare keys in big endian. + if (memcmp(mandats + i * sizeof(uint16_t), param_pos, 2) == 0) { + found = true; + } + param_pos += 2 * sizeof(uint16_t) + param_len; + } + if (!found) { + return ZS_MISSING_SVCB_MANDATORY; + } + } + + return ZS_OK; +} diff --git a/src/libzscanner/functions.h b/src/libzscanner/functions.h new file mode 100644 index 0000000..5f996fc --- /dev/null +++ b/src/libzscanner/functions.h @@ -0,0 +1,141 @@ +/* Copyright (C) 2021 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +/*! + * \file + * + * \brief Zone scanner auxiliary functions. + * + * \addtogroup zone_scanner + * @{ + */ + +#pragma once + +#include <stdint.h> + +#include "libzscanner/scanner.h" + +/*! \brief Transforms digit char to number. */ +extern const uint8_t digit_to_num[]; + +/*! \brief Transforms first hex char to the part of the total number. */ +extern const uint8_t first_hex_to_num[]; +/*! \brief Transforms second hex char to the part of the total number. */ +extern const uint8_t second_hex_to_num[]; + +/*! \brief Transforms first Base64 char. */ +extern const uint8_t first_base64_to_num[]; +/*! \brief Transforms left part of the second Base64 char. */ +extern const uint8_t second_left_base64_to_num[]; +/*! \brief Transforms left part of the second Base64 char. */ +extern const uint8_t second_right_base64_to_num[]; +/*! \brief Transforms left part of the third Base64 char. */ +extern const uint8_t third_left_base64_to_num[]; +/*! \brief Transforms left part of the third Base64 char. */ +extern const uint8_t third_right_base64_to_num[]; +/*! \brief Transforms fourth Base64 char. */ +extern const uint8_t fourth_base64_to_num[]; + +/*! \brief Transforms first Base32hex char. */ +extern const uint8_t first_base32hex_to_num[]; +/*! \brief Transforms left part of the second Base32hex char. */ +extern const uint8_t second_left_base32hex_to_num[]; +/*! \brief Transforms right part of the second Base32hex char. */ +extern const uint8_t second_right_base32hex_to_num[]; +/*! \brief Transforms third Base32hex char. */ +extern const uint8_t third_base32hex_to_num[]; +/*! \brief Transforms left part of the fourth Base32hex char. */ +extern const uint8_t fourth_left_base32hex_to_num[]; +/*! \brief Transforms right part of the fourth Base32hex char. */ +extern const uint8_t fourth_right_base32hex_to_num[]; +/*! \brief Transforms left part of the fifth Base32hex char. */ +extern const uint8_t fifth_left_base32hex_to_num[]; +/*! \brief Transforms right part of the fifth Base32hex char. */ +extern const uint8_t fifth_right_base32hex_to_num[]; +/*! \brief Transforms sixth Base32hex char. */ +extern const uint8_t sixth_base32hex_to_num[]; +/*! \brief Transforms left part of the seventh Base32hex char. */ +extern const uint8_t seventh_left_base32hex_to_num[]; +/*! \brief Transforms right part of the seventh Base32hex char. */ +extern const uint8_t seventh_right_base32hex_to_num[]; +/*! \brief Transforms eighth Base32hex char. */ +extern const uint8_t eighth_base32hex_to_num[]; + +/*! + * \brief Converts YYYYMMDDHHMMSS time string to unsigned 32-bit timestamp. + * + * \param buff Buffer containing time string. + * \param timestamp Computed timestamp. + * + * \retval KNOT_EOK if success. + * \retval error_code if error. + */ +int date_to_timestamp(uint8_t *buff, uint32_t *timestamp); + +/*! + * \brief Converts wire-format dname to text dname. + * + * \param data Buffer containing wire-format dname. + * \param data_len Length of the buffer. + * \param text Text output. + */ +void wire_dname_to_str(const uint8_t *data, + const uint32_t data_len, + char *text); + +/*! + * \brief Converts unsigned integer to mantissa*10^(exponent). + * + * Given number is encoded as two 4-bit numbers. First part is mantissa [0-9], + * second part is decimal exponent [0-15]. Result is concatenation of these + * two blocks. + * + * \param number Number to convert. + * + * \retval number encoded number. + */ +uint8_t loc64to8(uint64_t number); + +/*! + * \brief Sorts mandatory parameter values of the SVCB record. + * + * \param list_begin Start of the parameter list. + * \param list_end End of the parameter list. + */ +void svcb_mandatory_sort(uint8_t *list_begin, uint8_t *list_end); + +/*! + * \brief Sorts parameters of the SVCB record. + * + * \param scanner Scanner context. + * \param rdata_end Current end of the output data. + * + * \return ZS_*. + */ +int svcb_sort(zs_scanner_t *scanner, uint8_t *rdata_end); + +/*! + * \brief Final check of a sorted SVCB record. + * + * \param scanner Scanner context. + * \param rdata_end Current end of the output data. + * + * \return ZS_*. + */ +int svcb_check(zs_scanner_t *scanner, uint8_t *rdata_end); + +/*! @} */ diff --git a/src/libzscanner/scanner.c.g2 b/src/libzscanner/scanner.c.g2 new file mode 100644 index 0000000..66f6b1a --- /dev/null +++ b/src/libzscanner/scanner.c.g2 @@ -0,0 +1,102263 @@ + +/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +#include <arpa/inet.h> +#include <errno.h> +#include <fcntl.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <libgen.h> +#include <math.h> +#include <netinet/in.h> +#include <sys/socket.h> +#include <sys/mman.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> + +#include "libzscanner/scanner.h" +#include "libzscanner/functions.h" +#include "libknot/descriptor.h" + +/*! \brief Maximal length of rdata item. */ +#define MAX_ITEM_LENGTH 255 +#define MAX_ITEM_LENGTH2 65535 + +/*! \brief Latitude value for equator (2^31). */ +#define LOC_LAT_ZERO (uint32_t)2147483648 +/*! \brief Longitude value for meridian (2^31). */ +#define LOC_LONG_ZERO (uint32_t)2147483648 +/*! \brief Zero level altitude value. */ +#define LOC_ALT_ZERO (uint32_t)10000000 + +/*! \brief Shorthand for setting warning data. */ +#define WARN(err_code) { s->error.code = err_code; } +/*! \brief Shorthand for setting error data. */ +#define ERR(err_code) { WARN(err_code); s->error.fatal = true; } +/*! \brief Shorthand for error reset. */ +#define NOERR { WARN(ZS_OK); s->error.fatal = false; } + +/*! + * \brief Writes record type number to r_data. + * + * \param type Type number. + * \param rdata_tail Position where to write type number to. + */ +static inline void type_num(const uint16_t type, uint8_t **rdata_tail) +{ + *((uint16_t *)*rdata_tail) = htons(type); + *rdata_tail += 2; +} + +/*! + * \brief Sets bit to bitmap window. + * + * \param type Type number. + * \param s Scanner context. + */ +static inline void window_add_bit(const uint16_t type, zs_scanner_t *s) { + uint8_t win = type / 256; + uint8_t bit_pos = type % 256; + uint8_t byte_pos = bit_pos / 8; + + ((s->windows[win]).bitmap)[byte_pos] |= 128 >> (bit_pos % 8); + + if ((s->windows[win]).length < byte_pos + 1) { + (s->windows[win]).length = byte_pos + 1; + } + + if (s->last_window < win) { + s->last_window = win; + } +} + +// Include scanner file (in Ragel). + + + + + + +__attribute__((visibility("default"))) +int zs_init( + zs_scanner_t *s, + const char *origin, + const uint16_t rclass, + const uint32_t ttl) +{ + if (s == NULL) { + return -1; + } + + memset(s, 0, sizeof(*s)); + + // Nonzero initial scanner state. + s->cs = 1396; + + // Reset the file descriptor. + s->file.descriptor = -1; + + // Use the root zone as origin if not specified. + if (origin == NULL || strlen(origin) == 0) { + origin = "."; + } + size_t origin_len = strlen(origin); + + // Prepare a zone settings header. + const char *format; + if (origin[origin_len - 1] != '.') { + format = "$ORIGIN %s.\n"; + } else { + format = "$ORIGIN %s\n"; + } + + char settings[1024]; + int ret = snprintf(settings, sizeof(settings), format, origin); + if (ret <= 0 || ret >= sizeof(settings)) { + ERR(ZS_ENOMEM); + return -1; + } + + // Parse the settings to set up the scanner origin. + if (zs_set_input_string(s, settings, ret) != 0 || + zs_parse_all(s) != 0) { + return -1; + } + + // Set scanner defaults. + s->path = strdup("."); + if (s->path == NULL) { + ERR(ZS_ENOMEM); + return -1; + } + s->default_class = rclass; + s->default_ttl = ttl; + s->line_counter = 1; + + s->state = ZS_STATE_NONE; + s->process.automatic = false; + + return 0; +} + +static void input_deinit( + zs_scanner_t *s, + bool keep_filename) +{ + // Deinit the file input. + if (s->file.descriptor != -1) { + // Unmap the file content. + if (s->input.start != NULL) { + if (s->input.mmaped) { + munmap((void *)s->input.start, + s->input.end - s->input.start); + } else { + free((void *)s->input.start); + } + } + + // Close the opened file. + close(s->file.descriptor); + s->file.descriptor = -1; + } + + // Keep file name for possible trailing error report. + if (!keep_filename) { + free(s->file.name); + s->file.name = NULL; + } + + // Unset the input limits. + s->input.start = NULL; + s->input.current = NULL; + s->input.end = NULL; + s->input.eof = false; +} + +__attribute__((visibility("default"))) +void zs_deinit( + zs_scanner_t *s) +{ + if (s == NULL) { + return; + } + + input_deinit(s, false); + free(s->path); +} + +static int set_input_string( + zs_scanner_t *s, + const char *input, + size_t size, + bool final_block) +{ + if (s == NULL) { + return -1; + } + + if (input == NULL) { + ERR(ZS_EINVAL); + return -1; + } + + // Deinit possibly opened file. + input_deinit(s, final_block); + + // Set the scanner input limits. + s->input.start = input; + s->input.current = input; + s->input.end = input + size; + s->input.eof = final_block; + + return 0; +} + +static char *read_file_to_buf( + int fd, + size_t *bufsize) +{ + size_t bufs = 0, newbufs = 8192; + char *buf = malloc(bufs + newbufs); + int ret = 0; + + while (buf != NULL && (ret = read(fd, buf + bufs, newbufs)) == newbufs) { + bufs += newbufs; + newbufs = bufs; + char *newbuf = realloc(buf, bufs + newbufs); + if (newbuf == NULL) { + free(buf); + } + buf = newbuf; + } + if (ret < 0) { + free(buf); + return NULL; + } + + *bufsize = bufs + ret; + return buf; +} + +__attribute__((visibility("default"))) +int zs_set_input_string( + zs_scanner_t *s, + const char *input, + size_t size) +{ + s->state = ZS_STATE_NONE; + + return set_input_string(s, input, size, false); +} + +__attribute__((visibility("default"))) +int zs_set_input_file( + zs_scanner_t *s, + const char *file_name) +{ + if (s == NULL) { + return -1; + } + + if (file_name == NULL) { + ERR(ZS_EINVAL); + return -1; + } + + // Deinit possibly opened file. + input_deinit(s, false); + + // Try to open the file. + s->file.descriptor = open(file_name, O_RDONLY); + if (s->file.descriptor == -1) { + ERR(errno == EACCES ? ZS_FILE_ACCESS : ZS_FILE_OPEN); + return -1; + } + + char *start = NULL; + size_t size = 0; + + // Check the input. + struct stat file_stat; + if (fstat(s->file.descriptor, &file_stat) == -1) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } else if (S_ISCHR(file_stat.st_mode) || + S_ISBLK(file_stat.st_mode) || + S_ISFIFO(file_stat.st_mode)) { + // Workaround if cannot mmap, read to memory. + start = read_file_to_buf(s->file.descriptor, &size); + if (start == NULL) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } + } else if (!S_ISREG(file_stat.st_mode)) { // Require regular file. + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } else if (file_stat.st_size > 0) { // Mmap non-empty file. + start = mmap(0, file_stat.st_size, PROT_READ, MAP_SHARED, + s->file.descriptor, 0); + if (start == MAP_FAILED) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } + + size = file_stat.st_size; + s->input.mmaped = true; + + // Try to set the mapped memory advise to sequential. +#if defined(MADV_SEQUENTIAL) && !defined(__sun) + (void)madvise(start, size, MADV_SEQUENTIAL); +#else +#ifdef POSIX_MADV_SEQUENTIAL + (void)posix_madvise(start, size, POSIX_MADV_SEQUENTIAL); +#endif /* POSIX_MADV_SEQUENTIAL */ +#endif /* MADV_SEQUENTIAL && !__sun */ + } + + // Set the scanner input limits. + s->input.start = start; + s->input.current = start; + s->input.end = (start != NULL) ? start + size : start; + + // Get absolute path of the zone file if possible. + char *full_name = realpath(file_name, NULL); + if (full_name != NULL) { + free(s->path); + s->path = strdup(dirname(full_name)); + free(full_name); + if (s->path == NULL) { + ERR(ZS_ENOMEM); + input_deinit(s, false); + return -1; + } + } + + s->file.name = strdup(file_name); + if (s->file.name == NULL) { + ERR(ZS_ENOMEM); + input_deinit(s, false); + return -1; + } + + s->state = ZS_STATE_NONE; + + return 0; +} + +__attribute__((visibility("default"))) +int zs_set_processing( + zs_scanner_t *s, + void (*process_record)(zs_scanner_t *), + void (*process_error)(zs_scanner_t *), + void *data) +{ + if (s == NULL) { + return -1; + } + + s->process.record = process_record; + s->process.error = process_error; + s->process.data = data; + + return 0; +} + +__attribute__((visibility("default"))) +int zs_set_processing_comment( + zs_scanner_t *s, + void (*process_comment)(zs_scanner_t *)) +{ + if (s == NULL) { + return -1; + } + + s->process.comment = process_comment; + + return 0; +} + +typedef enum { + WRAP_NONE, // Initial state. + WRAP_DETECTED, // Input block end is a first '\' in rdata. + WRAP_PROCESS // Parsing of auxiliary block = "\". +} wrap_t; + +static void parse( + zs_scanner_t *s, + wrap_t *wrap) +{ + // Restore scanner input limits (Ragel internals). + const char *p = s->input.current; + const char *pe = s->input.end; + const char *eof = s->input.eof ? pe : NULL; + + // Restore state variables (Ragel internals). + int cs = s->cs; + int top = s->top; + int stack[ZS_RAGEL_STACK_SIZE]; + memcpy(stack, s->stack, sizeof(stack)); + + // Next 2 variables are for better performance. + // Restoring r_data pointer to next free space. + uint8_t *rdata_tail = s->r_data + s->r_data_tail; + // Initialization of the last r_data byte. + uint8_t *rdata_stop = s->r_data + ZS_MAX_RDATA_LENGTH - 1; + + // Write scanner body (in C). + + { + short _widec; + if ( p == pe ) + goto _test_eof; + goto _resume; + +_again: + switch ( cs ) { + case 1396: goto st1396; + case 0: goto st0; + case 1: goto st1; + case 2: goto st2; + case 3: goto st3; + case 4: goto st4; + case 5: goto st5; + case 6: goto st6; + case 7: goto st7; + case 8: goto st8; + case 9: goto st9; + case 10: goto st10; + case 11: goto st11; + case 12: goto st12; + case 13: goto st13; + case 1397: goto st1397; + case 14: goto st14; + case 15: goto st15; + case 16: goto st16; + case 17: goto st17; + case 18: goto st18; + case 19: goto st19; + case 20: goto st20; + case 21: goto st21; + case 22: goto st22; + case 23: goto st23; + case 24: goto st24; + case 25: goto st25; + case 26: goto st26; + case 27: goto st27; + case 28: goto st28; + case 29: goto st29; + case 30: goto st30; + case 31: goto st31; + case 32: goto st32; + case 33: goto st33; + case 34: goto st34; + case 35: goto st35; + case 36: goto st36; + case 37: goto st37; + case 38: goto st38; + case 39: goto st39; + case 40: goto st40; + case 41: goto st41; + case 42: goto st42; + case 43: goto st43; + case 44: goto st44; + case 45: goto st45; + case 46: goto st46; + case 47: goto st47; + case 48: goto st48; + case 49: goto st49; + case 50: goto st50; + case 51: goto st51; + case 52: goto st52; + case 53: goto st53; + case 54: goto st54; + case 55: goto st55; + case 56: goto st56; + case 57: goto st57; + case 58: goto st58; + case 59: goto st59; + case 60: goto st60; + case 61: goto st61; + case 62: goto st62; + case 63: goto st63; + case 64: goto st64; + case 65: goto st65; + case 66: goto st66; + case 67: goto st67; + case 68: goto st68; + case 69: goto st69; + case 70: goto st70; + case 71: goto st71; + case 72: goto st72; + case 73: goto st73; + case 74: goto st74; + case 75: goto st75; + case 76: goto st76; + case 77: goto st77; + case 78: goto st78; + case 79: goto st79; + case 80: goto st80; + case 81: goto st81; + case 82: goto st82; + case 83: goto st83; + case 84: goto st84; + case 85: goto st85; + case 86: goto st86; + case 87: goto st87; + case 88: goto st88; + case 89: goto st89; + case 90: goto st90; + case 91: goto st91; + case 92: goto st92; + case 93: goto st93; + case 94: goto st94; + case 95: goto st95; + case 96: goto st96; + case 97: goto st97; + case 98: goto st98; + case 99: goto st99; + case 100: goto st100; + case 101: goto st101; + case 102: goto st102; + case 103: goto st103; + case 104: goto st104; + case 105: goto st105; + case 106: goto st106; + case 107: goto st107; + case 108: goto st108; + case 109: goto st109; + case 110: goto st110; + case 111: goto st111; + case 112: goto st112; + case 113: goto st113; + case 114: goto st114; + case 115: goto st115; + case 116: goto st116; + case 117: goto st117; + case 118: goto st118; + case 119: goto st119; + case 120: goto st120; + case 121: goto st121; + case 122: goto st122; + case 123: goto st123; + case 124: goto st124; + case 125: goto st125; + case 126: goto st126; + case 127: goto st127; + case 128: goto st128; + case 129: goto st129; + case 130: goto st130; + case 131: goto st131; + case 132: goto st132; + case 133: goto st133; + case 134: goto st134; + case 135: goto st135; + case 136: goto st136; + case 137: goto st137; + case 138: goto st138; + case 139: goto st139; + case 140: goto st140; + case 141: goto st141; + case 142: goto st142; + case 143: goto st143; + case 144: goto st144; + case 145: goto st145; + case 146: goto st146; + case 147: goto st147; + case 148: goto st148; + case 149: goto st149; + case 150: goto st150; + case 151: goto st151; + case 152: goto st152; + case 153: goto st153; + case 154: goto st154; + case 155: goto st155; + case 156: goto st156; + case 157: goto st157; + case 158: goto st158; + case 159: goto st159; + case 160: goto st160; + case 161: goto st161; + case 162: goto st162; + case 163: goto st163; + case 164: goto st164; + case 165: goto st165; + case 166: goto st166; + case 167: goto st167; + case 168: goto st168; + case 169: goto st169; + case 170: goto st170; + case 171: goto st171; + case 172: goto st172; + case 173: goto st173; + case 1398: goto st1398; + case 174: goto st174; + case 175: goto st175; + case 176: goto st176; + case 177: goto st177; + case 178: goto st178; + case 179: goto st179; + case 180: goto st180; + case 181: goto st181; + case 182: goto st182; + case 183: goto st183; + case 1399: goto st1399; + case 184: goto st184; + case 185: goto st185; + case 186: goto st186; + case 187: goto st187; + case 188: goto st188; + case 189: goto st189; + case 190: goto st190; + case 191: goto st191; + case 1400: goto st1400; + case 192: goto st192; + case 193: goto st193; + case 194: goto st194; + case 1401: goto st1401; + case 195: goto st195; + case 196: goto st196; + case 197: goto st197; + case 198: goto st198; + case 199: goto st199; + case 200: goto st200; + case 201: goto st201; + case 202: goto st202; + case 203: goto st203; + case 204: goto st204; + case 205: goto st205; + case 1402: goto st1402; + case 206: goto st206; + case 207: goto st207; + case 208: goto st208; + case 209: goto st209; + case 1403: goto st1403; + case 210: goto st210; + case 211: goto st211; + case 212: goto st212; + case 213: goto st213; + case 214: goto st214; + case 215: goto st215; + case 216: goto st216; + case 217: goto st217; + case 218: goto st218; + case 219: goto st219; + case 220: goto st220; + case 221: goto st221; + case 222: goto st222; + case 223: goto st223; + case 224: goto st224; + case 225: goto st225; + case 226: goto st226; + case 227: goto st227; + case 1404: goto st1404; + case 228: goto st228; + case 229: goto st229; + case 230: goto st230; + case 231: goto st231; + case 232: goto st232; + case 233: goto st233; + case 234: goto st234; + case 235: goto st235; + case 236: goto st236; + case 237: goto st237; + case 238: goto st238; + case 239: goto st239; + case 240: goto st240; + case 241: goto st241; + case 242: goto st242; + case 243: goto st243; + case 1405: goto st1405; + case 244: goto st244; + case 245: goto st245; + case 246: goto st246; + case 247: goto st247; + case 248: goto st248; + case 249: goto st249; + case 250: goto st250; + case 251: goto st251; + case 252: goto st252; + case 253: goto st253; + case 254: goto st254; + case 255: goto st255; + case 256: goto st256; + case 257: goto st257; + case 258: goto st258; + case 259: goto st259; + case 260: goto st260; + case 261: goto st261; + case 262: goto st262; + case 263: goto st263; + case 264: goto st264; + case 265: goto st265; + case 266: goto st266; + case 267: goto st267; + case 268: goto st268; + case 269: goto st269; + case 270: goto st270; + case 271: goto st271; + case 272: goto st272; + case 273: goto st273; + case 274: goto st274; + case 275: goto st275; + case 276: goto st276; + case 277: goto st277; + case 278: goto st278; + case 279: goto st279; + case 280: goto st280; + case 281: goto st281; + case 282: goto st282; + case 283: goto st283; + case 284: goto st284; + case 285: goto st285; + case 286: goto st286; + case 287: goto st287; + case 288: goto st288; + case 289: goto st289; + case 290: goto st290; + case 291: goto st291; + case 292: goto st292; + case 293: goto st293; + case 294: goto st294; + case 295: goto st295; + case 296: goto st296; + case 297: goto st297; + case 298: goto st298; + case 299: goto st299; + case 300: goto st300; + case 301: goto st301; + case 302: goto st302; + case 303: goto st303; + case 304: goto st304; + case 305: goto st305; + case 306: goto st306; + case 1406: goto st1406; + case 307: goto st307; + case 308: goto st308; + case 1407: goto st1407; + case 309: goto st309; + case 310: goto st310; + case 1408: goto st1408; + case 311: goto st311; + case 312: goto st312; + case 313: goto st313; + case 314: goto st314; + case 315: goto st315; + case 316: goto st316; + case 317: goto st317; + case 318: goto st318; + case 319: goto st319; + case 1409: goto st1409; + case 1410: goto st1410; + case 320: goto st320; + case 321: goto st321; + case 322: goto st322; + case 323: goto st323; + case 324: goto st324; + case 325: goto st325; + case 326: goto st326; + case 327: goto st327; + case 328: goto st328; + case 329: goto st329; + case 330: goto st330; + case 331: goto st331; + case 332: goto st332; + case 333: goto st333; + case 334: goto st334; + case 1411: goto st1411; + case 335: goto st335; + case 336: goto st336; + case 337: goto st337; + case 338: goto st338; + case 339: goto st339; + case 340: goto st340; + case 341: goto st341; + case 342: goto st342; + case 343: goto st343; + case 344: goto st344; + case 1412: goto st1412; + case 345: goto st345; + case 346: goto st346; + case 347: goto st347; + case 348: goto st348; + case 349: goto st349; + case 350: goto st350; + case 351: goto st351; + case 352: goto st352; + case 353: goto st353; + case 354: goto st354; + case 355: goto st355; + case 356: goto st356; + case 357: goto st357; + case 358: goto st358; + case 1413: goto st1413; + case 359: goto st359; + case 360: goto st360; + case 361: goto st361; + case 362: goto st362; + case 363: goto st363; + case 364: goto st364; + case 365: goto st365; + case 1414: goto st1414; + case 366: goto st366; + case 367: goto st367; + case 368: goto st368; + case 369: goto st369; + case 370: goto st370; + case 371: goto st371; + case 372: goto st372; + case 373: goto st373; + case 374: goto st374; + case 1415: goto st1415; + case 1416: goto st1416; + case 1417: goto st1417; + case 375: goto st375; + case 376: goto st376; + case 377: goto st377; + case 378: goto st378; + case 379: goto st379; + case 380: goto st380; + case 381: goto st381; + case 382: goto st382; + case 1418: goto st1418; + case 1419: goto st1419; + case 383: goto st383; + case 384: goto st384; + case 385: goto st385; + case 1420: goto st1420; + case 386: goto st386; + case 387: goto st387; + case 388: goto st388; + case 389: goto st389; + case 390: goto st390; + case 391: goto st391; + case 392: goto st392; + case 393: goto st393; + case 394: goto st394; + case 395: goto st395; + case 396: goto st396; + case 397: goto st397; + case 398: goto st398; + case 399: goto st399; + case 400: goto st400; + case 401: goto st401; + case 402: goto st402; + case 403: goto st403; + case 404: goto st404; + case 405: goto st405; + case 406: goto st406; + case 407: goto st407; + case 408: goto st408; + case 409: goto st409; + case 410: goto st410; + case 411: goto st411; + case 412: goto st412; + case 413: goto st413; + case 414: goto st414; + case 415: goto st415; + case 416: goto st416; + case 417: goto st417; + case 418: goto st418; + case 419: goto st419; + case 420: goto st420; + case 421: goto st421; + case 422: goto st422; + case 423: goto st423; + case 424: goto st424; + case 425: goto st425; + case 426: goto st426; + case 427: goto st427; + case 428: goto st428; + case 429: goto st429; + case 430: goto st430; + case 431: goto st431; + case 432: goto st432; + case 433: goto st433; + case 434: goto st434; + case 435: goto st435; + case 436: goto st436; + case 437: goto st437; + case 438: goto st438; + case 439: goto st439; + case 440: goto st440; + case 441: goto st441; + case 442: goto st442; + case 443: goto st443; + case 444: goto st444; + case 445: goto st445; + case 446: goto st446; + case 447: goto st447; + case 448: goto st448; + case 449: goto st449; + case 450: goto st450; + case 451: goto st451; + case 452: goto st452; + case 453: goto st453; + case 454: goto st454; + case 455: goto st455; + case 456: goto st456; + case 457: goto st457; + case 458: goto st458; + case 459: goto st459; + case 460: goto st460; + case 461: goto st461; + case 462: goto st462; + case 463: goto st463; + case 464: goto st464; + case 465: goto st465; + case 466: goto st466; + case 467: goto st467; + case 468: goto st468; + case 469: goto st469; + case 470: goto st470; + case 471: goto st471; + case 472: goto st472; + case 473: goto st473; + case 474: goto st474; + case 475: goto st475; + case 476: goto st476; + case 477: goto st477; + case 478: goto st478; + case 479: goto st479; + case 480: goto st480; + case 481: goto st481; + case 482: goto st482; + case 483: goto st483; + case 484: goto st484; + case 485: goto st485; + case 486: goto st486; + case 487: goto st487; + case 488: goto st488; + case 489: goto st489; + case 490: goto st490; + case 491: goto st491; + case 492: goto st492; + case 493: goto st493; + case 494: goto st494; + case 495: goto st495; + case 496: goto st496; + case 497: goto st497; + case 498: goto st498; + case 499: goto st499; + case 500: goto st500; + case 501: goto st501; + case 502: goto st502; + case 503: goto st503; + case 504: goto st504; + case 505: goto st505; + case 506: goto st506; + case 507: goto st507; + case 508: goto st508; + case 509: goto st509; + case 510: goto st510; + case 511: goto st511; + case 512: goto st512; + case 513: goto st513; + case 514: goto st514; + case 515: goto st515; + case 516: goto st516; + case 517: goto st517; + case 518: goto st518; + case 519: goto st519; + case 520: goto st520; + case 521: goto st521; + case 522: goto st522; + case 523: goto st523; + case 524: goto st524; + case 525: goto st525; + case 526: goto st526; + case 527: goto st527; + case 528: goto st528; + case 529: goto st529; + case 530: goto st530; + case 531: goto st531; + case 532: goto st532; + case 533: goto st533; + case 534: goto st534; + case 535: goto st535; + case 536: goto st536; + case 537: goto st537; + case 538: goto st538; + case 539: goto st539; + case 540: goto st540; + case 541: goto st541; + case 542: goto st542; + case 543: goto st543; + case 544: goto st544; + case 545: goto st545; + case 546: goto st546; + case 1421: goto st1421; + case 1422: goto st1422; + case 1423: goto st1423; + case 547: goto st547; + case 548: goto st548; + case 549: goto st549; + case 550: goto st550; + case 551: goto st551; + case 1424: goto st1424; + case 552: goto st552; + case 553: goto st553; + case 554: goto st554; + case 555: goto st555; + case 1425: goto st1425; + case 1426: goto st1426; + case 1427: goto st1427; + case 556: goto st556; + case 557: goto st557; + case 1428: goto st1428; + case 558: goto st558; + case 559: goto st559; + case 560: goto st560; + case 561: goto st561; + case 562: goto st562; + case 563: goto st563; + case 1429: goto st1429; + case 564: goto st564; + case 565: goto st565; + case 566: goto st566; + case 567: goto st567; + case 568: goto st568; + case 569: goto st569; + case 570: goto st570; + case 571: goto st571; + case 572: goto st572; + case 573: goto st573; + case 574: goto st574; + case 575: goto st575; + case 576: goto st576; + case 577: goto st577; + case 578: goto st578; + case 579: goto st579; + case 580: goto st580; + case 581: goto st581; + case 582: goto st582; + case 583: goto st583; + case 584: goto st584; + case 585: goto st585; + case 586: goto st586; + case 587: goto st587; + case 588: goto st588; + case 589: goto st589; + case 590: goto st590; + case 591: goto st591; + case 592: goto st592; + case 593: goto st593; + case 594: goto st594; + case 595: goto st595; + case 596: goto st596; + case 597: goto st597; + case 598: goto st598; + case 599: goto st599; + case 600: goto st600; + case 601: goto st601; + case 602: goto st602; + case 603: goto st603; + case 604: goto st604; + case 605: goto st605; + case 606: goto st606; + case 607: goto st607; + case 608: goto st608; + case 609: goto st609; + case 610: goto st610; + case 611: goto st611; + case 1430: goto st1430; + case 1431: goto st1431; + case 612: goto st612; + case 613: goto st613; + case 614: goto st614; + case 615: goto st615; + case 616: goto st616; + case 617: goto st617; + case 618: goto st618; + case 619: goto st619; + case 620: goto st620; + case 621: goto st621; + case 1432: goto st1432; + case 622: goto st622; + case 623: goto st623; + case 624: goto st624; + case 625: goto st625; + case 626: goto st626; + case 627: goto st627; + case 628: goto st628; + case 629: goto st629; + case 630: goto st630; + case 631: goto st631; + case 632: goto st632; + case 633: goto st633; + case 634: goto st634; + case 635: goto st635; + case 636: goto st636; + case 637: goto st637; + case 638: goto st638; + case 639: goto st639; + case 640: goto st640; + case 641: goto st641; + case 642: goto st642; + case 643: goto st643; + case 644: goto st644; + case 645: goto st645; + case 646: goto st646; + case 647: goto st647; + case 648: goto st648; + case 649: goto st649; + case 650: goto st650; + case 651: goto st651; + case 652: goto st652; + case 653: goto st653; + case 654: goto st654; + case 655: goto st655; + case 656: goto st656; + case 657: goto st657; + case 658: goto st658; + case 659: goto st659; + case 660: goto st660; + case 661: goto st661; + case 662: goto st662; + case 663: goto st663; + case 664: goto st664; + case 665: goto st665; + case 666: goto st666; + case 667: goto st667; + case 668: goto st668; + case 669: goto st669; + case 670: goto st670; + case 671: goto st671; + case 672: goto st672; + case 673: goto st673; + case 674: goto st674; + case 675: goto st675; + case 676: goto st676; + case 677: goto st677; + case 678: goto st678; + case 679: goto st679; + case 680: goto st680; + case 681: goto st681; + case 682: goto st682; + case 683: goto st683; + case 684: goto st684; + case 685: goto st685; + case 686: goto st686; + case 687: goto st687; + case 688: goto st688; + case 689: goto st689; + case 690: goto st690; + case 691: goto st691; + case 692: goto st692; + case 693: goto st693; + case 694: goto st694; + case 695: goto st695; + case 696: goto st696; + case 697: goto st697; + case 698: goto st698; + case 699: goto st699; + case 700: goto st700; + case 1433: goto st1433; + case 701: goto st701; + case 702: goto st702; + case 703: goto st703; + case 704: goto st704; + case 705: goto st705; + case 706: goto st706; + case 707: goto st707; + case 708: goto st708; + case 709: goto st709; + case 710: goto st710; + case 711: goto st711; + case 712: goto st712; + case 713: goto st713; + case 714: goto st714; + case 715: goto st715; + case 716: goto st716; + case 717: goto st717; + case 718: goto st718; + case 719: goto st719; + case 720: goto st720; + case 721: goto st721; + case 722: goto st722; + case 723: goto st723; + case 724: goto st724; + case 725: goto st725; + case 726: goto st726; + case 727: goto st727; + case 728: goto st728; + case 729: goto st729; + case 730: goto st730; + case 731: goto st731; + case 732: goto st732; + case 733: goto st733; + case 734: goto st734; + case 735: goto st735; + case 736: goto st736; + case 737: goto st737; + case 738: goto st738; + case 739: goto st739; + case 740: goto st740; + case 741: goto st741; + case 742: goto st742; + case 743: goto st743; + case 744: goto st744; + case 745: goto st745; + case 746: goto st746; + case 747: goto st747; + case 748: goto st748; + case 749: goto st749; + case 750: goto st750; + case 751: goto st751; + case 752: goto st752; + case 753: goto st753; + case 754: goto st754; + case 755: goto st755; + case 756: goto st756; + case 757: goto st757; + case 758: goto st758; + case 759: goto st759; + case 760: goto st760; + case 761: goto st761; + case 762: goto st762; + case 763: goto st763; + case 764: goto st764; + case 765: goto st765; + case 766: goto st766; + case 767: goto st767; + case 768: goto st768; + case 769: goto st769; + case 770: goto st770; + case 771: goto st771; + case 772: goto st772; + case 773: goto st773; + case 774: goto st774; + case 775: goto st775; + case 776: goto st776; + case 777: goto st777; + case 778: goto st778; + case 779: goto st779; + case 780: goto st780; + case 781: goto st781; + case 782: goto st782; + case 783: goto st783; + case 784: goto st784; + case 785: goto st785; + case 786: goto st786; + case 787: goto st787; + case 788: goto st788; + case 789: goto st789; + case 790: goto st790; + case 791: goto st791; + case 792: goto st792; + case 793: goto st793; + case 794: goto st794; + case 795: goto st795; + case 796: goto st796; + case 797: goto st797; + case 798: goto st798; + case 799: goto st799; + case 800: goto st800; + case 801: goto st801; + case 802: goto st802; + case 803: goto st803; + case 804: goto st804; + case 1434: goto st1434; + case 805: goto st805; + case 806: goto st806; + case 807: goto st807; + case 808: goto st808; + case 809: goto st809; + case 810: goto st810; + case 811: goto st811; + case 812: goto st812; + case 813: goto st813; + case 814: goto st814; + case 815: goto st815; + case 816: goto st816; + case 817: goto st817; + case 818: goto st818; + case 819: goto st819; + case 820: goto st820; + case 821: goto st821; + case 822: goto st822; + case 823: goto st823; + case 824: goto st824; + case 825: goto st825; + case 826: goto st826; + case 827: goto st827; + case 828: goto st828; + case 829: goto st829; + case 830: goto st830; + case 831: goto st831; + case 832: goto st832; + case 833: goto st833; + case 834: goto st834; + case 835: goto st835; + case 836: goto st836; + case 837: goto st837; + case 838: goto st838; + case 839: goto st839; + case 840: goto st840; + case 841: goto st841; + case 842: goto st842; + case 843: goto st843; + case 844: goto st844; + case 845: goto st845; + case 1435: goto st1435; + case 846: goto st846; + case 847: goto st847; + case 1436: goto st1436; + case 848: goto st848; + case 849: goto st849; + case 850: goto st850; + case 851: goto st851; + case 852: goto st852; + case 853: goto st853; + case 854: goto st854; + case 855: goto st855; + case 856: goto st856; + case 857: goto st857; + case 858: goto st858; + case 859: goto st859; + case 860: goto st860; + case 861: goto st861; + case 1437: goto st1437; + case 862: goto st862; + case 863: goto st863; + case 864: goto st864; + case 865: goto st865; + case 866: goto st866; + case 867: goto st867; + case 868: goto st868; + case 869: goto st869; + case 870: goto st870; + case 871: goto st871; + case 872: goto st872; + case 873: goto st873; + case 874: goto st874; + case 875: goto st875; + case 876: goto st876; + case 877: goto st877; + case 878: goto st878; + case 879: goto st879; + case 880: goto st880; + case 881: goto st881; + case 882: goto st882; + case 883: goto st883; + case 1438: goto st1438; + case 884: goto st884; + case 885: goto st885; + case 886: goto st886; + case 887: goto st887; + case 888: goto st888; + case 1439: goto st1439; + case 889: goto st889; + case 890: goto st890; + case 891: goto st891; + case 892: goto st892; + case 893: goto st893; + case 1440: goto st1440; + case 894: goto st894; + case 895: goto st895; + case 896: goto st896; + case 897: goto st897; + case 898: goto st898; + case 1441: goto st1441; + case 1442: goto st1442; + case 1443: goto st1443; + case 899: goto st899; + case 900: goto st900; + case 1444: goto st1444; + case 901: goto st901; + case 902: goto st902; + case 903: goto st903; + case 904: goto st904; + case 905: goto st905; + case 906: goto st906; + case 907: goto st907; + case 908: goto st908; + case 909: goto st909; + case 910: goto st910; + case 911: goto st911; + case 912: goto st912; + case 913: goto st913; + case 914: goto st914; + case 915: goto st915; + case 916: goto st916; + case 917: goto st917; + case 918: goto st918; + case 919: goto st919; + case 920: goto st920; + case 921: goto st921; + case 922: goto st922; + case 923: goto st923; + case 924: goto st924; + case 925: goto st925; + case 926: goto st926; + case 927: goto st927; + case 1445: goto st1445; + case 1446: goto st1446; + case 1447: goto st1447; + case 928: goto st928; + case 929: goto st929; + case 930: goto st930; + case 1448: goto st1448; + case 1449: goto st1449; + case 931: goto st931; + case 932: goto st932; + case 933: goto st933; + case 934: goto st934; + case 1450: goto st1450; + case 1451: goto st1451; + case 935: goto st935; + case 936: goto st936; + case 937: goto st937; + case 938: goto st938; + case 1452: goto st1452; + case 1453: goto st1453; + case 939: goto st939; + case 940: goto st940; + case 941: goto st941; + case 942: goto st942; + case 943: goto st943; + case 944: goto st944; + case 945: goto st945; + case 946: goto st946; + case 947: goto st947; + case 948: goto st948; + case 949: goto st949; + case 950: goto st950; + case 951: goto st951; + case 952: goto st952; + case 953: goto st953; + case 954: goto st954; + case 955: goto st955; + case 956: goto st956; + case 957: goto st957; + case 958: goto st958; + case 959: goto st959; + case 960: goto st960; + case 961: goto st961; + case 962: goto st962; + case 963: goto st963; + case 1454: goto st1454; + case 964: goto st964; + case 965: goto st965; + case 966: goto st966; + case 967: goto st967; + case 968: goto st968; + case 969: goto st969; + case 970: goto st970; + case 971: goto st971; + case 972: goto st972; + case 973: goto st973; + case 974: goto st974; + case 975: goto st975; + case 976: goto st976; + case 977: goto st977; + case 978: goto st978; + case 1455: goto st1455; + case 979: goto st979; + case 980: goto st980; + case 981: goto st981; + case 982: goto st982; + case 983: goto st983; + case 984: goto st984; + case 985: goto st985; + case 986: goto st986; + case 987: goto st987; + case 988: goto st988; + case 989: goto st989; + case 990: goto st990; + case 991: goto st991; + case 1456: goto st1456; + case 992: goto st992; + case 993: goto st993; + case 994: goto st994; + case 995: goto st995; + case 996: goto st996; + case 997: goto st997; + case 998: goto st998; + case 999: goto st999; + case 1000: goto st1000; + case 1001: goto st1001; + case 1002: goto st1002; + case 1457: goto st1457; + case 1458: goto st1458; + case 1003: goto st1003; + case 1004: goto st1004; + case 1005: goto st1005; + case 1459: goto st1459; + case 1006: goto st1006; + case 1007: goto st1007; + case 1008: goto st1008; + case 1009: goto st1009; + case 1010: goto st1010; + case 1011: goto st1011; + case 1012: goto st1012; + case 1013: goto st1013; + case 1014: goto st1014; + case 1015: goto st1015; + case 1460: goto st1460; + case 1461: goto st1461; + case 1462: goto st1462; + case 1016: goto st1016; + case 1017: goto st1017; + case 1018: goto st1018; + case 1019: goto st1019; + case 1020: goto st1020; + case 1021: goto st1021; + case 1022: goto st1022; + case 1023: goto st1023; + case 1024: goto st1024; + case 1025: goto st1025; + case 1026: goto st1026; + case 1463: goto st1463; + case 1464: goto st1464; + case 1465: goto st1465; + case 1027: goto st1027; + case 1028: goto st1028; + case 1029: goto st1029; + case 1030: goto st1030; + case 1031: goto st1031; + case 1032: goto st1032; + case 1033: goto st1033; + case 1034: goto st1034; + case 1035: goto st1035; + case 1036: goto st1036; + case 1037: goto st1037; + case 1038: goto st1038; + case 1466: goto st1466; + case 1039: goto st1039; + case 1040: goto st1040; + case 1041: goto st1041; + case 1467: goto st1467; + case 1468: goto st1468; + case 1042: goto st1042; + case 1469: goto st1469; + case 1470: goto st1470; + case 1043: goto st1043; + case 1471: goto st1471; + case 1472: goto st1472; + case 1044: goto st1044; + case 1045: goto st1045; + case 1046: goto st1046; + case 1047: goto st1047; + case 1048: goto st1048; + case 1049: goto st1049; + case 1050: goto st1050; + case 1051: goto st1051; + case 1052: goto st1052; + case 1053: goto st1053; + case 1054: goto st1054; + case 1055: goto st1055; + case 1056: goto st1056; + case 1057: goto st1057; + case 1058: goto st1058; + case 1059: goto st1059; + case 1060: goto st1060; + case 1061: goto st1061; + case 1062: goto st1062; + case 1063: goto st1063; + case 1064: goto st1064; + case 1065: goto st1065; + case 1066: goto st1066; + case 1067: goto st1067; + case 1068: goto st1068; + case 1069: goto st1069; + case 1070: goto st1070; + case 1071: goto st1071; + case 1072: goto st1072; + case 1073: goto st1073; + case 1074: goto st1074; + case 1075: goto st1075; + case 1076: goto st1076; + case 1077: goto st1077; + case 1078: goto st1078; + case 1079: goto st1079; + case 1080: goto st1080; + case 1081: goto st1081; + case 1082: goto st1082; + case 1083: goto st1083; + case 1084: goto st1084; + case 1085: goto st1085; + case 1473: goto st1473; + case 1086: goto st1086; + case 1087: goto st1087; + case 1088: goto st1088; + case 1089: goto st1089; + case 1090: goto st1090; + case 1091: goto st1091; + case 1092: goto st1092; + case 1093: goto st1093; + case 1094: goto st1094; + case 1095: goto st1095; + case 1096: goto st1096; + case 1097: goto st1097; + case 1098: goto st1098; + case 1099: goto st1099; + case 1100: goto st1100; + case 1101: goto st1101; + case 1102: goto st1102; + case 1103: goto st1103; + case 1104: goto st1104; + case 1105: goto st1105; + case 1106: goto st1106; + case 1107: goto st1107; + case 1108: goto st1108; + case 1109: goto st1109; + case 1110: goto st1110; + case 1111: goto st1111; + case 1112: goto st1112; + case 1113: goto st1113; + case 1114: goto st1114; + case 1115: goto st1115; + case 1116: goto st1116; + case 1117: goto st1117; + case 1118: goto st1118; + case 1119: goto st1119; + case 1120: goto st1120; + case 1121: goto st1121; + case 1122: goto st1122; + case 1123: goto st1123; + case 1124: goto st1124; + case 1125: goto st1125; + case 1126: goto st1126; + case 1127: goto st1127; + case 1128: goto st1128; + case 1129: goto st1129; + case 1130: goto st1130; + case 1131: goto st1131; + case 1132: goto st1132; + case 1133: goto st1133; + case 1134: goto st1134; + case 1135: goto st1135; + case 1136: goto st1136; + case 1137: goto st1137; + case 1138: goto st1138; + case 1139: goto st1139; + case 1140: goto st1140; + case 1141: goto st1141; + case 1142: goto st1142; + case 1143: goto st1143; + case 1144: goto st1144; + case 1145: goto st1145; + case 1146: goto st1146; + case 1147: goto st1147; + case 1148: goto st1148; + case 1149: goto st1149; + case 1150: goto st1150; + case 1151: goto st1151; + case 1152: goto st1152; + case 1153: goto st1153; + case 1154: goto st1154; + case 1155: goto st1155; + case 1156: goto st1156; + case 1157: goto st1157; + case 1158: goto st1158; + case 1159: goto st1159; + case 1160: goto st1160; + case 1161: goto st1161; + case 1162: goto st1162; + case 1163: goto st1163; + case 1164: goto st1164; + case 1165: goto st1165; + case 1166: goto st1166; + case 1167: goto st1167; + case 1168: goto st1168; + case 1169: goto st1169; + case 1170: goto st1170; + case 1171: goto st1171; + case 1172: goto st1172; + case 1173: goto st1173; + case 1174: goto st1174; + case 1175: goto st1175; + case 1176: goto st1176; + case 1177: goto st1177; + case 1178: goto st1178; + case 1179: goto st1179; + case 1180: goto st1180; + case 1181: goto st1181; + case 1182: goto st1182; + case 1183: goto st1183; + case 1184: goto st1184; + case 1185: goto st1185; + case 1186: goto st1186; + case 1187: goto st1187; + case 1188: goto st1188; + case 1189: goto st1189; + case 1190: goto st1190; + case 1191: goto st1191; + case 1192: goto st1192; + case 1193: goto st1193; + case 1194: goto st1194; + case 1195: goto st1195; + case 1196: goto st1196; + case 1197: goto st1197; + case 1198: goto st1198; + case 1199: goto st1199; + case 1200: goto st1200; + case 1201: goto st1201; + case 1202: goto st1202; + case 1203: goto st1203; + case 1204: goto st1204; + case 1205: goto st1205; + case 1206: goto st1206; + case 1207: goto st1207; + case 1208: goto st1208; + case 1209: goto st1209; + case 1210: goto st1210; + case 1211: goto st1211; + case 1212: goto st1212; + case 1213: goto st1213; + case 1214: goto st1214; + case 1215: goto st1215; + case 1216: goto st1216; + case 1217: goto st1217; + case 1218: goto st1218; + case 1219: goto st1219; + case 1220: goto st1220; + case 1221: goto st1221; + case 1222: goto st1222; + case 1223: goto st1223; + case 1224: goto st1224; + case 1225: goto st1225; + case 1226: goto st1226; + case 1227: goto st1227; + case 1228: goto st1228; + case 1229: goto st1229; + case 1230: goto st1230; + case 1231: goto st1231; + case 1232: goto st1232; + case 1233: goto st1233; + case 1234: goto st1234; + case 1235: goto st1235; + case 1236: goto st1236; + case 1237: goto st1237; + case 1238: goto st1238; + case 1239: goto st1239; + case 1240: goto st1240; + case 1241: goto st1241; + case 1242: goto st1242; + case 1243: goto st1243; + case 1244: goto st1244; + case 1245: goto st1245; + case 1246: goto st1246; + case 1247: goto st1247; + case 1248: goto st1248; + case 1249: goto st1249; + case 1250: goto st1250; + case 1251: goto st1251; + case 1252: goto st1252; + case 1253: goto st1253; + case 1254: goto st1254; + case 1255: goto st1255; + case 1256: goto st1256; + case 1474: goto st1474; + case 1257: goto st1257; + case 1258: goto st1258; + case 1259: goto st1259; + case 1260: goto st1260; + case 1261: goto st1261; + case 1262: goto st1262; + case 1263: goto st1263; + case 1264: goto st1264; + case 1475: goto st1475; + case 1265: goto st1265; + case 1266: goto st1266; + case 1267: goto st1267; + case 1268: goto st1268; + case 1269: goto st1269; + case 1476: goto st1476; + case 1270: goto st1270; + case 1271: goto st1271; + case 1272: goto st1272; + case 1273: goto st1273; + case 1274: goto st1274; + case 1275: goto st1275; + case 1276: goto st1276; + case 1277: goto st1277; + case 1278: goto st1278; + case 1279: goto st1279; + case 1280: goto st1280; + case 1281: goto st1281; + case 1282: goto st1282; + case 1283: goto st1283; + case 1284: goto st1284; + case 1285: goto st1285; + case 1286: goto st1286; + case 1287: goto st1287; + case 1477: goto st1477; + case 1288: goto st1288; + case 1289: goto st1289; + case 1290: goto st1290; + case 1291: goto st1291; + case 1292: goto st1292; + case 1293: goto st1293; + case 1294: goto st1294; + case 1295: goto st1295; + case 1296: goto st1296; + case 1297: goto st1297; + case 1298: goto st1298; + case 1299: goto st1299; + case 1300: goto st1300; + case 1301: goto st1301; + case 1302: goto st1302; + case 1303: goto st1303; + case 1304: goto st1304; + case 1305: goto st1305; + case 1306: goto st1306; + case 1478: goto st1478; + case 1307: goto st1307; + case 1308: goto st1308; + case 1309: goto st1309; + case 1310: goto st1310; + case 1311: goto st1311; + case 1312: goto st1312; + case 1313: goto st1313; + case 1314: goto st1314; + case 1315: goto st1315; + case 1316: goto st1316; + case 1317: goto st1317; + case 1318: goto st1318; + case 1319: goto st1319; + case 1320: goto st1320; + case 1321: goto st1321; + case 1479: goto st1479; + case 1480: goto st1480; + case 1481: goto st1481; + case 1322: goto st1322; + case 1323: goto st1323; + case 1324: goto st1324; + case 1325: goto st1325; + case 1326: goto st1326; + case 1327: goto st1327; + case 1328: goto st1328; + case 1329: goto st1329; + case 1482: goto st1482; + case 1330: goto st1330; + case 1331: goto st1331; + case 1332: goto st1332; + case 1333: goto st1333; + case 1334: goto st1334; + case 1335: goto st1335; + case 1336: goto st1336; + case 1337: goto st1337; + case 1338: goto st1338; + case 1339: goto st1339; + case 1340: goto st1340; + case 1483: goto st1483; + case 1484: goto st1484; + case 1485: goto st1485; + case 1341: goto st1341; + case 1342: goto st1342; + case 1343: goto st1343; + case 1344: goto st1344; + case 1345: goto st1345; + case 1346: goto st1346; + case 1347: goto st1347; + case 1486: goto st1486; + case 1348: goto st1348; + case 1349: goto st1349; + case 1350: goto st1350; + case 1351: goto st1351; + case 1352: goto st1352; + case 1353: goto st1353; + case 1354: goto st1354; + case 1355: goto st1355; + case 1356: goto st1356; + case 1357: goto st1357; + case 1358: goto st1358; + case 1359: goto st1359; + case 1360: goto st1360; + case 1487: goto st1487; + case 1361: goto st1361; + case 1362: goto st1362; + case 1363: goto st1363; + case 1364: goto st1364; + case 1365: goto st1365; + case 1366: goto st1366; + case 1367: goto st1367; + case 1488: goto st1488; + case 1368: goto st1368; + case 1369: goto st1369; + case 1370: goto st1370; + case 1371: goto st1371; + case 1372: goto st1372; + case 1373: goto st1373; + case 1489: goto st1489; + case 1374: goto st1374; + case 1375: goto st1375; + case 1376: goto st1376; + case 1377: goto st1377; + case 1378: goto st1378; + case 1379: goto st1379; + case 1490: goto st1490; + case 1380: goto st1380; + case 1381: goto st1381; + case 1382: goto st1382; + case 1383: goto st1383; + case 1384: goto st1384; + case 1385: goto st1385; + case 1386: goto st1386; + case 1387: goto st1387; + case 1491: goto st1491; + case 1388: goto st1388; + case 1389: goto st1389; + case 1390: goto st1390; + case 1391: goto st1391; + case 1392: goto st1392; + case 1393: goto st1393; + case 1394: goto st1394; + case 1492: goto st1492; + case 1395: goto st1395; + default: break; + } + + if ( ++p == pe ) + goto _test_eof; +_resume: + switch ( cs ) + { +tr22: + { + s->line_counter++; + } + goto st1396; +tr87: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1396; goto _out;} + } + } + { + s->line_counter++; + } + goto st1396; +tr93: + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1396; goto _out;} + } + } + { + s->line_counter++; + } + goto st1396; +tr96: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1396; goto _out;} + } + } + { + s->line_counter++; + } + goto st1396; +tr754: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1396; +tr848: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1396; goto _out;} + } + } + { + s->line_counter++; + } + goto st1396; +tr966: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1396; goto _out;} + } + } + { + s->line_counter++; + } + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } + goto st1396; +tr970: + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1396; goto _out;} + } + } + { + s->line_counter++; + } + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1396; goto _out;} + } + } + } + goto st1396; +tr4211: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->line_counter++; + } + goto st1396; +tr4275: + { + NOERR; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->line_counter++; + } + goto st1396; +st1396: + if ( ++p == pe ) + goto _test_eof1396; +case 1396: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4206; + case 32: goto tr4206; + case 36: goto st184; + case 40: goto tr4208; + case 41: goto tr4209; + case 42: goto tr4210; + case 92: goto tr4210; + case 95: goto tr4210; + case 1802: goto tr4211; + case 1851: goto tr4212; + case 2058: goto tr4213; + case 2107: goto tr4214; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr4210; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr4210; + } else + goto tr4210; + goto tr4205; +tr0: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr26: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + goto st0; +tr38: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + goto st0; +tr61: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr75: + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr83: + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr89: + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr118: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr145: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr151: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr656: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + goto st0; +tr658: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr755: + { + ERR(ZS_BAD_DIRECTIVE); + p--; {goto st307;} + } + goto st0; +tr766: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + goto st0; +tr780: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + goto st0; +tr808: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr823: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr861: + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + { + ERR(ZS_BAD_DIRECTIVE); + p--; {goto st307;} + } + goto st0; +tr871: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr877: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr890: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr904: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr996: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + goto st0; +tr1011: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {goto st307;} + } + goto st0; +tr1024: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {goto st307;} + } + goto st0; +tr1032: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_TEXT); + p--; {goto st307;} + } + goto st0; +tr1040: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_TEXT); + p--; {goto st307;} + } + goto st0; +tr1056: + { + WARN(ZS_BAD_TEXT); + p--; {goto st307;} + } + goto st0; +tr1065: + { + ERR(ZS_BAD_TTL); + p--; {goto st307;} + } + goto st0; +tr1071: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st307;} + } + goto st0; +tr1073: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st307;} + } + goto st0; +tr1085: + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st307;} + } + goto st0; +tr1094: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st307;} + } + goto st0; +tr1109: + { + ERR(ZS_BAD_ORIGIN); + p--; {goto st307;} + } + goto st0; +tr1121: + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; {goto st307;} + } + goto st0; +tr1137: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; {goto st307;} + } + goto st0; +tr1151: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + goto st0; +tr1152: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr1159: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr1169: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {goto st307;} + } + goto st0; +tr1186: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {goto st307;} + } + goto st0; +tr1203: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; {goto st307;} + } + goto st0; +tr1219: + { + WARN(ZS_BAD_BITMAP); + p--; {goto st307;} + } + goto st0; +tr1792: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st307;} + } + goto st0; +tr1798: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st307;} + } + goto st0; +tr1806: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st307;} + } + goto st0; +tr1868: + { + WARN(ZS_BAD_SVCB_MANDATORY); + p--; {goto st307;} + } + goto st0; +tr1898: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_SVCB_MANDATORY); + p--; {goto st307;} + } + goto st0; +tr1921: + { + WARN(ZS_BAD_SVCB_PARAM); + p--; {goto st307;} + } + goto st0; +tr2005: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_SVCB_PARAM); + p--; {goto st307;} + } + goto st0; +tr2049: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_SVCB_PARAM); + p--; {goto st307;} + } + goto st0; +tr2129: + { + WARN(ZS_BAD_ALGORITHM); + p--; {goto st307;} + } + goto st0; +tr2251: + { + WARN(ZS_BAD_CERT_TYPE); + p--; {goto st307;} + } + goto st0; +tr2304: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr2327: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr2346: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr2512: + { + s->long_string = false; + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr2535: + { + WARN(ZS_BAD_LOC_DATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr2938: + { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr2953: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr2998: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3069: + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3084: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3098: + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3121: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3145: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3152: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3271: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3327: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3756: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr3867: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr4106: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_CHAR_COLON); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr4112: + { + WARN(ZS_BAD_CHAR_COLON); + p--; {goto st307;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr4118: + { + WARN(ZS_BAD_CHAR_DASH); + p--; {goto st307;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + goto st0; +tr4205: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr4227: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr4250: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr4269: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + ERR(ZS_BAD_DIRECTIVE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +tr4293: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st307;} + } + goto st0; +st0: +cs = 0; + goto _out; +tr2: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1; +tr3: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1; +tr4206: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr4208: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr4209: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr4279: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr4280: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr4270: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr4272: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr4273: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +st1: + if ( ++p == pe ) + goto _test_eof1; +case 1: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1; + case 32: goto st1; + case 40: goto tr2; + case 41: goto tr3; + case 65: goto tr5; + case 67: goto tr6; + case 68: goto tr7; + case 69: goto tr8; + case 72: goto tr9; + case 73: goto tr10; + case 75: goto tr11; + case 76: goto tr12; + case 77: goto tr13; + case 78: goto tr14; + case 79: goto tr15; + case 80: goto tr16; + case 82: goto tr17; + case 83: goto tr18; + case 84: goto tr19; + case 85: goto tr20; + case 90: goto tr21; + case 97: goto tr5; + case 99: goto tr6; + case 100: goto tr7; + case 101: goto tr8; + case 104: goto tr9; + case 105: goto tr10; + case 107: goto tr11; + case 108: goto tr12; + case 109: goto tr13; + case 110: goto tr14; + case 111: goto tr15; + case 112: goto tr16; + case 114: goto tr17; + case 115: goto tr18; + case 116: goto tr19; + case 117: goto tr20; + case 122: goto tr21; + case 1802: goto tr22; + case 1851: goto tr23; + case 2058: goto tr24; + case 2107: goto tr25; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr0; +tr4: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st2; +tr30: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st2; +st2: + if ( ++p == pe ) + goto _test_eof2; +case 2: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr27; + case 32: goto tr27; + case 40: goto tr28; + case 41: goto tr29; + case 68: goto tr31; + case 72: goto tr32; + case 77: goto tr33; + case 83: goto st198; + case 87: goto tr35; + case 100: goto tr31; + case 104: goto tr32; + case 109: goto tr33; + case 115: goto st198; + case 119: goto tr35; + case 2058: goto tr36; + case 2107: goto tr37; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr30; + goto tr26; +tr40: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st3; +tr41: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st3; +tr59: + { + s->line_counter++; + } + goto st3; +tr27: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st3; +tr28: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st3; +tr29: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st3; +tr36: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st3; +tr807: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 3; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st3; +tr800: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st3; +tr801: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st3; +tr802: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st3; +tr804: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st3; +st3: + if ( ++p == pe ) + goto _test_eof3; +case 3: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st3; + case 32: goto st3; + case 40: goto tr40; + case 41: goto tr41; + case 65: goto tr42; + case 67: goto tr43; + case 68: goto tr44; + case 69: goto tr45; + case 72: goto tr46; + case 73: goto tr47; + case 75: goto tr48; + case 76: goto tr49; + case 77: goto tr50; + case 78: goto tr51; + case 79: goto tr52; + case 80: goto tr53; + case 82: goto tr54; + case 83: goto tr55; + case 84: goto tr56; + case 85: goto tr57; + case 90: goto tr58; + case 97: goto tr42; + case 99: goto tr43; + case 100: goto tr44; + case 101: goto tr45; + case 104: goto tr46; + case 105: goto tr47; + case 107: goto tr48; + case 108: goto tr49; + case 109: goto tr50; + case 110: goto tr51; + case 111: goto tr52; + case 112: goto tr53; + case 114: goto tr54; + case 115: goto tr55; + case 116: goto tr56; + case 117: goto tr57; + case 122: goto tr58; + case 2058: goto tr59; + case 2107: goto tr60; + } + goto tr38; +tr5: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st4; +tr42: + { + s->r_class = s->default_class; + } + goto st4; +tr708: + { + s->r_ttl = s->default_ttl; + } + goto st4; +st4: + if ( ++p == pe ) + goto _test_eof4; +case 4: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr62; + case 32: goto tr62; + case 40: goto tr63; + case 41: goto tr64; + case 65: goto st266; + case 70: goto st269; + case 80: goto st273; + case 97: goto st266; + case 102: goto st269; + case 112: goto st273; + case 3082: goto tr68; + case 3131: goto tr69; + case 3338: goto tr70; + case 3387: goto tr70; + case 3594: goto tr71; + case 3643: goto tr72; + } + goto tr61; +tr76: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr77: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr79: + { + s->line_counter++; + } + goto st5; +tr62: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st5; +tr63: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr64: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr68: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr100: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 5; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st5; +tr163: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr164: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr165: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr166: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr185: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr186: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr187: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr188: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr193: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + goto st5; +tr194: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr195: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr196: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr203: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + goto st5; +tr204: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr205: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr206: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr214: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + goto st5; +tr215: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr216: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr217: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr225: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + goto st5; +tr226: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr227: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr228: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr239: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + goto st5; +tr240: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr241: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr242: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr251: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + goto st5; +tr252: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr253: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr254: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr262: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr263: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr264: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr265: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr270: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + goto st5; +tr271: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr272: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr273: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr283: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + goto st5; +tr284: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr285: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr286: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr292: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + goto st5; +tr293: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr294: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr295: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr305: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + goto st5; +tr306: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr307: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr308: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr316: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + goto st5; +tr317: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr318: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr319: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr359: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr360: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr361: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr362: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr370: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr371: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr372: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr373: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr378: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + goto st5; +tr379: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr380: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr381: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr391: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + goto st5; +tr392: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr393: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr394: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr400: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + goto st5; +tr401: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr402: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr403: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr409: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + goto st5; +tr410: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr411: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr412: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr417: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + goto st5; +tr418: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr419: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr420: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr430: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + goto st5; +tr431: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr432: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr433: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr438: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + goto st5; +tr439: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr440: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr441: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr452: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + goto st5; +tr453: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr454: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr455: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr461: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + goto st5; +tr462: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr463: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr464: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr469: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + goto st5; +tr470: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr471: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr473: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr479: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + goto st5; +tr480: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr481: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr483: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr488: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + goto st5; +tr489: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr490: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr492: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr501: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + goto st5; +tr502: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr503: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr504: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr518: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr519: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr520: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr521: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr528: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + goto st5; +tr529: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr530: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr531: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr539: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + goto st5; +tr540: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr541: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr542: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr550: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + goto st5; +tr551: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr552: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr553: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr558: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + goto st5; +tr559: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr560: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr561: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr576: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr577: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr578: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr579: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr585: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr586: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr587: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr588: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr594: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + goto st5; +tr595: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr596: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr597: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr603: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + goto st5; +tr604: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr605: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr606: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr614: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + goto st5; +tr615: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr616: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr617: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr624: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + goto st5; +tr625: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr626: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr627: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr637: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr638: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr639: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr640: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr646: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + goto st5; +tr647: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr648: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr649: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr659: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + goto st5; +tr660: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr661: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr663: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr670: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + goto st5; +tr671: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr672: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr673: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr683: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + goto st5; +tr684: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr685: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr686: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr933: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr934: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr935: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr936: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr944: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + goto st5; +tr945: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr946: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr947: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr953: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + goto st5; +tr954: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st5; +tr955: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st5; +tr956: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +st5: + if ( ++p == pe ) + goto _test_eof5; +case 5: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st5; + case 32: goto st5; + case 40: goto tr76; + case 41: goto tr77; + case 92: goto tr78; + case 3082: goto tr79; + case 3131: goto tr80; + case 3338: goto tr73; + case 3387: goto tr73; + case 3594: goto tr81; + case 3643: goto tr82; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr73; + } else + goto tr73; + goto tr75; +tr70: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr73: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr97: + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr98: + { + switch (s->r_type) { + // Next types must not have empty rdata. + case KNOT_RRTYPE_A: + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + case KNOT_RRTYPE_SOA: + case KNOT_RRTYPE_HINFO: + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + case KNOT_RRTYPE_RP: + case KNOT_RRTYPE_AAAA: + case KNOT_RRTYPE_LOC: + case KNOT_RRTYPE_SRV: + case KNOT_RRTYPE_NAPTR: + case KNOT_RRTYPE_CERT: + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_SSHFP: + case KNOT_RRTYPE_IPSECKEY: + case KNOT_RRTYPE_RRSIG: + case KNOT_RRTYPE_NSEC: + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_NSEC3: + case KNOT_RRTYPE_NSEC3PARAM: + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + case KNOT_RRTYPE_CDS: + case KNOT_RRTYPE_CDNSKEY: + case KNOT_RRTYPE_OPENPGPKEY: + case KNOT_RRTYPE_CSYNC: + case KNOT_RRTYPE_ZONEMD: + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L32: + case KNOT_RRTYPE_L64: + case KNOT_RRTYPE_LP: + case KNOT_RRTYPE_EUI48: + case KNOT_RRTYPE_EUI64: + case KNOT_RRTYPE_URI: + case KNOT_RRTYPE_CAA: + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st540;} + // Next types can have empty rdata. + case KNOT_RRTYPE_APL: + default: + {stack[top++] = 6;goto st549;} + } + } + goto st6; +tr168: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr190: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr198: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr208: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr219: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr230: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr244: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr256: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr267: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr275: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr288: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr297: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr310: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr321: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr364: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr375: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr383: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr396: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr405: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr414: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr422: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr435: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr443: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr457: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr466: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr475: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr485: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr494: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr506: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr523: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr533: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr544: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr555: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr563: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr581: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr590: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr599: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr608: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr619: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr629: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr642: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr651: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr665: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr675: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr688: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr938: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr949: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +tr958: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 6;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 6;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 6;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 6;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 6;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st6; +st6: + if ( ++p == pe ) + goto _test_eof6; +case 6: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr83; +tr91: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st7; +tr92: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st7; +tr84: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st7; +tr85: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st7; +tr86: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st7; +st7: + if ( ++p == pe ) + goto _test_eof7; +case 7: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st7; + case 32: goto st7; + case 40: goto tr91; + case 41: goto tr92; + case 1802: goto tr93; + case 1851: goto tr94; + case 2058: goto tr93; + case 2107: goto tr94; + } + goto tr89; +tr94: + { + s->buffer_length = 0; + } + goto st8; +tr88: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st8; +tr95: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st8; +tr849: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st8; +tr853: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st8; +st8: + if ( ++p == pe ) + goto _test_eof8; +case 8: + if ( (*p) == 10 ) + goto tr96; + goto tr95; +tr78: + { + if (pe - p == 1) { + *wrap = WRAP_DETECTED; + } + } + goto st9; +st9: + if ( ++p == pe ) + goto _test_eof9; +case 9: + if ( (*p) == 35 ) + goto tr98; + goto tr97; +tr80: + { + s->buffer_length = 0; + } + goto st10; +tr69: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr99: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st10; +tr167: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr189: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr197: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr207: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr218: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr229: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr243: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr255: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr266: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr274: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr287: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr296: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr309: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr320: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr363: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr374: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr382: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr395: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr404: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr413: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr421: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr434: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr442: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr456: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr465: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr474: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr484: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr493: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr505: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr522: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr532: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr543: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr554: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr562: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr580: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr589: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr598: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr607: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr618: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr628: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr641: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr650: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr664: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr674: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr687: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr937: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr948: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr957: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +st10: + if ( ++p == pe ) + goto _test_eof10; +case 10: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr100; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr99; + goto tr75; +tr71: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr81: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr169: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr191: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr199: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr209: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr220: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr231: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr245: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr257: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr268: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr276: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr289: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr298: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr311: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr322: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr365: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr376: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr384: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr397: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr406: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr415: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr423: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr436: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr444: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr458: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr467: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr476: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr486: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr495: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr507: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr524: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr534: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr545: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr556: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr564: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr582: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr591: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr600: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr609: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr620: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr630: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr643: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr652: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr666: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr676: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr689: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr939: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr950: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +tr959: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 11;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 11;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 11;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 11;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 11;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st11; +st11: + if ( ++p == pe ) + goto _test_eof11; +case 11: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr101; + case 32: goto tr101; + case 40: goto tr102; + case 41: goto tr103; + case 92: goto tr78; + case 2826: goto tr87; + case 2875: goto tr88; + case 3082: goto tr87; + case 3131: goto tr104; + case 3338: goto tr105; + case 3387: goto tr106; + case 3594: goto tr87; + case 3643: goto tr107; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr73; + } else + goto tr73; + goto tr83; +tr109: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st12; +tr110: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st12; +tr101: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st12; +tr102: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st12; +tr103: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st12; +st12: + if ( ++p == pe ) + goto _test_eof12; +case 12: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st12; + case 32: goto st12; + case 40: goto tr109; + case 41: goto tr110; + case 92: goto tr78; + case 2826: goto tr93; + case 2875: goto tr94; + case 3082: goto tr93; + case 3131: goto tr111; + case 3338: goto tr112; + case 3387: goto tr113; + case 3594: goto tr93; + case 3643: goto tr114; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr73; + } else + goto tr73; + goto tr83; +tr111: + { + s->buffer_length = 0; + } + goto st13; +tr115: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st13; +tr104: + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st13; +tr174: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st13; +tr178: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer_length = 0; + } + goto st13; +tr828: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st13; +st13: + if ( ++p == pe ) + goto _test_eof13; +case 13: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr96; + case 2058: goto tr116; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr115; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr83; +tr116: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1397; goto _out;} + } + } + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1397; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1397; goto _out;} + } + } + goto st1397; +tr836: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1397; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1397; goto _out;} + } + } + goto st1397; +tr827: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1397; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1397; goto _out;} + } + } + goto st1397; +st1397: + if ( ++p == pe ) + goto _test_eof1397; +case 1397: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr4215; + case 32: goto tr4215; + case 36: goto tr4216; + case 40: goto tr4217; + case 41: goto tr4218; + case 42: goto tr4219; + case 58: goto tr73; + case 92: goto tr4220; + case 95: goto tr4219; + case 2826: goto tr4211; + case 2875: goto tr4212; + case 3082: goto tr4221; + case 3131: goto tr4222; + case 3338: goto tr4223; + case 3387: goto tr4224; + case 3594: goto tr4225; + case 3643: goto tr4226; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 44 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr4219; + } else + goto tr73; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 90 ) + goto tr4219; + } else if ( _widec > 96 ) { + if ( _widec > 122 ) { + if ( 123 <= _widec ) + goto tr73; + } else if ( _widec >= 97 ) + goto tr4219; + } else + goto tr73; + } else + goto tr73; + goto tr871; +tr119: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st14; +tr120: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st14; +tr4215: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st14; +tr4217: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st14; +tr4218: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st14; +st14: + if ( ++p == pe ) + goto _test_eof14; +case 14: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st14; + case 32: goto st14; + case 40: goto tr119; + case 41: goto tr120; + case 58: goto tr73; + case 65: goto tr122; + case 67: goto tr123; + case 68: goto tr124; + case 69: goto tr125; + case 72: goto tr126; + case 73: goto tr127; + case 75: goto tr128; + case 76: goto tr129; + case 77: goto tr130; + case 78: goto tr131; + case 79: goto tr132; + case 80: goto tr133; + case 82: goto tr134; + case 83: goto tr135; + case 84: goto tr136; + case 85: goto tr137; + case 90: goto tr138; + case 92: goto tr78; + case 97: goto tr122; + case 99: goto tr123; + case 100: goto tr124; + case 101: goto tr125; + case 104: goto tr126; + case 105: goto tr127; + case 107: goto tr128; + case 108: goto tr129; + case 109: goto tr130; + case 110: goto tr131; + case 111: goto tr132; + case 112: goto tr133; + case 114: goto tr134; + case 115: goto tr135; + case 116: goto tr136; + case 117: goto tr137; + case 122: goto tr138; + case 2826: goto tr22; + case 2875: goto tr23; + case 3082: goto tr139; + case 3131: goto tr140; + case 3338: goto tr141; + case 3387: goto tr142; + case 3594: goto tr143; + case 3643: goto tr144; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr73; + } else if ( _widec >= 48 ) + goto tr121; + } else + goto tr73; + goto tr118; +tr121: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 15;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 15;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 15;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 15;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 15;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 15;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 15;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 15;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 15;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 15;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 15;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 15;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 15;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 15;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 15;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 15;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 15;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 15;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 15;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 15;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 15;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 15;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 15;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 15;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 15;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 15;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 15;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 15;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 15;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 15;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 15;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 15;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st15; +st15: + if ( ++p == pe ) + goto _test_eof15; +case 15: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr146; + case 32: goto tr146; + case 40: goto tr147; + case 41: goto tr148; + case 68: goto tr31; + case 72: goto tr32; + case 77: goto tr33; + case 83: goto st198; + case 87: goto tr35; + case 100: goto tr31; + case 104: goto tr32; + case 109: goto tr33; + case 115: goto st198; + case 119: goto tr35; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr149; + case 2107: goto tr150; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr30; + goto tr145; +tr153: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st16; +tr154: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st16; +tr146: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st16; +tr147: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st16; +tr148: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st16; +st16: + if ( ++p == pe ) + goto _test_eof16; +case 16: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st16; + case 32: goto st16; + case 40: goto tr153; + case 41: goto tr154; + case 65: goto tr42; + case 67: goto tr43; + case 68: goto tr44; + case 69: goto tr45; + case 72: goto tr46; + case 73: goto tr47; + case 75: goto tr48; + case 76: goto tr49; + case 77: goto tr50; + case 78: goto tr51; + case 79: goto tr52; + case 80: goto tr53; + case 82: goto tr54; + case 83: goto tr55; + case 84: goto tr56; + case 85: goto tr57; + case 90: goto tr58; + case 97: goto tr42; + case 99: goto tr43; + case 100: goto tr44; + case 101: goto tr45; + case 104: goto tr46; + case 105: goto tr47; + case 107: goto tr48; + case 108: goto tr49; + case 109: goto tr50; + case 110: goto tr51; + case 111: goto tr52; + case 112: goto tr53; + case 114: goto tr54; + case 115: goto tr55; + case 116: goto tr56; + case 117: goto tr57; + case 122: goto tr58; + case 1802: goto tr93; + case 1851: goto tr94; + case 2058: goto tr155; + case 2107: goto tr156; + } + goto tr151; +tr6: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st17; +tr43: + { + s->r_class = s->default_class; + } + goto st17; +tr709: + { + s->r_ttl = s->default_ttl; + } + goto st17; +st17: + if ( ++p == pe ) + goto _test_eof17; +case 17: + switch( (*p) ) { + case 65: goto st18; + case 68: goto st22; + case 69: goto st29; + case 78: goto st32; + case 83: goto st36; + case 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + case 115: goto st36; + } + goto tr38; +st18: + if ( ++p == pe ) + goto _test_eof18; +case 18: + switch( (*p) ) { + case 65: goto st19; + case 97: goto st19; + } + goto tr38; +st19: + if ( ++p == pe ) + goto _test_eof19; +case 19: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr163; + case 32: goto tr163; + case 40: goto tr164; + case 41: goto tr165; + case 3082: goto tr166; + case 3131: goto tr167; + case 3338: goto tr168; + case 3387: goto tr168; + case 3594: goto tr169; + case 3643: goto tr170; + } + goto tr61; +tr72: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr82: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr170: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr192: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr200: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr210: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr221: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr232: + { s->r_type = KNOT_RRTYPE_CSYNC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr246: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr258: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr269: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr277: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr290: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr299: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr312: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr323: + { s->r_type = KNOT_RRTYPE_HTTPS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr366: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr377: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr385: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr398: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr407: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr416: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr424: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr437: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr445: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr459: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr468: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr477: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr487: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr496: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr508: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr525: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr535: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr546: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr557: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr565: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr583: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr592: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr601: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr610: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr621: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr631: + { s->r_type = KNOT_RRTYPE_SVCB; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr644: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr653: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr667: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr677: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr690: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr940: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr951: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +tr960: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 20;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 20;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 20;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 20;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 20;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st20; +st20: + if ( ++p == pe ) + goto _test_eof20; +case 20: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr84; + case 1802: goto tr87; + case 1824: goto tr84; + case 1832: goto tr85; + case 1833: goto tr86; + case 1851: goto tr88; + case 2057: goto tr171; + case 2058: goto tr87; + case 2080: goto tr171; + case 2088: goto tr172; + case 2089: goto tr173; + case 2107: goto tr174; + } + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr99; + goto tr83; +tr175: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st21; +tr171: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st21; +tr172: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st21; +tr173: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st21; +tr176: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st21; +tr177: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st21; +st21: + if ( ++p == pe ) + goto _test_eof21; +case 21: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto st7; + case 1802: goto tr93; + case 1824: goto st7; + case 1832: goto tr91; + case 1833: goto tr92; + case 1851: goto tr94; + case 2057: goto tr175; + case 2058: goto tr93; + case 2080: goto tr175; + case 2088: goto tr176; + case 2089: goto tr177; + case 2107: goto tr178; + } + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr99; + goto tr83; +st22: + if ( ++p == pe ) + goto _test_eof22; +case 22: + switch( (*p) ) { + case 78: goto st23; + case 83: goto st28; + case 110: goto st23; + case 115: goto st28; + } + goto tr38; +st23: + if ( ++p == pe ) + goto _test_eof23; +case 23: + switch( (*p) ) { + case 83: goto st24; + case 115: goto st24; + } + goto tr38; +st24: + if ( ++p == pe ) + goto _test_eof24; +case 24: + switch( (*p) ) { + case 75: goto st25; + case 107: goto st25; + } + goto tr38; +st25: + if ( ++p == pe ) + goto _test_eof25; +case 25: + switch( (*p) ) { + case 69: goto st26; + case 101: goto st26; + } + goto tr38; +st26: + if ( ++p == pe ) + goto _test_eof26; +case 26: + switch( (*p) ) { + case 89: goto st27; + case 121: goto st27; + } + goto tr38; +st27: + if ( ++p == pe ) + goto _test_eof27; +case 27: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr185; + case 32: goto tr185; + case 40: goto tr186; + case 41: goto tr187; + case 3082: goto tr188; + case 3131: goto tr189; + case 3338: goto tr190; + case 3387: goto tr190; + case 3594: goto tr191; + case 3643: goto tr192; + } + goto tr61; +st28: + if ( ++p == pe ) + goto _test_eof28; +case 28: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr193; + case 32: goto tr193; + case 40: goto tr194; + case 41: goto tr195; + case 3082: goto tr196; + case 3131: goto tr197; + case 3338: goto tr198; + case 3387: goto tr198; + case 3594: goto tr199; + case 3643: goto tr200; + } + goto tr61; +st29: + if ( ++p == pe ) + goto _test_eof29; +case 29: + switch( (*p) ) { + case 82: goto st30; + case 114: goto st30; + } + goto tr38; +st30: + if ( ++p == pe ) + goto _test_eof30; +case 30: + switch( (*p) ) { + case 84: goto st31; + case 116: goto st31; + } + goto tr38; +st31: + if ( ++p == pe ) + goto _test_eof31; +case 31: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr203; + case 32: goto tr203; + case 40: goto tr204; + case 41: goto tr205; + case 3082: goto tr206; + case 3131: goto tr207; + case 3338: goto tr208; + case 3387: goto tr208; + case 3594: goto tr209; + case 3643: goto tr210; + } + goto tr61; +st32: + if ( ++p == pe ) + goto _test_eof32; +case 32: + switch( (*p) ) { + case 65: goto st33; + case 97: goto st33; + } + goto tr38; +st33: + if ( ++p == pe ) + goto _test_eof33; +case 33: + switch( (*p) ) { + case 77: goto st34; + case 109: goto st34; + } + goto tr38; +st34: + if ( ++p == pe ) + goto _test_eof34; +case 34: + switch( (*p) ) { + case 69: goto st35; + case 101: goto st35; + } + goto tr38; +st35: + if ( ++p == pe ) + goto _test_eof35; +case 35: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr214; + case 32: goto tr214; + case 40: goto tr215; + case 41: goto tr216; + case 3082: goto tr217; + case 3131: goto tr218; + case 3338: goto tr219; + case 3387: goto tr219; + case 3594: goto tr220; + case 3643: goto tr221; + } + goto tr61; +st36: + if ( ++p == pe ) + goto _test_eof36; +case 36: + switch( (*p) ) { + case 89: goto st37; + case 121: goto st37; + } + goto tr38; +st37: + if ( ++p == pe ) + goto _test_eof37; +case 37: + switch( (*p) ) { + case 78: goto st38; + case 110: goto st38; + } + goto tr38; +st38: + if ( ++p == pe ) + goto _test_eof38; +case 38: + switch( (*p) ) { + case 67: goto st39; + case 99: goto st39; + } + goto tr38; +st39: + if ( ++p == pe ) + goto _test_eof39; +case 39: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr225; + case 32: goto tr225; + case 40: goto tr226; + case 41: goto tr227; + case 3082: goto tr228; + case 3131: goto tr229; + case 3338: goto tr230; + case 3387: goto tr230; + case 3594: goto tr231; + case 3643: goto tr232; + } + goto tr61; +tr7: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st40; +tr44: + { + s->r_class = s->default_class; + } + goto st40; +tr710: + { + s->r_ttl = s->default_ttl; + } + goto st40; +st40: + if ( ++p == pe ) + goto _test_eof40; +case 40: + switch( (*p) ) { + case 72: goto st41; + case 78: goto st45; + case 83: goto st53; + case 104: goto st41; + case 110: goto st45; + case 115: goto st53; + } + goto tr38; +st41: + if ( ++p == pe ) + goto _test_eof41; +case 41: + switch( (*p) ) { + case 67: goto st42; + case 99: goto st42; + } + goto tr38; +st42: + if ( ++p == pe ) + goto _test_eof42; +case 42: + switch( (*p) ) { + case 73: goto st43; + case 105: goto st43; + } + goto tr38; +st43: + if ( ++p == pe ) + goto _test_eof43; +case 43: + switch( (*p) ) { + case 68: goto st44; + case 100: goto st44; + } + goto tr38; +st44: + if ( ++p == pe ) + goto _test_eof44; +case 44: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr239; + case 32: goto tr239; + case 40: goto tr240; + case 41: goto tr241; + case 3082: goto tr242; + case 3131: goto tr243; + case 3338: goto tr244; + case 3387: goto tr244; + case 3594: goto tr245; + case 3643: goto tr246; + } + goto tr61; +st45: + if ( ++p == pe ) + goto _test_eof45; +case 45: + switch( (*p) ) { + case 65: goto st46; + case 83: goto st49; + case 97: goto st46; + case 115: goto st49; + } + goto tr38; +st46: + if ( ++p == pe ) + goto _test_eof46; +case 46: + switch( (*p) ) { + case 77: goto st47; + case 109: goto st47; + } + goto tr38; +st47: + if ( ++p == pe ) + goto _test_eof47; +case 47: + switch( (*p) ) { + case 69: goto st48; + case 101: goto st48; + } + goto tr38; +st48: + if ( ++p == pe ) + goto _test_eof48; +case 48: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr251; + case 32: goto tr251; + case 40: goto tr252; + case 41: goto tr253; + case 3082: goto tr254; + case 3131: goto tr255; + case 3338: goto tr256; + case 3387: goto tr256; + case 3594: goto tr257; + case 3643: goto tr258; + } + goto tr61; +st49: + if ( ++p == pe ) + goto _test_eof49; +case 49: + switch( (*p) ) { + case 75: goto st50; + case 107: goto st50; + } + goto tr38; +st50: + if ( ++p == pe ) + goto _test_eof50; +case 50: + switch( (*p) ) { + case 69: goto st51; + case 101: goto st51; + } + goto tr38; +st51: + if ( ++p == pe ) + goto _test_eof51; +case 51: + switch( (*p) ) { + case 89: goto st52; + case 121: goto st52; + } + goto tr38; +st52: + if ( ++p == pe ) + goto _test_eof52; +case 52: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr262; + case 32: goto tr262; + case 40: goto tr263; + case 41: goto tr264; + case 3082: goto tr265; + case 3131: goto tr266; + case 3338: goto tr267; + case 3387: goto tr267; + case 3594: goto tr268; + case 3643: goto tr269; + } + goto tr61; +st53: + if ( ++p == pe ) + goto _test_eof53; +case 53: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr270; + case 32: goto tr270; + case 40: goto tr271; + case 41: goto tr272; + case 3082: goto tr273; + case 3131: goto tr274; + case 3338: goto tr275; + case 3387: goto tr275; + case 3594: goto tr276; + case 3643: goto tr277; + } + goto tr61; +tr8: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st54; +tr45: + { + s->r_class = s->default_class; + } + goto st54; +tr711: + { + s->r_ttl = s->default_ttl; + } + goto st54; +st54: + if ( ++p == pe ) + goto _test_eof54; +case 54: + switch( (*p) ) { + case 85: goto st55; + case 117: goto st55; + } + goto tr38; +st55: + if ( ++p == pe ) + goto _test_eof55; +case 55: + switch( (*p) ) { + case 73: goto st56; + case 105: goto st56; + } + goto tr38; +st56: + if ( ++p == pe ) + goto _test_eof56; +case 56: + switch( (*p) ) { + case 52: goto st57; + case 54: goto st59; + } + goto tr38; +st57: + if ( ++p == pe ) + goto _test_eof57; +case 57: + if ( (*p) == 56 ) + goto st58; + goto tr38; +st58: + if ( ++p == pe ) + goto _test_eof58; +case 58: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr283; + case 32: goto tr283; + case 40: goto tr284; + case 41: goto tr285; + case 3082: goto tr286; + case 3131: goto tr287; + case 3338: goto tr288; + case 3387: goto tr288; + case 3594: goto tr289; + case 3643: goto tr290; + } + goto tr61; +st59: + if ( ++p == pe ) + goto _test_eof59; +case 59: + if ( (*p) == 52 ) + goto st60; + goto tr38; +st60: + if ( ++p == pe ) + goto _test_eof60; +case 60: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr292; + case 32: goto tr292; + case 40: goto tr293; + case 41: goto tr294; + case 3082: goto tr295; + case 3131: goto tr296; + case 3338: goto tr297; + case 3387: goto tr297; + case 3594: goto tr298; + case 3643: goto tr299; + } + goto tr61; +tr9: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st61; +tr46: + { + s->r_class = s->default_class; + } + goto st61; +tr712: + { + s->r_ttl = s->default_ttl; + } + goto st61; +st61: + if ( ++p == pe ) + goto _test_eof61; +case 61: + switch( (*p) ) { + case 73: goto st62; + case 84: goto st66; + case 105: goto st62; + case 116: goto st66; + } + goto tr38; +st62: + if ( ++p == pe ) + goto _test_eof62; +case 62: + switch( (*p) ) { + case 78: goto st63; + case 110: goto st63; + } + goto tr38; +st63: + if ( ++p == pe ) + goto _test_eof63; +case 63: + switch( (*p) ) { + case 70: goto st64; + case 102: goto st64; + } + goto tr38; +st64: + if ( ++p == pe ) + goto _test_eof64; +case 64: + switch( (*p) ) { + case 79: goto st65; + case 111: goto st65; + } + goto tr38; +st65: + if ( ++p == pe ) + goto _test_eof65; +case 65: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr305; + case 32: goto tr305; + case 40: goto tr306; + case 41: goto tr307; + case 3082: goto tr308; + case 3131: goto tr309; + case 3338: goto tr310; + case 3387: goto tr310; + case 3594: goto tr311; + case 3643: goto tr312; + } + goto tr61; +st66: + if ( ++p == pe ) + goto _test_eof66; +case 66: + switch( (*p) ) { + case 84: goto st67; + case 116: goto st67; + } + goto tr38; +st67: + if ( ++p == pe ) + goto _test_eof67; +case 67: + switch( (*p) ) { + case 80: goto st68; + case 112: goto st68; + } + goto tr38; +st68: + if ( ++p == pe ) + goto _test_eof68; +case 68: + switch( (*p) ) { + case 83: goto st69; + case 115: goto st69; + } + goto tr38; +st69: + if ( ++p == pe ) + goto _test_eof69; +case 69: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr316; + case 32: goto tr316; + case 40: goto tr317; + case 41: goto tr318; + case 3082: goto tr319; + case 3131: goto tr320; + case 3338: goto tr321; + case 3387: goto tr321; + case 3594: goto tr322; + case 3643: goto tr323; + } + goto tr61; +tr47: + { + s->r_class = s->default_class; + } + goto st70; +st70: + if ( ++p == pe ) + goto _test_eof70; +case 70: + switch( (*p) ) { + case 78: goto st71; + case 80: goto st74; + case 110: goto st71; + case 112: goto st74; + } + goto tr38; +st71: + if ( ++p == pe ) + goto _test_eof71; +case 71: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr326; + case 32: goto tr326; + case 40: goto tr327; + case 41: goto tr328; + case 2058: goto tr329; + case 2107: goto tr330; + } + goto tr38; +tr332: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st72; +tr333: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st72; +tr351: + { + s->line_counter++; + } + goto st72; +tr727: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st72; +tr728: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st72; +tr729: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st72; +tr736: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st72; +tr692: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 72; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st72; +tr326: + { + s->r_class = KNOT_CLASS_IN; + } + goto st72; +tr327: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st72; +tr328: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st72; +tr329: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->line_counter++; + } + goto st72; +tr745: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st72; +tr746: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st72; +tr747: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st72; +tr749: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st72; +st72: + if ( ++p == pe ) + goto _test_eof72; +case 72: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st72; + case 32: goto st72; + case 40: goto tr332; + case 41: goto tr333; + case 65: goto st4; + case 67: goto st17; + case 68: goto st40; + case 69: goto st54; + case 72: goto st61; + case 73: goto st73; + case 75: goto st81; + case 76: goto st85; + case 77: goto st93; + case 78: goto st99; + case 79: goto st115; + case 80: goto st125; + case 82: goto st128; + case 83: goto st135; + case 84: goto st154; + case 85: goto st164; + case 90: goto st167; + case 97: goto st4; + case 99: goto st17; + case 100: goto st40; + case 101: goto st54; + case 104: goto st61; + case 105: goto st73; + case 107: goto st81; + case 108: goto st85; + case 109: goto st93; + case 110: goto st99; + case 111: goto st115; + case 112: goto st125; + case 114: goto st128; + case 115: goto st135; + case 116: goto st154; + case 117: goto st164; + case 122: goto st167; + case 2058: goto tr351; + case 2107: goto tr352; + } + goto tr38; +tr713: + { + s->r_ttl = s->default_ttl; + } + goto st73; +st73: + if ( ++p == pe ) + goto _test_eof73; +case 73: + switch( (*p) ) { + case 80: goto st74; + case 112: goto st74; + } + goto tr38; +st74: + if ( ++p == pe ) + goto _test_eof74; +case 74: + switch( (*p) ) { + case 83: goto st75; + case 115: goto st75; + } + goto tr38; +st75: + if ( ++p == pe ) + goto _test_eof75; +case 75: + switch( (*p) ) { + case 69: goto st76; + case 101: goto st76; + } + goto tr38; +st76: + if ( ++p == pe ) + goto _test_eof76; +case 76: + switch( (*p) ) { + case 67: goto st77; + case 99: goto st77; + } + goto tr38; +st77: + if ( ++p == pe ) + goto _test_eof77; +case 77: + switch( (*p) ) { + case 75: goto st78; + case 107: goto st78; + } + goto tr38; +st78: + if ( ++p == pe ) + goto _test_eof78; +case 78: + switch( (*p) ) { + case 69: goto st79; + case 101: goto st79; + } + goto tr38; +st79: + if ( ++p == pe ) + goto _test_eof79; +case 79: + switch( (*p) ) { + case 89: goto st80; + case 121: goto st80; + } + goto tr38; +st80: + if ( ++p == pe ) + goto _test_eof80; +case 80: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr359; + case 32: goto tr359; + case 40: goto tr360; + case 41: goto tr361; + case 3082: goto tr362; + case 3131: goto tr363; + case 3338: goto tr364; + case 3387: goto tr364; + case 3594: goto tr365; + case 3643: goto tr366; + } + goto tr61; +tr11: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st81; +tr48: + { + s->r_class = s->default_class; + } + goto st81; +tr714: + { + s->r_ttl = s->default_ttl; + } + goto st81; +st81: + if ( ++p == pe ) + goto _test_eof81; +case 81: + switch( (*p) ) { + case 69: goto st82; + case 88: goto st84; + case 101: goto st82; + case 120: goto st84; + } + goto tr38; +st82: + if ( ++p == pe ) + goto _test_eof82; +case 82: + switch( (*p) ) { + case 89: goto st83; + case 121: goto st83; + } + goto tr38; +st83: + if ( ++p == pe ) + goto _test_eof83; +case 83: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr370; + case 32: goto tr370; + case 40: goto tr371; + case 41: goto tr372; + case 3082: goto tr373; + case 3131: goto tr374; + case 3338: goto tr375; + case 3387: goto tr375; + case 3594: goto tr376; + case 3643: goto tr377; + } + goto tr61; +st84: + if ( ++p == pe ) + goto _test_eof84; +case 84: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr378; + case 32: goto tr378; + case 40: goto tr379; + case 41: goto tr380; + case 3082: goto tr381; + case 3131: goto tr382; + case 3338: goto tr383; + case 3387: goto tr383; + case 3594: goto tr384; + case 3643: goto tr385; + } + goto tr61; +tr12: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st85; +tr49: + { + s->r_class = s->default_class; + } + goto st85; +tr715: + { + s->r_ttl = s->default_ttl; + } + goto st85; +st85: + if ( ++p == pe ) + goto _test_eof85; +case 85: + switch( (*p) ) { + case 51: goto st86; + case 54: goto st88; + case 79: goto st90; + case 80: goto st92; + case 111: goto st90; + case 112: goto st92; + } + goto tr38; +st86: + if ( ++p == pe ) + goto _test_eof86; +case 86: + if ( (*p) == 50 ) + goto st87; + goto tr38; +st87: + if ( ++p == pe ) + goto _test_eof87; +case 87: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr391; + case 32: goto tr391; + case 40: goto tr392; + case 41: goto tr393; + case 3082: goto tr394; + case 3131: goto tr395; + case 3338: goto tr396; + case 3387: goto tr396; + case 3594: goto tr397; + case 3643: goto tr398; + } + goto tr61; +st88: + if ( ++p == pe ) + goto _test_eof88; +case 88: + if ( (*p) == 52 ) + goto st89; + goto tr38; +st89: + if ( ++p == pe ) + goto _test_eof89; +case 89: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr400; + case 32: goto tr400; + case 40: goto tr401; + case 41: goto tr402; + case 3082: goto tr403; + case 3131: goto tr404; + case 3338: goto tr405; + case 3387: goto tr405; + case 3594: goto tr406; + case 3643: goto tr407; + } + goto tr61; +st90: + if ( ++p == pe ) + goto _test_eof90; +case 90: + switch( (*p) ) { + case 67: goto st91; + case 99: goto st91; + } + goto tr38; +st91: + if ( ++p == pe ) + goto _test_eof91; +case 91: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr409; + case 32: goto tr409; + case 40: goto tr410; + case 41: goto tr411; + case 3082: goto tr412; + case 3131: goto tr413; + case 3338: goto tr414; + case 3387: goto tr414; + case 3594: goto tr415; + case 3643: goto tr416; + } + goto tr61; +st92: + if ( ++p == pe ) + goto _test_eof92; +case 92: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr417; + case 32: goto tr417; + case 40: goto tr418; + case 41: goto tr419; + case 3082: goto tr420; + case 3131: goto tr421; + case 3338: goto tr422; + case 3387: goto tr422; + case 3594: goto tr423; + case 3643: goto tr424; + } + goto tr61; +tr13: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st93; +tr50: + { + s->r_class = s->default_class; + } + goto st93; +tr716: + { + s->r_ttl = s->default_ttl; + } + goto st93; +st93: + if ( ++p == pe ) + goto _test_eof93; +case 93: + switch( (*p) ) { + case 73: goto st94; + case 88: goto st98; + case 105: goto st94; + case 120: goto st98; + } + goto tr38; +st94: + if ( ++p == pe ) + goto _test_eof94; +case 94: + switch( (*p) ) { + case 78: goto st95; + case 110: goto st95; + } + goto tr38; +st95: + if ( ++p == pe ) + goto _test_eof95; +case 95: + switch( (*p) ) { + case 70: goto st96; + case 102: goto st96; + } + goto tr38; +st96: + if ( ++p == pe ) + goto _test_eof96; +case 96: + switch( (*p) ) { + case 79: goto st97; + case 111: goto st97; + } + goto tr38; +st97: + if ( ++p == pe ) + goto _test_eof97; +case 97: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr430; + case 32: goto tr430; + case 40: goto tr431; + case 41: goto tr432; + case 3082: goto tr433; + case 3131: goto tr434; + case 3338: goto tr435; + case 3387: goto tr435; + case 3594: goto tr436; + case 3643: goto tr437; + } + goto tr61; +st98: + if ( ++p == pe ) + goto _test_eof98; +case 98: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr438; + case 32: goto tr438; + case 40: goto tr439; + case 41: goto tr440; + case 3082: goto tr441; + case 3131: goto tr442; + case 3338: goto tr443; + case 3387: goto tr443; + case 3594: goto tr444; + case 3643: goto tr445; + } + goto tr61; +tr14: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st99; +tr51: + { + s->r_class = s->default_class; + } + goto st99; +tr717: + { + s->r_ttl = s->default_ttl; + } + goto st99; +st99: + if ( ++p == pe ) + goto _test_eof99; +case 99: + switch( (*p) ) { + case 65: goto st100; + case 73: goto st104; + case 83: goto st106; + case 97: goto st100; + case 105: goto st104; + case 115: goto st106; + } + goto tr38; +st100: + if ( ++p == pe ) + goto _test_eof100; +case 100: + switch( (*p) ) { + case 80: goto st101; + case 112: goto st101; + } + goto tr38; +st101: + if ( ++p == pe ) + goto _test_eof101; +case 101: + switch( (*p) ) { + case 84: goto st102; + case 116: goto st102; + } + goto tr38; +st102: + if ( ++p == pe ) + goto _test_eof102; +case 102: + switch( (*p) ) { + case 82: goto st103; + case 114: goto st103; + } + goto tr38; +st103: + if ( ++p == pe ) + goto _test_eof103; +case 103: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr452; + case 32: goto tr452; + case 40: goto tr453; + case 41: goto tr454; + case 3082: goto tr455; + case 3131: goto tr456; + case 3338: goto tr457; + case 3387: goto tr457; + case 3594: goto tr458; + case 3643: goto tr459; + } + goto tr61; +st104: + if ( ++p == pe ) + goto _test_eof104; +case 104: + switch( (*p) ) { + case 68: goto st105; + case 100: goto st105; + } + goto tr38; +st105: + if ( ++p == pe ) + goto _test_eof105; +case 105: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr461; + case 32: goto tr461; + case 40: goto tr462; + case 41: goto tr463; + case 3082: goto tr464; + case 3131: goto tr465; + case 3338: goto tr466; + case 3387: goto tr466; + case 3594: goto tr467; + case 3643: goto tr468; + } + goto tr61; +st106: + if ( ++p == pe ) + goto _test_eof106; +case 106: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr469; + case 32: goto tr469; + case 40: goto tr470; + case 41: goto tr471; + case 69: goto st107; + case 101: goto st107; + case 3082: goto tr473; + case 3131: goto tr474; + case 3338: goto tr475; + case 3387: goto tr475; + case 3594: goto tr476; + case 3643: goto tr477; + } + goto tr61; +st107: + if ( ++p == pe ) + goto _test_eof107; +case 107: + switch( (*p) ) { + case 67: goto st108; + case 99: goto st108; + } + goto tr38; +st108: + if ( ++p == pe ) + goto _test_eof108; +case 108: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr479; + case 32: goto tr479; + case 40: goto tr480; + case 41: goto tr481; + case 51: goto st109; + case 3082: goto tr483; + case 3131: goto tr484; + case 3338: goto tr485; + case 3387: goto tr485; + case 3594: goto tr486; + case 3643: goto tr487; + } + goto tr61; +st109: + if ( ++p == pe ) + goto _test_eof109; +case 109: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr488; + case 32: goto tr488; + case 40: goto tr489; + case 41: goto tr490; + case 80: goto st110; + case 112: goto st110; + case 3082: goto tr492; + case 3131: goto tr493; + case 3338: goto tr494; + case 3387: goto tr494; + case 3594: goto tr495; + case 3643: goto tr496; + } + goto tr61; +st110: + if ( ++p == pe ) + goto _test_eof110; +case 110: + switch( (*p) ) { + case 65: goto st111; + case 97: goto st111; + } + goto tr38; +st111: + if ( ++p == pe ) + goto _test_eof111; +case 111: + switch( (*p) ) { + case 82: goto st112; + case 114: goto st112; + } + goto tr38; +st112: + if ( ++p == pe ) + goto _test_eof112; +case 112: + switch( (*p) ) { + case 65: goto st113; + case 97: goto st113; + } + goto tr38; +st113: + if ( ++p == pe ) + goto _test_eof113; +case 113: + switch( (*p) ) { + case 77: goto st114; + case 109: goto st114; + } + goto tr38; +st114: + if ( ++p == pe ) + goto _test_eof114; +case 114: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr501; + case 32: goto tr501; + case 40: goto tr502; + case 41: goto tr503; + case 3082: goto tr504; + case 3131: goto tr505; + case 3338: goto tr506; + case 3387: goto tr506; + case 3594: goto tr507; + case 3643: goto tr508; + } + goto tr61; +tr15: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st115; +tr52: + { + s->r_class = s->default_class; + } + goto st115; +tr718: + { + s->r_ttl = s->default_ttl; + } + goto st115; +st115: + if ( ++p == pe ) + goto _test_eof115; +case 115: + switch( (*p) ) { + case 80: goto st116; + case 112: goto st116; + } + goto tr38; +st116: + if ( ++p == pe ) + goto _test_eof116; +case 116: + switch( (*p) ) { + case 69: goto st117; + case 101: goto st117; + } + goto tr38; +st117: + if ( ++p == pe ) + goto _test_eof117; +case 117: + switch( (*p) ) { + case 78: goto st118; + case 110: goto st118; + } + goto tr38; +st118: + if ( ++p == pe ) + goto _test_eof118; +case 118: + switch( (*p) ) { + case 80: goto st119; + case 112: goto st119; + } + goto tr38; +st119: + if ( ++p == pe ) + goto _test_eof119; +case 119: + switch( (*p) ) { + case 71: goto st120; + case 103: goto st120; + } + goto tr38; +st120: + if ( ++p == pe ) + goto _test_eof120; +case 120: + switch( (*p) ) { + case 80: goto st121; + case 112: goto st121; + } + goto tr38; +st121: + if ( ++p == pe ) + goto _test_eof121; +case 121: + switch( (*p) ) { + case 75: goto st122; + case 107: goto st122; + } + goto tr38; +st122: + if ( ++p == pe ) + goto _test_eof122; +case 122: + switch( (*p) ) { + case 69: goto st123; + case 101: goto st123; + } + goto tr38; +st123: + if ( ++p == pe ) + goto _test_eof123; +case 123: + switch( (*p) ) { + case 89: goto st124; + case 121: goto st124; + } + goto tr38; +st124: + if ( ++p == pe ) + goto _test_eof124; +case 124: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr518; + case 32: goto tr518; + case 40: goto tr519; + case 41: goto tr520; + case 3082: goto tr521; + case 3131: goto tr522; + case 3338: goto tr523; + case 3387: goto tr523; + case 3594: goto tr524; + case 3643: goto tr525; + } + goto tr61; +tr16: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st125; +tr53: + { + s->r_class = s->default_class; + } + goto st125; +tr719: + { + s->r_ttl = s->default_ttl; + } + goto st125; +st125: + if ( ++p == pe ) + goto _test_eof125; +case 125: + switch( (*p) ) { + case 84: goto st126; + case 116: goto st126; + } + goto tr38; +st126: + if ( ++p == pe ) + goto _test_eof126; +case 126: + switch( (*p) ) { + case 82: goto st127; + case 114: goto st127; + } + goto tr38; +st127: + if ( ++p == pe ) + goto _test_eof127; +case 127: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr528; + case 32: goto tr528; + case 40: goto tr529; + case 41: goto tr530; + case 3082: goto tr531; + case 3131: goto tr532; + case 3338: goto tr533; + case 3387: goto tr533; + case 3594: goto tr534; + case 3643: goto tr535; + } + goto tr61; +tr17: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st128; +tr54: + { + s->r_class = s->default_class; + } + goto st128; +tr720: + { + s->r_ttl = s->default_ttl; + } + goto st128; +st128: + if ( ++p == pe ) + goto _test_eof128; +case 128: + switch( (*p) ) { + case 80: goto st129; + case 82: goto st130; + case 84: goto st134; + case 112: goto st129; + case 114: goto st130; + case 116: goto st134; + } + goto tr38; +st129: + if ( ++p == pe ) + goto _test_eof129; +case 129: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr539; + case 32: goto tr539; + case 40: goto tr540; + case 41: goto tr541; + case 3082: goto tr542; + case 3131: goto tr543; + case 3338: goto tr544; + case 3387: goto tr544; + case 3594: goto tr545; + case 3643: goto tr546; + } + goto tr61; +st130: + if ( ++p == pe ) + goto _test_eof130; +case 130: + switch( (*p) ) { + case 83: goto st131; + case 115: goto st131; + } + goto tr38; +st131: + if ( ++p == pe ) + goto _test_eof131; +case 131: + switch( (*p) ) { + case 73: goto st132; + case 105: goto st132; + } + goto tr38; +st132: + if ( ++p == pe ) + goto _test_eof132; +case 132: + switch( (*p) ) { + case 71: goto st133; + case 103: goto st133; + } + goto tr38; +st133: + if ( ++p == pe ) + goto _test_eof133; +case 133: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr550; + case 32: goto tr550; + case 40: goto tr551; + case 41: goto tr552; + case 3082: goto tr553; + case 3131: goto tr554; + case 3338: goto tr555; + case 3387: goto tr555; + case 3594: goto tr556; + case 3643: goto tr557; + } + goto tr61; +st134: + if ( ++p == pe ) + goto _test_eof134; +case 134: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr558; + case 32: goto tr558; + case 40: goto tr559; + case 41: goto tr560; + case 3082: goto tr561; + case 3131: goto tr562; + case 3338: goto tr563; + case 3387: goto tr563; + case 3594: goto tr564; + case 3643: goto tr565; + } + goto tr61; +tr18: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st135; +tr55: + { + s->r_class = s->default_class; + } + goto st135; +tr721: + { + s->r_ttl = s->default_ttl; + } + goto st135; +st135: + if ( ++p == pe ) + goto _test_eof135; +case 135: + switch( (*p) ) { + case 77: goto st136; + case 79: goto st141; + case 80: goto st143; + case 82: goto st145; + case 83: goto st147; + case 86: goto st151; + case 109: goto st136; + case 111: goto st141; + case 112: goto st143; + case 114: goto st145; + case 115: goto st147; + case 118: goto st151; + } + goto tr38; +st136: + if ( ++p == pe ) + goto _test_eof136; +case 136: + switch( (*p) ) { + case 73: goto st137; + case 105: goto st137; + } + goto tr38; +st137: + if ( ++p == pe ) + goto _test_eof137; +case 137: + switch( (*p) ) { + case 77: goto st138; + case 109: goto st138; + } + goto tr38; +st138: + if ( ++p == pe ) + goto _test_eof138; +case 138: + switch( (*p) ) { + case 69: goto st139; + case 101: goto st139; + } + goto tr38; +st139: + if ( ++p == pe ) + goto _test_eof139; +case 139: + switch( (*p) ) { + case 65: goto st140; + case 97: goto st140; + } + goto tr38; +st140: + if ( ++p == pe ) + goto _test_eof140; +case 140: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr576; + case 32: goto tr576; + case 40: goto tr577; + case 41: goto tr578; + case 3082: goto tr579; + case 3131: goto tr580; + case 3338: goto tr581; + case 3387: goto tr581; + case 3594: goto tr582; + case 3643: goto tr583; + } + goto tr61; +st141: + if ( ++p == pe ) + goto _test_eof141; +case 141: + switch( (*p) ) { + case 65: goto st142; + case 97: goto st142; + } + goto tr38; +st142: + if ( ++p == pe ) + goto _test_eof142; +case 142: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr585; + case 32: goto tr585; + case 40: goto tr586; + case 41: goto tr587; + case 3082: goto tr588; + case 3131: goto tr589; + case 3338: goto tr590; + case 3387: goto tr590; + case 3594: goto tr591; + case 3643: goto tr592; + } + goto tr61; +st143: + if ( ++p == pe ) + goto _test_eof143; +case 143: + switch( (*p) ) { + case 70: goto st144; + case 102: goto st144; + } + goto tr38; +st144: + if ( ++p == pe ) + goto _test_eof144; +case 144: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr594; + case 32: goto tr594; + case 40: goto tr595; + case 41: goto tr596; + case 3082: goto tr597; + case 3131: goto tr598; + case 3338: goto tr599; + case 3387: goto tr599; + case 3594: goto tr600; + case 3643: goto tr601; + } + goto tr61; +st145: + if ( ++p == pe ) + goto _test_eof145; +case 145: + switch( (*p) ) { + case 86: goto st146; + case 118: goto st146; + } + goto tr38; +st146: + if ( ++p == pe ) + goto _test_eof146; +case 146: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr603; + case 32: goto tr603; + case 40: goto tr604; + case 41: goto tr605; + case 3082: goto tr606; + case 3131: goto tr607; + case 3338: goto tr608; + case 3387: goto tr608; + case 3594: goto tr609; + case 3643: goto tr610; + } + goto tr61; +st147: + if ( ++p == pe ) + goto _test_eof147; +case 147: + switch( (*p) ) { + case 72: goto st148; + case 104: goto st148; + } + goto tr38; +st148: + if ( ++p == pe ) + goto _test_eof148; +case 148: + switch( (*p) ) { + case 70: goto st149; + case 102: goto st149; + } + goto tr38; +st149: + if ( ++p == pe ) + goto _test_eof149; +case 149: + switch( (*p) ) { + case 80: goto st150; + case 112: goto st150; + } + goto tr38; +st150: + if ( ++p == pe ) + goto _test_eof150; +case 150: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr614; + case 32: goto tr614; + case 40: goto tr615; + case 41: goto tr616; + case 3082: goto tr617; + case 3131: goto tr618; + case 3338: goto tr619; + case 3387: goto tr619; + case 3594: goto tr620; + case 3643: goto tr621; + } + goto tr61; +st151: + if ( ++p == pe ) + goto _test_eof151; +case 151: + switch( (*p) ) { + case 67: goto st152; + case 99: goto st152; + } + goto tr38; +st152: + if ( ++p == pe ) + goto _test_eof152; +case 152: + switch( (*p) ) { + case 66: goto st153; + case 98: goto st153; + } + goto tr38; +st153: + if ( ++p == pe ) + goto _test_eof153; +case 153: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr624; + case 32: goto tr624; + case 40: goto tr625; + case 41: goto tr626; + case 3082: goto tr627; + case 3131: goto tr628; + case 3338: goto tr629; + case 3387: goto tr629; + case 3594: goto tr630; + case 3643: goto tr631; + } + goto tr61; +tr19: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st154; +tr56: + { + s->r_class = s->default_class; + } + goto st154; +tr722: + { + s->r_ttl = s->default_ttl; + } + goto st154; +st154: + if ( ++p == pe ) + goto _test_eof154; +case 154: + switch( (*p) ) { + case 76: goto st155; + case 88: goto st158; + case 89: goto st160; + case 108: goto st155; + case 120: goto st158; + case 121: goto st160; + } + goto tr38; +st155: + if ( ++p == pe ) + goto _test_eof155; +case 155: + switch( (*p) ) { + case 83: goto st156; + case 115: goto st156; + } + goto tr38; +st156: + if ( ++p == pe ) + goto _test_eof156; +case 156: + switch( (*p) ) { + case 65: goto st157; + case 97: goto st157; + } + goto tr38; +st157: + if ( ++p == pe ) + goto _test_eof157; +case 157: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr637; + case 32: goto tr637; + case 40: goto tr638; + case 41: goto tr639; + case 3082: goto tr640; + case 3131: goto tr641; + case 3338: goto tr642; + case 3387: goto tr642; + case 3594: goto tr643; + case 3643: goto tr644; + } + goto tr61; +st158: + if ( ++p == pe ) + goto _test_eof158; +case 158: + switch( (*p) ) { + case 84: goto st159; + case 116: goto st159; + } + goto tr38; +st159: + if ( ++p == pe ) + goto _test_eof159; +case 159: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr646; + case 32: goto tr646; + case 40: goto tr647; + case 41: goto tr648; + case 3082: goto tr649; + case 3131: goto tr650; + case 3338: goto tr651; + case 3387: goto tr651; + case 3594: goto tr652; + case 3643: goto tr653; + } + goto tr61; +st160: + if ( ++p == pe ) + goto _test_eof160; +case 160: + switch( (*p) ) { + case 80: goto st161; + case 112: goto st161; + } + goto tr38; +st161: + if ( ++p == pe ) + goto _test_eof161; +case 161: + switch( (*p) ) { + case 69: goto st162; + case 101: goto st162; + } + goto tr38; +st162: + if ( ++p == pe ) + goto _test_eof162; +case 162: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr657; + goto tr656; +tr657: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st163; +tr662: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st163; +st163: + if ( ++p == pe ) + goto _test_eof163; +case 163: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr659; + case 32: goto tr659; + case 40: goto tr660; + case 41: goto tr661; + case 3082: goto tr663; + case 3131: goto tr664; + case 3338: goto tr665; + case 3387: goto tr665; + case 3594: goto tr666; + case 3643: goto tr667; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr662; + goto tr658; +tr20: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st164; +tr57: + { + s->r_class = s->default_class; + } + goto st164; +tr723: + { + s->r_ttl = s->default_ttl; + } + goto st164; +st164: + if ( ++p == pe ) + goto _test_eof164; +case 164: + switch( (*p) ) { + case 82: goto st165; + case 114: goto st165; + } + goto tr38; +st165: + if ( ++p == pe ) + goto _test_eof165; +case 165: + switch( (*p) ) { + case 73: goto st166; + case 105: goto st166; + } + goto tr38; +st166: + if ( ++p == pe ) + goto _test_eof166; +case 166: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr670; + case 32: goto tr670; + case 40: goto tr671; + case 41: goto tr672; + case 3082: goto tr673; + case 3131: goto tr674; + case 3338: goto tr675; + case 3387: goto tr675; + case 3594: goto tr676; + case 3643: goto tr677; + } + goto tr61; +tr21: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st167; +tr58: + { + s->r_class = s->default_class; + } + goto st167; +tr724: + { + s->r_ttl = s->default_ttl; + } + goto st167; +st167: + if ( ++p == pe ) + goto _test_eof167; +case 167: + switch( (*p) ) { + case 79: goto st168; + case 111: goto st168; + } + goto tr38; +st168: + if ( ++p == pe ) + goto _test_eof168; +case 168: + switch( (*p) ) { + case 78: goto st169; + case 110: goto st169; + } + goto tr38; +st169: + if ( ++p == pe ) + goto _test_eof169; +case 169: + switch( (*p) ) { + case 69: goto st170; + case 101: goto st170; + } + goto tr38; +st170: + if ( ++p == pe ) + goto _test_eof170; +case 170: + switch( (*p) ) { + case 77: goto st171; + case 109: goto st171; + } + goto tr38; +st171: + if ( ++p == pe ) + goto _test_eof171; +case 171: + switch( (*p) ) { + case 68: goto st172; + case 100: goto st172; + } + goto tr38; +st172: + if ( ++p == pe ) + goto _test_eof172; +case 172: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr683; + case 32: goto tr683; + case 40: goto tr684; + case 41: goto tr685; + case 3082: goto tr686; + case 3131: goto tr687; + case 3338: goto tr688; + case 3387: goto tr688; + case 3594: goto tr689; + case 3643: goto tr690; + } + goto tr61; +tr352: + { + s->buffer_length = 0; + } + goto st173; +tr737: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st173; +tr691: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st173; +tr330: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->buffer_length = 0; + } + goto st173; +tr750: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st173; +st173: + if ( ++p == pe ) + goto _test_eof173; +case 173: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr692; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr691; + goto tr38; +tr1002: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1398; goto _out;} + } + } + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1398; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1398; goto _out;} + } + } + goto st1398; +tr149: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1398; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1398; goto _out;} + } + } + goto st1398; +tr155: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1398; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1398; goto _out;} + } + } + goto st1398; +st1398: + if ( ++p == pe ) + goto _test_eof1398; +case 1398: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4228; + case 32: goto tr4228; + case 36: goto st184; + case 40: goto tr4229; + case 41: goto tr4230; + case 42: goto tr4210; + case 65: goto tr4231; + case 67: goto tr4232; + case 68: goto tr4233; + case 69: goto tr4234; + case 72: goto tr4235; + case 73: goto tr4236; + case 75: goto tr4237; + case 76: goto tr4238; + case 77: goto tr4239; + case 78: goto tr4240; + case 79: goto tr4241; + case 80: goto tr4242; + case 82: goto tr4243; + case 83: goto tr4244; + case 84: goto tr4245; + case 85: goto tr4246; + case 90: goto tr4247; + case 92: goto tr4210; + case 95: goto tr4210; + case 97: goto tr4231; + case 99: goto tr4232; + case 100: goto tr4233; + case 101: goto tr4234; + case 104: goto tr4235; + case 105: goto tr4236; + case 107: goto tr4237; + case 108: goto tr4238; + case 109: goto tr4239; + case 110: goto tr4240; + case 111: goto tr4241; + case 112: goto tr4242; + case 114: goto tr4243; + case 115: goto tr4244; + case 116: goto tr4245; + case 117: goto tr4246; + case 122: goto tr4247; + case 1802: goto tr4211; + case 1851: goto tr4212; + case 2058: goto tr4248; + case 2107: goto tr4249; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr4210; + } else if ( _widec > 89 ) { + if ( 98 <= _widec && _widec <= 121 ) + goto tr4210; + } else + goto tr4210; + goto tr4227; +tr694: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st174; +tr695: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st174; +tr4228: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr4229: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr4230: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +st174: + if ( ++p == pe ) + goto _test_eof174; +case 174: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st174; + case 32: goto st174; + case 40: goto tr694; + case 41: goto tr695; + case 65: goto tr5; + case 67: goto tr6; + case 68: goto tr7; + case 69: goto tr8; + case 72: goto tr9; + case 73: goto tr10; + case 75: goto tr11; + case 76: goto tr12; + case 77: goto tr13; + case 78: goto tr14; + case 79: goto tr15; + case 80: goto tr16; + case 82: goto tr17; + case 83: goto tr18; + case 84: goto tr19; + case 85: goto tr20; + case 90: goto tr21; + case 97: goto tr5; + case 99: goto tr6; + case 100: goto tr7; + case 101: goto tr8; + case 104: goto tr9; + case 105: goto tr10; + case 107: goto tr11; + case 108: goto tr12; + case 109: goto tr13; + case 110: goto tr14; + case 111: goto tr15; + case 112: goto tr16; + case 114: goto tr17; + case 115: goto tr18; + case 116: goto tr19; + case 117: goto tr20; + case 122: goto tr21; + case 1802: goto tr22; + case 1851: goto tr23; + case 2058: goto tr696; + case 2107: goto tr697; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr0; +tr10: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st175; +st175: + if ( ++p == pe ) + goto _test_eof175; +case 175: + switch( (*p) ) { + case 78: goto st176; + case 80: goto st74; + case 110: goto st176; + case 112: goto st74; + } + goto tr38; +st176: + if ( ++p == pe ) + goto _test_eof176; +case 176: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr699; + case 32: goto tr699; + case 40: goto tr700; + case 41: goto tr701; + case 2058: goto tr702; + case 2107: goto tr703; + } + goto tr38; +tr705: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st177; +tr706: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st177; +tr725: + { + s->line_counter++; + } + goto st177; +tr752: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 177; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st177; +tr699: + { + s->r_class = KNOT_CLASS_IN; + } + goto st177; +tr700: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st177; +tr701: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st177; +tr702: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->line_counter++; + } + goto st177; +st177: + if ( ++p == pe ) + goto _test_eof177; +case 177: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st177; + case 32: goto st177; + case 40: goto tr705; + case 41: goto tr706; + case 65: goto tr708; + case 67: goto tr709; + case 68: goto tr710; + case 69: goto tr711; + case 72: goto tr712; + case 73: goto tr713; + case 75: goto tr714; + case 76: goto tr715; + case 77: goto tr716; + case 78: goto tr717; + case 79: goto tr718; + case 80: goto tr719; + case 82: goto tr720; + case 83: goto tr721; + case 84: goto tr722; + case 85: goto tr723; + case 90: goto tr724; + case 97: goto tr708; + case 99: goto tr709; + case 100: goto tr710; + case 101: goto tr711; + case 104: goto tr712; + case 105: goto tr713; + case 107: goto tr714; + case 108: goto tr715; + case 109: goto tr716; + case 110: goto tr717; + case 111: goto tr718; + case 112: goto tr719; + case 114: goto tr720; + case 115: goto tr721; + case 116: goto tr722; + case 117: goto tr723; + case 122: goto tr724; + case 2058: goto tr725; + case 2107: goto tr726; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr707; + goto tr656; +tr707: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st178; +tr730: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st178; +st178: + if ( ++p == pe ) + goto _test_eof178; +case 178: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr727; + case 32: goto tr727; + case 40: goto tr728; + case 41: goto tr729; + case 68: goto tr731; + case 72: goto tr732; + case 77: goto tr733; + case 83: goto st179; + case 87: goto tr735; + case 100: goto tr731; + case 104: goto tr732; + case 109: goto tr733; + case 115: goto st179; + case 119: goto tr735; + case 2058: goto tr736; + case 2107: goto tr737; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr730; + goto tr26; +tr731: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st179; +tr732: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st179; +tr733: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st179; +tr735: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st179; +st179: + if ( ++p == pe ) + goto _test_eof179; +case 179: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr727; + case 32: goto tr727; + case 40: goto tr728; + case 41: goto tr729; + case 2058: goto tr736; + case 2107: goto tr737; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr738; + goto tr26; +tr739: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st180; +tr738: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st180; +tr748: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st180; +st180: + if ( ++p == pe ) + goto _test_eof180; +case 180: + switch( (*p) ) { + case 68: goto tr740; + case 72: goto tr741; + case 77: goto tr742; + case 83: goto st181; + case 87: goto tr744; + case 100: goto tr740; + case 104: goto tr741; + case 109: goto tr742; + case 115: goto st181; + case 119: goto tr744; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr739; + goto tr26; +tr740: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st181; +tr741: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st181; +tr742: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st181; +tr744: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st181; +st181: + if ( ++p == pe ) + goto _test_eof181; +case 181: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr745; + case 32: goto tr745; + case 40: goto tr746; + case 41: goto tr747; + case 2058: goto tr749; + case 2107: goto tr750; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr748; + goto tr26; +tr726: + { + s->buffer_length = 0; + } + goto st182; +tr751: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st182; +tr703: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->buffer_length = 0; + } + goto st182; +st182: + if ( ++p == pe ) + goto _test_eof182; +case 182: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr752; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr751; + goto tr38; +tr23: + { + s->buffer_length = 0; + } + goto st183; +tr4212: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st183; +tr753: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st183; +tr4276: + { + NOERR; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st183; +st183: + if ( ++p == pe ) + goto _test_eof183; +case 183: + if ( (*p) == 10 ) + goto tr754; + goto tr753; +tr696: + { + s->line_counter++; + } + goto st1399; +tr1000: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1399; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1399; +tr889: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1399; goto _out;} + } + } + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1399; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1399; goto _out;} + } + } + goto st1399; +tr886: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1399; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1399; goto _out;} + } + } + goto st1399; +tr881: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1399; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1399; goto _out;} + } + } + goto st1399; +tr4248: + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1399; +st1399: + if ( ++p == pe ) + goto _test_eof1399; +case 1399: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4228; + case 32: goto tr4228; + case 36: goto st184; + case 40: goto tr4229; + case 41: goto tr4230; + case 42: goto tr4210; + case 65: goto tr4252; + case 67: goto tr4253; + case 68: goto tr4254; + case 69: goto tr4255; + case 72: goto tr4256; + case 73: goto tr4257; + case 75: goto tr4258; + case 76: goto tr4259; + case 77: goto tr4260; + case 78: goto tr4261; + case 79: goto tr4262; + case 80: goto tr4263; + case 82: goto tr4264; + case 83: goto tr4265; + case 84: goto tr4266; + case 85: goto tr4267; + case 90: goto tr4268; + case 92: goto tr4210; + case 95: goto tr4210; + case 97: goto tr4252; + case 99: goto tr4253; + case 100: goto tr4254; + case 101: goto tr4255; + case 104: goto tr4256; + case 105: goto tr4257; + case 107: goto tr4258; + case 108: goto tr4259; + case 109: goto tr4260; + case 110: goto tr4261; + case 111: goto tr4262; + case 112: goto tr4263; + case 114: goto tr4264; + case 115: goto tr4265; + case 116: goto tr4266; + case 117: goto tr4267; + case 122: goto tr4268; + case 1802: goto tr4211; + case 1851: goto tr4212; + case 2058: goto tr4248; + case 2107: goto tr4249; + } + if ( _widec < 48 ) { + if ( 45 <= _widec && _widec <= 47 ) + goto tr4210; + } else if ( _widec > 57 ) { + if ( _widec > 89 ) { + if ( 98 <= _widec && _widec <= 121 ) + goto tr4210; + } else if ( _widec >= 64 ) + goto tr4210; + } else + goto tr4251; + goto tr4250; +tr4271: + { + NOERR; + } + goto st184; +st184: + if ( ++p == pe ) + goto _test_eof184; +case 184: + switch( (*p) ) { + case 73: goto tr756; + case 79: goto tr757; + case 84: goto tr758; + case 105: goto tr756; + case 111: goto tr757; + case 116: goto tr758; + } + goto tr755; +tr756: + { + ERR(ZS_OK); + } + goto st185; +st185: + if ( ++p == pe ) + goto _test_eof185; +case 185: + switch( (*p) ) { + case 78: goto st186; + case 110: goto st186; + } + goto tr755; +st186: + if ( ++p == pe ) + goto _test_eof186; +case 186: + switch( (*p) ) { + case 67: goto st187; + case 99: goto st187; + } + goto tr755; +st187: + if ( ++p == pe ) + goto _test_eof187; +case 187: + switch( (*p) ) { + case 76: goto st188; + case 108: goto st188; + } + goto tr755; +st188: + if ( ++p == pe ) + goto _test_eof188; +case 188: + switch( (*p) ) { + case 85: goto st189; + case 117: goto st189; + } + goto tr755; +st189: + if ( ++p == pe ) + goto _test_eof189; +case 189: + switch( (*p) ) { + case 68: goto st190; + case 100: goto st190; + } + goto tr755; +st190: + if ( ++p == pe ) + goto _test_eof190; +case 190: + switch( (*p) ) { + case 69: goto st191; + case 101: goto st191; + } + goto tr755; +st191: + if ( ++p == pe ) + goto _test_eof191; +case 191: + switch( (*p) ) { + case 32: goto tr765; + case 59: goto tr765; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr765; + } else if ( (*p) >= 9 ) + goto tr765; + goto tr755; +tr765: + { p--; {stack[top++] = 1400;goto st352;} } + goto st1400; +tr867: + { p--; {stack[top++] = 1400;goto st340;} } + goto st1400; +tr870: + { p--; {stack[top++] = 1400;goto st331;} } + goto st1400; +st1400: + if ( ++p == pe ) + goto _test_eof1400; +case 1400: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4270; + case 32: goto tr4270; + case 36: goto tr4271; + case 40: goto tr4272; + case 41: goto tr4273; + case 42: goto tr4274; + case 92: goto tr4274; + case 95: goto tr4274; + case 1802: goto tr4275; + case 1851: goto tr4276; + case 2058: goto tr4277; + case 2107: goto tr4278; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr4274; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr4274; + } else + goto tr4274; + goto tr4269; +tr4210: + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 192;goto st309;} } + goto st192; +tr4274: + { + NOERR; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 192;goto st309;} } + goto st192; +st192: + if ( ++p == pe ) + goto _test_eof192; +case 192: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr766; +tr773: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st193; +tr774: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st193; +tr775: + { + s->line_counter++; + } + goto st193; +tr779: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 193; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st193; +tr767: + { + s->r_owner_length = s->dname_tmp_length; + } + goto st193; +tr768: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st193; +tr769: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st193; +tr770: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st193; +st193: + if ( ++p == pe ) + goto _test_eof193; +case 193: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st193; + case 32: goto st193; + case 40: goto tr773; + case 41: goto tr774; + case 65: goto tr5; + case 67: goto tr6; + case 68: goto tr7; + case 69: goto tr8; + case 72: goto tr9; + case 73: goto tr10; + case 75: goto tr11; + case 76: goto tr12; + case 77: goto tr13; + case 78: goto tr14; + case 79: goto tr15; + case 80: goto tr16; + case 82: goto tr17; + case 83: goto tr18; + case 84: goto tr19; + case 85: goto tr20; + case 90: goto tr21; + case 97: goto tr5; + case 99: goto tr6; + case 100: goto tr7; + case 101: goto tr8; + case 104: goto tr9; + case 105: goto tr10; + case 107: goto tr11; + case 108: goto tr12; + case 109: goto tr13; + case 110: goto tr14; + case 111: goto tr15; + case 112: goto tr16; + case 114: goto tr17; + case 115: goto tr18; + case 116: goto tr19; + case 117: goto tr20; + case 122: goto tr21; + case 2058: goto tr775; + case 2107: goto tr776; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr656; +tr776: + { + s->buffer_length = 0; + } + goto st194; +tr777: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st194; +tr771: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st194; +st194: + if ( ++p == pe ) + goto _test_eof194; +case 194: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr779; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr777; + goto st0; +tr24: + { + s->line_counter++; + } + goto st1401; +tr998: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1401; +tr844: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1401; goto _out;} + } + } + goto st1401; +tr841: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1401; goto _out;} + } + } + goto st1401; +tr875: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1401; goto _out;} + } + } + goto st1401; +tr912: + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1401; goto _out;} + } + } + goto st1401; +tr915: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1401; goto _out;} + } + } + goto st1401; +tr4213: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1401; +tr4281: + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1401; +tr4277: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1401; +tr4286: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1401; goto _out;} + } + } + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st1401; +tr4312: + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1401; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1401; goto _out;} + } + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st1401; +st1401: + if ( ++p == pe ) + goto _test_eof1401; +case 1401: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4206; + case 32: goto tr4206; + case 36: goto st184; + case 40: goto tr4279; + case 41: goto tr4280; + case 42: goto tr4210; + case 65: goto tr4252; + case 67: goto tr4253; + case 68: goto tr4254; + case 69: goto tr4255; + case 72: goto tr4256; + case 73: goto tr4257; + case 75: goto tr4258; + case 76: goto tr4259; + case 77: goto tr4260; + case 78: goto tr4261; + case 79: goto tr4262; + case 80: goto tr4263; + case 82: goto tr4264; + case 83: goto tr4265; + case 84: goto tr4266; + case 85: goto tr4267; + case 90: goto tr4268; + case 92: goto tr4210; + case 95: goto tr4210; + case 97: goto tr4252; + case 99: goto tr4253; + case 100: goto tr4254; + case 101: goto tr4255; + case 104: goto tr4256; + case 105: goto tr4257; + case 107: goto tr4258; + case 108: goto tr4259; + case 109: goto tr4260; + case 110: goto tr4261; + case 111: goto tr4262; + case 112: goto tr4263; + case 114: goto tr4264; + case 115: goto tr4265; + case 116: goto tr4266; + case 117: goto tr4267; + case 122: goto tr4268; + case 1802: goto tr4211; + case 1851: goto tr4212; + case 2058: goto tr4281; + case 2107: goto tr4282; + } + if ( _widec < 48 ) { + if ( 45 <= _widec && _widec <= 47 ) + goto tr4210; + } else if ( _widec > 57 ) { + if ( _widec > 89 ) { + if ( 98 <= _widec && _widec <= 121 ) + goto tr4210; + } else if ( _widec >= 64 ) + goto tr4210; + } else + goto tr4251; + goto tr4250; +tr4251: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 195;goto st309;} } + goto st195; +st195: + if ( ++p == pe ) + goto _test_eof195; +case 195: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr781; + case 32: goto tr781; + case 40: goto tr782; + case 41: goto tr783; + case 68: goto tr31; + case 72: goto tr32; + case 77: goto tr33; + case 83: goto st198; + case 87: goto tr35; + case 100: goto tr31; + case 104: goto tr32; + case 109: goto tr33; + case 115: goto st198; + case 119: goto tr35; + case 2058: goto tr784; + case 2107: goto tr785; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr30; + goto tr780; +tr787: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st196; +tr788: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st196; +tr789: + { + s->line_counter++; + } + goto st196; +tr792: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 196; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st196; +tr781: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st196; +tr782: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st196; +tr783: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st196; +tr784: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st196; +st196: + if ( ++p == pe ) + goto _test_eof196; +case 196: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st196; + case 32: goto st196; + case 40: goto tr787; + case 41: goto tr788; + case 65: goto tr5; + case 67: goto tr6; + case 68: goto tr7; + case 69: goto tr8; + case 72: goto tr9; + case 73: goto tr10; + case 75: goto tr11; + case 76: goto tr12; + case 77: goto tr13; + case 78: goto tr14; + case 79: goto tr15; + case 80: goto tr16; + case 82: goto tr17; + case 83: goto tr18; + case 84: goto tr19; + case 85: goto tr20; + case 90: goto tr21; + case 97: goto tr5; + case 99: goto tr6; + case 100: goto tr7; + case 101: goto tr8; + case 104: goto tr9; + case 105: goto tr10; + case 107: goto tr11; + case 108: goto tr12; + case 109: goto tr13; + case 110: goto tr14; + case 111: goto tr15; + case 112: goto tr16; + case 114: goto tr17; + case 115: goto tr18; + case 116: goto tr19; + case 117: goto tr20; + case 122: goto tr21; + case 2058: goto tr789; + case 2107: goto tr790; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr656; +tr790: + { + s->buffer_length = 0; + } + goto st197; +tr791: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st197; +tr785: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st197; +st197: + if ( ++p == pe ) + goto _test_eof197; +case 197: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr792; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr791; + goto tr38; +tr31: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st198; +tr32: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st198; +tr33: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st198; +tr35: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st198; +st198: + if ( ++p == pe ) + goto _test_eof198; +case 198: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr27; + case 32: goto tr27; + case 40: goto tr28; + case 41: goto tr29; + case 2058: goto tr36; + case 2107: goto tr37; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr793; + goto tr26; +tr794: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st199; +tr793: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st199; +tr803: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st199; +st199: + if ( ++p == pe ) + goto _test_eof199; +case 199: + switch( (*p) ) { + case 68: goto tr795; + case 72: goto tr796; + case 77: goto tr797; + case 83: goto st200; + case 87: goto tr799; + case 100: goto tr795; + case 104: goto tr796; + case 109: goto tr797; + case 115: goto st200; + case 119: goto tr799; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr794; + goto tr26; +tr795: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st200; +tr796: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st200; +tr797: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st200; +tr799: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st200; +st200: + if ( ++p == pe ) + goto _test_eof200; +case 200: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr800; + case 32: goto tr800; + case 40: goto tr801; + case 41: goto tr802; + case 2058: goto tr804; + case 2107: goto tr805; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr803; + goto tr26; +tr60: + { + s->buffer_length = 0; + } + goto st201; +tr37: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st201; +tr806: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st201; +tr805: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st201; +st201: + if ( ++p == pe ) + goto _test_eof201; +case 201: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr807; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr806; + goto tr38; +tr4231: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 202;goto st309;} } + goto st202; +tr4252: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 202;goto st309;} } + goto st202; +st202: + if ( ++p == pe ) + goto _test_eof202; +case 202: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr809; + case 32: goto tr809; + case 40: goto tr810; + case 41: goto tr811; + case 65: goto st266; + case 70: goto st269; + case 80: goto st273; + case 97: goto st266; + case 102: goto st269; + case 112: goto st273; + case 3082: goto tr812; + case 3131: goto tr813; + case 3338: goto tr70; + case 3387: goto tr70; + case 3594: goto tr814; + case 3643: goto tr815; + } + goto tr808; +tr817: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st203; +tr818: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st203; +tr819: + { + s->line_counter++; + } + goto st203; +tr984: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 203; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st203; +tr809: + { + s->r_owner_length = s->dname_tmp_length; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st203; +tr810: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st203; +tr811: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st203; +tr812: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st203; +st203: + if ( ++p == pe ) + goto _test_eof203; +case 203: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st203; + case 32: goto st203; + case 40: goto tr817; + case 41: goto tr818; + case 58: goto tr73; + case 65: goto tr122; + case 67: goto tr123; + case 68: goto tr124; + case 69: goto tr125; + case 72: goto tr126; + case 73: goto tr127; + case 75: goto tr128; + case 76: goto tr129; + case 77: goto tr130; + case 78: goto tr131; + case 79: goto tr132; + case 80: goto tr133; + case 82: goto tr134; + case 83: goto tr135; + case 84: goto tr136; + case 85: goto tr137; + case 90: goto tr138; + case 92: goto tr78; + case 97: goto tr122; + case 99: goto tr123; + case 100: goto tr124; + case 101: goto tr125; + case 104: goto tr126; + case 105: goto tr127; + case 107: goto tr128; + case 108: goto tr129; + case 109: goto tr130; + case 110: goto tr131; + case 111: goto tr132; + case 112: goto tr133; + case 114: goto tr134; + case 115: goto tr135; + case 116: goto tr136; + case 117: goto tr137; + case 122: goto tr138; + case 3082: goto tr819; + case 3131: goto tr820; + case 3338: goto tr73; + case 3387: goto tr73; + case 3594: goto tr821; + case 3643: goto tr822; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr73; + } else if ( _widec >= 48 ) + goto tr121; + } else + goto tr73; + goto tr658; +tr122: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 204;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 204;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 204;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 204;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 204;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 204;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 204;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 204;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 204;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 204;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 204;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 204;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 204;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 204;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 204;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 204;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 204;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 204;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 204;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 204;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 204;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 204;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 204;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 204;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 204;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 204;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 204;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 204;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 204;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 204;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 204;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 204;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st204; +st204: + if ( ++p == pe ) + goto _test_eof204; +case 204: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr824; + case 32: goto tr824; + case 40: goto tr825; + case 41: goto tr826; + case 65: goto st266; + case 70: goto st269; + case 80: goto st273; + case 97: goto st266; + case 102: goto st269; + case 112: goto st273; + case 2826: goto tr87; + case 2875: goto tr88; + case 3082: goto tr827; + case 3131: goto tr828; + case 3338: goto tr829; + case 3387: goto tr830; + case 3594: goto tr831; + case 3643: goto tr832; + } + goto tr823; +tr834: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st205; +tr835: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st205; +tr824: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st205; +tr825: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st205; +tr826: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st205; +st205: + if ( ++p == pe ) + goto _test_eof205; +case 205: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st205; + case 32: goto st205; + case 40: goto tr834; + case 41: goto tr835; + case 92: goto tr78; + case 2826: goto tr93; + case 2875: goto tr94; + case 3082: goto tr836; + case 3131: goto tr111; + case 3338: goto tr112; + case 3387: goto tr113; + case 3594: goto tr837; + case 3643: goto tr114; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr73; + } else + goto tr73; + goto tr83; +tr105: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1402;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1402;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1402;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1402;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1402;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1402;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1402;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1402;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1402;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1402;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1402;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1402;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1402;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1402;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1402;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1402;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1402;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1402;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1402;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1402;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1402;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1402;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1402;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1402;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1402;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1402;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1402;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1402;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1402;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1402;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1402;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1402;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1402; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1402; goto _out;} + } + } + { + s->line_counter++; + } + goto st1402; +tr112: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1402;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1402;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1402;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1402;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1402;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1402;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1402;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1402;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1402;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1402;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1402;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1402;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1402;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1402;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1402;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1402;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1402;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1402;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1402;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1402;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1402;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1402;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1402;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1402;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1402;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1402;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1402;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1402;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1402;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1402;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1402;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1402;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1402; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1402; goto _out;} + } + } + { + s->line_counter++; + } + goto st1402; +tr141: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1402;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1402;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1402;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1402;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1402;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1402;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1402;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1402;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1402;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1402;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1402;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1402;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1402;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1402;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1402;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1402;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1402;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1402;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1402;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1402;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1402;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1402;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1402;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1402;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1402;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1402;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1402;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1402;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1402;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1402;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1402;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1402;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->line_counter++; + } + goto st1402; +tr829: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1402;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1402;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1402;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1402;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1402;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1402;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1402;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1402;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1402;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1402;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1402;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1402;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1402;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1402;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1402;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1402;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1402;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1402;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1402;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1402;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1402;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1402;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1402;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1402;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1402;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1402;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1402;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1402;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1402;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1402;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1402;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1402;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1402; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1402; goto _out;} + } + } + { + s->line_counter++; + } + goto st1402; +tr4223: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1402;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1402;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1402;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1402;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1402;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1402;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1402;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1402;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1402;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1402;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1402;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1402;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1402;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1402;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1402;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1402;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1402;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1402;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1402;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1402;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1402;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1402;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1402;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1402;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1402;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1402;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1402;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1402;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1402;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1402;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1402;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1402;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->line_counter++; + } + goto st1402; +st1402: + if ( ++p == pe ) + goto _test_eof1402; +case 1402: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4283; + case 32: goto tr4283; + case 36: goto st184; + case 40: goto tr4284; + case 41: goto tr4285; + case 42: goto tr4210; + case 92: goto tr4210; + case 95: goto tr4210; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr4286; + case 2107: goto tr4287; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr4210; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr4210; + } else + goto tr4210; + goto tr871; +tr839: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st206; +tr840: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st206; +tr909: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr910: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr911: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr872: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr873: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr874: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr4283: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st206; +tr4284: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st206; +tr4285: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st206; +st206: + if ( ++p == pe ) + goto _test_eof206; +case 206: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st206; + case 32: goto st206; + case 40: goto tr839; + case 41: goto tr840; + case 65: goto tr5; + case 67: goto tr6; + case 68: goto tr7; + case 69: goto tr8; + case 72: goto tr9; + case 73: goto tr10; + case 75: goto tr11; + case 76: goto tr12; + case 77: goto tr13; + case 78: goto tr14; + case 79: goto tr15; + case 80: goto tr16; + case 82: goto tr17; + case 83: goto tr18; + case 84: goto tr19; + case 85: goto tr20; + case 90: goto tr21; + case 97: goto tr5; + case 99: goto tr6; + case 100: goto tr7; + case 101: goto tr8; + case 104: goto tr9; + case 105: goto tr10; + case 107: goto tr11; + case 108: goto tr12; + case 109: goto tr13; + case 110: goto tr14; + case 111: goto tr15; + case 112: goto tr16; + case 114: goto tr17; + case 115: goto tr18; + case 116: goto tr19; + case 117: goto tr20; + case 122: goto tr21; + case 1802: goto tr93; + case 1851: goto tr94; + case 2058: goto tr841; + case 2107: goto tr842; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr0; +tr842: + { + s->buffer_length = 0; + } + goto st207; +tr843: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st207; +tr913: + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st207; +tr918: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st207; +tr922: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer_length = 0; + } + goto st207; +tr876: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st207; +tr4287: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st207; +st207: + if ( ++p == pe ) + goto _test_eof207; +case 207: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr96; + case 2058: goto tr844; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr843; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr89; +tr106: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 208;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 208;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 208;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 208;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 208;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 208;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 208;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 208;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 208;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 208;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 208;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 208;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 208;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 208;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 208;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 208;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 208;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 208;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 208;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 208;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 208;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 208;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 208;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 208;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 208;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 208;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 208;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 208;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 208;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 208;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 208;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 208;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st208; +tr113: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 208;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 208;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 208;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 208;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 208;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 208;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 208;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 208;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 208;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 208;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 208;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 208;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 208;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 208;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 208;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 208;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 208;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 208;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 208;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 208;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 208;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 208;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 208;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 208;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 208;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 208;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 208;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 208;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 208;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 208;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 208;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 208;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st208; +tr830: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 208;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 208;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 208;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 208;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 208;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 208;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 208;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 208;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 208;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 208;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 208;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 208;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 208;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 208;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 208;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 208;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 208;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 208;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 208;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 208;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 208;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 208;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 208;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 208;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 208;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 208;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 208;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 208;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 208;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 208;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 208;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 208;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st208; +st208: + if ( ++p == pe ) + goto _test_eof208; +case 208: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr845; + case 32: goto tr845; + case 40: goto tr846; + case 41: goto tr847; + case 1802: goto tr848; + case 1851: goto tr849; + case 2058: goto tr848; + case 2107: goto tr849; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr95; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr95; + } else + goto tr95; + goto tr83; +tr850: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st209; +tr845: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st209; +tr846: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st209; +tr847: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st209; +tr851: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st209; +tr852: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st209; +st209: + if ( ++p == pe ) + goto _test_eof209; +case 209: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr850; + case 32: goto tr850; + case 40: goto tr851; + case 41: goto tr852; + case 1802: goto tr96; + case 1851: goto tr853; + case 2058: goto tr96; + case 2107: goto tr853; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr95; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr95; + } else + goto tr95; + goto tr89; +tr831: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1403;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1403;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1403;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1403;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1403;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1403;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1403;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1403;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1403;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1403;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1403;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1403;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1403;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1403;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1403;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1403;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1403;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1403;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1403;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1403;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1403;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1403;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1403;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1403;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1403;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1403;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1403;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1403;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1403;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1403;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1403;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1403;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1403; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1403; goto _out;} + } + } + goto st1403; +tr837: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1403;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1403;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1403;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1403;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1403;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1403;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1403;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1403;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1403;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1403;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1403;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1403;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1403;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1403;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1403;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1403;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1403;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1403;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1403;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1403;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1403;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1403;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1403;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1403;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1403;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1403;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1403;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1403;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1403;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1403;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1403;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1403;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1403; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1403; goto _out;} + } + } + goto st1403; +st1403: + if ( ++p == pe ) + goto _test_eof1403; +case 1403: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr4288; + case 32: goto tr4288; + case 36: goto tr4216; + case 40: goto tr4289; + case 41: goto tr4290; + case 42: goto tr4219; + case 58: goto tr73; + case 92: goto tr4220; + case 95: goto tr4219; + case 2826: goto tr87; + case 2875: goto tr88; + case 3082: goto tr4286; + case 3131: goto tr4291; + case 3338: goto tr105; + case 3387: goto tr106; + case 3594: goto tr4286; + case 3643: goto tr4292; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 44 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr4219; + } else + goto tr73; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 90 ) + goto tr4219; + } else if ( _widec > 96 ) { + if ( _widec > 122 ) { + if ( 123 <= _widec ) + goto tr73; + } else if ( _widec >= 97 ) + goto tr4219; + } else + goto tr73; + } else + goto tr73; + goto tr871; +tr855: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st210; +tr856: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st210; +tr985: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st210; +tr986: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st210; +tr987: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st210; +tr4288: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st210; +tr4289: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st210; +tr4290: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st210; +st210: + if ( ++p == pe ) + goto _test_eof210; +case 210: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st210; + case 32: goto st210; + case 40: goto tr855; + case 41: goto tr856; + case 58: goto tr73; + case 65: goto tr122; + case 67: goto tr123; + case 68: goto tr124; + case 69: goto tr125; + case 72: goto tr126; + case 73: goto tr127; + case 75: goto tr128; + case 76: goto tr129; + case 77: goto tr130; + case 78: goto tr131; + case 79: goto tr132; + case 80: goto tr133; + case 82: goto tr134; + case 83: goto tr135; + case 84: goto tr136; + case 85: goto tr137; + case 90: goto tr138; + case 92: goto tr78; + case 97: goto tr122; + case 99: goto tr123; + case 100: goto tr124; + case 101: goto tr125; + case 104: goto tr126; + case 105: goto tr127; + case 107: goto tr128; + case 108: goto tr129; + case 109: goto tr130; + case 110: goto tr131; + case 111: goto tr132; + case 112: goto tr133; + case 114: goto tr134; + case 115: goto tr135; + case 116: goto tr136; + case 117: goto tr137; + case 122: goto tr138; + case 2826: goto tr93; + case 2875: goto tr94; + case 3082: goto tr841; + case 3131: goto tr857; + case 3338: goto tr112; + case 3387: goto tr113; + case 3594: goto tr841; + case 3643: goto tr858; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr73; + } else if ( _widec >= 48 ) + goto tr121; + } else + goto tr73; + goto tr118; +tr123: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 211;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 211;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 211;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 211;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 211;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 211;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 211;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 211;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 211;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 211;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 211;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 211;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 211;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 211;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 211;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 211;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 211;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 211;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 211;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 211;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 211;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 211;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 211;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 211;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 211;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 211;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 211;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 211;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 211;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 211;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 211;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 211;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st211; +st211: + if ( ++p == pe ) + goto _test_eof211; +case 211: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 65: goto st18; + case 68: goto st22; + case 69: goto st29; + case 78: goto st32; + case 83: goto st36; + case 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + case 115: goto st36; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr124: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 212;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 212;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 212;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 212;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 212;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 212;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 212;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 212;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 212;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 212;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 212;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 212;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 212;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 212;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 212;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 212;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 212;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 212;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 212;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 212;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 212;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 212;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 212;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 212;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 212;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 212;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 212;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 212;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 212;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 212;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 212;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 212;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st212; +st212: + if ( ++p == pe ) + goto _test_eof212; +case 212: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 72: goto st41; + case 78: goto st45; + case 83: goto st53; + case 104: goto st41; + case 110: goto st45; + case 115: goto st53; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr125: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 213;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 213;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 213;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 213;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 213;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 213;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 213;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 213;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 213;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 213;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 213;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 213;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 213;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 213;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 213;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 213;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 213;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 213;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 213;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 213;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 213;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 213;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 213;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 213;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 213;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 213;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 213;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 213;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 213;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 213;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 213;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 213;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st213; +st213: + if ( ++p == pe ) + goto _test_eof213; +case 213: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 85: goto st55; + case 117: goto st55; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr126: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 214;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 214;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 214;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 214;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 214;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 214;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 214;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 214;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 214;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 214;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 214;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 214;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 214;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 214;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 214;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 214;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 214;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 214;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 214;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 214;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 214;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 214;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 214;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 214;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 214;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 214;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 214;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 214;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 214;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 214;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 214;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 214;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st214; +st214: + if ( ++p == pe ) + goto _test_eof214; +case 214: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 73: goto st62; + case 84: goto st66; + case 105: goto st62; + case 116: goto st66; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr127: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 215;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 215;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 215;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 215;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 215;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 215;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 215;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 215;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 215;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 215;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 215;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 215;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 215;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 215;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 215;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 215;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 215;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 215;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 215;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 215;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 215;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 215;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 215;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 215;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 215;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 215;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 215;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 215;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 215;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 215;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 215;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 215;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st215; +st215: + if ( ++p == pe ) + goto _test_eof215; +case 215: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 78: goto st176; + case 80: goto st74; + case 110: goto st176; + case 112: goto st74; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr128: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 216;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 216;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 216;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 216;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 216;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 216;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 216;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 216;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 216;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 216;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 216;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 216;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 216;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 216;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 216;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 216;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 216;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 216;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 216;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 216;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 216;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 216;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 216;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 216;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 216;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 216;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 216;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 216;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 216;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 216;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 216;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 216;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st216; +st216: + if ( ++p == pe ) + goto _test_eof216; +case 216: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 69: goto st82; + case 88: goto st84; + case 101: goto st82; + case 120: goto st84; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr129: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 217;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 217;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 217;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 217;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 217;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 217;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 217;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 217;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 217;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 217;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 217;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 217;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 217;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 217;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 217;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 217;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 217;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 217;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 217;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 217;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 217;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 217;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 217;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 217;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 217;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 217;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 217;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 217;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 217;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 217;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 217;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 217;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st217; +st217: + if ( ++p == pe ) + goto _test_eof217; +case 217: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 51: goto st86; + case 54: goto st88; + case 79: goto st90; + case 80: goto st92; + case 111: goto st90; + case 112: goto st92; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr130: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 218;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 218;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 218;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 218;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 218;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 218;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 218;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 218;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 218;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 218;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 218;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 218;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 218;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 218;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 218;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 218;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 218;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 218;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 218;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 218;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 218;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 218;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 218;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 218;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 218;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 218;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 218;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 218;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 218;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 218;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 218;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 218;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st218; +st218: + if ( ++p == pe ) + goto _test_eof218; +case 218: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 73: goto st94; + case 88: goto st98; + case 105: goto st94; + case 120: goto st98; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr131: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 219;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 219;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 219;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 219;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 219;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 219;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 219;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 219;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 219;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 219;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 219;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 219;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 219;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 219;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 219;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 219;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 219;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 219;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 219;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 219;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 219;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 219;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 219;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 219;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 219;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 219;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 219;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 219;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 219;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 219;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 219;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 219;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st219; +st219: + if ( ++p == pe ) + goto _test_eof219; +case 219: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 65: goto st100; + case 73: goto st104; + case 83: goto st106; + case 97: goto st100; + case 105: goto st104; + case 115: goto st106; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr132: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 220;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 220;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 220;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 220;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 220;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 220;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 220;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 220;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 220;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 220;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 220;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 220;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 220;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 220;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 220;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 220;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 220;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 220;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 220;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 220;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 220;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 220;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 220;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 220;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 220;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 220;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 220;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 220;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 220;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 220;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 220;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 220;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st220; +st220: + if ( ++p == pe ) + goto _test_eof220; +case 220: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 80: goto st116; + case 112: goto st116; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr133: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 221;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 221;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 221;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 221;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 221;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 221;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 221;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 221;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 221;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 221;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 221;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 221;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 221;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 221;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 221;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 221;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 221;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 221;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 221;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 221;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 221;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 221;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 221;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 221;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 221;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 221;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 221;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 221;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 221;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 221;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 221;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 221;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st221; +st221: + if ( ++p == pe ) + goto _test_eof221; +case 221: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 84: goto st126; + case 116: goto st126; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr134: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 222;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 222;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 222;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 222;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 222;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 222;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 222;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 222;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 222;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 222;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 222;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 222;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 222;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 222;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 222;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 222;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 222;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 222;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 222;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 222;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 222;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 222;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 222;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 222;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 222;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 222;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 222;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 222;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 222;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 222;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 222;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 222;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st222; +st222: + if ( ++p == pe ) + goto _test_eof222; +case 222: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 80: goto st129; + case 82: goto st130; + case 84: goto st134; + case 112: goto st129; + case 114: goto st130; + case 116: goto st134; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr135: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 223;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 223;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 223;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 223;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 223;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 223;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 223;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 223;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 223;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 223;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 223;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 223;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 223;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 223;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 223;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 223;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 223;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 223;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 223;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 223;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 223;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 223;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 223;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 223;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 223;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 223;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 223;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 223;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 223;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 223;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 223;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 223;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st223; +st223: + if ( ++p == pe ) + goto _test_eof223; +case 223: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 77: goto st136; + case 79: goto st141; + case 80: goto st143; + case 82: goto st145; + case 83: goto st147; + case 86: goto st151; + case 109: goto st136; + case 111: goto st141; + case 112: goto st143; + case 114: goto st145; + case 115: goto st147; + case 118: goto st151; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr136: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 224;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 224;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 224;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 224;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 224;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 224;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 224;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 224;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 224;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 224;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 224;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 224;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 224;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 224;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 224;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 224;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 224;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 224;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 224;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 224;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 224;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 224;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 224;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 224;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 224;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 224;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 224;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 224;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 224;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 224;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 224;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 224;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st224; +st224: + if ( ++p == pe ) + goto _test_eof224; +case 224: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 76: goto st155; + case 88: goto st158; + case 89: goto st160; + case 108: goto st155; + case 120: goto st158; + case 121: goto st160; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr137: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 225;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 225;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 225;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 225;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 225;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 225;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 225;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 225;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 225;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 225;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 225;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 225;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 225;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 225;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 225;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 225;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 225;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 225;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 225;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 225;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 225;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 225;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 225;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 225;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 225;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 225;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 225;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 225;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 225;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 225;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 225;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 225;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st225; +st225: + if ( ++p == pe ) + goto _test_eof225; +case 225: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 82: goto st165; + case 114: goto st165; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr138: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 226;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 226;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 226;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 226;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 226;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 226;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 226;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 226;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 226;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 226;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 226;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 226;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 226;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 226;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 226;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 226;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 226;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 226;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 226;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 226;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 226;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 226;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 226;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 226;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 226;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 226;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 226;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 226;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 226;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 226;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 226;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 226;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st226; +st226: + if ( ++p == pe ) + goto _test_eof226; +case 226: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 79: goto st168; + case 111: goto st168; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr823; +tr857: + { + s->buffer_length = 0; + } + goto st227; +tr859: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st227; +tr988: + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st227; +tr926: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st227; +tr930: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer_length = 0; + } + goto st227; +tr895: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st227; +tr4291: + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st227; +st227: + if ( ++p == pe ) + goto _test_eof227; +case 227: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr96; + case 2058: goto tr860; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr859; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr83; +tr139: + { + s->line_counter++; + } + goto st1404; +tr962: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1404; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1404; +tr860: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1404; goto _out;} + } + } + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1404; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1404; goto _out;} + } + } + goto st1404; +tr901: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1404; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1404; goto _out;} + } + } + goto st1404; +tr894: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1404; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1404; goto _out;} + } + } + goto st1404; +tr4221: + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1404; +st1404: + if ( ++p == pe ) + goto _test_eof1404; +case 1404: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr4215; + case 32: goto tr4215; + case 36: goto tr4216; + case 40: goto tr4217; + case 41: goto tr4218; + case 42: goto tr4219; + case 58: goto tr73; + case 65: goto tr4295; + case 67: goto tr4296; + case 68: goto tr4297; + case 69: goto tr4298; + case 72: goto tr4299; + case 73: goto tr4300; + case 75: goto tr4301; + case 76: goto tr4302; + case 77: goto tr4303; + case 78: goto tr4304; + case 79: goto tr4305; + case 80: goto tr4306; + case 82: goto tr4307; + case 83: goto tr4308; + case 84: goto tr4309; + case 85: goto tr4310; + case 90: goto tr4311; + case 92: goto tr4220; + case 95: goto tr4219; + case 97: goto tr4295; + case 99: goto tr4296; + case 100: goto tr4297; + case 101: goto tr4298; + case 104: goto tr4299; + case 105: goto tr4300; + case 107: goto tr4301; + case 108: goto tr4302; + case 109: goto tr4303; + case 110: goto tr4304; + case 111: goto tr4305; + case 112: goto tr4306; + case 114: goto tr4307; + case 115: goto tr4308; + case 116: goto tr4309; + case 117: goto tr4310; + case 122: goto tr4311; + case 2826: goto tr4211; + case 2875: goto tr4212; + case 3082: goto tr4221; + case 3131: goto tr4222; + case 3338: goto tr4223; + case 3387: goto tr4224; + case 3594: goto tr4225; + case 3643: goto tr4226; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 44 ) { + if ( _widec > 47 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr4294; + } else if ( _widec >= 45 ) + goto tr4219; + } else + goto tr73; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 89 ) + goto tr4219; + } else if ( _widec > 96 ) { + if ( _widec > 121 ) { + if ( 123 <= _widec ) + goto tr73; + } else if ( _widec >= 98 ) + goto tr4219; + } else + goto tr73; + } else + goto tr73; + goto tr4293; +tr4216: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 228;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 228;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 228;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 228;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 228;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 228;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 228;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 228;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 228;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 228;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 228;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 228;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 228;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 228;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 228;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 228;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 228;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 228;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 228;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 228;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 228;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 228;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 228;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 228;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 228;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 228;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 228;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 228;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 228;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 228;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 228;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 228;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st228; +st228: + if ( ++p == pe ) + goto _test_eof228; +case 228: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr84; + case 32: goto tr84; + case 40: goto tr85; + case 41: goto tr86; + case 73: goto tr756; + case 79: goto tr757; + case 84: goto tr758; + case 105: goto tr756; + case 111: goto tr757; + case 116: goto tr758; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr87; + case 2107: goto tr88; + } + goto tr861; +tr757: + { + ERR(ZS_OK); + } + goto st229; +st229: + if ( ++p == pe ) + goto _test_eof229; +case 229: + switch( (*p) ) { + case 82: goto st230; + case 114: goto st230; + } + goto tr755; +st230: + if ( ++p == pe ) + goto _test_eof230; +case 230: + switch( (*p) ) { + case 73: goto st231; + case 105: goto st231; + } + goto tr755; +st231: + if ( ++p == pe ) + goto _test_eof231; +case 231: + switch( (*p) ) { + case 71: goto st232; + case 103: goto st232; + } + goto tr755; +st232: + if ( ++p == pe ) + goto _test_eof232; +case 232: + switch( (*p) ) { + case 73: goto st233; + case 105: goto st233; + } + goto tr755; +st233: + if ( ++p == pe ) + goto _test_eof233; +case 233: + switch( (*p) ) { + case 78: goto st234; + case 110: goto st234; + } + goto tr755; +st234: + if ( ++p == pe ) + goto _test_eof234; +case 234: + switch( (*p) ) { + case 32: goto tr867; + case 59: goto tr867; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr867; + } else if ( (*p) >= 9 ) + goto tr867; + goto tr755; +tr758: + { + ERR(ZS_OK); + } + goto st235; +st235: + if ( ++p == pe ) + goto _test_eof235; +case 235: + switch( (*p) ) { + case 84: goto st236; + case 116: goto st236; + } + goto tr755; +st236: + if ( ++p == pe ) + goto _test_eof236; +case 236: + switch( (*p) ) { + case 76: goto st237; + case 108: goto st237; + } + goto tr755; +st237: + if ( ++p == pe ) + goto _test_eof237; +case 237: + switch( (*p) ) { + case 32: goto tr870; + case 59: goto tr870; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr870; + } else if ( (*p) >= 9 ) + goto tr870; + goto tr755; +tr4219: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 238;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 238;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 238;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 238;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 238;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 238;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 238;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 238;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 238;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 238;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 238;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 238;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 238;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 238;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 238;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 238;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 238;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 238;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 238;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 238;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 238;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 238;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 238;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 238;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 238;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 238;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 238;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 238;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 238;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 238;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 238;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 238;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 238;goto st309;} } + goto st238; +st238: + if ( ++p == pe ) + goto _test_eof238; +case 238: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr871; +tr4294: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 239;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 239;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 239;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 239;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 239;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 239;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 239;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 239;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 239;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 239;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 239;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 239;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 239;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 239;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 239;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 239;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 239;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 239;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 239;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 239;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 239;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 239;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 239;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 239;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 239;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 239;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 239;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 239;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 239;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 239;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 239;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 239;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 239;goto st309;} } + goto st239; +st239: + if ( ++p == pe ) + goto _test_eof239; +case 239: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr878; + case 32: goto tr878; + case 40: goto tr879; + case 41: goto tr880; + case 68: goto tr31; + case 72: goto tr32; + case 77: goto tr33; + case 83: goto st198; + case 87: goto tr35; + case 100: goto tr31; + case 104: goto tr32; + case 109: goto tr33; + case 115: goto st198; + case 119: goto tr35; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr881; + case 2107: goto tr882; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr30; + goto tr877; +tr884: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st240; +tr885: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st240; +tr878: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st240; +tr879: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st240; +tr880: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st240; +st240: + if ( ++p == pe ) + goto _test_eof240; +case 240: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st240; + case 32: goto st240; + case 40: goto tr884; + case 41: goto tr885; + case 65: goto tr5; + case 67: goto tr6; + case 68: goto tr7; + case 69: goto tr8; + case 72: goto tr9; + case 73: goto tr10; + case 75: goto tr11; + case 76: goto tr12; + case 77: goto tr13; + case 78: goto tr14; + case 79: goto tr15; + case 80: goto tr16; + case 82: goto tr17; + case 83: goto tr18; + case 84: goto tr19; + case 85: goto tr20; + case 90: goto tr21; + case 97: goto tr5; + case 99: goto tr6; + case 100: goto tr7; + case 101: goto tr8; + case 104: goto tr9; + case 105: goto tr10; + case 107: goto tr11; + case 108: goto tr12; + case 109: goto tr13; + case 110: goto tr14; + case 111: goto tr15; + case 112: goto tr16; + case 114: goto tr17; + case 115: goto tr18; + case 116: goto tr19; + case 117: goto tr20; + case 122: goto tr21; + case 1802: goto tr93; + case 1851: goto tr94; + case 2058: goto tr886; + case 2107: goto tr887; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr0; +tr887: + { + s->buffer_length = 0; + } + goto st241; +tr888: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st241; +tr882: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st241; +st241: + if ( ++p == pe ) + goto _test_eof241; +case 241: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr96; + case 2058: goto tr889; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr888; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr151; +tr4295: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 242;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 242;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 242;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 242;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 242;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 242;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 242;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 242;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 242;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 242;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 242;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 242;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 242;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 242;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 242;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 242;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 242;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 242;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 242;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 242;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 242;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 242;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 242;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 242;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 242;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 242;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 242;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 242;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 242;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 242;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 242;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 242;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 242;goto st309;} } + goto st242; +st242: + if ( ++p == pe ) + goto _test_eof242; +case 242: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr891; + case 32: goto tr891; + case 40: goto tr892; + case 41: goto tr893; + case 65: goto st266; + case 70: goto st269; + case 80: goto st273; + case 97: goto st266; + case 102: goto st269; + case 112: goto st273; + case 2826: goto tr87; + case 2875: goto tr88; + case 3082: goto tr894; + case 3131: goto tr895; + case 3338: goto tr829; + case 3387: goto tr830; + case 3594: goto tr896; + case 3643: goto tr897; + } + goto tr890; +tr899: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st243; +tr900: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st243; +tr891: + { + s->r_owner_length = s->dname_tmp_length; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st243; +tr892: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st243; +tr893: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st243; +st243: + if ( ++p == pe ) + goto _test_eof243; +case 243: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st243; + case 32: goto st243; + case 40: goto tr899; + case 41: goto tr900; + case 58: goto tr73; + case 65: goto tr122; + case 67: goto tr123; + case 68: goto tr124; + case 69: goto tr125; + case 72: goto tr126; + case 73: goto tr127; + case 75: goto tr128; + case 76: goto tr129; + case 77: goto tr130; + case 78: goto tr131; + case 79: goto tr132; + case 80: goto tr133; + case 82: goto tr134; + case 83: goto tr135; + case 84: goto tr136; + case 85: goto tr137; + case 90: goto tr138; + case 92: goto tr78; + case 97: goto tr122; + case 99: goto tr123; + case 100: goto tr124; + case 101: goto tr125; + case 104: goto tr126; + case 105: goto tr127; + case 107: goto tr128; + case 108: goto tr129; + case 109: goto tr130; + case 110: goto tr131; + case 111: goto tr132; + case 112: goto tr133; + case 114: goto tr134; + case 115: goto tr135; + case 116: goto tr136; + case 117: goto tr137; + case 122: goto tr138; + case 2826: goto tr93; + case 2875: goto tr94; + case 3082: goto tr901; + case 3131: goto tr857; + case 3338: goto tr112; + case 3387: goto tr113; + case 3594: goto tr902; + case 3643: goto tr858; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr73; + } else if ( _widec >= 48 ) + goto tr121; + } else + goto tr73; + goto tr118; +tr143: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1405;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1405;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1405;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1405;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1405;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1405;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1405;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1405;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1405;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1405;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1405;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1405;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1405;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1405;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1405;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1405;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1405;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1405;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1405;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1405;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1405;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1405;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1405;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1405;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1405;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1405;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1405;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1405;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1405;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1405;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1405;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1405;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st1405; +tr902: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1405;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1405;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1405;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1405;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1405;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1405;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1405;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1405;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1405;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1405;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1405;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1405;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1405;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1405;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1405;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1405;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1405;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1405;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1405;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1405;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1405;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1405;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1405;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1405;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1405;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1405;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1405;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1405;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1405;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1405;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1405;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1405;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1405; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1405; goto _out;} + } + } + goto st1405; +tr896: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1405;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1405;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1405;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1405;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1405;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1405;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1405;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1405;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1405;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1405;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1405;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1405;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1405;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1405;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1405;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1405;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1405;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1405;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1405;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1405;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1405;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1405;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1405;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1405;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1405;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1405;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1405;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1405;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1405;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1405;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1405;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1405;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1405; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1405; goto _out;} + } + } + goto st1405; +tr4225: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1405;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1405;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1405;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1405;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1405;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1405;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1405;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1405;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1405;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1405;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1405;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1405;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1405;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1405;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1405;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1405;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1405;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1405;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1405;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 1405;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1405;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1405;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 1405;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 1405;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 1405;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1405;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1405;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1405;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1405;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1405;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1405;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 1405;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1405; +st1405: + if ( ++p == pe ) + goto _test_eof1405; +case 1405: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr4288; + case 32: goto tr4288; + case 36: goto tr4216; + case 40: goto tr4289; + case 41: goto tr4290; + case 42: goto tr4219; + case 58: goto tr73; + case 65: goto tr4295; + case 67: goto tr4296; + case 68: goto tr4297; + case 69: goto tr4298; + case 72: goto tr4299; + case 73: goto tr4300; + case 75: goto tr4301; + case 76: goto tr4302; + case 77: goto tr4303; + case 78: goto tr4304; + case 79: goto tr4305; + case 80: goto tr4306; + case 82: goto tr4307; + case 83: goto tr4308; + case 84: goto tr4309; + case 85: goto tr4310; + case 90: goto tr4311; + case 92: goto tr4220; + case 95: goto tr4219; + case 97: goto tr4295; + case 99: goto tr4296; + case 100: goto tr4297; + case 101: goto tr4298; + case 104: goto tr4299; + case 105: goto tr4300; + case 107: goto tr4301; + case 108: goto tr4302; + case 109: goto tr4303; + case 110: goto tr4304; + case 111: goto tr4305; + case 112: goto tr4306; + case 114: goto tr4307; + case 115: goto tr4308; + case 116: goto tr4309; + case 117: goto tr4310; + case 122: goto tr4311; + case 2826: goto tr87; + case 2875: goto tr88; + case 3082: goto tr4312; + case 3131: goto tr4291; + case 3338: goto tr105; + case 3387: goto tr106; + case 3594: goto tr4312; + case 3643: goto tr4292; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 44 ) { + if ( _widec > 47 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr4294; + } else if ( _widec >= 45 ) + goto tr4219; + } else + goto tr73; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 89 ) + goto tr4219; + } else if ( _widec > 96 ) { + if ( _widec > 121 ) { + if ( 123 <= _widec ) + goto tr73; + } else if ( _widec >= 98 ) + goto tr4219; + } else + goto tr73; + } else + goto tr73; + goto tr4293; +tr4296: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 244;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 244;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 244;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 244;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 244;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 244;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 244;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 244;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 244;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 244;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 244;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 244;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 244;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 244;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 244;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 244;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 244;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 244;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 244;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 244;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 244;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 244;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 244;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 244;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 244;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 244;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 244;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 244;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 244;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 244;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 244;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 244;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 244;goto st309;} } + goto st244; +st244: + if ( ++p == pe ) + goto _test_eof244; +case 244: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 65: goto st18; + case 68: goto st22; + case 69: goto st29; + case 78: goto st32; + case 83: goto st36; + case 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + case 115: goto st36; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4297: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 245;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 245;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 245;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 245;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 245;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 245;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 245;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 245;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 245;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 245;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 245;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 245;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 245;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 245;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 245;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 245;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 245;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 245;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 245;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 245;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 245;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 245;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 245;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 245;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 245;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 245;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 245;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 245;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 245;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 245;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 245;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 245;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 245;goto st309;} } + goto st245; +st245: + if ( ++p == pe ) + goto _test_eof245; +case 245: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 72: goto st41; + case 78: goto st45; + case 83: goto st53; + case 104: goto st41; + case 110: goto st45; + case 115: goto st53; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4298: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 246;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 246;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 246;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 246;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 246;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 246;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 246;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 246;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 246;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 246;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 246;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 246;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 246;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 246;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 246;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 246;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 246;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 246;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 246;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 246;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 246;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 246;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 246;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 246;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 246;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 246;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 246;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 246;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 246;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 246;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 246;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 246;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 246;goto st309;} } + goto st246; +st246: + if ( ++p == pe ) + goto _test_eof246; +case 246: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 85: goto st55; + case 117: goto st55; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4299: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 247;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 247;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 247;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 247;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 247;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 247;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 247;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 247;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 247;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 247;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 247;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 247;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 247;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 247;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 247;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 247;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 247;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 247;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 247;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 247;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 247;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 247;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 247;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 247;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 247;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 247;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 247;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 247;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 247;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 247;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 247;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 247;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 247;goto st309;} } + goto st247; +st247: + if ( ++p == pe ) + goto _test_eof247; +case 247: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 73: goto st62; + case 84: goto st66; + case 105: goto st62; + case 116: goto st66; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4300: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 248;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 248;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 248;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 248;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 248;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 248;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 248;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 248;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 248;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 248;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 248;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 248;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 248;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 248;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 248;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 248;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 248;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 248;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 248;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 248;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 248;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 248;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 248;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 248;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 248;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 248;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 248;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 248;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 248;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 248;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 248;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 248;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 248;goto st309;} } + goto st248; +st248: + if ( ++p == pe ) + goto _test_eof248; +case 248: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 78: goto st176; + case 80: goto st74; + case 110: goto st176; + case 112: goto st74; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4301: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 249;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 249;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 249;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 249;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 249;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 249;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 249;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 249;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 249;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 249;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 249;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 249;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 249;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 249;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 249;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 249;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 249;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 249;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 249;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 249;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 249;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 249;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 249;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 249;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 249;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 249;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 249;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 249;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 249;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 249;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 249;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 249;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 249;goto st309;} } + goto st249; +st249: + if ( ++p == pe ) + goto _test_eof249; +case 249: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 69: goto st82; + case 88: goto st84; + case 101: goto st82; + case 120: goto st84; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4302: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 250;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 250;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 250;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 250;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 250;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 250;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 250;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 250;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 250;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 250;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 250;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 250;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 250;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 250;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 250;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 250;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 250;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 250;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 250;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 250;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 250;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 250;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 250;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 250;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 250;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 250;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 250;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 250;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 250;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 250;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 250;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 250;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 250;goto st309;} } + goto st250; +st250: + if ( ++p == pe ) + goto _test_eof250; +case 250: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 51: goto st86; + case 54: goto st88; + case 79: goto st90; + case 80: goto st92; + case 111: goto st90; + case 112: goto st92; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4303: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 251;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 251;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 251;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 251;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 251;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 251;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 251;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 251;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 251;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 251;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 251;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 251;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 251;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 251;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 251;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 251;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 251;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 251;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 251;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 251;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 251;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 251;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 251;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 251;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 251;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 251;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 251;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 251;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 251;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 251;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 251;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 251;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 251;goto st309;} } + goto st251; +st251: + if ( ++p == pe ) + goto _test_eof251; +case 251: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 73: goto st94; + case 88: goto st98; + case 105: goto st94; + case 120: goto st98; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4304: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 252;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 252;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 252;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 252;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 252;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 252;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 252;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 252;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 252;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 252;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 252;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 252;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 252;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 252;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 252;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 252;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 252;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 252;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 252;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 252;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 252;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 252;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 252;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 252;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 252;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 252;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 252;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 252;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 252;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 252;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 252;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 252;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 252;goto st309;} } + goto st252; +st252: + if ( ++p == pe ) + goto _test_eof252; +case 252: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 65: goto st100; + case 73: goto st104; + case 83: goto st106; + case 97: goto st100; + case 105: goto st104; + case 115: goto st106; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4305: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 253;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 253;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 253;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 253;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 253;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 253;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 253;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 253;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 253;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 253;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 253;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 253;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 253;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 253;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 253;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 253;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 253;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 253;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 253;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 253;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 253;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 253;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 253;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 253;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 253;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 253;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 253;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 253;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 253;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 253;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 253;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 253;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 253;goto st309;} } + goto st253; +st253: + if ( ++p == pe ) + goto _test_eof253; +case 253: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 80: goto st116; + case 112: goto st116; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4306: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 254;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 254;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 254;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 254;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 254;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 254;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 254;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 254;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 254;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 254;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 254;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 254;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 254;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 254;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 254;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 254;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 254;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 254;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 254;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 254;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 254;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 254;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 254;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 254;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 254;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 254;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 254;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 254;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 254;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 254;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 254;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 254;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 254;goto st309;} } + goto st254; +st254: + if ( ++p == pe ) + goto _test_eof254; +case 254: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 84: goto st126; + case 116: goto st126; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4307: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 255;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 255;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 255;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 255;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 255;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 255;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 255;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 255;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 255;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 255;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 255;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 255;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 255;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 255;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 255;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 255;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 255;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 255;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 255;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 255;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 255;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 255;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 255;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 255;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 255;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 255;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 255;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 255;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 255;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 255;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 255;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 255;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 255;goto st309;} } + goto st255; +st255: + if ( ++p == pe ) + goto _test_eof255; +case 255: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 80: goto st129; + case 82: goto st130; + case 84: goto st134; + case 112: goto st129; + case 114: goto st130; + case 116: goto st134; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4308: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 256;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 256;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 256;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 256;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 256;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 256;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 256;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 256;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 256;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 256;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 256;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 256;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 256;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 256;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 256;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 256;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 256;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 256;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 256;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 256;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 256;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 256;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 256;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 256;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 256;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 256;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 256;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 256;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 256;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 256;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 256;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 256;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 256;goto st309;} } + goto st256; +st256: + if ( ++p == pe ) + goto _test_eof256; +case 256: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 77: goto st136; + case 79: goto st141; + case 80: goto st143; + case 82: goto st145; + case 83: goto st147; + case 86: goto st151; + case 109: goto st136; + case 111: goto st141; + case 112: goto st143; + case 114: goto st145; + case 115: goto st147; + case 118: goto st151; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4309: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 257;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 257;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 257;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 257;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 257;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 257;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 257;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 257;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 257;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 257;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 257;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 257;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 257;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 257;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 257;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 257;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 257;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 257;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 257;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 257;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 257;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 257;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 257;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 257;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 257;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 257;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 257;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 257;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 257;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 257;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 257;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 257;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 257;goto st309;} } + goto st257; +st257: + if ( ++p == pe ) + goto _test_eof257; +case 257: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 76: goto st155; + case 88: goto st158; + case 89: goto st160; + case 108: goto st155; + case 120: goto st158; + case 121: goto st160; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4310: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 258;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 258;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 258;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 258;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 258;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 258;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 258;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 258;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 258;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 258;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 258;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 258;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 258;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 258;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 258;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 258;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 258;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 258;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 258;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 258;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 258;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 258;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 258;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 258;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 258;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 258;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 258;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 258;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 258;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 258;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 258;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 258;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 258;goto st309;} } + goto st258; +st258: + if ( ++p == pe ) + goto _test_eof258; +case 258: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 82: goto st165; + case 114: goto st165; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4311: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 259;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 259;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 259;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 259;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 259;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 259;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 259;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 259;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 259;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 259;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 259;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 259;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 259;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 259;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 259;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 259;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 259;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 259;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 259;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 259;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 259;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 259;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 259;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 259;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 259;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 259;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 259;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 259;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 259;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 259;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 259;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 259;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 259;goto st309;} } + goto st259; +st259: + if ( ++p == pe ) + goto _test_eof259; +case 259: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr872; + case 32: goto tr872; + case 40: goto tr873; + case 41: goto tr874; + case 79: goto st168; + case 111: goto st168; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr875; + case 2107: goto tr876; + } + goto tr890; +tr4220: + { + if (pe - p == 1) { + *wrap = WRAP_DETECTED; + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 260;goto st309;} } + goto st260; +st260: + if ( ++p == pe ) + goto _test_eof260; +case 260: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr903; + case 32: goto tr903; + case 35: goto tr98; + case 40: goto tr905; + case 41: goto tr906; + case 1802: goto tr97; + case 1851: goto tr97; + case 2058: goto tr907; + case 2107: goto tr908; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr97; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr97; + } else + goto tr97; + goto tr904; +tr903: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 261;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 261;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 261;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 261;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 261;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 261;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 261;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 261;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 261;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 261;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 261;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 261;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 261;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 261;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 261;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 261;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 261;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 261;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 261;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 261;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 261;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 261;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 261;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 261;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 261;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 261;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 261;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 261;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 261;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 261;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 261;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 261;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st261; +tr905: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 261;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 261;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 261;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 261;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 261;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 261;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 261;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 261;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 261;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 261;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 261;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 261;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 261;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 261;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 261;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 261;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 261;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 261;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 261;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 261;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 261;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 261;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 261;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 261;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 261;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 261;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 261;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 261;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 261;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 261;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 261;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 261;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st261; +tr906: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 261;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 261;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 261;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 261;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 261;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 261;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 261;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 261;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 261;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 261;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 261;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 261;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 261;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 261;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 261;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 261;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 261;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 261;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 261;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 261;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 261;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 261;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 261;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 261;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 261;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 261;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 261;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 261;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 261;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 261;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 261;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 261;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st261; +tr907: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 261;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 261;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 261;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 261;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 261;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 261;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 261;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 261;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 261;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 261;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 261;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 261;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 261;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 261;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 261;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 261;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 261;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 261;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 261;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 261;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 261;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 261;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 261;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 261;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 261;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 261;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 261;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 261;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 261;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 261;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 261;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 261;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st261; +st261: + if ( ++p == pe ) + goto _test_eof261; +case 261: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr909; + case 32: goto tr909; + case 40: goto tr910; + case 41: goto tr911; + case 65: goto tr5; + case 67: goto tr6; + case 68: goto tr7; + case 69: goto tr8; + case 72: goto tr9; + case 73: goto tr10; + case 75: goto tr11; + case 76: goto tr12; + case 77: goto tr13; + case 78: goto tr14; + case 79: goto tr15; + case 80: goto tr16; + case 82: goto tr17; + case 83: goto tr18; + case 84: goto tr19; + case 85: goto tr20; + case 90: goto tr21; + case 97: goto tr5; + case 99: goto tr6; + case 100: goto tr7; + case 101: goto tr8; + case 104: goto tr9; + case 105: goto tr10; + case 107: goto tr11; + case 108: goto tr12; + case 109: goto tr13; + case 110: goto tr14; + case 111: goto tr15; + case 112: goto tr16; + case 114: goto tr17; + case 115: goto tr18; + case 116: goto tr19; + case 117: goto tr20; + case 122: goto tr21; + case 1802: goto tr87; + case 1851: goto tr88; + case 2058: goto tr912; + case 2107: goto tr913; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr118; +tr908: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 262;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 262;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 262;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 262;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 262;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 262;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 262;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 262;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 262;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 262;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 262;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 262;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 262;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 262;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 262;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 262;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 262;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 262;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 262;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 262;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 262;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 262;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 262;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 262;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 262;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 262;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 262;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 262;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 262;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 262;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 262;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 262;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st262; +st262: + if ( ++p == pe ) + goto _test_eof262; +case 262: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr84; + case 1802: goto tr87; + case 1824: goto tr84; + case 1832: goto tr85; + case 1833: goto tr86; + case 1851: goto tr88; + case 2057: goto tr914; + case 2058: goto tr915; + case 2080: goto tr914; + case 2088: goto tr916; + case 2089: goto tr917; + case 2107: goto tr918; + } + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr777; + goto tr83; +tr919: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st263; +tr914: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st263; +tr916: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st263; +tr917: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st263; +tr920: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st263; +tr921: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st263; +st263: + if ( ++p == pe ) + goto _test_eof263; +case 263: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto st7; + case 1802: goto tr93; + case 1824: goto st7; + case 1832: goto tr91; + case 1833: goto tr92; + case 1851: goto tr94; + case 2057: goto tr919; + case 2058: goto tr844; + case 2080: goto tr919; + case 2088: goto tr920; + case 2089: goto tr921; + case 2107: goto tr922; + } + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr777; + goto tr89; +tr858: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 264;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 264;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 264;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 264;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 264;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 264;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 264;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 264;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 264;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 264;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 264;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 264;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 264;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 264;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 264;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 264;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 264;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 264;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 264;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 264;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 264;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 264;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 264;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 264;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 264;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 264;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 264;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 264;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 264;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 264;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 264;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 264;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st264; +tr989: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 264;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 264;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 264;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 264;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 264;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 264;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 264;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 264;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 264;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 264;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 264;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 264;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 264;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 264;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 264;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 264;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 264;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 264;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 264;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 264;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 264;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 264;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 264;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 264;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 264;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 264;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 264;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 264;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 264;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 264;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 264;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 264;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st264; +tr897: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 264;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 264;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 264;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 264;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 264;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 264;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 264;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 264;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 264;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 264;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 264;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 264;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 264;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 264;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 264;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 264;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 264;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 264;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 264;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 264;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 264;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 264;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 264;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 264;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 264;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 264;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 264;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 264;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 264;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 264;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 264;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 264;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st264; +tr4292: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 264;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 264;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 264;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 264;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 264;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 264;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 264;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 264;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 264;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 264;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 264;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 264;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 264;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 264;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 264;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 264;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 264;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 264;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 264;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 264;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 264;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 264;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 264;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 264;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 264;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 264;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 264;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 264;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 264;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 264;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 264;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 264;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + goto st264; +st264: + if ( ++p == pe ) + goto _test_eof264; +case 264: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr845; + case 1802: goto tr848; + case 1824: goto tr845; + case 1832: goto tr846; + case 1833: goto tr847; + case 1851: goto tr849; + case 2057: goto tr923; + case 2058: goto tr915; + case 2080: goto tr923; + case 2088: goto tr924; + case 2089: goto tr925; + case 2107: goto tr926; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr859; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr83; +tr927: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st265; +tr923: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st265; +tr924: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st265; +tr925: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st265; +tr928: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st265; +tr929: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st265; +st265: + if ( ++p == pe ) + goto _test_eof265; +case 265: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr850; + case 1802: goto tr96; + case 1824: goto tr850; + case 1832: goto tr851; + case 1833: goto tr852; + case 1851: goto tr853; + case 2057: goto tr927; + case 2058: goto tr844; + case 2080: goto tr927; + case 2088: goto tr928; + case 2089: goto tr929; + case 2107: goto tr930; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr859; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr83; +st266: + if ( ++p == pe ) + goto _test_eof266; +case 266: + switch( (*p) ) { + case 65: goto st267; + case 97: goto st267; + } + goto tr38; +st267: + if ( ++p == pe ) + goto _test_eof267; +case 267: + switch( (*p) ) { + case 65: goto st268; + case 97: goto st268; + } + goto tr38; +st268: + if ( ++p == pe ) + goto _test_eof268; +case 268: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr933; + case 32: goto tr933; + case 40: goto tr934; + case 41: goto tr935; + case 3082: goto tr936; + case 3131: goto tr937; + case 3338: goto tr938; + case 3387: goto tr938; + case 3594: goto tr939; + case 3643: goto tr940; + } + goto tr61; +st269: + if ( ++p == pe ) + goto _test_eof269; +case 269: + switch( (*p) ) { + case 83: goto st270; + case 115: goto st270; + } + goto tr38; +st270: + if ( ++p == pe ) + goto _test_eof270; +case 270: + switch( (*p) ) { + case 68: goto st271; + case 100: goto st271; + } + goto tr38; +st271: + if ( ++p == pe ) + goto _test_eof271; +case 271: + switch( (*p) ) { + case 66: goto st272; + case 98: goto st272; + } + goto tr38; +st272: + if ( ++p == pe ) + goto _test_eof272; +case 272: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr944; + case 32: goto tr944; + case 40: goto tr945; + case 41: goto tr946; + case 3082: goto tr947; + case 3131: goto tr948; + case 3338: goto tr949; + case 3387: goto tr949; + case 3594: goto tr950; + case 3643: goto tr951; + } + goto tr61; +st273: + if ( ++p == pe ) + goto _test_eof273; +case 273: + switch( (*p) ) { + case 76: goto st274; + case 108: goto st274; + } + goto tr38; +st274: + if ( ++p == pe ) + goto _test_eof274; +case 274: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr953; + case 32: goto tr953; + case 40: goto tr954; + case 41: goto tr955; + case 3082: goto tr956; + case 3131: goto tr957; + case 3338: goto tr958; + case 3387: goto tr958; + case 3594: goto tr959; + case 3643: goto tr960; + } + goto tr61; +tr140: + { + s->buffer_length = 0; + } + goto st275; +tr961: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st275; +tr4222: + { + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st275; +st275: + if ( ++p == pe ) + goto _test_eof275; +case 275: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr754; + case 2058: goto tr962; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr961; + } else if ( _widec >= 1664 ) + goto tr753; + goto tr83; +tr4224: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 276;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 276;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 276;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 276;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 276;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 276;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 276;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 276;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 276;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 276;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 276;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 276;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 276;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 276;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 276;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 276;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 276;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 276;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 276;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 276;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 276;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 276;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 276;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 276;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 276;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 276;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 276;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 276;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 276;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 276;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 276;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 276;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st276; +tr142: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 276;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 276;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 276;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 276;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 276;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 276;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 276;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 276;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 276;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 276;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 276;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 276;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 276;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 276;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 276;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 276;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 276;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 276;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 276;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 276;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 276;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 276;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 276;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 276;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 276;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 276;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 276;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 276;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 276;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 276;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 276;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 276;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st276; +st276: + if ( ++p == pe ) + goto _test_eof276; +case 276: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr963; + case 32: goto tr963; + case 40: goto tr964; + case 41: goto tr965; + case 1802: goto tr966; + case 1851: goto tr849; + case 2058: goto tr966; + case 2107: goto tr849; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr753; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr753; + } else + goto tr753; + goto tr83; +tr967: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st277; +tr963: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st277; +tr964: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st277; +tr965: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st277; +tr968: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st277; +tr969: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st277; +st277: + if ( ++p == pe ) + goto _test_eof277; +case 277: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr967; + case 32: goto tr967; + case 40: goto tr968; + case 41: goto tr969; + case 1802: goto tr970; + case 1851: goto tr853; + case 2058: goto tr970; + case 2107: goto tr853; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr753; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr753; + } else + goto tr753; + goto tr89; +tr144: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 278;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 278;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 278;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 278;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 278;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 278;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 278;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 278;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 278;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 278;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 278;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 278;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 278;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 278;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 278;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 278;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 278;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 278;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 278;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 278;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 278;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 278;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 278;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 278;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 278;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 278;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 278;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 278;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 278;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 278;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 278;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 278;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st278; +tr4226: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 278;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 278;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 278;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 278;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 278;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 278;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 278;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 278;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 278;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 278;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 278;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 278;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 278;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 278;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 278;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 278;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 278;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 278;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 278;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 278;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 278;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 278;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 278;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 278;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 278;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 278;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 278;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 278;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 278;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 278;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 278;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 278;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st278; +st278: + if ( ++p == pe ) + goto _test_eof278; +case 278: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr963; + case 1802: goto tr966; + case 1824: goto tr963; + case 1832: goto tr964; + case 1833: goto tr965; + case 1851: goto tr849; + case 2057: goto tr971; + case 2058: goto tr915; + case 2080: goto tr971; + case 2088: goto tr972; + case 2089: goto tr973; + case 2107: goto tr926; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr961; + } else if ( _widec >= 1664 ) + goto tr753; + goto tr83; +tr974: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st279; +tr971: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st279; +tr972: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st279; +tr973: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st279; +tr975: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st279; +tr976: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st279; +st279: + if ( ++p == pe ) + goto _test_eof279; +case 279: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr967; + case 1802: goto tr970; + case 1824: goto tr967; + case 1832: goto tr968; + case 1833: goto tr969; + case 1851: goto tr853; + case 2057: goto tr974; + case 2058: goto tr844; + case 2080: goto tr974; + case 2088: goto tr975; + case 2089: goto tr976; + case 2107: goto tr930; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr961; + } else if ( _widec >= 1664 ) + goto tr753; + goto tr83; +tr114: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 280;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 280;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 280;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 280;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 280;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 280;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 280;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 280;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 280;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 280;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 280;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 280;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 280;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 280;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 280;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 280;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 280;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 280;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 280;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 280;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 280;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 280;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 280;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 280;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 280;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 280;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 280;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 280;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 280;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 280;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 280;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 280;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st280; +tr107: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 280;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 280;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 280;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 280;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 280;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 280;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 280;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 280;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 280;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 280;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 280;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 280;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 280;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 280;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 280;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 280;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 280;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 280;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 280;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 280;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 280;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 280;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 280;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 280;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 280;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 280;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 280;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 280;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 280;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 280;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 280;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 280;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st280; +tr832: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 280;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 280;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 280;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 280;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 280;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 280;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 280;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 280;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 280;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 280;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 280;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 280;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 280;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 280;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 280;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 280;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 280;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 280;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 280;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 280;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 280;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 280;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 280;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 280;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 280;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 280;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 280;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 280;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 280;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 280;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 280;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 280;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st280; +st280: + if ( ++p == pe ) + goto _test_eof280; +case 280: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr845; + case 1802: goto tr848; + case 1824: goto tr845; + case 1832: goto tr846; + case 1833: goto tr847; + case 1851: goto tr849; + case 2057: goto tr977; + case 2058: goto tr848; + case 2080: goto tr977; + case 2088: goto tr978; + case 2089: goto tr979; + case 2107: goto tr174; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr115; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr83; +tr980: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st281; +tr977: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st281; +tr978: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st281; +tr979: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st281; +tr981: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st281; +tr982: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st281; +st281: + if ( ++p == pe ) + goto _test_eof281; +case 281: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr850; + case 1802: goto tr96; + case 1824: goto tr850; + case 1832: goto tr851; + case 1833: goto tr852; + case 1851: goto tr853; + case 2057: goto tr980; + case 2058: goto tr96; + case 2080: goto tr980; + case 2088: goto tr981; + case 2089: goto tr982; + case 2107: goto tr178; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr115; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr83; +tr820: + { + s->buffer_length = 0; + } + goto st282; +tr983: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st282; +tr813: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st282; +st282: + if ( ++p == pe ) + goto _test_eof282; +case 282: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr984; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr983; + goto tr75; +tr821: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 283;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 283;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 283;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 283;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 283;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 283;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 283;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 283;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 283;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 283;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 283;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 283;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 283;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 283;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 283;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 283;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 283;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 283;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 283;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 283;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 283;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 283;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 283;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 283;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 283;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 283;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 283;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 283;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 283;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 283;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 283;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 283;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st283; +tr814: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 283;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 283;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 283;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 283;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 283;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 283;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 283;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 283;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 283;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 283;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 283;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 283;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 283;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 283;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 283;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 283;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 283;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 283;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 283;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 283;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 283;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 283;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 283;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 283;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 283;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 283;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 283;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 283;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 283;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 283;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 283;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 283;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st283; +st283: + if ( ++p == pe ) + goto _test_eof283; +case 283: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr985; + case 32: goto tr985; + case 40: goto tr986; + case 41: goto tr987; + case 58: goto tr73; + case 65: goto tr122; + case 67: goto tr123; + case 68: goto tr124; + case 69: goto tr125; + case 72: goto tr126; + case 73: goto tr127; + case 75: goto tr128; + case 76: goto tr129; + case 77: goto tr130; + case 78: goto tr131; + case 79: goto tr132; + case 80: goto tr133; + case 82: goto tr134; + case 83: goto tr135; + case 84: goto tr136; + case 85: goto tr137; + case 90: goto tr138; + case 92: goto tr78; + case 97: goto tr122; + case 99: goto tr123; + case 100: goto tr124; + case 101: goto tr125; + case 104: goto tr126; + case 105: goto tr127; + case 107: goto tr128; + case 108: goto tr129; + case 109: goto tr130; + case 110: goto tr131; + case 111: goto tr132; + case 112: goto tr133; + case 114: goto tr134; + case 115: goto tr135; + case 116: goto tr136; + case 117: goto tr137; + case 122: goto tr138; + case 2826: goto tr87; + case 2875: goto tr88; + case 3082: goto tr912; + case 3131: goto tr988; + case 3338: goto tr105; + case 3387: goto tr106; + case 3594: goto tr912; + case 3643: goto tr989; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr73; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr73; + } else if ( _widec >= 48 ) + goto tr121; + } else + goto tr73; + goto tr118; +tr822: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 284;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 284;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 284;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 284;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 284;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 284;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 284;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 284;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 284;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 284;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 284;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 284;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 284;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 284;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 284;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 284;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 284;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 284;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 284;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 284;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 284;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 284;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 284;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 284;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 284;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 284;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 284;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 284;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 284;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 284;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 284;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 284;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st284; +tr815: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 284;goto st844;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 284;goto st846;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 284;goto st848;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 284;goto st880;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 284;goto st885;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 284;goto st890;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 284;goto st895;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 284;goto st899;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 284;goto st901;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 284;goto st956;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 284;goto st967;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 284;goto st984;} + case KNOT_RRTYPE_APL: + {stack[top++] = 284;goto st995;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 284;goto st1006;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 284;goto st1019;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 284;goto st1029;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 284;goto st1068;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 284;goto st1254;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 284;goto st1257;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = 284;goto st1268;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 284;goto st1270;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 284;goto st1299;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = 284;goto st1312;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = 284;goto st1325;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = 284;goto st1331;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 284;goto st1349;} + case KNOT_RRTYPE_L32: + {stack[top++] = 284;goto st1344;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 284;goto st1362;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 284;goto st1368;} + case KNOT_RRTYPE_URI: + {stack[top++] = 284;goto st1374;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 284;goto st1382;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = 284;goto st1390;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st307;} + } + } + goto st284; +st284: + if ( ++p == pe ) + goto _test_eof284; +case 284: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto tr84; + case 1802: goto tr87; + case 1824: goto tr84; + case 1832: goto tr85; + case 1833: goto tr86; + case 1851: goto tr88; + case 2057: goto tr990; + case 2058: goto tr915; + case 2080: goto tr990; + case 2088: goto tr991; + case 2089: goto tr992; + case 2107: goto tr926; + } + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr983; + goto tr83; +tr993: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st285; +tr990: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st285; +tr991: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st285; +tr992: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st285; +tr994: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st285; +tr995: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st285; +st285: + if ( ++p == pe ) + goto _test_eof285; +case 285: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1801: goto st7; + case 1802: goto tr93; + case 1824: goto st7; + case 1832: goto tr91; + case 1833: goto tr92; + case 1851: goto tr94; + case 2057: goto tr993; + case 2058: goto tr844; + case 2080: goto tr993; + case 2088: goto tr994; + case 2089: goto tr995; + case 2107: goto tr930; + } + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr983; + goto tr83; +tr4232: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 286;goto st309;} } + goto st286; +tr4253: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 286;goto st309;} } + goto st286; +st286: + if ( ++p == pe ) + goto _test_eof286; +case 286: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 65: goto st18; + case 68: goto st22; + case 69: goto st29; + case 78: goto st32; + case 83: goto st36; + case 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + case 115: goto st36; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4233: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 287;goto st309;} } + goto st287; +tr4254: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 287;goto st309;} } + goto st287; +st287: + if ( ++p == pe ) + goto _test_eof287; +case 287: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 72: goto st41; + case 78: goto st45; + case 83: goto st53; + case 104: goto st41; + case 110: goto st45; + case 115: goto st53; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4234: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 288;goto st309;} } + goto st288; +tr4255: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 288;goto st309;} } + goto st288; +st288: + if ( ++p == pe ) + goto _test_eof288; +case 288: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 85: goto st55; + case 117: goto st55; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4235: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 289;goto st309;} } + goto st289; +tr4256: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 289;goto st309;} } + goto st289; +st289: + if ( ++p == pe ) + goto _test_eof289; +case 289: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 73: goto st62; + case 84: goto st66; + case 105: goto st62; + case 116: goto st66; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4257: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 290;goto st309;} } + goto st290; +st290: + if ( ++p == pe ) + goto _test_eof290; +case 290: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 78: goto st176; + case 80: goto st74; + case 110: goto st176; + case 112: goto st74; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4237: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 291;goto st309;} } + goto st291; +tr4258: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 291;goto st309;} } + goto st291; +st291: + if ( ++p == pe ) + goto _test_eof291; +case 291: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 69: goto st82; + case 88: goto st84; + case 101: goto st82; + case 120: goto st84; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4238: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 292;goto st309;} } + goto st292; +tr4259: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 292;goto st309;} } + goto st292; +st292: + if ( ++p == pe ) + goto _test_eof292; +case 292: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 51: goto st86; + case 54: goto st88; + case 79: goto st90; + case 80: goto st92; + case 111: goto st90; + case 112: goto st92; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4239: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 293;goto st309;} } + goto st293; +tr4260: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 293;goto st309;} } + goto st293; +st293: + if ( ++p == pe ) + goto _test_eof293; +case 293: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 73: goto st94; + case 88: goto st98; + case 105: goto st94; + case 120: goto st98; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4240: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 294;goto st309;} } + goto st294; +tr4261: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 294;goto st309;} } + goto st294; +st294: + if ( ++p == pe ) + goto _test_eof294; +case 294: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 65: goto st100; + case 73: goto st104; + case 83: goto st106; + case 97: goto st100; + case 105: goto st104; + case 115: goto st106; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4241: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 295;goto st309;} } + goto st295; +tr4262: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 295;goto st309;} } + goto st295; +st295: + if ( ++p == pe ) + goto _test_eof295; +case 295: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 80: goto st116; + case 112: goto st116; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4242: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 296;goto st309;} } + goto st296; +tr4263: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 296;goto st309;} } + goto st296; +st296: + if ( ++p == pe ) + goto _test_eof296; +case 296: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 84: goto st126; + case 116: goto st126; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4243: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 297;goto st309;} } + goto st297; +tr4264: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 297;goto st309;} } + goto st297; +st297: + if ( ++p == pe ) + goto _test_eof297; +case 297: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 80: goto st129; + case 82: goto st130; + case 84: goto st134; + case 112: goto st129; + case 114: goto st130; + case 116: goto st134; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4244: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 298;goto st309;} } + goto st298; +tr4265: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 298;goto st309;} } + goto st298; +st298: + if ( ++p == pe ) + goto _test_eof298; +case 298: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 77: goto st136; + case 79: goto st141; + case 80: goto st143; + case 82: goto st145; + case 83: goto st147; + case 86: goto st151; + case 109: goto st136; + case 111: goto st141; + case 112: goto st143; + case 114: goto st145; + case 115: goto st147; + case 118: goto st151; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4245: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 299;goto st309;} } + goto st299; +tr4266: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 299;goto st309;} } + goto st299; +st299: + if ( ++p == pe ) + goto _test_eof299; +case 299: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 76: goto st155; + case 88: goto st158; + case 89: goto st160; + case 108: goto st155; + case 120: goto st158; + case 121: goto st160; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4246: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 300;goto st309;} } + goto st300; +tr4267: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 300;goto st309;} } + goto st300; +st300: + if ( ++p == pe ) + goto _test_eof300; +case 300: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 82: goto st165; + case 114: goto st165; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr4247: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 301;goto st309;} } + goto st301; +tr4268: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 301;goto st309;} } + goto st301; +st301: + if ( ++p == pe ) + goto _test_eof301; +case 301: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 79: goto st168; + case 111: goto st168; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr25: + { + s->buffer_length = 0; + } + goto st302; +tr997: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st302; +tr4214: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st302; +tr4282: + { + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st302; +tr4278: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st302; +st302: + if ( ++p == pe ) + goto _test_eof302; +case 302: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr754; + case 2058: goto tr998; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr997; + } else if ( _widec >= 1664 ) + goto tr753; + goto tr89; +tr697: + { + s->buffer_length = 0; + } + goto st303; +tr999: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st303; +tr4249: + { + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st303; +st303: + if ( ++p == pe ) + goto _test_eof303; +case 303: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr754; + case 2058: goto tr1000; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr999; + } else if ( _widec >= 1664 ) + goto tr753; + goto tr151; +tr4236: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 304;goto st309;} } + goto st304; +st304: + if ( ++p == pe ) + goto _test_eof304; +case 304: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr767; + case 32: goto tr767; + case 40: goto tr768; + case 41: goto tr769; + case 78: goto st71; + case 80: goto st74; + case 110: goto st71; + case 112: goto st74; + case 2058: goto tr770; + case 2107: goto tr771; + } + goto tr996; +tr156: + { + s->buffer_length = 0; + } + goto st305; +tr1001: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st305; +tr150: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st305; +st305: + if ( ++p == pe ) + goto _test_eof305; +case 305: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr96; + case 2058: goto tr1002; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1001; + } else if ( _widec >= 1664 ) + goto tr95; + goto tr151; +tr1006: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st306; +tr1005: + { + s->line_counter++; + } + goto st306; +st306: + if ( ++p == pe ) + goto _test_eof306; +case 306: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 41 <= (*p) && (*p) <= 41 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(128 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 266: goto tr1004; + case 522: goto tr1005; + case 1065: goto tr1006; + } + if ( _widec < 11 ) { + if ( _widec <= 9 ) + goto st306; + } else if ( _widec > 40 ) { + if ( 42 <= _widec ) + goto st306; + } else + goto st306; + goto st0; +tr1004: + { p--; {stack[top++] = 1406;goto st1396;} } + { + s->line_counter++; + } + goto st1406; +st1406: + if ( ++p == pe ) + goto _test_eof1406; +case 1406: + goto st0; +st307: + if ( ++p == pe ) + goto _test_eof307; +case 307: + if ( (*p) == 10 ) + goto tr1008; + goto tr1007; +tr1007: + { + s->buffer_length = 0; + } + { + if ((*p) == '\r') { + ERR(ZS_DOS_NEWLINE); + } + + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st308; +tr1009: + { + if ((*p) == '\r') { + ERR(ZS_DOS_NEWLINE); + } + + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st308; +st308: + if ( ++p == pe ) + goto _test_eof308; +case 308: + if ( (*p) == 10 ) + goto tr1010; + goto tr1009; +tr1008: + cs = 1407; + { + s->buffer_length = 0; + } + { + // Terminate the error context string. + s->buffer[s->buffer_length++] = 0; + + // Error counter incrementation. + s->error.counter++; + + // Initialize the fcall stack. + top = 0; + + // Reset per-record contexts. + s->long_string = false; + s->comma_list = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + p--; + if (s->process.error != NULL) { + s->process.error(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; goto _out;} + } + } + + // Stop the scanner if fatal error. + if (s->error.fatal) { + {p++; goto _out;} + } + {goto st306;} + } else { + // Return if external processing. + p--; cs = 306; {p++; goto _out;} + } + } + { + s->line_counter++; + } + goto _again; +tr1010: + cs = 1407; + { + // Terminate the error context string. + s->buffer[s->buffer_length++] = 0; + + // Error counter incrementation. + s->error.counter++; + + // Initialize the fcall stack. + top = 0; + + // Reset per-record contexts. + s->long_string = false; + s->comma_list = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + p--; + if (s->process.error != NULL) { + s->process.error(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; goto _out;} + } + } + + // Stop the scanner if fatal error. + if (s->error.fatal) { + {p++; goto _out;} + } + {goto st306;} + } else { + // Return if external processing. + p--; cs = 306; {p++; goto _out;} + } + } + { + s->line_counter++; + } + goto _again; +st1407: + if ( ++p == pe ) + goto _test_eof1407; +case 1407: + goto st0; +st309: + if ( ++p == pe ) + goto _test_eof309; +case 309: + switch( (*p) ) { + case 42: goto tr1012; + case 46: goto tr1013; + case 64: goto st317; + case 92: goto tr1015; + case 95: goto tr1012; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1012; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1012; + } else + goto tr1012; + goto tr1011; +tr1012: + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st310; +tr1017: + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st310; +tr1021: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st310; +tr1028: + { + s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st310; +st310: + if ( ++p == pe ) + goto _test_eof310; +case 310: + switch( (*p) ) { + case 32: goto tr1016; + case 42: goto tr1017; + case 46: goto tr1018; + case 59: goto tr1016; + case 92: goto st312; + case 95: goto tr1017; + } + if ( (*p) < 45 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1016; + } else if ( (*p) >= 9 ) + goto tr1016; + } else if ( (*p) > 57 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1017; + } else if ( (*p) >= 65 ) + goto tr1017; + } else + goto tr1017; + goto tr1011; +tr1016: + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + { + // Check for (relative + origin) dname length overflow. + if (s->dname_tmp_length + s->zone_origin_length <= ZS_MAX_DNAME_LENGTH) { + memcpy(s->dname + s->dname_tmp_length, + s->zone_origin, + s->zone_origin_length); + + s->dname_tmp_length += s->zone_origin_length; + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1408; +tr1020: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1408; +tr1027: + { + s->dname_tmp_length++; + } + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + { + // Check for (relative + origin) dname length overflow. + if (s->dname_tmp_length + s->zone_origin_length <= ZS_MAX_DNAME_LENGTH) { + memcpy(s->dname + s->dname_tmp_length, + s->zone_origin, + s->zone_origin_length); + + s->dname_tmp_length += s->zone_origin_length; + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1408; +tr1031: + { + // Copy already verified zone origin. + memcpy(s->dname, + s->zone_origin, + s->zone_origin_length); + + s->dname_tmp_length = s->zone_origin_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1408; +st1408: + if ( ++p == pe ) + goto _test_eof1408; +case 1408: + goto st0; +tr1018: + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + goto st311; +tr1029: + { + s->dname_tmp_length++; + } + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + goto st311; +st311: + if ( ++p == pe ) + goto _test_eof311; +case 311: + switch( (*p) ) { + case 32: goto tr1020; + case 42: goto tr1021; + case 45: goto tr1021; + case 59: goto tr1020; + case 92: goto tr1022; + case 95: goto tr1021; + } + if ( (*p) < 47 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1020; + } else if ( (*p) >= 9 ) + goto tr1020; + } else if ( (*p) > 57 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1021; + } else if ( (*p) >= 65 ) + goto tr1021; + } else + goto tr1021; + goto tr1011; +tr1015: + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st312; +tr1022: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st312; +tr1030: + { + s->dname_tmp_length++; + } + goto st312; +st312: + if ( ++p == pe ) + goto _test_eof312; +case 312: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1023; + goto tr1017; +tr1023: + { + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length] = 0; + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st313; +st313: + if ( ++p == pe ) + goto _test_eof313; +case 313: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1025; + goto tr1024; +tr1025: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st314; +st314: + if ( ++p == pe ) + goto _test_eof314; +case 314: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1026; + goto tr1024; +tr1026: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st315; +st315: + if ( ++p == pe ) + goto _test_eof315; +case 315: + switch( (*p) ) { + case 32: goto tr1027; + case 42: goto tr1028; + case 46: goto tr1029; + case 59: goto tr1027; + case 92: goto tr1030; + case 95: goto tr1028; + } + if ( (*p) < 45 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1027; + } else if ( (*p) >= 9 ) + goto tr1027; + } else if ( (*p) > 57 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1028; + } else if ( (*p) >= 65 ) + goto tr1028; + } else + goto tr1028; + goto tr1024; +tr1013: + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + goto st316; +st316: + if ( ++p == pe ) + goto _test_eof316; +case 316: + switch( (*p) ) { + case 32: goto tr1020; + case 59: goto tr1020; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1020; + } else if ( (*p) >= 9 ) + goto tr1020; + goto tr1011; +st317: + if ( ++p == pe ) + goto _test_eof317; +case 317: + switch( (*p) ) { + case 32: goto tr1031; + case 59: goto tr1031; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1031; + } else if ( (*p) >= 9 ) + goto tr1031; + goto tr1011; +st318: + if ( ++p == pe ) + goto _test_eof318; +case 318: + switch( (*p) ) { + case 34: goto st324; + case 92: goto st320; + } + if ( (*p) > 58 ) { + if ( 60 <= (*p) && (*p) <= 126 ) + goto tr1033; + } else if ( (*p) >= 33 ) + goto tr1033; + goto tr1032; +tr1033: + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st319; +tr1037: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st319; +tr1045: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st319; +st319: + if ( ++p == pe ) + goto _test_eof319; +case 319: + switch( (*p) ) { + case 32: goto tr1036; + case 33: goto tr1037; + case 59: goto tr1036; + case 92: goto tr1039; + } + if ( (*p) < 35 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1036; + } else if ( (*p) > 39 ) { + if ( (*p) > 41 ) { + if ( 42 <= (*p) && (*p) <= 126 ) + goto tr1037; + } else if ( (*p) >= 40 ) + goto tr1038; + } else + goto tr1037; + goto tr1032; +tr1036: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1409; +tr1044: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1409; +tr1057: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1409; +st1409: + if ( ++p == pe ) + goto _test_eof1409; +case 1409: + goto st0; +tr1038: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1410; +tr1046: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1410; +st1410: + if ( ++p == pe ) + goto _test_eof1410; +case 1410: + switch( (*p) ) { + case 32: goto tr1036; + case 33: goto tr1037; + case 59: goto tr1036; + case 92: goto tr1039; + } + if ( (*p) < 35 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1036; + } else if ( (*p) > 39 ) { + if ( (*p) > 41 ) { + if ( 42 <= (*p) && (*p) <= 126 ) + goto tr1037; + } else if ( (*p) >= 40 ) + goto tr1038; + } else + goto tr1037; + goto tr1032; +tr1039: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + goto st320; +tr1047: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + goto st320; +st320: + if ( ++p == pe ) + goto _test_eof320; +case 320: + if ( (*p) < 48 ) { + if ( 32 <= (*p) && (*p) <= 47 ) + goto tr1033; + } else if ( (*p) > 57 ) { + if ( 58 <= (*p) && (*p) <= 126 ) + goto tr1033; + } else + goto tr1041; + goto tr1040; +tr1041: + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *rdata_tail = 0; + s->item_length++; + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + ((*p) <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st321; +st321: + if ( ++p == pe ) + goto _test_eof321; +case 321: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1042; + goto tr1040; +tr1042: + { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + ((*p) <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st322; +st322: + if ( ++p == pe ) + goto _test_eof322; +case 322: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1043; + goto tr1040; +tr1043: + { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + ((*p) <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st323; +st323: + if ( ++p == pe ) + goto _test_eof323; +case 323: + switch( (*p) ) { + case 32: goto tr1044; + case 33: goto tr1045; + case 59: goto tr1044; + case 92: goto tr1047; + } + if ( (*p) < 35 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1044; + } else if ( (*p) > 39 ) { + if ( (*p) > 41 ) { + if ( 42 <= (*p) && (*p) <= 126 ) + goto tr1045; + } else if ( (*p) >= 40 ) + goto tr1046; + } else + goto tr1045; + goto tr1040; +tr1048: + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st324; +tr1052: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st324; +tr1061: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st324; +st324: + if ( ++p == pe ) + goto _test_eof324; +case 324: + _widec = (*p); + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1048; + case 32: goto tr1048; + case 34: goto st326; + case 59: goto tr1048; + case 92: goto st327; + case 1546: goto tr1048; + } + if ( 33 <= _widec && _widec <= 126 ) + goto tr1049; + goto tr1032; +tr1049: + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st325; +tr1053: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st325; +tr1062: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + goto st325; +st325: + if ( ++p == pe ) + goto _test_eof325; +case 325: + _widec = (*p); + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1052; + case 32: goto tr1052; + case 34: goto tr1054; + case 59: goto tr1052; + case 92: goto tr1055; + case 1546: goto tr1052; + } + if ( 33 <= _widec && _widec <= 126 ) + goto tr1053; + goto tr1032; +tr1054: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + goto st326; +tr1063: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + goto st326; +st326: + if ( ++p == pe ) + goto _test_eof326; +case 326: + switch( (*p) ) { + case 32: goto tr1057; + case 59: goto tr1057; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1057; + } else if ( (*p) >= 9 ) + goto tr1057; + goto tr1056; +tr1055: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + goto st327; +tr1064: + { + rdata_tail++; + } + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + goto st327; +st327: + if ( ++p == pe ) + goto _test_eof327; +case 327: + if ( (*p) < 48 ) { + if ( 32 <= (*p) && (*p) <= 47 ) + goto tr1049; + } else if ( (*p) > 57 ) { + if ( 58 <= (*p) && (*p) <= 126 ) + goto tr1049; + } else + goto tr1058; + goto tr1040; +tr1058: + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + + *rdata_tail = 0; + s->item_length++; + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + ((*p) <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st328; +st328: + if ( ++p == pe ) + goto _test_eof328; +case 328: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1059; + goto tr1040; +tr1059: + { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + ((*p) <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st329; +st329: + if ( ++p == pe ) + goto _test_eof329; +case 329: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1060; + goto tr1040; +tr1060: + { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + ((*p) <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st330; +st330: + if ( ++p == pe ) + goto _test_eof330; +case 330: + _widec = (*p); + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1061; + case 32: goto tr1061; + case 34: goto tr1063; + case 59: goto tr1061; + case 92: goto tr1064; + case 1546: goto tr1061; + } + if ( 33 <= _widec && _widec <= 126 ) + goto tr1062; + goto tr1040; +st331: + if ( ++p == pe ) + goto _test_eof331; +case 331: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st332; + case 32: goto st332; + case 40: goto tr1067; + case 41: goto tr1068; + case 2058: goto tr1069; + case 2107: goto tr1070; + } + goto tr1065; +tr1067: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st332; +tr1068: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st332; +tr1069: + { + s->line_counter++; + } + goto st332; +tr1108: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 332; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st332; +st332: + if ( ++p == pe ) + goto _test_eof332; +case 332: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st332; + case 32: goto st332; + case 40: goto tr1067; + case 41: goto tr1068; + case 2058: goto tr1069; + case 2107: goto tr1070; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1072; + goto tr1071; +tr1072: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st333; +tr1077: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st333; +st333: + if ( ++p == pe ) + goto _test_eof333; +case 333: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1074; + case 32: goto tr1074; + case 40: goto tr1075; + case 41: goto tr1076; + case 68: goto tr1078; + case 72: goto tr1079; + case 77: goto tr1080; + case 83: goto st336; + case 87: goto tr1082; + case 100: goto tr1078; + case 104: goto tr1079; + case 109: goto tr1080; + case 115: goto st336; + case 119: goto tr1082; + case 1802: goto tr1083; + case 1851: goto tr1084; + case 2058: goto tr1083; + case 2107: goto tr1084; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1077; + goto tr1073; +tr1087: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st334; +tr1088: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st334; +tr1074: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st334; +tr1075: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st334; +tr1076: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st334; +tr1101: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st334; +tr1102: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st334; +tr1103: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st334; +st334: + if ( ++p == pe ) + goto _test_eof334; +case 334: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st334; + case 32: goto st334; + case 40: goto tr1087; + case 41: goto tr1088; + case 1802: goto tr1089; + case 1851: goto tr1090; + case 2058: goto tr1089; + case 2107: goto tr1090; + } + goto tr1085; +tr1083: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1411; +tr1089: + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1411; +tr1092: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1411; goto _out;} + } + } + } + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1411; +tr1105: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1411; +st1411: + if ( ++p == pe ) + goto _test_eof1411; +case 1411: + goto st0; +tr1090: + { + s->buffer_length = 0; + } + goto st335; +tr1084: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st335; +tr1091: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st335; +tr1106: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st335; +st335: + if ( ++p == pe ) + goto _test_eof335; +case 335: + if ( (*p) == 10 ) + goto tr1092; + goto tr1091; +tr1078: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st336; +tr1079: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st336; +tr1080: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st336; +tr1082: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st336; +st336: + if ( ++p == pe ) + goto _test_eof336; +case 336: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1074; + case 32: goto tr1074; + case 40: goto tr1075; + case 41: goto tr1076; + case 1802: goto tr1083; + case 1851: goto tr1084; + case 2058: goto tr1083; + case 2107: goto tr1084; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1093; + goto tr1073; +tr1095: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st337; +tr1093: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st337; +tr1104: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st337; +st337: + if ( ++p == pe ) + goto _test_eof337; +case 337: + switch( (*p) ) { + case 68: goto tr1096; + case 72: goto tr1097; + case 77: goto tr1098; + case 83: goto st338; + case 87: goto tr1100; + case 100: goto tr1096; + case 104: goto tr1097; + case 109: goto tr1098; + case 115: goto st338; + case 119: goto tr1100; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1095; + goto tr1094; +tr1096: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st338; +tr1097: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st338; +tr1098: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st338; +tr1100: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st338; +st338: + if ( ++p == pe ) + goto _test_eof338; +case 338: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1101; + case 32: goto tr1101; + case 40: goto tr1102; + case 41: goto tr1103; + case 1802: goto tr1105; + case 1851: goto tr1106; + case 2058: goto tr1105; + case 2107: goto tr1106; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1104; + goto tr1073; +tr1070: + { + s->buffer_length = 0; + } + goto st339; +tr1107: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st339; +st339: + if ( ++p == pe ) + goto _test_eof339; +case 339: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1108; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1107; + goto tr1065; +st340: + if ( ++p == pe ) + goto _test_eof340; +case 340: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st341; + case 32: goto st341; + case 40: goto tr1111; + case 41: goto tr1112; + case 2058: goto tr1113; + case 2107: goto tr1114; + } + goto tr1109; +tr1111: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st341; +tr1112: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st341; +tr1113: + { + s->line_counter++; + } + goto st341; +tr1144: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 341; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st341; +st341: + if ( ++p == pe ) + goto _test_eof341; +case 341: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st341; + case 32: goto st341; + case 40: goto tr1111; + case 41: goto tr1112; + case 42: goto tr1115; + case 46: goto tr1116; + case 92: goto tr1117; + case 95: goto tr1115; + case 2058: goto tr1113; + case 2107: goto tr1114; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1115; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1115; + } else + goto tr1115; + goto tr1109; +tr1118: + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st342; +tr1125: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st342; +tr1140: + { + s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st342; +tr1115: + { + s->dname = s->zone_origin; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st342; +st342: + if ( ++p == pe ) + goto _test_eof342; +case 342: + switch( (*p) ) { + case 42: goto tr1118; + case 46: goto tr1119; + case 92: goto st346; + case 95: goto tr1118; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1118; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1118; + } else + goto tr1118; + goto tr1109; +tr1119: + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + goto st343; +tr1141: + { + s->dname_tmp_length++; + } + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + goto st343; +st343: + if ( ++p == pe ) + goto _test_eof343; +case 343: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1122; + case 32: goto tr1122; + case 40: goto tr1123; + case 41: goto tr1124; + case 42: goto tr1125; + case 45: goto tr1125; + case 92: goto tr1126; + case 95: goto tr1125; + case 1802: goto tr1127; + case 1851: goto tr1128; + case 2058: goto tr1127; + case 2107: goto tr1128; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1125; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1125; + } else + goto tr1125; + goto tr1121; +tr1130: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st344; +tr1131: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st344; +tr1122: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st344; +tr1123: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st344; +tr1124: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st344; +st344: + if ( ++p == pe ) + goto _test_eof344; +case 344: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st344; + case 32: goto st344; + case 40: goto tr1130; + case 41: goto tr1131; + case 1802: goto tr1132; + case 1851: goto tr1133; + case 2058: goto tr1132; + case 2107: goto tr1133; + } + goto tr1121; +tr1127: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->zone_origin_length = s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1412; +tr1132: + { + s->zone_origin_length = s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1412; +tr1135: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1412; goto _out;} + } + } + } + { + s->zone_origin_length = s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1412; +st1412: + if ( ++p == pe ) + goto _test_eof1412; +case 1412: + goto st0; +tr1133: + { + s->buffer_length = 0; + } + goto st345; +tr1134: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st345; +tr1128: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st345; +st345: + if ( ++p == pe ) + goto _test_eof345; +case 345: + if ( (*p) == 10 ) + goto tr1135; + goto tr1134; +tr1126: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st346; +tr1142: + { + s->dname_tmp_length++; + } + goto st346; +tr1117: + { + s->dname = s->zone_origin; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st346; +st346: + if ( ++p == pe ) + goto _test_eof346; +case 346: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1136; + goto tr1118; +tr1136: + { + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length] = 0; + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st347; +st347: + if ( ++p == pe ) + goto _test_eof347; +case 347: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1138; + goto tr1137; +tr1138: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st348; +st348: + if ( ++p == pe ) + goto _test_eof348; +case 348: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1139; + goto tr1137; +tr1139: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st349; +st349: + if ( ++p == pe ) + goto _test_eof349; +case 349: + switch( (*p) ) { + case 42: goto tr1140; + case 46: goto tr1141; + case 92: goto tr1142; + case 95: goto tr1140; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1140; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1140; + } else + goto tr1140; + goto tr1137; +tr1116: + { + s->dname = s->zone_origin; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + goto st350; +st350: + if ( ++p == pe ) + goto _test_eof350; +case 350: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1122; + case 32: goto tr1122; + case 40: goto tr1123; + case 41: goto tr1124; + case 1802: goto tr1127; + case 1851: goto tr1128; + case 2058: goto tr1127; + case 2107: goto tr1128; + } + goto tr1121; +tr1114: + { + s->buffer_length = 0; + } + goto st351; +tr1143: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st351; +st351: + if ( ++p == pe ) + goto _test_eof351; +case 351: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1144; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1143; + goto tr1109; +st352: + if ( ++p == pe ) + goto _test_eof352; +case 352: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st353; + case 32: goto st353; + case 40: goto tr1146; + case 41: goto tr1147; + case 2058: goto tr1148; + case 2107: goto tr1149; + } + goto st0; +tr1146: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st353; +tr1147: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st353; +tr1148: + { + s->line_counter++; + } + goto st353; +tr1202: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 353; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st353; +st353: + if ( ++p == pe ) + goto _test_eof353; +case 353: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st353; + case 32: goto st353; + case 40: goto tr1146; + case 41: goto tr1147; + case 2058: goto tr1148; + case 2107: goto tr1149; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr1150; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr1150; + } else + goto tr1150; + goto tr1151; +tr1150: + { + rdata_tail = s->r_data; + } + { p--; {stack[top++] = 354;goto st318;} } + goto st354; +st354: + if ( ++p == pe ) + goto _test_eof354; +case 354: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1153; + case 32: goto tr1153; + case 40: goto tr1154; + case 41: goto tr1155; + case 1802: goto tr1156; + case 1851: goto tr1157; + case 2058: goto tr1156; + case 2107: goto tr1158; + } + goto tr1152; +tr1161: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st355; +tr1162: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st355; +tr1153: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st355; +tr1154: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st355; +tr1155: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st355; +st355: + if ( ++p == pe ) + goto _test_eof355; +case 355: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st355; + case 32: goto st355; + case 40: goto tr1161; + case 41: goto tr1162; + case 42: goto tr1163; + case 46: goto tr1164; + case 92: goto tr1165; + case 95: goto tr1163; + case 1802: goto tr1166; + case 1851: goto tr1167; + case 2058: goto tr1166; + case 2107: goto tr1168; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1163; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1163; + } else + goto tr1163; + goto tr1159; +tr1170: + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st356; +tr1176: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st356; +tr1189: + { + s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st356; +tr1163: + { + s->dname = s->r_data; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + goto st356; +st356: + if ( ++p == pe ) + goto _test_eof356; +case 356: + switch( (*p) ) { + case 42: goto tr1170; + case 46: goto tr1171; + case 92: goto st360; + case 95: goto tr1170; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1170; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1170; + } else + goto tr1170; + goto tr1169; +tr1171: + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + goto st357; +tr1190: + { + s->dname_tmp_length++; + } + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {goto st307;} + } + } + goto st357; +st357: + if ( ++p == pe ) + goto _test_eof357; +case 357: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1173; + case 32: goto tr1173; + case 40: goto tr1174; + case 41: goto tr1175; + case 42: goto tr1176; + case 45: goto tr1176; + case 92: goto tr1177; + case 95: goto tr1176; + case 1802: goto tr1178; + case 1851: goto tr1179; + case 2058: goto tr1178; + case 2107: goto tr1179; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1176; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1176; + } else + goto tr1176; + goto tr1159; +tr1181: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st358; +tr1182: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st358; +tr1173: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->r_data_length = s->dname_tmp_length; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st358; +tr1174: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->r_data_length = s->dname_tmp_length; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st358; +tr1175: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->r_data_length = s->dname_tmp_length; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st358; +st358: + if ( ++p == pe ) + goto _test_eof358; +case 358: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st358; + case 32: goto st358; + case 40: goto tr1181; + case 41: goto tr1182; + case 1802: goto tr1166; + case 1851: goto tr1167; + case 2058: goto tr1166; + case 2107: goto tr1167; + } + goto tr89; +tr1156: + cs = 1413; + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + // Extend relative file path. + if (s->include_filename[0] != '/') { + int ret = snprintf((char *)(s->buffer), sizeof(s->buffer), + "%s/%s", s->path, s->include_filename); + if (ret <= 0 || ret >= sizeof(s->buffer)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + memcpy(s->include_filename, s->buffer, ret + 1); + } + + // Origin conversion from wire to text form in \DDD notation. + if (s->dname == NULL) { // Use current origin. + wire_dname_to_str(s->zone_origin, + s->zone_origin_length, + (char *)s->buffer); + } else { // Use specified origin. + wire_dname_to_str(s->r_data, + s->r_data_length, + (char *)s->buffer); + } + + // Let the caller to solve the include. + if (s->process.automatic) { + // Create new scanner for included zone file. + zs_scanner_t *ss = malloc(sizeof(zs_scanner_t)); + if (ss == NULL) { + ERR(ZS_UNPROCESSED_INCLUDE); + p--; {goto st307;} + } + + // Parse included zone file. + if (zs_init(ss, (char *)s->buffer, s->default_class, + s->default_ttl) != 0 || + zs_set_input_file(ss, (char *)(s->include_filename)) != 0 || + zs_set_processing(ss, s->process.record, s->process.error, + s->process.data) != 0 || + zs_parse_all(ss) != 0) { + // File internal errors are handled by error callback. + if (ss->error.counter > 0) { + s->error.counter += ss->error.counter; + ERR(ZS_UNPROCESSED_INCLUDE); + // General include file error. + } else { + ERR(ss->error.code); + } + zs_deinit(ss); + free(ss); + p--; {goto st307;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1396; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +tr1166: + cs = 1413; + { + // Extend relative file path. + if (s->include_filename[0] != '/') { + int ret = snprintf((char *)(s->buffer), sizeof(s->buffer), + "%s/%s", s->path, s->include_filename); + if (ret <= 0 || ret >= sizeof(s->buffer)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + memcpy(s->include_filename, s->buffer, ret + 1); + } + + // Origin conversion from wire to text form in \DDD notation. + if (s->dname == NULL) { // Use current origin. + wire_dname_to_str(s->zone_origin, + s->zone_origin_length, + (char *)s->buffer); + } else { // Use specified origin. + wire_dname_to_str(s->r_data, + s->r_data_length, + (char *)s->buffer); + } + + // Let the caller to solve the include. + if (s->process.automatic) { + // Create new scanner for included zone file. + zs_scanner_t *ss = malloc(sizeof(zs_scanner_t)); + if (ss == NULL) { + ERR(ZS_UNPROCESSED_INCLUDE); + p--; {goto st307;} + } + + // Parse included zone file. + if (zs_init(ss, (char *)s->buffer, s->default_class, + s->default_ttl) != 0 || + zs_set_input_file(ss, (char *)(s->include_filename)) != 0 || + zs_set_processing(ss, s->process.record, s->process.error, + s->process.data) != 0 || + zs_parse_all(ss) != 0) { + // File internal errors are handled by error callback. + if (ss->error.counter > 0) { + s->error.counter += ss->error.counter; + ERR(ZS_UNPROCESSED_INCLUDE); + // General include file error. + } else { + ERR(ss->error.code); + } + zs_deinit(ss); + free(ss); + p--; {goto st307;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1396; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +tr1178: + cs = 1413; + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->r_data_length = s->dname_tmp_length; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + // Extend relative file path. + if (s->include_filename[0] != '/') { + int ret = snprintf((char *)(s->buffer), sizeof(s->buffer), + "%s/%s", s->path, s->include_filename); + if (ret <= 0 || ret >= sizeof(s->buffer)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + memcpy(s->include_filename, s->buffer, ret + 1); + } + + // Origin conversion from wire to text form in \DDD notation. + if (s->dname == NULL) { // Use current origin. + wire_dname_to_str(s->zone_origin, + s->zone_origin_length, + (char *)s->buffer); + } else { // Use specified origin. + wire_dname_to_str(s->r_data, + s->r_data_length, + (char *)s->buffer); + } + + // Let the caller to solve the include. + if (s->process.automatic) { + // Create new scanner for included zone file. + zs_scanner_t *ss = malloc(sizeof(zs_scanner_t)); + if (ss == NULL) { + ERR(ZS_UNPROCESSED_INCLUDE); + p--; {goto st307;} + } + + // Parse included zone file. + if (zs_init(ss, (char *)s->buffer, s->default_class, + s->default_ttl) != 0 || + zs_set_input_file(ss, (char *)(s->include_filename)) != 0 || + zs_set_processing(ss, s->process.record, s->process.error, + s->process.data) != 0 || + zs_parse_all(ss) != 0) { + // File internal errors are handled by error callback. + if (ss->error.counter > 0) { + s->error.counter += ss->error.counter; + ERR(ZS_UNPROCESSED_INCLUDE); + // General include file error. + } else { + ERR(ss->error.code); + } + zs_deinit(ss); + free(ss); + p--; {goto st307;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1396; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +tr1184: + cs = 1413; + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; goto _out;} + } + } + } + { + // Extend relative file path. + if (s->include_filename[0] != '/') { + int ret = snprintf((char *)(s->buffer), sizeof(s->buffer), + "%s/%s", s->path, s->include_filename); + if (ret <= 0 || ret >= sizeof(s->buffer)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + memcpy(s->include_filename, s->buffer, ret + 1); + } + + // Origin conversion from wire to text form in \DDD notation. + if (s->dname == NULL) { // Use current origin. + wire_dname_to_str(s->zone_origin, + s->zone_origin_length, + (char *)s->buffer); + } else { // Use specified origin. + wire_dname_to_str(s->r_data, + s->r_data_length, + (char *)s->buffer); + } + + // Let the caller to solve the include. + if (s->process.automatic) { + // Create new scanner for included zone file. + zs_scanner_t *ss = malloc(sizeof(zs_scanner_t)); + if (ss == NULL) { + ERR(ZS_UNPROCESSED_INCLUDE); + p--; {goto st307;} + } + + // Parse included zone file. + if (zs_init(ss, (char *)s->buffer, s->default_class, + s->default_ttl) != 0 || + zs_set_input_file(ss, (char *)(s->include_filename)) != 0 || + zs_set_processing(ss, s->process.record, s->process.error, + s->process.data) != 0 || + zs_parse_all(ss) != 0) { + // File internal errors are handled by error callback. + if (ss->error.counter > 0) { + s->error.counter += ss->error.counter; + ERR(ZS_UNPROCESSED_INCLUDE); + // General include file error. + } else { + ERR(ss->error.code); + } + zs_deinit(ss); + free(ss); + p--; {goto st307;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1396; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +st1413: + if ( ++p == pe ) + goto _test_eof1413; +case 1413: + goto st0; +tr1167: + { + s->buffer_length = 0; + } + goto st359; +tr1183: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st359; +tr1157: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st359; +tr1179: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + s->r_data_length = s->dname_tmp_length; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st359; +st359: + if ( ++p == pe ) + goto _test_eof359; +case 359: + if ( (*p) == 10 ) + goto tr1184; + goto tr1183; +tr1177: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st360; +tr1191: + { + s->dname_tmp_length++; + } + goto st360; +tr1165: + { + s->dname = s->r_data; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st360; +st360: + if ( ++p == pe ) + goto _test_eof360; +case 360: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1185; + goto tr1170; +tr1185: + { + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length] = 0; + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {goto st307;} + } + } + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st361; +st361: + if ( ++p == pe ) + goto _test_eof361; +case 361: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1187; + goto tr1186; +tr1187: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st362; +st362: + if ( ++p == pe ) + goto _test_eof362; +case 362: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1188; + goto tr1186; +tr1188: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st363; +st363: + if ( ++p == pe ) + goto _test_eof363; +case 363: + switch( (*p) ) { + case 42: goto tr1189; + case 46: goto tr1190; + case 92: goto tr1191; + case 95: goto tr1189; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1189; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1189; + } else + goto tr1189; + goto tr1186; +tr1164: + { + s->dname = s->r_data; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + goto st364; +st364: + if ( ++p == pe ) + goto _test_eof364; +case 364: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1173; + case 32: goto tr1173; + case 40: goto tr1174; + case 41: goto tr1175; + case 1802: goto tr1178; + case 1851: goto tr1179; + case 2058: goto tr1178; + case 2107: goto tr1179; + } + goto tr1159; +tr1168: + { + s->buffer_length = 0; + } + goto st365; +tr1192: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st365; +tr1158: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st365; +st365: + if ( ++p == pe ) + goto _test_eof365; +case 365: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1802: goto tr1184; + case 2058: goto tr1193; + } + if ( _widec > 1919 ) { + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1192; + } else if ( _widec >= 1664 ) + goto tr1183; + goto tr89; +tr1193: + cs = 1414; + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; goto _out;} + } + } + } + { + s->line_counter++; + } + { + // Extend relative file path. + if (s->include_filename[0] != '/') { + int ret = snprintf((char *)(s->buffer), sizeof(s->buffer), + "%s/%s", s->path, s->include_filename); + if (ret <= 0 || ret >= sizeof(s->buffer)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st307;} + } + memcpy(s->include_filename, s->buffer, ret + 1); + } + + // Origin conversion from wire to text form in \DDD notation. + if (s->dname == NULL) { // Use current origin. + wire_dname_to_str(s->zone_origin, + s->zone_origin_length, + (char *)s->buffer); + } else { // Use specified origin. + wire_dname_to_str(s->r_data, + s->r_data_length, + (char *)s->buffer); + } + + // Let the caller to solve the include. + if (s->process.automatic) { + // Create new scanner for included zone file. + zs_scanner_t *ss = malloc(sizeof(zs_scanner_t)); + if (ss == NULL) { + ERR(ZS_UNPROCESSED_INCLUDE); + p--; {goto st307;} + } + + // Parse included zone file. + if (zs_init(ss, (char *)s->buffer, s->default_class, + s->default_ttl) != 0 || + zs_set_input_file(ss, (char *)(s->include_filename)) != 0 || + zs_set_processing(ss, s->process.record, s->process.error, + s->process.data) != 0 || + zs_parse_all(ss) != 0) { + // File internal errors are handled by error callback. + if (ss->error.counter > 0) { + s->error.counter += ss->error.counter; + ERR(ZS_UNPROCESSED_INCLUDE); + // General include file error. + } else { + ERR(ss->error.code); + } + zs_deinit(ss); + free(ss); + p--; {goto st307;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1396; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto _again; +st1414: + if ( ++p == pe ) + goto _test_eof1414; +case 1414: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st366; + case 32: goto st366; + case 40: goto tr1195; + case 41: goto tr1196; + case 42: goto tr1163; + case 46: goto tr1164; + case 92: goto tr1165; + case 95: goto tr1163; + case 2058: goto tr1197; + case 2107: goto tr1198; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1163; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1163; + } else + goto tr1163; + goto tr1169; +tr1195: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st366; +tr1196: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st366; +tr1197: + { + s->line_counter++; + } + goto st366; +tr1200: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 366; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st366; +st366: + if ( ++p == pe ) + goto _test_eof366; +case 366: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st366; + case 32: goto st366; + case 40: goto tr1195; + case 41: goto tr1196; + case 42: goto tr1163; + case 46: goto tr1164; + case 92: goto tr1165; + case 95: goto tr1163; + case 2058: goto tr1197; + case 2107: goto tr1198; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1163; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1163; + } else + goto tr1163; + goto tr1169; +tr1198: + { + s->buffer_length = 0; + } + goto st367; +tr1199: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st367; +st367: + if ( ++p == pe ) + goto _test_eof367; +case 367: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1200; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1199; + goto st0; +tr1149: + { + s->buffer_length = 0; + } + goto st368; +tr1201: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st368; +st368: + if ( ++p == pe ) + goto _test_eof368; +case 368: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1202; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1201; + goto st0; +st369: + if ( ++p == pe ) + goto _test_eof369; +case 369: + if ( (*p) == 43 ) + goto tr1204; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1204; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1204; + } else + goto tr1204; + goto tr1203; +tr1204: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st370; +st370: + if ( ++p == pe ) + goto _test_eof370; +case 370: + if ( (*p) == 43 ) + goto tr1205; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1205; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1205; + } else + goto tr1205; + goto tr1203; +tr1205: + { + *(rdata_tail++) += second_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st371; +st371: + if ( ++p == pe ) + goto _test_eof371; +case 371: + switch( (*p) ) { + case 43: goto tr1206; + case 61: goto st375; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1206; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1206; + } else + goto tr1206; + goto tr1203; +tr1206: + { + *(rdata_tail++) += third_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = third_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st372; +st372: + if ( ++p == pe ) + goto _test_eof372; +case 372: + switch( (*p) ) { + case 43: goto tr1208; + case 61: goto st373; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1208; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1208; + } else + goto tr1208; + goto tr1203; +tr1210: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st373; +tr1211: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st373; +tr1212: + { + s->line_counter++; + } + goto st373; +tr1218: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 373; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st373; +tr1208: + { + *(rdata_tail++) += fourth_base64_to_num[(uint8_t)(*p)]; + } + goto st373; +st373: + if ( ++p == pe ) + goto _test_eof373; +case 373: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st373; + case 32: goto st373; + case 40: goto tr1210; + case 41: goto tr1211; + case 43: goto tr1204; + case 3082: goto tr1212; + case 3131: goto tr1213; + case 3338: goto tr1214; + case 3387: goto tr1214; + case 3594: goto tr1215; + case 3643: goto tr1216; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1204; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1204; + } else + goto tr1204; + goto tr1203; +tr1213: + { + s->buffer_length = 0; + } + goto st374; +tr1217: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st374; +st374: + if ( ++p == pe ) + goto _test_eof374; +case 374: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1218; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1217; + goto tr1203; +tr1214: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1415; +st1415: + if ( ++p == pe ) + goto _test_eof1415; +case 1415: + goto st0; +tr1215: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1416; +st1416: + if ( ++p == pe ) + goto _test_eof1416; +case 1416: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st373; + case 32: goto st373; + case 40: goto tr1210; + case 41: goto tr1211; + case 43: goto tr1204; + case 3082: goto tr1212; + case 3131: goto tr1213; + case 3338: goto tr1214; + case 3387: goto tr1214; + case 3594: goto tr1215; + case 3643: goto tr1216; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1204; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1204; + } else + goto tr1204; + goto tr1203; +tr1216: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1417; +st1417: + if ( ++p == pe ) + goto _test_eof1417; +case 1417: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1218; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1217; + goto tr1203; +st375: + if ( ++p == pe ) + goto _test_eof375; +case 375: + if ( (*p) == 61 ) + goto st373; + goto tr1203; +st376: + if ( ++p == pe ) + goto _test_eof376; +case 376: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1220; + case 32: goto tr1220; + case 40: goto tr1221; + case 41: goto tr1222; + case 3082: goto tr1223; + case 3131: goto tr1224; + case 3338: goto tr1225; + case 3387: goto tr1225; + case 3594: goto tr1226; + case 3643: goto tr1227; + } + goto tr1219; +tr1229: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1230: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1248: + { + s->line_counter++; + } + goto st377; +tr1275: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 377; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st377; +tr1220: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + goto st377; +tr1221: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1222: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1223: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + s->line_counter++; + } + goto st377; +tr1253: + { window_add_bit(KNOT_RRTYPE_A, s); } + goto st377; +tr1254: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1255: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1259: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + s->line_counter++; + } + goto st377; +tr1266: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + goto st377; +tr1267: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1268: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1269: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + s->line_counter++; + } + goto st377; +tr1282: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + goto st377; +tr1283: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1284: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1285: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + s->line_counter++; + } + goto st377; +tr1296: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + goto st377; +tr1297: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1298: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1299: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + s->line_counter++; + } + goto st377; +tr1304: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + goto st377; +tr1305: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1306: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1307: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + s->line_counter++; + } + goto st377; +tr1314: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + goto st377; +tr1315: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1316: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1317: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + s->line_counter++; + } + goto st377; +tr1325: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + goto st377; +tr1326: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1327: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1328: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + s->line_counter++; + } + goto st377; +tr1336: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + goto st377; +tr1337: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1338: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1339: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + { + s->line_counter++; + } + goto st377; +tr1350: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + goto st377; +tr1351: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1352: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1353: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + s->line_counter++; + } + goto st377; +tr1362: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + goto st377; +tr1363: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1364: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1365: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + s->line_counter++; + } + goto st377; +tr1373: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + goto st377; +tr1374: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1375: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1376: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + s->line_counter++; + } + goto st377; +tr1381: + { window_add_bit(KNOT_RRTYPE_DS, s); } + goto st377; +tr1382: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1383: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1384: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + s->line_counter++; + } + goto st377; +tr1394: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + goto st377; +tr1395: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1396: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1397: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + s->line_counter++; + } + goto st377; +tr1403: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + goto st377; +tr1404: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1405: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1406: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + s->line_counter++; + } + goto st377; +tr1416: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + goto st377; +tr1417: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1418: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1419: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + s->line_counter++; + } + goto st377; +tr1427: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + goto st377; +tr1428: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1429: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1430: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + { + s->line_counter++; + } + goto st377; +tr1442: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + goto st377; +tr1443: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1444: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1445: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + s->line_counter++; + } + goto st377; +tr1453: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + goto st377; +tr1454: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1455: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1456: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + s->line_counter++; + } + goto st377; +tr1461: + { window_add_bit(KNOT_RRTYPE_KX, s); } + goto st377; +tr1462: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1463: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1464: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + s->line_counter++; + } + goto st377; +tr1474: + { window_add_bit(KNOT_RRTYPE_L32, s); } + goto st377; +tr1475: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1476: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1477: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + s->line_counter++; + } + goto st377; +tr1483: + { window_add_bit(KNOT_RRTYPE_L64, s); } + goto st377; +tr1484: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1485: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1486: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + s->line_counter++; + } + goto st377; +tr1492: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + goto st377; +tr1493: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1494: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1495: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + s->line_counter++; + } + goto st377; +tr1500: + { window_add_bit(KNOT_RRTYPE_LP, s); } + goto st377; +tr1501: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1502: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1503: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + s->line_counter++; + } + goto st377; +tr1513: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + goto st377; +tr1514: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1515: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1516: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + s->line_counter++; + } + goto st377; +tr1521: + { window_add_bit(KNOT_RRTYPE_MX, s); } + goto st377; +tr1522: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1523: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1524: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + s->line_counter++; + } + goto st377; +tr1535: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + goto st377; +tr1536: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1537: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1538: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + s->line_counter++; + } + goto st377; +tr1544: + { window_add_bit(KNOT_RRTYPE_NID, s); } + goto st377; +tr1545: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1546: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1547: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + s->line_counter++; + } + goto st377; +tr1552: + { window_add_bit(KNOT_RRTYPE_NS, s); } + goto st377; +tr1553: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1554: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1556: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + s->line_counter++; + } + goto st377; +tr1562: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + goto st377; +tr1563: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1564: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1566: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + s->line_counter++; + } + goto st377; +tr1571: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + goto st377; +tr1572: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1573: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1575: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + s->line_counter++; + } + goto st377; +tr1584: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + goto st377; +tr1585: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1586: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1587: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + s->line_counter++; + } + goto st377; +tr1601: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + goto st377; +tr1602: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1603: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1604: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + { + s->line_counter++; + } + goto st377; +tr1611: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + goto st377; +tr1612: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1613: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1614: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + s->line_counter++; + } + goto st377; +tr1622: + { window_add_bit(KNOT_RRTYPE_RP, s); } + goto st377; +tr1623: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1624: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1625: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + s->line_counter++; + } + goto st377; +tr1633: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + goto st377; +tr1634: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1635: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1636: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + s->line_counter++; + } + goto st377; +tr1641: + { window_add_bit(KNOT_RRTYPE_RT, s); } + goto st377; +tr1642: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1643: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1644: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + s->line_counter++; + } + goto st377; +tr1659: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + goto st377; +tr1660: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1661: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1662: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + { + s->line_counter++; + } + goto st377; +tr1668: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + goto st377; +tr1669: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1670: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1671: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + s->line_counter++; + } + goto st377; +tr1677: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + goto st377; +tr1678: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1679: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1680: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + s->line_counter++; + } + goto st377; +tr1686: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + goto st377; +tr1687: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1688: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1689: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + s->line_counter++; + } + goto st377; +tr1697: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + goto st377; +tr1698: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1699: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1700: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + s->line_counter++; + } + goto st377; +tr1707: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + goto st377; +tr1708: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1709: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1710: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + { + s->line_counter++; + } + goto st377; +tr1720: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + goto st377; +tr1721: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1722: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1723: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + s->line_counter++; + } + goto st377; +tr1729: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + goto st377; +tr1730: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1731: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1732: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + s->line_counter++; + } + goto st377; +tr1740: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st377; +tr1741: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1742: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1744: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st377; +tr1751: + { window_add_bit(KNOT_RRTYPE_URI, s); } + goto st377; +tr1752: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1753: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1754: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + s->line_counter++; + } + goto st377; +tr1764: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + goto st377; +tr1765: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1766: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1767: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + { + s->line_counter++; + } + goto st377; +tr1775: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + goto st377; +tr1776: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1777: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1778: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + s->line_counter++; + } + goto st377; +tr1784: + { window_add_bit(KNOT_RRTYPE_APL, s); } + goto st377; +tr1785: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st377; +tr1786: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st377; +tr1787: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + s->line_counter++; + } + goto st377; +st377: + if ( ++p == pe ) + goto _test_eof377; +case 377: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st377; + case 32: goto st377; + case 40: goto tr1229; + case 41: goto tr1230; + case 65: goto st378; + case 67: goto st383; + case 68: goto st404; + case 69: goto st418; + case 72: goto st425; + case 73: goto st434; + case 75: goto st442; + case 76: goto st446; + case 77: goto st454; + case 78: goto st460; + case 79: goto st476; + case 80: goto st486; + case 82: goto st489; + case 83: goto st496; + case 84: goto st515; + case 85: goto st525; + case 90: goto st528; + case 97: goto st378; + case 99: goto st383; + case 100: goto st404; + case 101: goto st418; + case 104: goto st425; + case 105: goto st434; + case 107: goto st442; + case 108: goto st446; + case 109: goto st454; + case 110: goto st460; + case 111: goto st476; + case 112: goto st486; + case 114: goto st489; + case 115: goto st496; + case 116: goto st515; + case 117: goto st525; + case 122: goto st528; + case 3082: goto tr1248; + case 3131: goto tr1249; + case 3338: goto tr1250; + case 3387: goto tr1250; + case 3594: goto tr1251; + case 3643: goto tr1252; + } + goto tr1219; +st378: + if ( ++p == pe ) + goto _test_eof378; +case 378: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1253; + case 32: goto tr1253; + case 40: goto tr1254; + case 41: goto tr1255; + case 65: goto st379; + case 70: goto st534; + case 80: goto st538; + case 97: goto st379; + case 102: goto st534; + case 112: goto st538; + case 3082: goto tr1259; + case 3131: goto tr1260; + case 3338: goto tr1261; + case 3387: goto tr1261; + case 3594: goto tr1262; + case 3643: goto tr1263; + } + goto tr1219; +st379: + if ( ++p == pe ) + goto _test_eof379; +case 379: + switch( (*p) ) { + case 65: goto st380; + case 97: goto st380; + } + goto tr1219; +st380: + if ( ++p == pe ) + goto _test_eof380; +case 380: + switch( (*p) ) { + case 65: goto st381; + case 97: goto st381; + } + goto tr1219; +st381: + if ( ++p == pe ) + goto _test_eof381; +case 381: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1266; + case 32: goto tr1266; + case 40: goto tr1267; + case 41: goto tr1268; + case 3082: goto tr1269; + case 3131: goto tr1270; + case 3338: goto tr1271; + case 3387: goto tr1271; + case 3594: goto tr1272; + case 3643: goto tr1273; + } + goto tr1219; +tr1249: + { + s->buffer_length = 0; + } + goto st382; +tr1274: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st382; +tr1224: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + s->buffer_length = 0; + } + goto st382; +tr1260: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1270: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1286: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1300: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1308: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1318: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1329: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1340: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1354: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1366: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1377: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1385: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1398: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1407: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1420: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1431: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1446: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1457: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1465: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1478: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1487: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1496: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1504: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1517: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1525: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1539: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1548: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1557: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1567: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1576: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1588: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1605: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1615: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1626: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1637: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1645: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1663: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1672: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1681: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1690: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1701: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1711: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1724: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1733: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1745: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st382; +tr1755: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1768: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1779: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + s->buffer_length = 0; + } + goto st382; +tr1788: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + s->buffer_length = 0; + } + goto st382; +st382: + if ( ++p == pe ) + goto _test_eof382; +case 382: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1275; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1274; + goto tr1219; +tr1225: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1250: + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1261: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1271: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1287: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1301: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1309: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1319: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1330: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1341: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1355: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1367: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1378: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1386: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1399: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1408: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1421: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1432: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1447: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1458: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1466: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1479: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1488: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1497: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1505: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1518: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1526: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1540: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1549: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1558: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1568: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1577: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1589: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1606: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1616: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1627: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1638: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1646: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1664: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1673: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1682: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1691: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1702: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1712: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1725: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1734: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1746: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1756: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1769: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1780: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +tr1789: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1418; +st1418: + if ( ++p == pe ) + goto _test_eof1418; +case 1418: + goto st0; +tr1226: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1251: + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1262: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1272: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1288: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1302: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1310: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1320: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1331: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1342: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1356: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1368: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1379: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1387: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1400: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1409: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1422: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1433: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1448: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1459: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1467: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1480: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1489: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1498: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1506: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1519: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1527: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1541: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1550: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1559: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1569: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1578: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1590: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1607: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1617: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1628: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1639: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1647: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1665: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1674: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1683: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1692: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1703: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1713: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1726: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1735: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1747: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1757: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1770: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1781: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +tr1790: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + s->line_counter++; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1419; +st1419: + if ( ++p == pe ) + goto _test_eof1419; +case 1419: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st377; + case 32: goto st377; + case 40: goto tr1229; + case 41: goto tr1230; + case 65: goto st378; + case 67: goto st383; + case 68: goto st404; + case 69: goto st418; + case 72: goto st425; + case 73: goto st434; + case 75: goto st442; + case 76: goto st446; + case 77: goto st454; + case 78: goto st460; + case 79: goto st476; + case 80: goto st486; + case 82: goto st489; + case 83: goto st496; + case 84: goto st515; + case 85: goto st525; + case 90: goto st528; + case 97: goto st378; + case 99: goto st383; + case 100: goto st404; + case 101: goto st418; + case 104: goto st425; + case 105: goto st434; + case 107: goto st442; + case 108: goto st446; + case 109: goto st454; + case 110: goto st460; + case 111: goto st476; + case 112: goto st486; + case 114: goto st489; + case 115: goto st496; + case 116: goto st515; + case 117: goto st525; + case 122: goto st528; + case 3082: goto tr1248; + case 3131: goto tr1249; + case 3338: goto tr1250; + case 3387: goto tr1250; + case 3594: goto tr1251; + case 3643: goto tr1252; + } + goto tr1219; +st383: + if ( ++p == pe ) + goto _test_eof383; +case 383: + switch( (*p) ) { + case 65: goto st384; + case 68: goto st386; + case 69: goto st393; + case 78: goto st396; + case 83: goto st400; + case 97: goto st384; + case 100: goto st386; + case 101: goto st393; + case 110: goto st396; + case 115: goto st400; + } + goto tr1219; +st384: + if ( ++p == pe ) + goto _test_eof384; +case 384: + switch( (*p) ) { + case 65: goto st385; + case 97: goto st385; + } + goto tr1219; +st385: + if ( ++p == pe ) + goto _test_eof385; +case 385: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1282; + case 32: goto tr1282; + case 40: goto tr1283; + case 41: goto tr1284; + case 3082: goto tr1285; + case 3131: goto tr1286; + case 3338: goto tr1287; + case 3387: goto tr1287; + case 3594: goto tr1288; + case 3643: goto tr1289; + } + goto tr1219; +tr1227: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1252: + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1263: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1273: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1289: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1303: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1311: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1321: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1332: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1343: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1357: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1369: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1380: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1388: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1401: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1410: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1423: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1434: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1449: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1460: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1468: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1481: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1490: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1499: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1507: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1520: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1528: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1542: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1551: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1560: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1570: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1579: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1591: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1608: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1618: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1629: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1640: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1648: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1666: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1675: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1684: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1693: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1704: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1714: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1727: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1736: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1748: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1758: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1771: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1782: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +tr1791: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + s->buffer_length = 0; + } + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1420; +st1420: + if ( ++p == pe ) + goto _test_eof1420; +case 1420: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1275; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1274; + goto tr1219; +st386: + if ( ++p == pe ) + goto _test_eof386; +case 386: + switch( (*p) ) { + case 78: goto st387; + case 83: goto st392; + case 110: goto st387; + case 115: goto st392; + } + goto tr1219; +st387: + if ( ++p == pe ) + goto _test_eof387; +case 387: + switch( (*p) ) { + case 83: goto st388; + case 115: goto st388; + } + goto tr1219; +st388: + if ( ++p == pe ) + goto _test_eof388; +case 388: + switch( (*p) ) { + case 75: goto st389; + case 107: goto st389; + } + goto tr1219; +st389: + if ( ++p == pe ) + goto _test_eof389; +case 389: + switch( (*p) ) { + case 69: goto st390; + case 101: goto st390; + } + goto tr1219; +st390: + if ( ++p == pe ) + goto _test_eof390; +case 390: + switch( (*p) ) { + case 89: goto st391; + case 121: goto st391; + } + goto tr1219; +st391: + if ( ++p == pe ) + goto _test_eof391; +case 391: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1296; + case 32: goto tr1296; + case 40: goto tr1297; + case 41: goto tr1298; + case 3082: goto tr1299; + case 3131: goto tr1300; + case 3338: goto tr1301; + case 3387: goto tr1301; + case 3594: goto tr1302; + case 3643: goto tr1303; + } + goto tr1219; +st392: + if ( ++p == pe ) + goto _test_eof392; +case 392: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1304; + case 32: goto tr1304; + case 40: goto tr1305; + case 41: goto tr1306; + case 3082: goto tr1307; + case 3131: goto tr1308; + case 3338: goto tr1309; + case 3387: goto tr1309; + case 3594: goto tr1310; + case 3643: goto tr1311; + } + goto tr1219; +st393: + if ( ++p == pe ) + goto _test_eof393; +case 393: + switch( (*p) ) { + case 82: goto st394; + case 114: goto st394; + } + goto tr1219; +st394: + if ( ++p == pe ) + goto _test_eof394; +case 394: + switch( (*p) ) { + case 84: goto st395; + case 116: goto st395; + } + goto tr1219; +st395: + if ( ++p == pe ) + goto _test_eof395; +case 395: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1314; + case 32: goto tr1314; + case 40: goto tr1315; + case 41: goto tr1316; + case 3082: goto tr1317; + case 3131: goto tr1318; + case 3338: goto tr1319; + case 3387: goto tr1319; + case 3594: goto tr1320; + case 3643: goto tr1321; + } + goto tr1219; +st396: + if ( ++p == pe ) + goto _test_eof396; +case 396: + switch( (*p) ) { + case 65: goto st397; + case 97: goto st397; + } + goto tr1219; +st397: + if ( ++p == pe ) + goto _test_eof397; +case 397: + switch( (*p) ) { + case 77: goto st398; + case 109: goto st398; + } + goto tr1219; +st398: + if ( ++p == pe ) + goto _test_eof398; +case 398: + switch( (*p) ) { + case 69: goto st399; + case 101: goto st399; + } + goto tr1219; +st399: + if ( ++p == pe ) + goto _test_eof399; +case 399: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1325; + case 32: goto tr1325; + case 40: goto tr1326; + case 41: goto tr1327; + case 3082: goto tr1328; + case 3131: goto tr1329; + case 3338: goto tr1330; + case 3387: goto tr1330; + case 3594: goto tr1331; + case 3643: goto tr1332; + } + goto tr1219; +st400: + if ( ++p == pe ) + goto _test_eof400; +case 400: + switch( (*p) ) { + case 89: goto st401; + case 121: goto st401; + } + goto tr1219; +st401: + if ( ++p == pe ) + goto _test_eof401; +case 401: + switch( (*p) ) { + case 78: goto st402; + case 110: goto st402; + } + goto tr1219; +st402: + if ( ++p == pe ) + goto _test_eof402; +case 402: + switch( (*p) ) { + case 67: goto st403; + case 99: goto st403; + } + goto tr1219; +st403: + if ( ++p == pe ) + goto _test_eof403; +case 403: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1336; + case 32: goto tr1336; + case 40: goto tr1337; + case 41: goto tr1338; + case 3082: goto tr1339; + case 3131: goto tr1340; + case 3338: goto tr1341; + case 3387: goto tr1341; + case 3594: goto tr1342; + case 3643: goto tr1343; + } + goto tr1219; +st404: + if ( ++p == pe ) + goto _test_eof404; +case 404: + switch( (*p) ) { + case 72: goto st405; + case 78: goto st409; + case 83: goto st417; + case 104: goto st405; + case 110: goto st409; + case 115: goto st417; + } + goto tr1219; +st405: + if ( ++p == pe ) + goto _test_eof405; +case 405: + switch( (*p) ) { + case 67: goto st406; + case 99: goto st406; + } + goto tr1219; +st406: + if ( ++p == pe ) + goto _test_eof406; +case 406: + switch( (*p) ) { + case 73: goto st407; + case 105: goto st407; + } + goto tr1219; +st407: + if ( ++p == pe ) + goto _test_eof407; +case 407: + switch( (*p) ) { + case 68: goto st408; + case 100: goto st408; + } + goto tr1219; +st408: + if ( ++p == pe ) + goto _test_eof408; +case 408: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1350; + case 32: goto tr1350; + case 40: goto tr1351; + case 41: goto tr1352; + case 3082: goto tr1353; + case 3131: goto tr1354; + case 3338: goto tr1355; + case 3387: goto tr1355; + case 3594: goto tr1356; + case 3643: goto tr1357; + } + goto tr1219; +st409: + if ( ++p == pe ) + goto _test_eof409; +case 409: + switch( (*p) ) { + case 65: goto st410; + case 83: goto st413; + case 97: goto st410; + case 115: goto st413; + } + goto tr1219; +st410: + if ( ++p == pe ) + goto _test_eof410; +case 410: + switch( (*p) ) { + case 77: goto st411; + case 109: goto st411; + } + goto tr1219; +st411: + if ( ++p == pe ) + goto _test_eof411; +case 411: + switch( (*p) ) { + case 69: goto st412; + case 101: goto st412; + } + goto tr1219; +st412: + if ( ++p == pe ) + goto _test_eof412; +case 412: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1362; + case 32: goto tr1362; + case 40: goto tr1363; + case 41: goto tr1364; + case 3082: goto tr1365; + case 3131: goto tr1366; + case 3338: goto tr1367; + case 3387: goto tr1367; + case 3594: goto tr1368; + case 3643: goto tr1369; + } + goto tr1219; +st413: + if ( ++p == pe ) + goto _test_eof413; +case 413: + switch( (*p) ) { + case 75: goto st414; + case 107: goto st414; + } + goto tr1219; +st414: + if ( ++p == pe ) + goto _test_eof414; +case 414: + switch( (*p) ) { + case 69: goto st415; + case 101: goto st415; + } + goto tr1219; +st415: + if ( ++p == pe ) + goto _test_eof415; +case 415: + switch( (*p) ) { + case 89: goto st416; + case 121: goto st416; + } + goto tr1219; +st416: + if ( ++p == pe ) + goto _test_eof416; +case 416: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1373; + case 32: goto tr1373; + case 40: goto tr1374; + case 41: goto tr1375; + case 3082: goto tr1376; + case 3131: goto tr1377; + case 3338: goto tr1378; + case 3387: goto tr1378; + case 3594: goto tr1379; + case 3643: goto tr1380; + } + goto tr1219; +st417: + if ( ++p == pe ) + goto _test_eof417; +case 417: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1381; + case 32: goto tr1381; + case 40: goto tr1382; + case 41: goto tr1383; + case 3082: goto tr1384; + case 3131: goto tr1385; + case 3338: goto tr1386; + case 3387: goto tr1386; + case 3594: goto tr1387; + case 3643: goto tr1388; + } + goto tr1219; +st418: + if ( ++p == pe ) + goto _test_eof418; +case 418: + switch( (*p) ) { + case 85: goto st419; + case 117: goto st419; + } + goto tr1219; +st419: + if ( ++p == pe ) + goto _test_eof419; +case 419: + switch( (*p) ) { + case 73: goto st420; + case 105: goto st420; + } + goto tr1219; +st420: + if ( ++p == pe ) + goto _test_eof420; +case 420: + switch( (*p) ) { + case 52: goto st421; + case 54: goto st423; + } + goto tr1219; +st421: + if ( ++p == pe ) + goto _test_eof421; +case 421: + if ( (*p) == 56 ) + goto st422; + goto tr1219; +st422: + if ( ++p == pe ) + goto _test_eof422; +case 422: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1394; + case 32: goto tr1394; + case 40: goto tr1395; + case 41: goto tr1396; + case 3082: goto tr1397; + case 3131: goto tr1398; + case 3338: goto tr1399; + case 3387: goto tr1399; + case 3594: goto tr1400; + case 3643: goto tr1401; + } + goto tr1219; +st423: + if ( ++p == pe ) + goto _test_eof423; +case 423: + if ( (*p) == 52 ) + goto st424; + goto tr1219; +st424: + if ( ++p == pe ) + goto _test_eof424; +case 424: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1403; + case 32: goto tr1403; + case 40: goto tr1404; + case 41: goto tr1405; + case 3082: goto tr1406; + case 3131: goto tr1407; + case 3338: goto tr1408; + case 3387: goto tr1408; + case 3594: goto tr1409; + case 3643: goto tr1410; + } + goto tr1219; +st425: + if ( ++p == pe ) + goto _test_eof425; +case 425: + switch( (*p) ) { + case 73: goto st426; + case 84: goto st430; + case 105: goto st426; + case 116: goto st430; + } + goto tr1219; +st426: + if ( ++p == pe ) + goto _test_eof426; +case 426: + switch( (*p) ) { + case 78: goto st427; + case 110: goto st427; + } + goto tr1219; +st427: + if ( ++p == pe ) + goto _test_eof427; +case 427: + switch( (*p) ) { + case 70: goto st428; + case 102: goto st428; + } + goto tr1219; +st428: + if ( ++p == pe ) + goto _test_eof428; +case 428: + switch( (*p) ) { + case 79: goto st429; + case 111: goto st429; + } + goto tr1219; +st429: + if ( ++p == pe ) + goto _test_eof429; +case 429: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1416; + case 32: goto tr1416; + case 40: goto tr1417; + case 41: goto tr1418; + case 3082: goto tr1419; + case 3131: goto tr1420; + case 3338: goto tr1421; + case 3387: goto tr1421; + case 3594: goto tr1422; + case 3643: goto tr1423; + } + goto tr1219; +st430: + if ( ++p == pe ) + goto _test_eof430; +case 430: + switch( (*p) ) { + case 84: goto st431; + case 116: goto st431; + } + goto tr1219; +st431: + if ( ++p == pe ) + goto _test_eof431; +case 431: + switch( (*p) ) { + case 80: goto st432; + case 112: goto st432; + } + goto tr1219; +st432: + if ( ++p == pe ) + goto _test_eof432; +case 432: + switch( (*p) ) { + case 83: goto st433; + case 115: goto st433; + } + goto tr1219; +st433: + if ( ++p == pe ) + goto _test_eof433; +case 433: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1427; + case 32: goto tr1427; + case 40: goto tr1428; + case 41: goto tr1429; + case 3082: goto tr1430; + case 3131: goto tr1431; + case 3338: goto tr1432; + case 3387: goto tr1432; + case 3594: goto tr1433; + case 3643: goto tr1434; + } + goto tr1219; +st434: + if ( ++p == pe ) + goto _test_eof434; +case 434: + switch( (*p) ) { + case 80: goto st435; + case 112: goto st435; + } + goto tr1219; +st435: + if ( ++p == pe ) + goto _test_eof435; +case 435: + switch( (*p) ) { + case 83: goto st436; + case 115: goto st436; + } + goto tr1219; +st436: + if ( ++p == pe ) + goto _test_eof436; +case 436: + switch( (*p) ) { + case 69: goto st437; + case 101: goto st437; + } + goto tr1219; +st437: + if ( ++p == pe ) + goto _test_eof437; +case 437: + switch( (*p) ) { + case 67: goto st438; + case 99: goto st438; + } + goto tr1219; +st438: + if ( ++p == pe ) + goto _test_eof438; +case 438: + switch( (*p) ) { + case 75: goto st439; + case 107: goto st439; + } + goto tr1219; +st439: + if ( ++p == pe ) + goto _test_eof439; +case 439: + switch( (*p) ) { + case 69: goto st440; + case 101: goto st440; + } + goto tr1219; +st440: + if ( ++p == pe ) + goto _test_eof440; +case 440: + switch( (*p) ) { + case 89: goto st441; + case 121: goto st441; + } + goto tr1219; +st441: + if ( ++p == pe ) + goto _test_eof441; +case 441: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1442; + case 32: goto tr1442; + case 40: goto tr1443; + case 41: goto tr1444; + case 3082: goto tr1445; + case 3131: goto tr1446; + case 3338: goto tr1447; + case 3387: goto tr1447; + case 3594: goto tr1448; + case 3643: goto tr1449; + } + goto tr1219; +st442: + if ( ++p == pe ) + goto _test_eof442; +case 442: + switch( (*p) ) { + case 69: goto st443; + case 88: goto st445; + case 101: goto st443; + case 120: goto st445; + } + goto tr1219; +st443: + if ( ++p == pe ) + goto _test_eof443; +case 443: + switch( (*p) ) { + case 89: goto st444; + case 121: goto st444; + } + goto tr1219; +st444: + if ( ++p == pe ) + goto _test_eof444; +case 444: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1453; + case 32: goto tr1453; + case 40: goto tr1454; + case 41: goto tr1455; + case 3082: goto tr1456; + case 3131: goto tr1457; + case 3338: goto tr1458; + case 3387: goto tr1458; + case 3594: goto tr1459; + case 3643: goto tr1460; + } + goto tr1219; +st445: + if ( ++p == pe ) + goto _test_eof445; +case 445: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1461; + case 32: goto tr1461; + case 40: goto tr1462; + case 41: goto tr1463; + case 3082: goto tr1464; + case 3131: goto tr1465; + case 3338: goto tr1466; + case 3387: goto tr1466; + case 3594: goto tr1467; + case 3643: goto tr1468; + } + goto tr1219; +st446: + if ( ++p == pe ) + goto _test_eof446; +case 446: + switch( (*p) ) { + case 51: goto st447; + case 54: goto st449; + case 79: goto st451; + case 80: goto st453; + case 111: goto st451; + case 112: goto st453; + } + goto tr1219; +st447: + if ( ++p == pe ) + goto _test_eof447; +case 447: + if ( (*p) == 50 ) + goto st448; + goto tr1219; +st448: + if ( ++p == pe ) + goto _test_eof448; +case 448: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1474; + case 32: goto tr1474; + case 40: goto tr1475; + case 41: goto tr1476; + case 3082: goto tr1477; + case 3131: goto tr1478; + case 3338: goto tr1479; + case 3387: goto tr1479; + case 3594: goto tr1480; + case 3643: goto tr1481; + } + goto tr1219; +st449: + if ( ++p == pe ) + goto _test_eof449; +case 449: + if ( (*p) == 52 ) + goto st450; + goto tr1219; +st450: + if ( ++p == pe ) + goto _test_eof450; +case 450: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1483; + case 32: goto tr1483; + case 40: goto tr1484; + case 41: goto tr1485; + case 3082: goto tr1486; + case 3131: goto tr1487; + case 3338: goto tr1488; + case 3387: goto tr1488; + case 3594: goto tr1489; + case 3643: goto tr1490; + } + goto tr1219; +st451: + if ( ++p == pe ) + goto _test_eof451; +case 451: + switch( (*p) ) { + case 67: goto st452; + case 99: goto st452; + } + goto tr1219; +st452: + if ( ++p == pe ) + goto _test_eof452; +case 452: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1492; + case 32: goto tr1492; + case 40: goto tr1493; + case 41: goto tr1494; + case 3082: goto tr1495; + case 3131: goto tr1496; + case 3338: goto tr1497; + case 3387: goto tr1497; + case 3594: goto tr1498; + case 3643: goto tr1499; + } + goto tr1219; +st453: + if ( ++p == pe ) + goto _test_eof453; +case 453: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1500; + case 32: goto tr1500; + case 40: goto tr1501; + case 41: goto tr1502; + case 3082: goto tr1503; + case 3131: goto tr1504; + case 3338: goto tr1505; + case 3387: goto tr1505; + case 3594: goto tr1506; + case 3643: goto tr1507; + } + goto tr1219; +st454: + if ( ++p == pe ) + goto _test_eof454; +case 454: + switch( (*p) ) { + case 73: goto st455; + case 88: goto st459; + case 105: goto st455; + case 120: goto st459; + } + goto tr1219; +st455: + if ( ++p == pe ) + goto _test_eof455; +case 455: + switch( (*p) ) { + case 78: goto st456; + case 110: goto st456; + } + goto tr1219; +st456: + if ( ++p == pe ) + goto _test_eof456; +case 456: + switch( (*p) ) { + case 70: goto st457; + case 102: goto st457; + } + goto tr1219; +st457: + if ( ++p == pe ) + goto _test_eof457; +case 457: + switch( (*p) ) { + case 79: goto st458; + case 111: goto st458; + } + goto tr1219; +st458: + if ( ++p == pe ) + goto _test_eof458; +case 458: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1513; + case 32: goto tr1513; + case 40: goto tr1514; + case 41: goto tr1515; + case 3082: goto tr1516; + case 3131: goto tr1517; + case 3338: goto tr1518; + case 3387: goto tr1518; + case 3594: goto tr1519; + case 3643: goto tr1520; + } + goto tr1219; +st459: + if ( ++p == pe ) + goto _test_eof459; +case 459: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1521; + case 32: goto tr1521; + case 40: goto tr1522; + case 41: goto tr1523; + case 3082: goto tr1524; + case 3131: goto tr1525; + case 3338: goto tr1526; + case 3387: goto tr1526; + case 3594: goto tr1527; + case 3643: goto tr1528; + } + goto tr1219; +st460: + if ( ++p == pe ) + goto _test_eof460; +case 460: + switch( (*p) ) { + case 65: goto st461; + case 73: goto st465; + case 83: goto st467; + case 97: goto st461; + case 105: goto st465; + case 115: goto st467; + } + goto tr1219; +st461: + if ( ++p == pe ) + goto _test_eof461; +case 461: + switch( (*p) ) { + case 80: goto st462; + case 112: goto st462; + } + goto tr1219; +st462: + if ( ++p == pe ) + goto _test_eof462; +case 462: + switch( (*p) ) { + case 84: goto st463; + case 116: goto st463; + } + goto tr1219; +st463: + if ( ++p == pe ) + goto _test_eof463; +case 463: + switch( (*p) ) { + case 82: goto st464; + case 114: goto st464; + } + goto tr1219; +st464: + if ( ++p == pe ) + goto _test_eof464; +case 464: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1535; + case 32: goto tr1535; + case 40: goto tr1536; + case 41: goto tr1537; + case 3082: goto tr1538; + case 3131: goto tr1539; + case 3338: goto tr1540; + case 3387: goto tr1540; + case 3594: goto tr1541; + case 3643: goto tr1542; + } + goto tr1219; +st465: + if ( ++p == pe ) + goto _test_eof465; +case 465: + switch( (*p) ) { + case 68: goto st466; + case 100: goto st466; + } + goto tr1219; +st466: + if ( ++p == pe ) + goto _test_eof466; +case 466: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1544; + case 32: goto tr1544; + case 40: goto tr1545; + case 41: goto tr1546; + case 3082: goto tr1547; + case 3131: goto tr1548; + case 3338: goto tr1549; + case 3387: goto tr1549; + case 3594: goto tr1550; + case 3643: goto tr1551; + } + goto tr1219; +st467: + if ( ++p == pe ) + goto _test_eof467; +case 467: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1552; + case 32: goto tr1552; + case 40: goto tr1553; + case 41: goto tr1554; + case 69: goto st468; + case 101: goto st468; + case 3082: goto tr1556; + case 3131: goto tr1557; + case 3338: goto tr1558; + case 3387: goto tr1558; + case 3594: goto tr1559; + case 3643: goto tr1560; + } + goto tr1219; +st468: + if ( ++p == pe ) + goto _test_eof468; +case 468: + switch( (*p) ) { + case 67: goto st469; + case 99: goto st469; + } + goto tr1219; +st469: + if ( ++p == pe ) + goto _test_eof469; +case 469: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1562; + case 32: goto tr1562; + case 40: goto tr1563; + case 41: goto tr1564; + case 51: goto st470; + case 3082: goto tr1566; + case 3131: goto tr1567; + case 3338: goto tr1568; + case 3387: goto tr1568; + case 3594: goto tr1569; + case 3643: goto tr1570; + } + goto tr1219; +st470: + if ( ++p == pe ) + goto _test_eof470; +case 470: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1571; + case 32: goto tr1571; + case 40: goto tr1572; + case 41: goto tr1573; + case 80: goto st471; + case 112: goto st471; + case 3082: goto tr1575; + case 3131: goto tr1576; + case 3338: goto tr1577; + case 3387: goto tr1577; + case 3594: goto tr1578; + case 3643: goto tr1579; + } + goto tr1219; +st471: + if ( ++p == pe ) + goto _test_eof471; +case 471: + switch( (*p) ) { + case 65: goto st472; + case 97: goto st472; + } + goto tr1219; +st472: + if ( ++p == pe ) + goto _test_eof472; +case 472: + switch( (*p) ) { + case 82: goto st473; + case 114: goto st473; + } + goto tr1219; +st473: + if ( ++p == pe ) + goto _test_eof473; +case 473: + switch( (*p) ) { + case 65: goto st474; + case 97: goto st474; + } + goto tr1219; +st474: + if ( ++p == pe ) + goto _test_eof474; +case 474: + switch( (*p) ) { + case 77: goto st475; + case 109: goto st475; + } + goto tr1219; +st475: + if ( ++p == pe ) + goto _test_eof475; +case 475: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1584; + case 32: goto tr1584; + case 40: goto tr1585; + case 41: goto tr1586; + case 3082: goto tr1587; + case 3131: goto tr1588; + case 3338: goto tr1589; + case 3387: goto tr1589; + case 3594: goto tr1590; + case 3643: goto tr1591; + } + goto tr1219; +st476: + if ( ++p == pe ) + goto _test_eof476; +case 476: + switch( (*p) ) { + case 80: goto st477; + case 112: goto st477; + } + goto tr1219; +st477: + if ( ++p == pe ) + goto _test_eof477; +case 477: + switch( (*p) ) { + case 69: goto st478; + case 101: goto st478; + } + goto tr1219; +st478: + if ( ++p == pe ) + goto _test_eof478; +case 478: + switch( (*p) ) { + case 78: goto st479; + case 110: goto st479; + } + goto tr1219; +st479: + if ( ++p == pe ) + goto _test_eof479; +case 479: + switch( (*p) ) { + case 80: goto st480; + case 112: goto st480; + } + goto tr1219; +st480: + if ( ++p == pe ) + goto _test_eof480; +case 480: + switch( (*p) ) { + case 71: goto st481; + case 103: goto st481; + } + goto tr1219; +st481: + if ( ++p == pe ) + goto _test_eof481; +case 481: + switch( (*p) ) { + case 80: goto st482; + case 112: goto st482; + } + goto tr1219; +st482: + if ( ++p == pe ) + goto _test_eof482; +case 482: + switch( (*p) ) { + case 75: goto st483; + case 107: goto st483; + } + goto tr1219; +st483: + if ( ++p == pe ) + goto _test_eof483; +case 483: + switch( (*p) ) { + case 69: goto st484; + case 101: goto st484; + } + goto tr1219; +st484: + if ( ++p == pe ) + goto _test_eof484; +case 484: + switch( (*p) ) { + case 89: goto st485; + case 121: goto st485; + } + goto tr1219; +st485: + if ( ++p == pe ) + goto _test_eof485; +case 485: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1601; + case 32: goto tr1601; + case 40: goto tr1602; + case 41: goto tr1603; + case 3082: goto tr1604; + case 3131: goto tr1605; + case 3338: goto tr1606; + case 3387: goto tr1606; + case 3594: goto tr1607; + case 3643: goto tr1608; + } + goto tr1219; +st486: + if ( ++p == pe ) + goto _test_eof486; +case 486: + switch( (*p) ) { + case 84: goto st487; + case 116: goto st487; + } + goto tr1219; +st487: + if ( ++p == pe ) + goto _test_eof487; +case 487: + switch( (*p) ) { + case 82: goto st488; + case 114: goto st488; + } + goto tr1219; +st488: + if ( ++p == pe ) + goto _test_eof488; +case 488: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1611; + case 32: goto tr1611; + case 40: goto tr1612; + case 41: goto tr1613; + case 3082: goto tr1614; + case 3131: goto tr1615; + case 3338: goto tr1616; + case 3387: goto tr1616; + case 3594: goto tr1617; + case 3643: goto tr1618; + } + goto tr1219; +st489: + if ( ++p == pe ) + goto _test_eof489; +case 489: + switch( (*p) ) { + case 80: goto st490; + case 82: goto st491; + case 84: goto st495; + case 112: goto st490; + case 114: goto st491; + case 116: goto st495; + } + goto tr1219; +st490: + if ( ++p == pe ) + goto _test_eof490; +case 490: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1622; + case 32: goto tr1622; + case 40: goto tr1623; + case 41: goto tr1624; + case 3082: goto tr1625; + case 3131: goto tr1626; + case 3338: goto tr1627; + case 3387: goto tr1627; + case 3594: goto tr1628; + case 3643: goto tr1629; + } + goto tr1219; +st491: + if ( ++p == pe ) + goto _test_eof491; +case 491: + switch( (*p) ) { + case 83: goto st492; + case 115: goto st492; + } + goto tr1219; +st492: + if ( ++p == pe ) + goto _test_eof492; +case 492: + switch( (*p) ) { + case 73: goto st493; + case 105: goto st493; + } + goto tr1219; +st493: + if ( ++p == pe ) + goto _test_eof493; +case 493: + switch( (*p) ) { + case 71: goto st494; + case 103: goto st494; + } + goto tr1219; +st494: + if ( ++p == pe ) + goto _test_eof494; +case 494: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1633; + case 32: goto tr1633; + case 40: goto tr1634; + case 41: goto tr1635; + case 3082: goto tr1636; + case 3131: goto tr1637; + case 3338: goto tr1638; + case 3387: goto tr1638; + case 3594: goto tr1639; + case 3643: goto tr1640; + } + goto tr1219; +st495: + if ( ++p == pe ) + goto _test_eof495; +case 495: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1641; + case 32: goto tr1641; + case 40: goto tr1642; + case 41: goto tr1643; + case 3082: goto tr1644; + case 3131: goto tr1645; + case 3338: goto tr1646; + case 3387: goto tr1646; + case 3594: goto tr1647; + case 3643: goto tr1648; + } + goto tr1219; +st496: + if ( ++p == pe ) + goto _test_eof496; +case 496: + switch( (*p) ) { + case 77: goto st497; + case 79: goto st502; + case 80: goto st504; + case 82: goto st506; + case 83: goto st508; + case 86: goto st512; + case 109: goto st497; + case 111: goto st502; + case 112: goto st504; + case 114: goto st506; + case 115: goto st508; + case 118: goto st512; + } + goto tr1219; +st497: + if ( ++p == pe ) + goto _test_eof497; +case 497: + switch( (*p) ) { + case 73: goto st498; + case 105: goto st498; + } + goto tr1219; +st498: + if ( ++p == pe ) + goto _test_eof498; +case 498: + switch( (*p) ) { + case 77: goto st499; + case 109: goto st499; + } + goto tr1219; +st499: + if ( ++p == pe ) + goto _test_eof499; +case 499: + switch( (*p) ) { + case 69: goto st500; + case 101: goto st500; + } + goto tr1219; +st500: + if ( ++p == pe ) + goto _test_eof500; +case 500: + switch( (*p) ) { + case 65: goto st501; + case 97: goto st501; + } + goto tr1219; +st501: + if ( ++p == pe ) + goto _test_eof501; +case 501: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1659; + case 32: goto tr1659; + case 40: goto tr1660; + case 41: goto tr1661; + case 3082: goto tr1662; + case 3131: goto tr1663; + case 3338: goto tr1664; + case 3387: goto tr1664; + case 3594: goto tr1665; + case 3643: goto tr1666; + } + goto tr1219; +st502: + if ( ++p == pe ) + goto _test_eof502; +case 502: + switch( (*p) ) { + case 65: goto st503; + case 97: goto st503; + } + goto tr1219; +st503: + if ( ++p == pe ) + goto _test_eof503; +case 503: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1668; + case 32: goto tr1668; + case 40: goto tr1669; + case 41: goto tr1670; + case 3082: goto tr1671; + case 3131: goto tr1672; + case 3338: goto tr1673; + case 3387: goto tr1673; + case 3594: goto tr1674; + case 3643: goto tr1675; + } + goto tr1219; +st504: + if ( ++p == pe ) + goto _test_eof504; +case 504: + switch( (*p) ) { + case 70: goto st505; + case 102: goto st505; + } + goto tr1219; +st505: + if ( ++p == pe ) + goto _test_eof505; +case 505: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1677; + case 32: goto tr1677; + case 40: goto tr1678; + case 41: goto tr1679; + case 3082: goto tr1680; + case 3131: goto tr1681; + case 3338: goto tr1682; + case 3387: goto tr1682; + case 3594: goto tr1683; + case 3643: goto tr1684; + } + goto tr1219; +st506: + if ( ++p == pe ) + goto _test_eof506; +case 506: + switch( (*p) ) { + case 86: goto st507; + case 118: goto st507; + } + goto tr1219; +st507: + if ( ++p == pe ) + goto _test_eof507; +case 507: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1686; + case 32: goto tr1686; + case 40: goto tr1687; + case 41: goto tr1688; + case 3082: goto tr1689; + case 3131: goto tr1690; + case 3338: goto tr1691; + case 3387: goto tr1691; + case 3594: goto tr1692; + case 3643: goto tr1693; + } + goto tr1219; +st508: + if ( ++p == pe ) + goto _test_eof508; +case 508: + switch( (*p) ) { + case 72: goto st509; + case 104: goto st509; + } + goto tr1219; +st509: + if ( ++p == pe ) + goto _test_eof509; +case 509: + switch( (*p) ) { + case 70: goto st510; + case 102: goto st510; + } + goto tr1219; +st510: + if ( ++p == pe ) + goto _test_eof510; +case 510: + switch( (*p) ) { + case 80: goto st511; + case 112: goto st511; + } + goto tr1219; +st511: + if ( ++p == pe ) + goto _test_eof511; +case 511: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1697; + case 32: goto tr1697; + case 40: goto tr1698; + case 41: goto tr1699; + case 3082: goto tr1700; + case 3131: goto tr1701; + case 3338: goto tr1702; + case 3387: goto tr1702; + case 3594: goto tr1703; + case 3643: goto tr1704; + } + goto tr1219; +st512: + if ( ++p == pe ) + goto _test_eof512; +case 512: + switch( (*p) ) { + case 67: goto st513; + case 99: goto st513; + } + goto tr1219; +st513: + if ( ++p == pe ) + goto _test_eof513; +case 513: + switch( (*p) ) { + case 66: goto st514; + case 98: goto st514; + } + goto tr1219; +st514: + if ( ++p == pe ) + goto _test_eof514; +case 514: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1707; + case 32: goto tr1707; + case 40: goto tr1708; + case 41: goto tr1709; + case 3082: goto tr1710; + case 3131: goto tr1711; + case 3338: goto tr1712; + case 3387: goto tr1712; + case 3594: goto tr1713; + case 3643: goto tr1714; + } + goto tr1219; +st515: + if ( ++p == pe ) + goto _test_eof515; +case 515: + switch( (*p) ) { + case 76: goto st516; + case 88: goto st519; + case 89: goto st521; + case 108: goto st516; + case 120: goto st519; + case 121: goto st521; + } + goto tr1219; +st516: + if ( ++p == pe ) + goto _test_eof516; +case 516: + switch( (*p) ) { + case 83: goto st517; + case 115: goto st517; + } + goto tr1219; +st517: + if ( ++p == pe ) + goto _test_eof517; +case 517: + switch( (*p) ) { + case 65: goto st518; + case 97: goto st518; + } + goto tr1219; +st518: + if ( ++p == pe ) + goto _test_eof518; +case 518: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1720; + case 32: goto tr1720; + case 40: goto tr1721; + case 41: goto tr1722; + case 3082: goto tr1723; + case 3131: goto tr1724; + case 3338: goto tr1725; + case 3387: goto tr1725; + case 3594: goto tr1726; + case 3643: goto tr1727; + } + goto tr1219; +st519: + if ( ++p == pe ) + goto _test_eof519; +case 519: + switch( (*p) ) { + case 84: goto st520; + case 116: goto st520; + } + goto tr1219; +st520: + if ( ++p == pe ) + goto _test_eof520; +case 520: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1729; + case 32: goto tr1729; + case 40: goto tr1730; + case 41: goto tr1731; + case 3082: goto tr1732; + case 3131: goto tr1733; + case 3338: goto tr1734; + case 3387: goto tr1734; + case 3594: goto tr1735; + case 3643: goto tr1736; + } + goto tr1219; +st521: + if ( ++p == pe ) + goto _test_eof521; +case 521: + switch( (*p) ) { + case 80: goto st522; + case 112: goto st522; + } + goto tr1219; +st522: + if ( ++p == pe ) + goto _test_eof522; +case 522: + switch( (*p) ) { + case 69: goto st523; + case 101: goto st523; + } + goto tr1219; +st523: + if ( ++p == pe ) + goto _test_eof523; +case 523: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1739; + goto tr1219; +tr1739: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st524; +tr1743: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st524; +st524: + if ( ++p == pe ) + goto _test_eof524; +case 524: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1740; + case 32: goto tr1740; + case 40: goto tr1741; + case 41: goto tr1742; + case 3082: goto tr1744; + case 3131: goto tr1745; + case 3338: goto tr1746; + case 3387: goto tr1746; + case 3594: goto tr1747; + case 3643: goto tr1748; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1743; + goto tr1219; +st525: + if ( ++p == pe ) + goto _test_eof525; +case 525: + switch( (*p) ) { + case 82: goto st526; + case 114: goto st526; + } + goto tr1219; +st526: + if ( ++p == pe ) + goto _test_eof526; +case 526: + switch( (*p) ) { + case 73: goto st527; + case 105: goto st527; + } + goto tr1219; +st527: + if ( ++p == pe ) + goto _test_eof527; +case 527: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1751; + case 32: goto tr1751; + case 40: goto tr1752; + case 41: goto tr1753; + case 3082: goto tr1754; + case 3131: goto tr1755; + case 3338: goto tr1756; + case 3387: goto tr1756; + case 3594: goto tr1757; + case 3643: goto tr1758; + } + goto tr1219; +st528: + if ( ++p == pe ) + goto _test_eof528; +case 528: + switch( (*p) ) { + case 79: goto st529; + case 111: goto st529; + } + goto tr1219; +st529: + if ( ++p == pe ) + goto _test_eof529; +case 529: + switch( (*p) ) { + case 78: goto st530; + case 110: goto st530; + } + goto tr1219; +st530: + if ( ++p == pe ) + goto _test_eof530; +case 530: + switch( (*p) ) { + case 69: goto st531; + case 101: goto st531; + } + goto tr1219; +st531: + if ( ++p == pe ) + goto _test_eof531; +case 531: + switch( (*p) ) { + case 77: goto st532; + case 109: goto st532; + } + goto tr1219; +st532: + if ( ++p == pe ) + goto _test_eof532; +case 532: + switch( (*p) ) { + case 68: goto st533; + case 100: goto st533; + } + goto tr1219; +st533: + if ( ++p == pe ) + goto _test_eof533; +case 533: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1764; + case 32: goto tr1764; + case 40: goto tr1765; + case 41: goto tr1766; + case 3082: goto tr1767; + case 3131: goto tr1768; + case 3338: goto tr1769; + case 3387: goto tr1769; + case 3594: goto tr1770; + case 3643: goto tr1771; + } + goto tr1219; +st534: + if ( ++p == pe ) + goto _test_eof534; +case 534: + switch( (*p) ) { + case 83: goto st535; + case 115: goto st535; + } + goto tr1219; +st535: + if ( ++p == pe ) + goto _test_eof535; +case 535: + switch( (*p) ) { + case 68: goto st536; + case 100: goto st536; + } + goto tr1219; +st536: + if ( ++p == pe ) + goto _test_eof536; +case 536: + switch( (*p) ) { + case 66: goto st537; + case 98: goto st537; + } + goto tr1219; +st537: + if ( ++p == pe ) + goto _test_eof537; +case 537: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1775; + case 32: goto tr1775; + case 40: goto tr1776; + case 41: goto tr1777; + case 3082: goto tr1778; + case 3131: goto tr1779; + case 3338: goto tr1780; + case 3387: goto tr1780; + case 3594: goto tr1781; + case 3643: goto tr1782; + } + goto tr1219; +st538: + if ( ++p == pe ) + goto _test_eof538; +case 538: + switch( (*p) ) { + case 76: goto st539; + case 108: goto st539; + } + goto tr1219; +st539: + if ( ++p == pe ) + goto _test_eof539; +case 539: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1784; + case 32: goto tr1784; + case 40: goto tr1785; + case 41: goto tr1786; + case 3082: goto tr1787; + case 3131: goto tr1788; + case 3338: goto tr1789; + case 3387: goto tr1789; + case 3594: goto tr1790; + case 3643: goto tr1791; + } + goto tr1219; +st540: + if ( ++p == pe ) + goto _test_eof540; +case 540: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st541; + case 32: goto st541; + case 40: goto tr1794; + case 41: goto tr1795; + case 2058: goto tr1796; + case 2107: goto tr1797; + } + goto tr1792; +tr1794: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st541; +tr1795: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st541; +tr1796: + { + s->line_counter++; + } + goto st541; +tr1827: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 541; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st541; +st541: + if ( ++p == pe ) + goto _test_eof541; +case 541: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st541; + case 32: goto st541; + case 40: goto tr1794; + case 41: goto tr1795; + case 2058: goto tr1796; + case 2107: goto tr1797; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1799; + goto tr1798; +tr1799: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st542; +tr1803: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st542; +st542: + if ( ++p == pe ) + goto _test_eof542; +case 542: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1800; + case 32: goto tr1800; + case 40: goto tr1801; + case 41: goto tr1802; + case 2058: goto tr1804; + case 2107: goto tr1805; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1803; + goto tr1798; +tr1808: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st543; +tr1809: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st543; +tr1811: + { + s->line_counter++; + } + goto st543; +tr1825: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 543; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st543; +tr1800: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st543; +tr1801: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st543; +tr1802: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st543; +tr1804: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st543; +st543: + if ( ++p == pe ) + goto _test_eof543; +case 543: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st543; + case 32: goto st543; + case 40: goto tr1808; + case 41: goto tr1809; + case 2058: goto tr1811; + case 2107: goto tr1812; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1810; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1810; + } else + goto tr1810; + goto tr1806; +tr1810: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st544; +st544: + if ( ++p == pe ) + goto _test_eof544; +case 544: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1813; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr1813; + } else + goto tr1813; + goto tr1806; +tr1815: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st545; +tr1816: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st545; +tr1817: + { + s->line_counter++; + } + goto st545; +tr1823: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 545; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st545; +tr1813: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st545; +st545: + if ( ++p == pe ) + goto _test_eof545; +case 545: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st545; + case 32: goto st545; + case 40: goto tr1815; + case 41: goto tr1816; + case 3082: goto tr1817; + case 3131: goto tr1818; + case 3338: goto tr1819; + case 3387: goto tr1819; + case 3594: goto tr1820; + case 3643: goto tr1821; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1810; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1810; + } else + goto tr1810; + goto tr1806; +tr1818: + { + s->buffer_length = 0; + } + goto st546; +tr1822: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st546; +st546: + if ( ++p == pe ) + goto _test_eof546; +case 546: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1823; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1822; + goto tr1806; +tr1819: + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1421; +st1421: + if ( ++p == pe ) + goto _test_eof1421; +case 1421: + goto st0; +tr1820: + { + s->line_counter++; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1422; +st1422: + if ( ++p == pe ) + goto _test_eof1422; +case 1422: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st545; + case 32: goto st545; + case 40: goto tr1815; + case 41: goto tr1816; + case 3082: goto tr1817; + case 3131: goto tr1818; + case 3338: goto tr1819; + case 3387: goto tr1819; + case 3594: goto tr1820; + case 3643: goto tr1821; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1810; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1810; + } else + goto tr1810; + goto tr1806; +tr1821: + { + s->buffer_length = 0; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1423; +st1423: + if ( ++p == pe ) + goto _test_eof1423; +case 1423: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1823; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1822; + goto tr1806; +tr1812: + { + s->buffer_length = 0; + } + goto st547; +tr1824: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st547; +tr1805: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st547; +st547: + if ( ++p == pe ) + goto _test_eof547; +case 547: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1825; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1824; + goto tr1792; +tr1797: + { + s->buffer_length = 0; + } + goto st548; +tr1826: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st548; +st548: + if ( ++p == pe ) + goto _test_eof548; +case 548: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1827; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1826; + goto tr1792; +st549: + if ( ++p == pe ) + goto _test_eof549; +case 549: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st550; + case 32: goto st550; + case 40: goto tr1829; + case 41: goto tr1830; + case 2058: goto tr1831; + case 2107: goto tr1832; + } + goto tr1792; +tr1829: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st550; +tr1830: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st550; +tr1831: + { + s->line_counter++; + } + goto st550; +tr1867: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 550; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st550; +st550: + if ( ++p == pe ) + goto _test_eof550; +case 550: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st550; + case 32: goto st550; + case 40: goto tr1829; + case 41: goto tr1830; + case 48: goto tr1833; + case 2058: goto tr1831; + case 2107: goto tr1832; + } + if ( 49 <= _widec && _widec <= 57 ) + goto tr1834; + goto tr1798; +tr1833: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st551; +st551: + if ( ++p == pe ) + goto _test_eof551; +case 551: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1835; + case 32: goto tr1835; + case 40: goto tr1836; + case 41: goto tr1837; + case 1802: goto tr1839; + case 1851: goto tr1839; + case 2058: goto tr1840; + case 2107: goto tr1841; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1838; + goto tr1798; +tr1835: + { + p--; {cs = stack[--top];goto _again;} + } + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1424; +tr1836: + { + p--; {cs = stack[--top];goto _again;} + } + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1424; +tr1837: + { + p--; {cs = stack[--top];goto _again;} + } + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1424; +tr1840: + { + p--; {cs = stack[--top];goto _again;} + } + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1424; +st1424: + if ( ++p == pe ) + goto _test_eof1424; +case 1424: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st552; + case 32: goto st552; + case 40: goto tr1843; + case 41: goto tr1844; + case 2058: goto tr1846; + case 2107: goto tr1847; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1845; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1845; + } else + goto tr1845; + goto tr1806; +tr1843: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st552; +tr1844: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st552; +tr1846: + { + s->line_counter++; + } + goto st552; +tr1860: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 552; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st552; +tr1861: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st552; +tr1862: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st552; +tr1863: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st552; +tr1864: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st552; +st552: + if ( ++p == pe ) + goto _test_eof552; +case 552: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st552; + case 32: goto st552; + case 40: goto tr1843; + case 41: goto tr1844; + case 2058: goto tr1846; + case 2107: goto tr1847; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1845; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1845; + } else + goto tr1845; + goto tr1806; +tr1845: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st553; +st553: + if ( ++p == pe ) + goto _test_eof553; +case 553: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1848; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr1848; + } else + goto tr1848; + goto tr1806; +tr1850: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st554; +tr1851: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st554; +tr1852: + { + s->line_counter++; + } + goto st554; +tr1858: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 554; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st554; +tr1848: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st554; +st554: + if ( ++p == pe ) + goto _test_eof554; +case 554: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st554; + case 32: goto st554; + case 40: goto tr1850; + case 41: goto tr1851; + case 3082: goto tr1852; + case 3131: goto tr1853; + case 3338: goto tr1854; + case 3387: goto tr1854; + case 3594: goto tr1855; + case 3643: goto tr1856; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1845; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1845; + } else + goto tr1845; + goto tr1806; +tr1853: + { + s->buffer_length = 0; + } + goto st555; +tr1857: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st555; +st555: + if ( ++p == pe ) + goto _test_eof555; +case 555: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1858; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1857; + goto tr1806; +tr1839: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1425; +tr1854: + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1425; +st1425: + if ( ++p == pe ) + goto _test_eof1425; +case 1425: + goto tr1792; +tr1855: + { + s->line_counter++; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1426; +st1426: + if ( ++p == pe ) + goto _test_eof1426; +case 1426: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st554; + case 32: goto st554; + case 40: goto tr1850; + case 41: goto tr1851; + case 3082: goto tr1852; + case 3131: goto tr1853; + case 3338: goto tr1854; + case 3387: goto tr1854; + case 3594: goto tr1855; + case 3643: goto tr1856; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1845; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1845; + } else + goto tr1845; + goto tr1806; +tr1856: + { + s->buffer_length = 0; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1427; +st1427: + if ( ++p == pe ) + goto _test_eof1427; +case 1427: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1858; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1857; + goto tr1806; +tr1847: + { + s->buffer_length = 0; + } + goto st556; +tr1859: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st556; +tr1865: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st556; +st556: + if ( ++p == pe ) + goto _test_eof556; +case 556: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1860; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1859; + goto tr1792; +tr1834: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st557; +tr1838: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st557; +st557: + if ( ++p == pe ) + goto _test_eof557; +case 557: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1861; + case 32: goto tr1861; + case 40: goto tr1862; + case 41: goto tr1863; + case 2058: goto tr1864; + case 2107: goto tr1865; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1838; + goto tr1798; +tr1841: + { + p--; {cs = stack[--top];goto _again;} + } + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1428; +st1428: + if ( ++p == pe ) + goto _test_eof1428; +case 1428: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1860; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1859; + goto tr1792; +tr1832: + { + s->buffer_length = 0; + } + goto st558; +tr1866: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st558; +st558: + if ( ++p == pe ) + goto _test_eof558; +case 558: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1867; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1866; + goto tr1792; +st559: + if ( ++p == pe ) + goto _test_eof559; +case 559: + switch( (*p) ) { + case 97: goto tr1869; + case 101: goto tr1870; + case 105: goto tr1871; + case 107: goto tr1872; + case 110: goto tr1873; + case 112: goto tr1874; + } + goto tr1868; +tr1869: + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st560; +st560: + if ( ++p == pe ) + goto _test_eof560; +case 560: + if ( (*p) == 108 ) + goto st561; + goto tr1868; +st561: + if ( ++p == pe ) + goto _test_eof561; +case 561: + if ( (*p) == 112 ) + goto st562; + goto tr1868; +st562: + if ( ++p == pe ) + goto _test_eof562; +case 562: + if ( (*p) == 110 ) + goto st563; + goto tr1868; +st563: + if ( ++p == pe ) + goto _test_eof563; +case 563: + switch( (*p) ) { + case 32: goto tr1878; + case 34: goto tr1878; + case 44: goto tr1878; + case 59: goto tr1878; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1878; + } else if ( (*p) >= 9 ) + goto tr1878; + goto tr1868; +tr1878: + { + uint16_t val = htons(1); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1429; +tr1881: + { + uint16_t val = htons(5); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1429; +tr1890: + { + uint16_t val = htons(4); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1429; +tr1895: + { + uint16_t val = htons(6); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1429; +tr1900: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1429; +tr1916: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1429; +tr1920: + { + uint16_t val = htons(3); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1429; +st1429: + if ( ++p == pe ) + goto _test_eof1429; +case 1429: + goto st0; +tr1870: + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st564; +st564: + if ( ++p == pe ) + goto _test_eof564; +case 564: + if ( (*p) == 99 ) + goto st565; + goto tr1868; +st565: + if ( ++p == pe ) + goto _test_eof565; +case 565: + if ( (*p) == 104 ) + goto st566; + goto tr1868; +st566: + if ( ++p == pe ) + goto _test_eof566; +case 566: + switch( (*p) ) { + case 32: goto tr1881; + case 34: goto tr1881; + case 44: goto tr1881; + case 59: goto tr1881; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1881; + } else if ( (*p) >= 9 ) + goto tr1881; + goto tr1868; +tr1871: + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st567; +st567: + if ( ++p == pe ) + goto _test_eof567; +case 567: + if ( (*p) == 112 ) + goto st568; + goto tr1868; +st568: + if ( ++p == pe ) + goto _test_eof568; +case 568: + if ( (*p) == 118 ) + goto st569; + goto tr1868; +st569: + if ( ++p == pe ) + goto _test_eof569; +case 569: + switch( (*p) ) { + case 52: goto st570; + case 54: goto st575; + } + goto tr1868; +st570: + if ( ++p == pe ) + goto _test_eof570; +case 570: + if ( (*p) == 104 ) + goto st571; + goto tr1868; +st571: + if ( ++p == pe ) + goto _test_eof571; +case 571: + if ( (*p) == 105 ) + goto st572; + goto tr1868; +st572: + if ( ++p == pe ) + goto _test_eof572; +case 572: + if ( (*p) == 110 ) + goto st573; + goto tr1868; +st573: + if ( ++p == pe ) + goto _test_eof573; +case 573: + if ( (*p) == 116 ) + goto st574; + goto tr1868; +st574: + if ( ++p == pe ) + goto _test_eof574; +case 574: + switch( (*p) ) { + case 32: goto tr1890; + case 34: goto tr1890; + case 44: goto tr1890; + case 59: goto tr1890; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1890; + } else if ( (*p) >= 9 ) + goto tr1890; + goto tr1868; +st575: + if ( ++p == pe ) + goto _test_eof575; +case 575: + if ( (*p) == 104 ) + goto st576; + goto tr1868; +st576: + if ( ++p == pe ) + goto _test_eof576; +case 576: + if ( (*p) == 105 ) + goto st577; + goto tr1868; +st577: + if ( ++p == pe ) + goto _test_eof577; +case 577: + if ( (*p) == 110 ) + goto st578; + goto tr1868; +st578: + if ( ++p == pe ) + goto _test_eof578; +case 578: + if ( (*p) == 116 ) + goto st579; + goto tr1868; +st579: + if ( ++p == pe ) + goto _test_eof579; +case 579: + switch( (*p) ) { + case 32: goto tr1895; + case 34: goto tr1895; + case 44: goto tr1895; + case 59: goto tr1895; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1895; + } else if ( (*p) >= 9 ) + goto tr1895; + goto tr1868; +tr1872: + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st580; +st580: + if ( ++p == pe ) + goto _test_eof580; +case 580: + if ( (*p) == 101 ) + goto st581; + goto tr1868; +st581: + if ( ++p == pe ) + goto _test_eof581; +case 581: + if ( (*p) == 121 ) + goto st582; + goto tr1868; +st582: + if ( ++p == pe ) + goto _test_eof582; +case 582: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1899; + goto tr1898; +tr1899: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st583; +tr1901: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st583; +st583: + if ( ++p == pe ) + goto _test_eof583; +case 583: + switch( (*p) ) { + case 32: goto tr1900; + case 34: goto tr1900; + case 44: goto tr1900; + case 59: goto tr1900; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1900; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1901; + } else + goto tr1900; + goto tr1898; +tr1873: + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st584; +st584: + if ( ++p == pe ) + goto _test_eof584; +case 584: + if ( (*p) == 111 ) + goto st585; + goto tr1868; +st585: + if ( ++p == pe ) + goto _test_eof585; +case 585: + if ( (*p) == 45 ) + goto st586; + goto tr1868; +st586: + if ( ++p == pe ) + goto _test_eof586; +case 586: + if ( (*p) == 100 ) + goto st587; + goto tr1868; +st587: + if ( ++p == pe ) + goto _test_eof587; +case 587: + if ( (*p) == 101 ) + goto st588; + goto tr1868; +st588: + if ( ++p == pe ) + goto _test_eof588; +case 588: + if ( (*p) == 102 ) + goto st589; + goto tr1868; +st589: + if ( ++p == pe ) + goto _test_eof589; +case 589: + if ( (*p) == 97 ) + goto st590; + goto tr1868; +st590: + if ( ++p == pe ) + goto _test_eof590; +case 590: + if ( (*p) == 117 ) + goto st591; + goto tr1868; +st591: + if ( ++p == pe ) + goto _test_eof591; +case 591: + if ( (*p) == 108 ) + goto st592; + goto tr1868; +st592: + if ( ++p == pe ) + goto _test_eof592; +case 592: + if ( (*p) == 116 ) + goto st593; + goto tr1868; +st593: + if ( ++p == pe ) + goto _test_eof593; +case 593: + if ( (*p) == 45 ) + goto st594; + goto tr1868; +st594: + if ( ++p == pe ) + goto _test_eof594; +case 594: + if ( (*p) == 97 ) + goto st595; + goto tr1868; +st595: + if ( ++p == pe ) + goto _test_eof595; +case 595: + if ( (*p) == 108 ) + goto st596; + goto tr1868; +st596: + if ( ++p == pe ) + goto _test_eof596; +case 596: + if ( (*p) == 112 ) + goto st597; + goto tr1868; +st597: + if ( ++p == pe ) + goto _test_eof597; +case 597: + if ( (*p) == 110 ) + goto st598; + goto tr1868; +st598: + if ( ++p == pe ) + goto _test_eof598; +case 598: + switch( (*p) ) { + case 32: goto tr1916; + case 34: goto tr1916; + case 44: goto tr1916; + case 59: goto tr1916; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1916; + } else if ( (*p) >= 9 ) + goto tr1916; + goto tr1868; +tr1874: + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st599; +st599: + if ( ++p == pe ) + goto _test_eof599; +case 599: + if ( (*p) == 111 ) + goto st600; + goto tr1868; +st600: + if ( ++p == pe ) + goto _test_eof600; +case 600: + if ( (*p) == 114 ) + goto st601; + goto tr1868; +st601: + if ( ++p == pe ) + goto _test_eof601; +case 601: + if ( (*p) == 116 ) + goto st602; + goto tr1868; +st602: + if ( ++p == pe ) + goto _test_eof602; +case 602: + switch( (*p) ) { + case 32: goto tr1920; + case 34: goto tr1920; + case 44: goto tr1920; + case 59: goto tr1920; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1920; + } else if ( (*p) >= 9 ) + goto tr1920; + goto tr1868; +st603: + if ( ++p == pe ) + goto _test_eof603; +case 603: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1922; + case 32: goto tr1922; + case 40: goto tr1923; + case 41: goto tr1924; + case 3082: goto tr1925; + case 3131: goto tr1926; + case 3338: goto tr1927; + case 3387: goto tr1927; + case 3594: goto tr1928; + case 3643: goto tr1929; + } + goto tr1921; +tr1931: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr1932: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr1940: + { + s->line_counter++; + } + goto st604; +tr1960: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 604; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st604; +tr1922: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + goto st604; +tr1923: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr1924: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr1925: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + { + s->line_counter++; + } + goto st604; +tr1951: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr1952: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr1953: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr1954: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr1974: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr1975: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr1976: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr1977: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr1987: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr1988: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr1989: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr1991: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr2013: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr2014: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr2015: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr2018: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr2036: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr2037: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr2038: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr2041: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr2051: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr2052: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr2053: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr2056: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr2077: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr2078: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr2079: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr2081: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr2101: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr2102: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr2103: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr2104: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +tr2118: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + goto st604; +tr2119: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st604; +tr2120: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st604; +tr2122: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st604; +st604: + if ( ++p == pe ) + goto _test_eof604; +case 604: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st604; + case 32: goto st604; + case 40: goto tr1931; + case 41: goto tr1932; + case 97: goto tr1933; + case 101: goto tr1934; + case 105: goto tr1935; + case 107: goto tr1936; + case 109: goto tr1937; + case 110: goto tr1938; + case 112: goto tr1939; + case 3082: goto tr1940; + case 3131: goto tr1941; + case 3338: goto tr1942; + case 3387: goto tr1942; + case 3594: goto tr1943; + case 3643: goto tr1944; + } + goto tr1921; +tr1933: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->svcb.param_position = rdata_tail; + } + goto st605; +st605: + if ( ++p == pe ) + goto _test_eof605; +case 605: + if ( (*p) == 108 ) + goto st606; + goto tr1921; +st606: + if ( ++p == pe ) + goto _test_eof606; +case 606: + if ( (*p) == 112 ) + goto st607; + goto tr1921; +st607: + if ( ++p == pe ) + goto _test_eof607; +case 607: + if ( (*p) == 110 ) + goto st608; + goto tr1921; +st608: + if ( ++p == pe ) + goto _test_eof608; +case 608: + if ( (*p) == 61 ) + goto tr1948; + goto tr1921; +tr1948: + { + uint16_t val = htons(1); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + goto st609; +st609: + if ( ++p == pe ) + goto _test_eof609; +case 609: + switch( (*p) ) { + case 32: goto tr1921; + case 34: goto tr1950; + case 59: goto tr1921; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1921; + } else if ( (*p) >= 9 ) + goto tr1921; + goto tr1949; +tr1949: + { + s->comma_list = true; + } + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 610;goto st318;} } + goto st610; +st610: + if ( ++p == pe ) + goto _test_eof610; +case 610: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1951; + case 32: goto tr1951; + case 40: goto tr1952; + case 41: goto tr1953; + case 3082: goto tr1954; + case 3131: goto tr1955; + case 3338: goto tr1956; + case 3387: goto tr1956; + case 3594: goto tr1957; + case 3643: goto tr1958; + } + goto tr1921; +tr1941: + { + s->buffer_length = 0; + } + goto st611; +tr1959: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st611; +tr1926: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + { + s->buffer_length = 0; + } + goto st611; +tr1955: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr1978: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr1992: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr2019: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr2042: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr2057: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr2082: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr2105: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +tr2123: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st611; +st611: + if ( ++p == pe ) + goto _test_eof611; +case 611: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1960; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1959; + goto tr1921; +tr1927: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr1942: + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr1956: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr1979: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr1993: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr2020: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr2043: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr2058: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr2083: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr2106: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +tr2124: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1430; +st1430: + if ( ++p == pe ) + goto _test_eof1430; +case 1430: + goto st0; +tr1928: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr1943: + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr1957: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr1980: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr1994: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr2021: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr2044: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr2059: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr2084: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr2107: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +tr2125: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1431; +st1431: + if ( ++p == pe ) + goto _test_eof1431; +case 1431: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st604; + case 32: goto st604; + case 40: goto tr1931; + case 41: goto tr1932; + case 97: goto tr1933; + case 101: goto tr1934; + case 105: goto tr1935; + case 107: goto tr1936; + case 109: goto tr1937; + case 110: goto tr1938; + case 112: goto tr1939; + case 3082: goto tr1940; + case 3131: goto tr1941; + case 3338: goto tr1942; + case 3387: goto tr1942; + case 3594: goto tr1943; + case 3643: goto tr1944; + } + goto tr1921; +tr1934: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->svcb.param_position = rdata_tail; + } + goto st612; +st612: + if ( ++p == pe ) + goto _test_eof612; +case 612: + if ( (*p) == 99 ) + goto st613; + goto tr1921; +st613: + if ( ++p == pe ) + goto _test_eof613; +case 613: + if ( (*p) == 104 ) + goto st614; + goto tr1921; +st614: + if ( ++p == pe ) + goto _test_eof614; +case 614: + if ( (*p) == 61 ) + goto tr1963; + goto tr1921; +tr1963: + { + uint16_t val = htons(5); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + goto st615; +st615: + if ( ++p == pe ) + goto _test_eof615; +case 615: + switch( (*p) ) { + case 34: goto st616; + case 43: goto tr1965; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1965; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1965; + } else + goto tr1965; + goto tr1921; +st616: + if ( ++p == pe ) + goto _test_eof616; +case 616: + if ( (*p) == 43 ) + goto tr1966; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1966; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1966; + } else + goto tr1966; + goto tr1921; +tr1973: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st617; +tr1966: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st617; +st617: + if ( ++p == pe ) + goto _test_eof617; +case 617: + if ( (*p) == 43 ) + goto tr1967; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1967; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1967; + } else + goto tr1967; + goto tr1921; +tr1967: + { + *(rdata_tail++) += second_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st618; +st618: + if ( ++p == pe ) + goto _test_eof618; +case 618: + switch( (*p) ) { + case 43: goto tr1968; + case 61: goto st622; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1968; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1968; + } else + goto tr1968; + goto tr1921; +tr1968: + { + *(rdata_tail++) += third_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = third_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st619; +st619: + if ( ++p == pe ) + goto _test_eof619; +case 619: + switch( (*p) ) { + case 43: goto tr1970; + case 61: goto st620; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1970; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1970; + } else + goto tr1970; + goto tr1921; +tr1970: + { + *(rdata_tail++) += fourth_base64_to_num[(uint8_t)(*p)]; + } + goto st620; +st620: + if ( ++p == pe ) + goto _test_eof620; +case 620: + switch( (*p) ) { + case 34: goto tr1972; + case 43: goto tr1973; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1973; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1973; + } else + goto tr1973; + goto tr1921; +tr1972: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st621; +tr2009: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st621; +tr2032: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st621; +tr2116: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st621; +tr2074: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + goto st621; +tr2128: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st621; +st621: + if ( ++p == pe ) + goto _test_eof621; +case 621: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1974; + case 32: goto tr1974; + case 40: goto tr1975; + case 41: goto tr1976; + case 3082: goto tr1977; + case 3131: goto tr1978; + case 3338: goto tr1979; + case 3387: goto tr1979; + case 3594: goto tr1980; + case 3643: goto tr1981; + } + goto tr1921; +tr1929: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr1944: + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr1958: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->comma_list = false; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr1981: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr1995: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr2022: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr2045: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr2060: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr2085: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr2108: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +tr2126: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1432; +st1432: + if ( ++p == pe ) + goto _test_eof1432; +case 1432: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr1960; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr1959; + goto tr1921; +st622: + if ( ++p == pe ) + goto _test_eof622; +case 622: + if ( (*p) == 61 ) + goto st620; + goto tr1921; +tr1990: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st623; +tr1965: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st623; +st623: + if ( ++p == pe ) + goto _test_eof623; +case 623: + if ( (*p) == 43 ) + goto tr1982; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1982; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1982; + } else + goto tr1982; + goto tr1921; +tr1982: + { + *(rdata_tail++) += second_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st624; +st624: + if ( ++p == pe ) + goto _test_eof624; +case 624: + switch( (*p) ) { + case 43: goto tr1983; + case 61: goto st627; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1983; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1983; + } else + goto tr1983; + goto tr1921; +tr1983: + { + *(rdata_tail++) += third_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = third_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st625; +st625: + if ( ++p == pe ) + goto _test_eof625; +case 625: + switch( (*p) ) { + case 43: goto tr1985; + case 61: goto st626; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1985; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1985; + } else + goto tr1985; + goto tr1921; +tr1985: + { + *(rdata_tail++) += fourth_base64_to_num[(uint8_t)(*p)]; + } + goto st626; +st626: + if ( ++p == pe ) + goto _test_eof626; +case 626: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1987; + case 32: goto tr1987; + case 40: goto tr1988; + case 41: goto tr1989; + case 43: goto tr1990; + case 3082: goto tr1991; + case 3131: goto tr1992; + case 3338: goto tr1993; + case 3387: goto tr1993; + case 3594: goto tr1994; + case 3643: goto tr1995; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1990; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1990; + } else + goto tr1990; + goto tr1921; +st627: + if ( ++p == pe ) + goto _test_eof627; +case 627: + if ( (*p) == 61 ) + goto st626; + goto tr1921; +tr1935: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->svcb.param_position = rdata_tail; + } + goto st628; +st628: + if ( ++p == pe ) + goto _test_eof628; +case 628: + if ( (*p) == 112 ) + goto st629; + goto tr1921; +st629: + if ( ++p == pe ) + goto _test_eof629; +case 629: + if ( (*p) == 118 ) + goto st630; + goto tr1921; +st630: + if ( ++p == pe ) + goto _test_eof630; +case 630: + switch( (*p) ) { + case 52: goto st631; + case 54: goto st642; + } + goto tr1921; +st631: + if ( ++p == pe ) + goto _test_eof631; +case 631: + if ( (*p) == 104 ) + goto st632; + goto tr1921; +st632: + if ( ++p == pe ) + goto _test_eof632; +case 632: + if ( (*p) == 105 ) + goto st633; + goto tr1921; +st633: + if ( ++p == pe ) + goto _test_eof633; +case 633: + if ( (*p) == 110 ) + goto st634; + goto tr1921; +st634: + if ( ++p == pe ) + goto _test_eof634; +case 634: + if ( (*p) == 116 ) + goto st635; + goto tr1921; +st635: + if ( ++p == pe ) + goto _test_eof635; +case 635: + if ( (*p) == 61 ) + goto tr2004; + goto tr1921; +tr2004: + { + uint16_t val = htons(4); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + goto st636; +st636: + if ( ++p == pe ) + goto _test_eof636; +case 636: + switch( (*p) ) { + case 34: goto st637; + case 46: goto tr2007; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2007; + goto tr2005; +st637: + if ( ++p == pe ) + goto _test_eof637; +case 637: + if ( (*p) == 46 ) + goto tr2008; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2008; + goto tr2005; +tr2008: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st638; +tr2011: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st638; +tr2012: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st638; +st638: + if ( ++p == pe ) + goto _test_eof638; +case 638: + switch( (*p) ) { + case 34: goto tr2009; + case 44: goto tr2010; + case 46: goto tr2011; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2011; + goto tr2005; +tr2010: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st639; +st639: + if ( ++p == pe ) + goto _test_eof639; +case 639: + if ( (*p) == 46 ) + goto tr2012; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2012; + goto tr2005; +tr2007: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st640; +tr2017: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st640; +tr2023: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st640; +st640: + if ( ++p == pe ) + goto _test_eof640; +case 640: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2013; + case 32: goto tr2013; + case 40: goto tr2014; + case 41: goto tr2015; + case 44: goto tr2016; + case 46: goto tr2017; + case 3082: goto tr2018; + case 3131: goto tr2019; + case 3338: goto tr2020; + case 3387: goto tr2020; + case 3594: goto tr2021; + case 3643: goto tr2022; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2017; + goto tr2005; +tr2016: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st641; +st641: + if ( ++p == pe ) + goto _test_eof641; +case 641: + if ( (*p) == 46 ) + goto tr2023; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2023; + goto tr2005; +st642: + if ( ++p == pe ) + goto _test_eof642; +case 642: + if ( (*p) == 104 ) + goto st643; + goto tr1921; +st643: + if ( ++p == pe ) + goto _test_eof643; +case 643: + if ( (*p) == 105 ) + goto st644; + goto tr1921; +st644: + if ( ++p == pe ) + goto _test_eof644; +case 644: + if ( (*p) == 110 ) + goto st645; + goto tr1921; +st645: + if ( ++p == pe ) + goto _test_eof645; +case 645: + if ( (*p) == 116 ) + goto st646; + goto tr1921; +st646: + if ( ++p == pe ) + goto _test_eof646; +case 646: + if ( (*p) == 61 ) + goto tr2028; + goto tr1921; +tr2028: + { + uint16_t val = htons(6); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + goto st647; +st647: + if ( ++p == pe ) + goto _test_eof647; +case 647: + switch( (*p) ) { + case 34: goto st648; + case 46: goto tr2030; + } + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2030; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2030; + } else + goto tr2030; + goto tr2005; +st648: + if ( ++p == pe ) + goto _test_eof648; +case 648: + if ( (*p) == 46 ) + goto tr2031; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2031; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2031; + } else + goto tr2031; + goto tr2005; +tr2031: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st649; +tr2034: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st649; +tr2035: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st649; +st649: + if ( ++p == pe ) + goto _test_eof649; +case 649: + switch( (*p) ) { + case 34: goto tr2032; + case 44: goto tr2033; + case 46: goto tr2034; + } + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2034; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2034; + } else + goto tr2034; + goto tr2005; +tr2033: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st650; +st650: + if ( ++p == pe ) + goto _test_eof650; +case 650: + if ( (*p) == 46 ) + goto tr2035; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2035; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2035; + } else + goto tr2035; + goto tr2005; +tr2030: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st651; +tr2040: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st651; +tr2046: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st651; +st651: + if ( ++p == pe ) + goto _test_eof651; +case 651: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2036; + case 32: goto tr2036; + case 40: goto tr2037; + case 41: goto tr2038; + case 44: goto tr2039; + case 46: goto tr2040; + case 3082: goto tr2041; + case 3131: goto tr2042; + case 3338: goto tr2043; + case 3387: goto tr2043; + case 3594: goto tr2044; + case 3643: goto tr2045; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 58 ) + goto tr2040; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2040; + } else + goto tr2040; + goto tr2005; +tr2039: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st652; +st652: + if ( ++p == pe ) + goto _test_eof652; +case 652: + if ( (*p) == 46 ) + goto tr2046; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2046; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2046; + } else + goto tr2046; + goto tr2005; +tr1936: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->svcb.param_position = rdata_tail; + } + goto st653; +st653: + if ( ++p == pe ) + goto _test_eof653; +case 653: + if ( (*p) == 101 ) + goto st654; + goto tr1921; +st654: + if ( ++p == pe ) + goto _test_eof654; +case 654: + if ( (*p) == 121 ) + goto st655; + goto tr1921; +st655: + if ( ++p == pe ) + goto _test_eof655; +case 655: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2050; + goto tr2049; +tr2050: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st656; +tr2054: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st656; +st656: + if ( ++p == pe ) + goto _test_eof656; +case 656: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2051; + case 32: goto tr2051; + case 40: goto tr2052; + case 41: goto tr2053; + case 61: goto tr2055; + case 3082: goto tr2056; + case 3131: goto tr2057; + case 3338: goto tr2058; + case 3387: goto tr2058; + case 3594: goto tr2059; + case 3643: goto tr2060; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2054; + goto tr2049; +tr2055: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st657; +st657: + if ( ++p == pe ) + goto _test_eof657; +case 657: + switch( (*p) ) { + case 32: goto tr1921; + case 59: goto tr1921; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1921; + } else if ( (*p) >= 9 ) + goto tr1921; + goto tr2061; +tr2061: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 658;goto st318;} } + goto st658; +st658: + if ( ++p == pe ) + goto _test_eof658; +case 658: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1987; + case 32: goto tr1987; + case 40: goto tr1988; + case 41: goto tr1989; + case 3082: goto tr1991; + case 3131: goto tr1992; + case 3338: goto tr1993; + case 3387: goto tr1993; + case 3594: goto tr1994; + case 3643: goto tr1995; + } + goto tr1921; +tr1937: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->svcb.param_position = rdata_tail; + } + goto st659; +st659: + if ( ++p == pe ) + goto _test_eof659; +case 659: + if ( (*p) == 97 ) + goto st660; + goto tr1921; +st660: + if ( ++p == pe ) + goto _test_eof660; +case 660: + if ( (*p) == 110 ) + goto st661; + goto tr1921; +st661: + if ( ++p == pe ) + goto _test_eof661; +case 661: + if ( (*p) == 100 ) + goto st662; + goto tr1921; +st662: + if ( ++p == pe ) + goto _test_eof662; +case 662: + if ( (*p) == 97 ) + goto st663; + goto tr1921; +st663: + if ( ++p == pe ) + goto _test_eof663; +case 663: + if ( (*p) == 116 ) + goto st664; + goto tr1921; +st664: + if ( ++p == pe ) + goto _test_eof664; +case 664: + if ( (*p) == 111 ) + goto st665; + goto tr1921; +st665: + if ( ++p == pe ) + goto _test_eof665; +case 665: + if ( (*p) == 114 ) + goto st666; + goto tr1921; +st666: + if ( ++p == pe ) + goto _test_eof666; +case 666: + if ( (*p) == 121 ) + goto st667; + goto tr1921; +st667: + if ( ++p == pe ) + goto _test_eof667; +case 667: + if ( (*p) == 61 ) + goto tr2070; + goto tr1921; +tr2070: + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + goto st668; +st668: + if ( ++p == pe ) + goto _test_eof668; +case 668: + if ( (*p) == 34 ) + goto st669; + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2072; + } else if ( (*p) >= 65 ) + goto tr2072; + goto tr1921; +st669: + if ( ++p == pe ) + goto _test_eof669; +case 669: + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2073; + } else if ( (*p) >= 65 ) + goto tr2073; + goto tr1921; +tr2073: + { + s->svcb.mandatory_position = rdata_tail + 2; // Skip 2-B prefix. + } + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 670;goto st559;} } + goto st670; +tr2076: + { p--; {stack[top++] = 670;goto st559;} } + goto st670; +st670: + if ( ++p == pe ) + goto _test_eof670; +case 670: + switch( (*p) ) { + case 34: goto tr2074; + case 44: goto st671; + } + goto tr1921; +st671: + if ( ++p == pe ) + goto _test_eof671; +case 671: + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2076; + } else if ( (*p) >= 65 ) + goto tr2076; + goto tr1921; +tr2072: + { + s->svcb.mandatory_position = rdata_tail + 2; // Skip 2-B prefix. + } + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 672;goto st559;} } + goto st672; +tr2086: + { p--; {stack[top++] = 672;goto st559;} } + goto st672; +st672: + if ( ++p == pe ) + goto _test_eof672; +case 672: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2077; + case 32: goto tr2077; + case 40: goto tr2078; + case 41: goto tr2079; + case 44: goto st673; + case 3082: goto tr2081; + case 3131: goto tr2082; + case 3338: goto tr2083; + case 3387: goto tr2083; + case 3594: goto tr2084; + case 3643: goto tr2085; + } + goto tr1921; +st673: + if ( ++p == pe ) + goto _test_eof673; +case 673: + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2086; + } else if ( (*p) >= 65 ) + goto tr2086; + goto tr1921; +tr1938: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->svcb.param_position = rdata_tail; + } + goto st674; +st674: + if ( ++p == pe ) + goto _test_eof674; +case 674: + if ( (*p) == 111 ) + goto st675; + goto tr1921; +st675: + if ( ++p == pe ) + goto _test_eof675; +case 675: + if ( (*p) == 45 ) + goto st676; + goto tr1921; +st676: + if ( ++p == pe ) + goto _test_eof676; +case 676: + if ( (*p) == 100 ) + goto st677; + goto tr1921; +st677: + if ( ++p == pe ) + goto _test_eof677; +case 677: + if ( (*p) == 101 ) + goto st678; + goto tr1921; +st678: + if ( ++p == pe ) + goto _test_eof678; +case 678: + if ( (*p) == 102 ) + goto st679; + goto tr1921; +st679: + if ( ++p == pe ) + goto _test_eof679; +case 679: + if ( (*p) == 97 ) + goto st680; + goto tr1921; +st680: + if ( ++p == pe ) + goto _test_eof680; +case 680: + if ( (*p) == 117 ) + goto st681; + goto tr1921; +st681: + if ( ++p == pe ) + goto _test_eof681; +case 681: + if ( (*p) == 108 ) + goto st682; + goto tr1921; +st682: + if ( ++p == pe ) + goto _test_eof682; +case 682: + if ( (*p) == 116 ) + goto st683; + goto tr1921; +st683: + if ( ++p == pe ) + goto _test_eof683; +case 683: + if ( (*p) == 45 ) + goto st684; + goto tr1921; +st684: + if ( ++p == pe ) + goto _test_eof684; +case 684: + if ( (*p) == 97 ) + goto st685; + goto tr1921; +st685: + if ( ++p == pe ) + goto _test_eof685; +case 685: + if ( (*p) == 108 ) + goto st686; + goto tr1921; +st686: + if ( ++p == pe ) + goto _test_eof686; +case 686: + if ( (*p) == 112 ) + goto st687; + goto tr1921; +st687: + if ( ++p == pe ) + goto _test_eof687; +case 687: + if ( (*p) == 110 ) + goto st688; + goto tr1921; +st688: + if ( ++p == pe ) + goto _test_eof688; +case 688: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2101; + case 32: goto tr2101; + case 40: goto tr2102; + case 41: goto tr2103; + case 3082: goto tr2104; + case 3131: goto tr2105; + case 3338: goto tr2106; + case 3387: goto tr2106; + case 3594: goto tr2107; + case 3643: goto tr2108; + } + goto tr1921; +tr1939: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + s->svcb.param_position = rdata_tail; + } + goto st689; +st689: + if ( ++p == pe ) + goto _test_eof689; +case 689: + if ( (*p) == 111 ) + goto st690; + goto tr1921; +st690: + if ( ++p == pe ) + goto _test_eof690; +case 690: + if ( (*p) == 114 ) + goto st691; + goto tr1921; +st691: + if ( ++p == pe ) + goto _test_eof691; +case 691: + if ( (*p) == 116 ) + goto st692; + goto tr1921; +st692: + if ( ++p == pe ) + goto _test_eof692; +case 692: + if ( (*p) == 61 ) + goto tr2112; + goto tr1921; +tr2112: + { + uint16_t val = htons(3); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + goto st693; +st693: + if ( ++p == pe ) + goto _test_eof693; +case 693: + if ( (*p) == 34 ) + goto st694; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2114; + goto tr2049; +st694: + if ( ++p == pe ) + goto _test_eof694; +case 694: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2115; + goto tr2049; +tr2117: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st695; +tr2115: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st695; +st695: + if ( ++p == pe ) + goto _test_eof695; +case 695: + if ( (*p) == 34 ) + goto tr2116; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2117; + goto tr2049; +tr2121: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st696; +tr2114: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st696; +st696: + if ( ++p == pe ) + goto _test_eof696; +case 696: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2118; + case 32: goto tr2118; + case 40: goto tr2119; + case 41: goto tr2120; + case 3082: goto tr2122; + case 3131: goto tr2123; + case 3338: goto tr2124; + case 3387: goto tr2124; + case 3594: goto tr2125; + case 3643: goto tr2126; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2121; + goto tr2049; +tr1950: + { + s->comma_list = true; + } + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 697;goto st318;} } + goto st697; +st697: + if ( ++p == pe ) + goto _test_eof697; +case 697: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1951; + case 32: goto tr1951; + case 40: goto tr1952; + case 41: goto tr1953; + case 3082: goto tr1954; + case 3131: goto tr1955; + case 3338: goto tr1956; + case 3387: goto tr1956; + case 3594: goto tr1957; + case 3643: goto tr1958; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2127; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2127; + } else + goto tr2127; + goto tr1921; +tr2127: + { + s->comma_list = true; + } + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 698;goto st318;} } + goto st698; +st698: + if ( ++p == pe ) + goto _test_eof698; +case 698: + if ( (*p) == 34 ) + goto tr2128; + goto tr1921; +st699: + if ( ++p == pe ) + goto _test_eof699; +case 699: + switch( (*p) ) { + case 68: goto st701; + case 69: goto st716; + case 73: goto st755; + case 80: goto st763; + case 82: goto st776; + case 100: goto st701; + case 101: goto st716; + case 105: goto st755; + case 112: goto st763; + case 114: goto st776; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2130; + goto tr2129; +tr2130: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st700; +tr2137: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st700; +st700: + if ( ++p == pe ) + goto _test_eof700; +case 700: + switch( (*p) ) { + case 32: goto tr2136; + case 59: goto tr2136; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr2136; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2137; + } else + goto tr2136; + goto tr2129; +tr2136: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2140: + { + *(rdata_tail++) = 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2142: + { + *(rdata_tail++) = 3; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2154: + { + *(rdata_tail++) = 6; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2164: + { + *(rdata_tail++) = 12; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2178: + { + *(rdata_tail++) = 13; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2187: + { + *(rdata_tail++) = 14; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2194: + { + *(rdata_tail++) = 15; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2197: + { + *(rdata_tail++) = 16; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2205: + { + *(rdata_tail++) = 252; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2216: + { + *(rdata_tail++) = 253; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2219: + { + *(rdata_tail++) = 254; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2226: + { + *(rdata_tail++) = 1; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2232: + { + *(rdata_tail++) = 5; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2244: + { + *(rdata_tail++) = 7; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2247: + { + *(rdata_tail++) = 8; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +tr2250: + { + *(rdata_tail++) = 10; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1433; +st1433: + if ( ++p == pe ) + goto _test_eof1433; +case 1433: + goto st0; +st701: + if ( ++p == pe ) + goto _test_eof701; +case 701: + switch( (*p) ) { + case 72: goto st702; + case 83: goto st703; + case 104: goto st702; + case 115: goto st703; + } + goto tr2129; +st702: + if ( ++p == pe ) + goto _test_eof702; +case 702: + switch( (*p) ) { + case 32: goto tr2140; + case 59: goto tr2140; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2140; + } else if ( (*p) >= 9 ) + goto tr2140; + goto tr2129; +st703: + if ( ++p == pe ) + goto _test_eof703; +case 703: + switch( (*p) ) { + case 65: goto st704; + case 97: goto st704; + } + goto tr2129; +st704: + if ( ++p == pe ) + goto _test_eof704; +case 704: + switch( (*p) ) { + case 32: goto tr2142; + case 45: goto st705; + case 59: goto tr2142; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2142; + } else if ( (*p) >= 9 ) + goto tr2142; + goto tr2129; +st705: + if ( ++p == pe ) + goto _test_eof705; +case 705: + switch( (*p) ) { + case 78: goto st706; + case 110: goto st706; + } + goto tr2129; +st706: + if ( ++p == pe ) + goto _test_eof706; +case 706: + switch( (*p) ) { + case 83: goto st707; + case 115: goto st707; + } + goto tr2129; +st707: + if ( ++p == pe ) + goto _test_eof707; +case 707: + switch( (*p) ) { + case 69: goto st708; + case 101: goto st708; + } + goto tr2129; +st708: + if ( ++p == pe ) + goto _test_eof708; +case 708: + switch( (*p) ) { + case 67: goto st709; + case 99: goto st709; + } + goto tr2129; +st709: + if ( ++p == pe ) + goto _test_eof709; +case 709: + if ( (*p) == 51 ) + goto st710; + goto tr2129; +st710: + if ( ++p == pe ) + goto _test_eof710; +case 710: + if ( (*p) == 45 ) + goto st711; + goto tr2129; +st711: + if ( ++p == pe ) + goto _test_eof711; +case 711: + switch( (*p) ) { + case 83: goto st712; + case 115: goto st712; + } + goto tr2129; +st712: + if ( ++p == pe ) + goto _test_eof712; +case 712: + switch( (*p) ) { + case 72: goto st713; + case 104: goto st713; + } + goto tr2129; +st713: + if ( ++p == pe ) + goto _test_eof713; +case 713: + switch( (*p) ) { + case 65: goto st714; + case 97: goto st714; + } + goto tr2129; +st714: + if ( ++p == pe ) + goto _test_eof714; +case 714: + if ( (*p) == 49 ) + goto st715; + goto tr2129; +st715: + if ( ++p == pe ) + goto _test_eof715; +case 715: + switch( (*p) ) { + case 32: goto tr2154; + case 59: goto tr2154; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2154; + } else if ( (*p) >= 9 ) + goto tr2154; + goto tr2129; +st716: + if ( ++p == pe ) + goto _test_eof716; +case 716: + switch( (*p) ) { + case 67: goto st717; + case 68: goto st746; + case 99: goto st717; + case 100: goto st746; + } + goto tr2129; +st717: + if ( ++p == pe ) + goto _test_eof717; +case 717: + switch( (*p) ) { + case 67: goto st718; + case 68: goto st724; + case 99: goto st718; + case 100: goto st724; + } + goto tr2129; +st718: + if ( ++p == pe ) + goto _test_eof718; +case 718: + if ( (*p) == 45 ) + goto st719; + goto tr2129; +st719: + if ( ++p == pe ) + goto _test_eof719; +case 719: + switch( (*p) ) { + case 71: goto st720; + case 103: goto st720; + } + goto tr2129; +st720: + if ( ++p == pe ) + goto _test_eof720; +case 720: + switch( (*p) ) { + case 79: goto st721; + case 111: goto st721; + } + goto tr2129; +st721: + if ( ++p == pe ) + goto _test_eof721; +case 721: + switch( (*p) ) { + case 83: goto st722; + case 115: goto st722; + } + goto tr2129; +st722: + if ( ++p == pe ) + goto _test_eof722; +case 722: + switch( (*p) ) { + case 84: goto st723; + case 116: goto st723; + } + goto tr2129; +st723: + if ( ++p == pe ) + goto _test_eof723; +case 723: + switch( (*p) ) { + case 32: goto tr2164; + case 59: goto tr2164; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2164; + } else if ( (*p) >= 9 ) + goto tr2164; + goto tr2129; +st724: + if ( ++p == pe ) + goto _test_eof724; +case 724: + switch( (*p) ) { + case 83: goto st725; + case 115: goto st725; + } + goto tr2129; +st725: + if ( ++p == pe ) + goto _test_eof725; +case 725: + switch( (*p) ) { + case 65: goto st726; + case 97: goto st726; + } + goto tr2129; +st726: + if ( ++p == pe ) + goto _test_eof726; +case 726: + switch( (*p) ) { + case 80: goto st727; + case 112: goto st727; + } + goto tr2129; +st727: + if ( ++p == pe ) + goto _test_eof727; +case 727: + switch( (*p) ) { + case 50: goto st728; + case 51: goto st737; + } + goto tr2129; +st728: + if ( ++p == pe ) + goto _test_eof728; +case 728: + if ( (*p) == 53 ) + goto st729; + goto tr2129; +st729: + if ( ++p == pe ) + goto _test_eof729; +case 729: + if ( (*p) == 54 ) + goto st730; + goto tr2129; +st730: + if ( ++p == pe ) + goto _test_eof730; +case 730: + switch( (*p) ) { + case 83: goto st731; + case 115: goto st731; + } + goto tr2129; +st731: + if ( ++p == pe ) + goto _test_eof731; +case 731: + switch( (*p) ) { + case 72: goto st732; + case 104: goto st732; + } + goto tr2129; +st732: + if ( ++p == pe ) + goto _test_eof732; +case 732: + switch( (*p) ) { + case 65: goto st733; + case 97: goto st733; + } + goto tr2129; +st733: + if ( ++p == pe ) + goto _test_eof733; +case 733: + if ( (*p) == 50 ) + goto st734; + goto tr2129; +st734: + if ( ++p == pe ) + goto _test_eof734; +case 734: + if ( (*p) == 53 ) + goto st735; + goto tr2129; +st735: + if ( ++p == pe ) + goto _test_eof735; +case 735: + if ( (*p) == 54 ) + goto st736; + goto tr2129; +st736: + if ( ++p == pe ) + goto _test_eof736; +case 736: + switch( (*p) ) { + case 32: goto tr2178; + case 59: goto tr2178; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2178; + } else if ( (*p) >= 9 ) + goto tr2178; + goto tr2129; +st737: + if ( ++p == pe ) + goto _test_eof737; +case 737: + if ( (*p) == 56 ) + goto st738; + goto tr2129; +st738: + if ( ++p == pe ) + goto _test_eof738; +case 738: + if ( (*p) == 52 ) + goto st739; + goto tr2129; +st739: + if ( ++p == pe ) + goto _test_eof739; +case 739: + switch( (*p) ) { + case 83: goto st740; + case 115: goto st740; + } + goto tr2129; +st740: + if ( ++p == pe ) + goto _test_eof740; +case 740: + switch( (*p) ) { + case 72: goto st741; + case 104: goto st741; + } + goto tr2129; +st741: + if ( ++p == pe ) + goto _test_eof741; +case 741: + switch( (*p) ) { + case 65: goto st742; + case 97: goto st742; + } + goto tr2129; +st742: + if ( ++p == pe ) + goto _test_eof742; +case 742: + if ( (*p) == 51 ) + goto st743; + goto tr2129; +st743: + if ( ++p == pe ) + goto _test_eof743; +case 743: + if ( (*p) == 56 ) + goto st744; + goto tr2129; +st744: + if ( ++p == pe ) + goto _test_eof744; +case 744: + if ( (*p) == 52 ) + goto st745; + goto tr2129; +st745: + if ( ++p == pe ) + goto _test_eof745; +case 745: + switch( (*p) ) { + case 32: goto tr2187; + case 59: goto tr2187; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2187; + } else if ( (*p) >= 9 ) + goto tr2187; + goto tr2129; +st746: + if ( ++p == pe ) + goto _test_eof746; +case 746: + switch( (*p) ) { + case 50: goto st747; + case 52: goto st752; + } + goto tr2129; +st747: + if ( ++p == pe ) + goto _test_eof747; +case 747: + if ( (*p) == 53 ) + goto st748; + goto tr2129; +st748: + if ( ++p == pe ) + goto _test_eof748; +case 748: + if ( (*p) == 53 ) + goto st749; + goto tr2129; +st749: + if ( ++p == pe ) + goto _test_eof749; +case 749: + if ( (*p) == 49 ) + goto st750; + goto tr2129; +st750: + if ( ++p == pe ) + goto _test_eof750; +case 750: + if ( (*p) == 57 ) + goto st751; + goto tr2129; +st751: + if ( ++p == pe ) + goto _test_eof751; +case 751: + switch( (*p) ) { + case 32: goto tr2194; + case 59: goto tr2194; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2194; + } else if ( (*p) >= 9 ) + goto tr2194; + goto tr2129; +st752: + if ( ++p == pe ) + goto _test_eof752; +case 752: + if ( (*p) == 52 ) + goto st753; + goto tr2129; +st753: + if ( ++p == pe ) + goto _test_eof753; +case 753: + if ( (*p) == 56 ) + goto st754; + goto tr2129; +st754: + if ( ++p == pe ) + goto _test_eof754; +case 754: + switch( (*p) ) { + case 32: goto tr2197; + case 59: goto tr2197; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2197; + } else if ( (*p) >= 9 ) + goto tr2197; + goto tr2129; +st755: + if ( ++p == pe ) + goto _test_eof755; +case 755: + switch( (*p) ) { + case 78: goto st756; + case 110: goto st756; + } + goto tr2129; +st756: + if ( ++p == pe ) + goto _test_eof756; +case 756: + switch( (*p) ) { + case 68: goto st757; + case 100: goto st757; + } + goto tr2129; +st757: + if ( ++p == pe ) + goto _test_eof757; +case 757: + switch( (*p) ) { + case 73: goto st758; + case 105: goto st758; + } + goto tr2129; +st758: + if ( ++p == pe ) + goto _test_eof758; +case 758: + switch( (*p) ) { + case 82: goto st759; + case 114: goto st759; + } + goto tr2129; +st759: + if ( ++p == pe ) + goto _test_eof759; +case 759: + switch( (*p) ) { + case 69: goto st760; + case 101: goto st760; + } + goto tr2129; +st760: + if ( ++p == pe ) + goto _test_eof760; +case 760: + switch( (*p) ) { + case 67: goto st761; + case 99: goto st761; + } + goto tr2129; +st761: + if ( ++p == pe ) + goto _test_eof761; +case 761: + switch( (*p) ) { + case 84: goto st762; + case 116: goto st762; + } + goto tr2129; +st762: + if ( ++p == pe ) + goto _test_eof762; +case 762: + switch( (*p) ) { + case 32: goto tr2205; + case 59: goto tr2205; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2205; + } else if ( (*p) >= 9 ) + goto tr2205; + goto tr2129; +st763: + if ( ++p == pe ) + goto _test_eof763; +case 763: + switch( (*p) ) { + case 82: goto st764; + case 114: goto st764; + } + goto tr2129; +st764: + if ( ++p == pe ) + goto _test_eof764; +case 764: + switch( (*p) ) { + case 73: goto st765; + case 105: goto st765; + } + goto tr2129; +st765: + if ( ++p == pe ) + goto _test_eof765; +case 765: + switch( (*p) ) { + case 86: goto st766; + case 118: goto st766; + } + goto tr2129; +st766: + if ( ++p == pe ) + goto _test_eof766; +case 766: + switch( (*p) ) { + case 65: goto st767; + case 97: goto st767; + } + goto tr2129; +st767: + if ( ++p == pe ) + goto _test_eof767; +case 767: + switch( (*p) ) { + case 84: goto st768; + case 116: goto st768; + } + goto tr2129; +st768: + if ( ++p == pe ) + goto _test_eof768; +case 768: + switch( (*p) ) { + case 69: goto st769; + case 101: goto st769; + } + goto tr2129; +st769: + if ( ++p == pe ) + goto _test_eof769; +case 769: + switch( (*p) ) { + case 68: goto st770; + case 79: goto st773; + case 100: goto st770; + case 111: goto st773; + } + goto tr2129; +st770: + if ( ++p == pe ) + goto _test_eof770; +case 770: + switch( (*p) ) { + case 78: goto st771; + case 110: goto st771; + } + goto tr2129; +st771: + if ( ++p == pe ) + goto _test_eof771; +case 771: + switch( (*p) ) { + case 83: goto st772; + case 115: goto st772; + } + goto tr2129; +st772: + if ( ++p == pe ) + goto _test_eof772; +case 772: + switch( (*p) ) { + case 32: goto tr2216; + case 59: goto tr2216; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2216; + } else if ( (*p) >= 9 ) + goto tr2216; + goto tr2129; +st773: + if ( ++p == pe ) + goto _test_eof773; +case 773: + switch( (*p) ) { + case 73: goto st774; + case 105: goto st774; + } + goto tr2129; +st774: + if ( ++p == pe ) + goto _test_eof774; +case 774: + switch( (*p) ) { + case 68: goto st775; + case 100: goto st775; + } + goto tr2129; +st775: + if ( ++p == pe ) + goto _test_eof775; +case 775: + switch( (*p) ) { + case 32: goto tr2219; + case 59: goto tr2219; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2219; + } else if ( (*p) >= 9 ) + goto tr2219; + goto tr2129; +st776: + if ( ++p == pe ) + goto _test_eof776; +case 776: + switch( (*p) ) { + case 83: goto st777; + case 115: goto st777; + } + goto tr2129; +st777: + if ( ++p == pe ) + goto _test_eof777; +case 777: + switch( (*p) ) { + case 65: goto st778; + case 97: goto st778; + } + goto tr2129; +st778: + if ( ++p == pe ) + goto _test_eof778; +case 778: + switch( (*p) ) { + case 77: goto st779; + case 83: goto st782; + case 109: goto st779; + case 115: goto st782; + } + goto tr2129; +st779: + if ( ++p == pe ) + goto _test_eof779; +case 779: + switch( (*p) ) { + case 68: goto st780; + case 100: goto st780; + } + goto tr2129; +st780: + if ( ++p == pe ) + goto _test_eof780; +case 780: + if ( (*p) == 53 ) + goto st781; + goto tr2129; +st781: + if ( ++p == pe ) + goto _test_eof781; +case 781: + switch( (*p) ) { + case 32: goto tr2226; + case 59: goto tr2226; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2226; + } else if ( (*p) >= 9 ) + goto tr2226; + goto tr2129; +st782: + if ( ++p == pe ) + goto _test_eof782; +case 782: + switch( (*p) ) { + case 72: goto st783; + case 104: goto st783; + } + goto tr2129; +st783: + if ( ++p == pe ) + goto _test_eof783; +case 783: + switch( (*p) ) { + case 65: goto st784; + case 97: goto st784; + } + goto tr2129; +st784: + if ( ++p == pe ) + goto _test_eof784; +case 784: + switch( (*p) ) { + case 49: goto st785; + case 50: goto st797; + case 53: goto st800; + } + goto tr2129; +st785: + if ( ++p == pe ) + goto _test_eof785; +case 785: + switch( (*p) ) { + case 32: goto tr2232; + case 45: goto st786; + case 59: goto tr2232; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2232; + } else if ( (*p) >= 9 ) + goto tr2232; + goto tr2129; +st786: + if ( ++p == pe ) + goto _test_eof786; +case 786: + switch( (*p) ) { + case 78: goto st787; + case 110: goto st787; + } + goto tr2129; +st787: + if ( ++p == pe ) + goto _test_eof787; +case 787: + switch( (*p) ) { + case 83: goto st788; + case 115: goto st788; + } + goto tr2129; +st788: + if ( ++p == pe ) + goto _test_eof788; +case 788: + switch( (*p) ) { + case 69: goto st789; + case 101: goto st789; + } + goto tr2129; +st789: + if ( ++p == pe ) + goto _test_eof789; +case 789: + switch( (*p) ) { + case 67: goto st790; + case 99: goto st790; + } + goto tr2129; +st790: + if ( ++p == pe ) + goto _test_eof790; +case 790: + if ( (*p) == 51 ) + goto st791; + goto tr2129; +st791: + if ( ++p == pe ) + goto _test_eof791; +case 791: + if ( (*p) == 45 ) + goto st792; + goto tr2129; +st792: + if ( ++p == pe ) + goto _test_eof792; +case 792: + switch( (*p) ) { + case 83: goto st793; + case 115: goto st793; + } + goto tr2129; +st793: + if ( ++p == pe ) + goto _test_eof793; +case 793: + switch( (*p) ) { + case 72: goto st794; + case 104: goto st794; + } + goto tr2129; +st794: + if ( ++p == pe ) + goto _test_eof794; +case 794: + switch( (*p) ) { + case 65: goto st795; + case 97: goto st795; + } + goto tr2129; +st795: + if ( ++p == pe ) + goto _test_eof795; +case 795: + if ( (*p) == 49 ) + goto st796; + goto tr2129; +st796: + if ( ++p == pe ) + goto _test_eof796; +case 796: + switch( (*p) ) { + case 32: goto tr2244; + case 59: goto tr2244; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2244; + } else if ( (*p) >= 9 ) + goto tr2244; + goto tr2129; +st797: + if ( ++p == pe ) + goto _test_eof797; +case 797: + if ( (*p) == 53 ) + goto st798; + goto tr2129; +st798: + if ( ++p == pe ) + goto _test_eof798; +case 798: + if ( (*p) == 54 ) + goto st799; + goto tr2129; +st799: + if ( ++p == pe ) + goto _test_eof799; +case 799: + switch( (*p) ) { + case 32: goto tr2247; + case 59: goto tr2247; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2247; + } else if ( (*p) >= 9 ) + goto tr2247; + goto tr2129; +st800: + if ( ++p == pe ) + goto _test_eof800; +case 800: + if ( (*p) == 49 ) + goto st801; + goto tr2129; +st801: + if ( ++p == pe ) + goto _test_eof801; +case 801: + if ( (*p) == 50 ) + goto st802; + goto tr2129; +st802: + if ( ++p == pe ) + goto _test_eof802; +case 802: + switch( (*p) ) { + case 32: goto tr2250; + case 59: goto tr2250; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2250; + } else if ( (*p) >= 9 ) + goto tr2250; + goto tr2129; +st803: + if ( ++p == pe ) + goto _test_eof803; +case 803: + switch( (*p) ) { + case 65: goto st805; + case 73: goto st811; + case 79: goto st828; + case 80: goto st831; + case 83: goto st837; + case 85: goto st841; + case 97: goto st805; + case 105: goto st811; + case 111: goto st828; + case 112: goto st831; + case 115: goto st837; + case 117: goto st841; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2252; + goto tr2251; +tr2252: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st804; +tr2260: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st804; +st804: + if ( ++p == pe ) + goto _test_eof804; +case 804: + switch( (*p) ) { + case 32: goto tr2259; + case 59: goto tr2259; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr2259; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2260; + } else + goto tr2259; + goto tr2251; +tr2296: + { + uint16_t val = htons(1); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2286: + { + uint16_t val = htons(5); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2282: + { + uint16_t val = htons(4); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2279: + { + uint16_t val = htons(6); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2259: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2300: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2293: + { + uint16_t val = htons(3); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2266: + { + uint16_t val = htons(7); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2275: + { + uint16_t val = htons(8); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2289: + { + uint16_t val = htons(254); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +tr2303: + { + uint16_t val = htons(253); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1434; +st1434: + if ( ++p == pe ) + goto _test_eof1434; +case 1434: + goto st0; +st805: + if ( ++p == pe ) + goto _test_eof805; +case 805: + switch( (*p) ) { + case 67: goto st806; + case 99: goto st806; + } + goto tr2251; +st806: + if ( ++p == pe ) + goto _test_eof806; +case 806: + switch( (*p) ) { + case 80: goto st807; + case 112: goto st807; + } + goto tr2251; +st807: + if ( ++p == pe ) + goto _test_eof807; +case 807: + switch( (*p) ) { + case 75: goto st808; + case 107: goto st808; + } + goto tr2251; +st808: + if ( ++p == pe ) + goto _test_eof808; +case 808: + switch( (*p) ) { + case 73: goto st809; + case 105: goto st809; + } + goto tr2251; +st809: + if ( ++p == pe ) + goto _test_eof809; +case 809: + switch( (*p) ) { + case 88: goto st810; + case 120: goto st810; + } + goto tr2251; +st810: + if ( ++p == pe ) + goto _test_eof810; +case 810: + switch( (*p) ) { + case 32: goto tr2266; + case 59: goto tr2266; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2266; + } else if ( (*p) >= 9 ) + goto tr2266; + goto tr2251; +st811: + if ( ++p == pe ) + goto _test_eof811; +case 811: + switch( (*p) ) { + case 65: goto st812; + case 80: goto st818; + case 83: goto st824; + case 97: goto st812; + case 112: goto st818; + case 115: goto st824; + } + goto tr2251; +st812: + if ( ++p == pe ) + goto _test_eof812; +case 812: + switch( (*p) ) { + case 67: goto st813; + case 99: goto st813; + } + goto tr2251; +st813: + if ( ++p == pe ) + goto _test_eof813; +case 813: + switch( (*p) ) { + case 80: goto st814; + case 112: goto st814; + } + goto tr2251; +st814: + if ( ++p == pe ) + goto _test_eof814; +case 814: + switch( (*p) ) { + case 75: goto st815; + case 107: goto st815; + } + goto tr2251; +st815: + if ( ++p == pe ) + goto _test_eof815; +case 815: + switch( (*p) ) { + case 73: goto st816; + case 105: goto st816; + } + goto tr2251; +st816: + if ( ++p == pe ) + goto _test_eof816; +case 816: + switch( (*p) ) { + case 88: goto st817; + case 120: goto st817; + } + goto tr2251; +st817: + if ( ++p == pe ) + goto _test_eof817; +case 817: + switch( (*p) ) { + case 32: goto tr2275; + case 59: goto tr2275; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2275; + } else if ( (*p) >= 9 ) + goto tr2275; + goto tr2251; +st818: + if ( ++p == pe ) + goto _test_eof818; +case 818: + switch( (*p) ) { + case 71: goto st819; + case 75: goto st821; + case 103: goto st819; + case 107: goto st821; + } + goto tr2251; +st819: + if ( ++p == pe ) + goto _test_eof819; +case 819: + switch( (*p) ) { + case 80: goto st820; + case 112: goto st820; + } + goto tr2251; +st820: + if ( ++p == pe ) + goto _test_eof820; +case 820: + switch( (*p) ) { + case 32: goto tr2279; + case 59: goto tr2279; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2279; + } else if ( (*p) >= 9 ) + goto tr2279; + goto tr2251; +st821: + if ( ++p == pe ) + goto _test_eof821; +case 821: + switch( (*p) ) { + case 73: goto st822; + case 105: goto st822; + } + goto tr2251; +st822: + if ( ++p == pe ) + goto _test_eof822; +case 822: + switch( (*p) ) { + case 88: goto st823; + case 120: goto st823; + } + goto tr2251; +st823: + if ( ++p == pe ) + goto _test_eof823; +case 823: + switch( (*p) ) { + case 32: goto tr2282; + case 59: goto tr2282; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2282; + } else if ( (*p) >= 9 ) + goto tr2282; + goto tr2251; +st824: + if ( ++p == pe ) + goto _test_eof824; +case 824: + switch( (*p) ) { + case 80: goto st825; + case 112: goto st825; + } + goto tr2251; +st825: + if ( ++p == pe ) + goto _test_eof825; +case 825: + switch( (*p) ) { + case 75: goto st826; + case 107: goto st826; + } + goto tr2251; +st826: + if ( ++p == pe ) + goto _test_eof826; +case 826: + switch( (*p) ) { + case 73: goto st827; + case 105: goto st827; + } + goto tr2251; +st827: + if ( ++p == pe ) + goto _test_eof827; +case 827: + switch( (*p) ) { + case 32: goto tr2286; + case 59: goto tr2286; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2286; + } else if ( (*p) >= 9 ) + goto tr2286; + goto tr2251; +st828: + if ( ++p == pe ) + goto _test_eof828; +case 828: + switch( (*p) ) { + case 73: goto st829; + case 105: goto st829; + } + goto tr2251; +st829: + if ( ++p == pe ) + goto _test_eof829; +case 829: + switch( (*p) ) { + case 68: goto st830; + case 100: goto st830; + } + goto tr2251; +st830: + if ( ++p == pe ) + goto _test_eof830; +case 830: + switch( (*p) ) { + case 32: goto tr2289; + case 59: goto tr2289; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2289; + } else if ( (*p) >= 9 ) + goto tr2289; + goto tr2251; +st831: + if ( ++p == pe ) + goto _test_eof831; +case 831: + switch( (*p) ) { + case 71: goto st832; + case 75: goto st834; + case 103: goto st832; + case 107: goto st834; + } + goto tr2251; +st832: + if ( ++p == pe ) + goto _test_eof832; +case 832: + switch( (*p) ) { + case 80: goto st833; + case 112: goto st833; + } + goto tr2251; +st833: + if ( ++p == pe ) + goto _test_eof833; +case 833: + switch( (*p) ) { + case 32: goto tr2293; + case 59: goto tr2293; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2293; + } else if ( (*p) >= 9 ) + goto tr2293; + goto tr2251; +st834: + if ( ++p == pe ) + goto _test_eof834; +case 834: + switch( (*p) ) { + case 73: goto st835; + case 105: goto st835; + } + goto tr2251; +st835: + if ( ++p == pe ) + goto _test_eof835; +case 835: + switch( (*p) ) { + case 88: goto st836; + case 120: goto st836; + } + goto tr2251; +st836: + if ( ++p == pe ) + goto _test_eof836; +case 836: + switch( (*p) ) { + case 32: goto tr2296; + case 59: goto tr2296; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2296; + } else if ( (*p) >= 9 ) + goto tr2296; + goto tr2251; +st837: + if ( ++p == pe ) + goto _test_eof837; +case 837: + switch( (*p) ) { + case 80: goto st838; + case 112: goto st838; + } + goto tr2251; +st838: + if ( ++p == pe ) + goto _test_eof838; +case 838: + switch( (*p) ) { + case 75: goto st839; + case 107: goto st839; + } + goto tr2251; +st839: + if ( ++p == pe ) + goto _test_eof839; +case 839: + switch( (*p) ) { + case 73: goto st840; + case 105: goto st840; + } + goto tr2251; +st840: + if ( ++p == pe ) + goto _test_eof840; +case 840: + switch( (*p) ) { + case 32: goto tr2300; + case 59: goto tr2300; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2300; + } else if ( (*p) >= 9 ) + goto tr2300; + goto tr2251; +st841: + if ( ++p == pe ) + goto _test_eof841; +case 841: + switch( (*p) ) { + case 82: goto st842; + case 114: goto st842; + } + goto tr2251; +st842: + if ( ++p == pe ) + goto _test_eof842; +case 842: + switch( (*p) ) { + case 73: goto st843; + case 105: goto st843; + } + goto tr2251; +st843: + if ( ++p == pe ) + goto _test_eof843; +case 843: + switch( (*p) ) { + case 32: goto tr2303; + case 59: goto tr2303; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2303; + } else if ( (*p) >= 9 ) + goto tr2303; + goto tr2251; +st844: + if ( ++p == pe ) + goto _test_eof844; +case 844: + if ( (*p) == 46 ) + goto tr2305; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2305; + goto tr2304; +tr2307: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st845; +tr2305: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st845; +st845: + if ( ++p == pe ) + goto _test_eof845; +case 845: + switch( (*p) ) { + case 32: goto tr2306; + case 46: goto tr2307; + case 59: goto tr2306; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr2306; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2307; + } else + goto tr2306; + goto tr2304; +tr2306: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1435; +st1435: + if ( ++p == pe ) + goto _test_eof1435; +case 1435: + goto st0; +st846: + if ( ++p == pe ) + goto _test_eof846; +case 846: + switch( (*p) ) { + case 42: goto tr2308; + case 92: goto tr2308; + case 95: goto tr2308; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr2308; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2308; + } else + goto tr2308; + goto tr75; +tr2308: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 847;goto st309;} } + goto st847; +st847: + if ( ++p == pe ) + goto _test_eof847; +case 847: + switch( (*p) ) { + case 32: goto tr2309; + case 59: goto tr2309; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2309; + } else if ( (*p) >= 9 ) + goto tr2309; + goto tr75; +tr2309: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1436; +st1436: + if ( ++p == pe ) + goto _test_eof1436; +case 1436: + goto st0; +st848: + if ( ++p == pe ) + goto _test_eof848; +case 848: + switch( (*p) ) { + case 42: goto tr2310; + case 92: goto tr2310; + case 95: goto tr2310; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr2310; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2310; + } else + goto tr2310; + goto tr75; +tr2310: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 849;goto st309;} } + goto st849; +st849: + if ( ++p == pe ) + goto _test_eof849; +case 849: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2311; + case 32: goto tr2311; + case 40: goto tr2312; + case 41: goto tr2313; + case 2058: goto tr2314; + case 2107: goto tr2315; + } + goto tr75; +tr2317: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st850; +tr2318: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st850; +tr2320: + { + s->line_counter++; + } + goto st850; +tr2464: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 850; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st850; +tr2311: + { + rdata_tail += s->dname_tmp_length; + } + goto st850; +tr2312: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st850; +tr2313: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st850; +tr2314: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st850; +st850: + if ( ++p == pe ) + goto _test_eof850; +case 850: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st850; + case 32: goto st850; + case 40: goto tr2317; + case 41: goto tr2318; + case 42: goto tr2319; + case 92: goto tr2319; + case 95: goto tr2319; + case 2058: goto tr2320; + case 2107: goto tr2321; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2319; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2319; + } else + goto tr2319; + goto tr75; +tr2319: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 851;goto st309;} } + goto st851; +st851: + if ( ++p == pe ) + goto _test_eof851; +case 851: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2322; + case 32: goto tr2322; + case 40: goto tr2323; + case 41: goto tr2324; + case 2058: goto tr2325; + case 2107: goto tr2326; + } + goto tr75; +tr2329: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st852; +tr2330: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st852; +tr2332: + { + s->line_counter++; + } + goto st852; +tr2462: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 852; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st852; +tr2322: + { + rdata_tail += s->dname_tmp_length; + } + goto st852; +tr2323: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st852; +tr2324: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st852; +tr2325: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st852; +st852: + if ( ++p == pe ) + goto _test_eof852; +case 852: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st852; + case 32: goto st852; + case 40: goto tr2329; + case 41: goto tr2330; + case 2058: goto tr2332; + case 2107: goto tr2333; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2331; + goto tr2327; +tr2331: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st853; +tr2337: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st853; +st853: + if ( ++p == pe ) + goto _test_eof853; +case 853: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2334; + case 32: goto tr2334; + case 40: goto tr2335; + case 41: goto tr2336; + case 2058: goto tr2338; + case 2107: goto tr2339; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2337; + goto tr2327; +tr2341: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st854; +tr2342: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st854; +tr2344: + { + s->line_counter++; + } + goto st854; +tr2460: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 854; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st854; +tr2334: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st854; +tr2335: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st854; +tr2336: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st854; +tr2338: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st854; +st854: + if ( ++p == pe ) + goto _test_eof854; +case 854: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st854; + case 32: goto st854; + case 40: goto tr2341; + case 41: goto tr2342; + case 2058: goto tr2344; + case 2107: goto tr2345; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2343; + goto tr2327; +tr2343: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st855; +tr2350: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st855; +st855: + if ( ++p == pe ) + goto _test_eof855; +case 855: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2347; + case 32: goto tr2347; + case 40: goto tr2348; + case 41: goto tr2349; + case 68: goto tr2351; + case 72: goto tr2352; + case 77: goto tr2353; + case 83: goto st874; + case 87: goto tr2355; + case 100: goto tr2351; + case 104: goto tr2352; + case 109: goto tr2353; + case 115: goto st874; + case 119: goto tr2355; + case 2058: goto tr2356; + case 2107: goto tr2357; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2350; + goto tr2346; +tr2359: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st856; +tr2360: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st856; +tr2362: + { + s->line_counter++; + } + goto st856; +tr2445: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 856; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st856; +tr2347: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st856; +tr2348: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st856; +tr2349: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st856; +tr2356: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st856; +tr2453: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st856; +tr2454: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st856; +tr2455: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st856; +tr2457: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st856; +st856: + if ( ++p == pe ) + goto _test_eof856; +case 856: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st856; + case 32: goto st856; + case 40: goto tr2359; + case 41: goto tr2360; + case 2058: goto tr2362; + case 2107: goto tr2363; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2361; + goto tr2327; +tr2361: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st857; +tr2367: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st857; +st857: + if ( ++p == pe ) + goto _test_eof857; +case 857: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2364; + case 32: goto tr2364; + case 40: goto tr2365; + case 41: goto tr2366; + case 68: goto tr2368; + case 72: goto tr2369; + case 77: goto tr2370; + case 83: goto st870; + case 87: goto tr2372; + case 100: goto tr2368; + case 104: goto tr2369; + case 109: goto tr2370; + case 115: goto st870; + case 119: goto tr2372; + case 2058: goto tr2373; + case 2107: goto tr2374; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2367; + goto tr2346; +tr2376: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st858; +tr2377: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st858; +tr2379: + { + s->line_counter++; + } + goto st858; +tr2430: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 858; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st858; +tr2364: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st858; +tr2365: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st858; +tr2366: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st858; +tr2373: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st858; +tr2438: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st858; +tr2439: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st858; +tr2440: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st858; +tr2442: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st858; +st858: + if ( ++p == pe ) + goto _test_eof858; +case 858: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st858; + case 32: goto st858; + case 40: goto tr2376; + case 41: goto tr2377; + case 2058: goto tr2379; + case 2107: goto tr2380; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2378; + goto tr2327; +tr2378: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st859; +tr2384: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st859; +st859: + if ( ++p == pe ) + goto _test_eof859; +case 859: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2381; + case 32: goto tr2381; + case 40: goto tr2382; + case 41: goto tr2383; + case 68: goto tr2385; + case 72: goto tr2386; + case 77: goto tr2387; + case 83: goto st866; + case 87: goto tr2389; + case 100: goto tr2385; + case 104: goto tr2386; + case 109: goto tr2387; + case 115: goto st866; + case 119: goto tr2389; + case 2058: goto tr2390; + case 2107: goto tr2391; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2384; + goto tr2346; +tr2393: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st860; +tr2394: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st860; +tr2396: + { + s->line_counter++; + } + goto st860; +tr2415: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 860; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st860; +tr2381: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st860; +tr2382: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st860; +tr2383: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st860; +tr2390: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st860; +tr2423: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st860; +tr2424: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st860; +tr2425: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st860; +tr2427: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st860; +st860: + if ( ++p == pe ) + goto _test_eof860; +case 860: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st860; + case 32: goto st860; + case 40: goto tr2393; + case 41: goto tr2394; + case 2058: goto tr2396; + case 2107: goto tr2397; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2395; + goto tr2327; +tr2395: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st861; +tr2399: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st861; +st861: + if ( ++p == pe ) + goto _test_eof861; +case 861: + switch( (*p) ) { + case 32: goto tr2398; + case 59: goto tr2398; + case 68: goto tr2400; + case 72: goto tr2401; + case 77: goto tr2402; + case 83: goto st862; + case 87: goto tr2404; + case 100: goto tr2400; + case 104: goto tr2401; + case 109: goto tr2402; + case 115: goto st862; + case 119: goto tr2404; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr2398; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2399; + } else + goto tr2398; + goto tr2346; +tr2398: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1437; +tr2412: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1437; +st1437: + if ( ++p == pe ) + goto _test_eof1437; +case 1437: + goto st0; +tr2400: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st862; +tr2401: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st862; +tr2402: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st862; +tr2404: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st862; +st862: + if ( ++p == pe ) + goto _test_eof862; +case 862: + switch( (*p) ) { + case 32: goto tr2398; + case 59: goto tr2398; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr2398; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2405; + } else + goto tr2398; + goto tr2346; +tr2406: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st863; +tr2405: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st863; +tr2413: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st863; +st863: + if ( ++p == pe ) + goto _test_eof863; +case 863: + switch( (*p) ) { + case 68: goto tr2407; + case 72: goto tr2408; + case 77: goto tr2409; + case 83: goto st864; + case 87: goto tr2411; + case 100: goto tr2407; + case 104: goto tr2408; + case 109: goto tr2409; + case 115: goto st864; + case 119: goto tr2411; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2406; + goto tr2346; +tr2407: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st864; +tr2408: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st864; +tr2409: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st864; +tr2411: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st864; +st864: + if ( ++p == pe ) + goto _test_eof864; +case 864: + switch( (*p) ) { + case 32: goto tr2412; + case 59: goto tr2412; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr2412; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2413; + } else + goto tr2412; + goto tr2346; +tr2397: + { + s->buffer_length = 0; + } + goto st865; +tr2414: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st865; +tr2391: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st865; +tr2428: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st865; +st865: + if ( ++p == pe ) + goto _test_eof865; +case 865: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2415; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2414; + goto tr75; +tr2385: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st866; +tr2386: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st866; +tr2387: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st866; +tr2389: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st866; +st866: + if ( ++p == pe ) + goto _test_eof866; +case 866: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2381; + case 32: goto tr2381; + case 40: goto tr2382; + case 41: goto tr2383; + case 2058: goto tr2390; + case 2107: goto tr2391; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2416; + goto tr2346; +tr2417: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st867; +tr2416: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st867; +tr2426: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st867; +st867: + if ( ++p == pe ) + goto _test_eof867; +case 867: + switch( (*p) ) { + case 68: goto tr2418; + case 72: goto tr2419; + case 77: goto tr2420; + case 83: goto st868; + case 87: goto tr2422; + case 100: goto tr2418; + case 104: goto tr2419; + case 109: goto tr2420; + case 115: goto st868; + case 119: goto tr2422; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2417; + goto tr2346; +tr2418: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st868; +tr2419: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st868; +tr2420: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st868; +tr2422: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st868; +st868: + if ( ++p == pe ) + goto _test_eof868; +case 868: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2423; + case 32: goto tr2423; + case 40: goto tr2424; + case 41: goto tr2425; + case 2058: goto tr2427; + case 2107: goto tr2428; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2426; + goto tr2346; +tr2380: + { + s->buffer_length = 0; + } + goto st869; +tr2429: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st869; +tr2374: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st869; +tr2443: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st869; +st869: + if ( ++p == pe ) + goto _test_eof869; +case 869: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2430; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2429; + goto tr75; +tr2368: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st870; +tr2369: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st870; +tr2370: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st870; +tr2372: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st870; +st870: + if ( ++p == pe ) + goto _test_eof870; +case 870: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2364; + case 32: goto tr2364; + case 40: goto tr2365; + case 41: goto tr2366; + case 2058: goto tr2373; + case 2107: goto tr2374; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2431; + goto tr2346; +tr2432: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st871; +tr2431: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st871; +tr2441: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st871; +st871: + if ( ++p == pe ) + goto _test_eof871; +case 871: + switch( (*p) ) { + case 68: goto tr2433; + case 72: goto tr2434; + case 77: goto tr2435; + case 83: goto st872; + case 87: goto tr2437; + case 100: goto tr2433; + case 104: goto tr2434; + case 109: goto tr2435; + case 115: goto st872; + case 119: goto tr2437; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2432; + goto tr2346; +tr2433: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st872; +tr2434: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st872; +tr2435: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st872; +tr2437: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st872; +st872: + if ( ++p == pe ) + goto _test_eof872; +case 872: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2438; + case 32: goto tr2438; + case 40: goto tr2439; + case 41: goto tr2440; + case 2058: goto tr2442; + case 2107: goto tr2443; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2441; + goto tr2346; +tr2363: + { + s->buffer_length = 0; + } + goto st873; +tr2444: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st873; +tr2357: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st873; +tr2458: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st873; +st873: + if ( ++p == pe ) + goto _test_eof873; +case 873: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2445; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2444; + goto tr75; +tr2351: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st874; +tr2352: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st874; +tr2353: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st874; +tr2355: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st874; +st874: + if ( ++p == pe ) + goto _test_eof874; +case 874: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2347; + case 32: goto tr2347; + case 40: goto tr2348; + case 41: goto tr2349; + case 2058: goto tr2356; + case 2107: goto tr2357; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2446; + goto tr2346; +tr2447: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st875; +tr2446: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st875; +tr2456: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st875; +st875: + if ( ++p == pe ) + goto _test_eof875; +case 875: + switch( (*p) ) { + case 68: goto tr2448; + case 72: goto tr2449; + case 77: goto tr2450; + case 83: goto st876; + case 87: goto tr2452; + case 100: goto tr2448; + case 104: goto tr2449; + case 109: goto tr2450; + case 115: goto st876; + case 119: goto tr2452; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2447; + goto tr2346; +tr2448: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st876; +tr2449: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st876; +tr2450: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st876; +tr2452: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st876; +st876: + if ( ++p == pe ) + goto _test_eof876; +case 876: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2453; + case 32: goto tr2453; + case 40: goto tr2454; + case 41: goto tr2455; + case 2058: goto tr2457; + case 2107: goto tr2458; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2456; + goto tr2346; +tr2345: + { + s->buffer_length = 0; + } + goto st877; +tr2459: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st877; +tr2339: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st877; +st877: + if ( ++p == pe ) + goto _test_eof877; +case 877: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2460; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2459; + goto tr75; +tr2333: + { + s->buffer_length = 0; + } + goto st878; +tr2461: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st878; +tr2326: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st878; +st878: + if ( ++p == pe ) + goto _test_eof878; +case 878: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2462; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2461; + goto tr75; +tr2321: + { + s->buffer_length = 0; + } + goto st879; +tr2463: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st879; +tr2315: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st879; +st879: + if ( ++p == pe ) + goto _test_eof879; +case 879: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2464; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2463; + goto tr75; +st880: + if ( ++p == pe ) + goto _test_eof880; +case 880: + switch( (*p) ) { + case 32: goto tr75; + case 59: goto tr75; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr75; + } else if ( (*p) >= 9 ) + goto tr75; + goto tr2465; +tr2465: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 881;goto st318;} } + goto st881; +st881: + if ( ++p == pe ) + goto _test_eof881; +case 881: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2466; + case 32: goto tr2466; + case 40: goto tr2467; + case 41: goto tr2468; + case 2058: goto tr2469; + case 2107: goto tr2470; + } + goto tr75; +tr2473: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st882; +tr2474: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st882; +tr2475: + { + s->line_counter++; + } + goto st882; +tr2479: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 882; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st882; +tr2466: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st882; +tr2467: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st882; +tr2468: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st882; +tr2469: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st882; +st882: + if ( ++p == pe ) + goto _test_eof882; +case 882: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st882; + case 32: goto st882; + case 40: goto tr2473; + case 41: goto tr2474; + case 2058: goto tr2475; + case 2107: goto tr2476; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2471; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2471; + } else + goto tr2471; + goto tr75; +tr2471: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 883;goto st318;} } + goto st883; +st883: + if ( ++p == pe ) + goto _test_eof883; +case 883: + switch( (*p) ) { + case 32: goto tr2477; + case 59: goto tr2477; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2477; + } else if ( (*p) >= 9 ) + goto tr2477; + goto tr75; +tr2477: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1438; +st1438: + if ( ++p == pe ) + goto _test_eof1438; +case 1438: + goto st0; +tr2476: + { + s->buffer_length = 0; + } + goto st884; +tr2478: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st884; +tr2470: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st884; +st884: + if ( ++p == pe ) + goto _test_eof884; +case 884: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2479; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2478; + goto tr75; +st885: + if ( ++p == pe ) + goto _test_eof885; +case 885: + switch( (*p) ) { + case 42: goto tr2480; + case 92: goto tr2480; + case 95: goto tr2480; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr2480; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2480; + } else + goto tr2480; + goto tr75; +tr2480: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 886;goto st309;} } + goto st886; +st886: + if ( ++p == pe ) + goto _test_eof886; +case 886: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2481; + case 32: goto tr2481; + case 40: goto tr2482; + case 41: goto tr2483; + case 2058: goto tr2484; + case 2107: goto tr2485; + } + goto tr75; +tr2487: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st887; +tr2488: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st887; +tr2490: + { + s->line_counter++; + } + goto st887; +tr2494: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 887; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st887; +tr2481: + { + rdata_tail += s->dname_tmp_length; + } + goto st887; +tr2482: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st887; +tr2483: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st887; +tr2484: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st887; +st887: + if ( ++p == pe ) + goto _test_eof887; +case 887: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st887; + case 32: goto st887; + case 40: goto tr2487; + case 41: goto tr2488; + case 42: goto tr2489; + case 92: goto tr2489; + case 95: goto tr2489; + case 2058: goto tr2490; + case 2107: goto tr2491; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2489; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2489; + } else + goto tr2489; + goto tr75; +tr2489: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 888;goto st309;} } + goto st888; +st888: + if ( ++p == pe ) + goto _test_eof888; +case 888: + switch( (*p) ) { + case 32: goto tr2492; + case 59: goto tr2492; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2492; + } else if ( (*p) >= 9 ) + goto tr2492; + goto tr75; +tr2492: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1439; +st1439: + if ( ++p == pe ) + goto _test_eof1439; +case 1439: + goto st0; +tr2491: + { + s->buffer_length = 0; + } + goto st889; +tr2493: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st889; +tr2485: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st889; +st889: + if ( ++p == pe ) + goto _test_eof889; +case 889: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2494; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2493; + goto tr75; +st890: + if ( ++p == pe ) + goto _test_eof890; +case 890: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2495; + goto tr2327; +tr2495: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st891; +tr2499: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st891; +st891: + if ( ++p == pe ) + goto _test_eof891; +case 891: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2496; + case 32: goto tr2496; + case 40: goto tr2497; + case 41: goto tr2498; + case 2058: goto tr2500; + case 2107: goto tr2501; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2499; + goto tr2327; +tr2503: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st892; +tr2504: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st892; +tr2506: + { + s->line_counter++; + } + goto st892; +tr2510: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 892; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st892; +tr2496: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st892; +tr2497: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st892; +tr2498: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st892; +tr2500: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st892; +st892: + if ( ++p == pe ) + goto _test_eof892; +case 892: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st892; + case 32: goto st892; + case 40: goto tr2503; + case 41: goto tr2504; + case 42: goto tr2505; + case 92: goto tr2505; + case 95: goto tr2505; + case 2058: goto tr2506; + case 2107: goto tr2507; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2505; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2505; + } else + goto tr2505; + goto tr75; +tr2505: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 893;goto st309;} } + goto st893; +st893: + if ( ++p == pe ) + goto _test_eof893; +case 893: + switch( (*p) ) { + case 32: goto tr2508; + case 59: goto tr2508; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2508; + } else if ( (*p) >= 9 ) + goto tr2508; + goto tr75; +tr2508: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1440; +st1440: + if ( ++p == pe ) + goto _test_eof1440; +case 1440: + goto st0; +tr2507: + { + s->buffer_length = 0; + } + goto st894; +tr2509: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st894; +tr2501: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st894; +st894: + if ( ++p == pe ) + goto _test_eof894; +case 894: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2510; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2509; + goto tr75; +st895: + if ( ++p == pe ) + goto _test_eof895; +case 895: + switch( (*p) ) { + case 32: goto tr2512; + case 59: goto tr2512; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2512; + } else if ( (*p) >= 9 ) + goto tr2512; + goto tr2511; +tr2521: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 896;goto st318;} } + goto st896; +tr2511: + { + s->long_string = true; + } + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 896;goto st318;} } + goto st896; +st896: + if ( ++p == pe ) + goto _test_eof896; +case 896: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2513; + case 32: goto tr2513; + case 40: goto tr2514; + case 41: goto tr2515; + case 3082: goto tr2516; + case 3131: goto tr2517; + case 3338: goto tr2518; + case 3387: goto tr2518; + case 3594: goto tr2519; + case 3643: goto tr2520; + } + goto tr2512; +tr2523: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st897; +tr2524: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st897; +tr2525: + { + s->line_counter++; + } + goto st897; +tr2531: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 897; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st897; +tr2513: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st897; +tr2514: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st897; +tr2515: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st897; +tr2516: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st897; +st897: + if ( ++p == pe ) + goto _test_eof897; +case 897: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st897; + case 32: goto st897; + case 40: goto tr2523; + case 41: goto tr2524; + case 3082: goto tr2525; + case 3131: goto tr2526; + case 3338: goto tr2527; + case 3387: goto tr2527; + case 3594: goto tr2528; + case 3643: goto tr2529; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2521; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2521; + } else + goto tr2521; + goto tr2512; +tr2526: + { + s->buffer_length = 0; + } + goto st898; +tr2530: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st898; +tr2517: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st898; +st898: + if ( ++p == pe ) + goto _test_eof898; +case 898: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2531; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2530; + goto tr2512; +tr2518: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1441; +tr2527: + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1441; +st1441: + if ( ++p == pe ) + goto _test_eof1441; +case 1441: + goto st0; +tr2519: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1442; +tr2528: + { + s->line_counter++; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1442; +st1442: + if ( ++p == pe ) + goto _test_eof1442; +case 1442: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st897; + case 32: goto st897; + case 40: goto tr2523; + case 41: goto tr2524; + case 3082: goto tr2525; + case 3131: goto tr2526; + case 3338: goto tr2527; + case 3387: goto tr2527; + case 3594: goto tr2528; + case 3643: goto tr2529; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2521; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2521; + } else + goto tr2521; + goto tr2512; +tr2520: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1443; +tr2529: + { + s->buffer_length = 0; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1443; +st1443: + if ( ++p == pe ) + goto _test_eof1443; +case 1443: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2531; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2530; + goto tr2512; +st899: + if ( ++p == pe ) + goto _test_eof899; +case 899: + if ( (*p) == 46 ) + goto tr2532; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2532; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2532; + } else + goto tr2532; + goto tr2304; +tr2534: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st900; +tr2532: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st900; +st900: + if ( ++p == pe ) + goto _test_eof900; +case 900: + switch( (*p) ) { + case 32: goto tr2533; + case 46: goto tr2534; + case 59: goto tr2533; + } + if ( (*p) < 48 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2533; + } else if ( (*p) >= 9 ) + goto tr2533; + } else if ( (*p) > 58 ) { + if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2534; + } else if ( (*p) >= 65 ) + goto tr2534; + } else + goto tr2534; + goto tr2304; +tr2533: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1444; +st1444: + if ( ++p == pe ) + goto _test_eof1444; +case 1444: + goto st0; +st901: + if ( ++p == pe ) + goto _test_eof901; +case 901: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2536; + goto tr2535; +tr2540: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st902; +tr2536: + { + memset(&(s->loc), 0, sizeof(s->loc)); + // Defaults. + s->loc.siz = 100; + s->loc.vp = 1000; + s->loc.hp = 1000000; + s->loc.lat_sign = 1; + s->loc.long_sign = 1; + s->loc.alt_sign = 1; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st902; +st902: + if ( ++p == pe ) + goto _test_eof902; +case 902: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2537; + case 32: goto tr2537; + case 40: goto tr2538; + case 41: goto tr2539; + case 2058: goto tr2541; + case 2107: goto tr2542; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2540; + goto tr2535; +tr2544: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st903; +tr2545: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st903; +tr2549: + { + s->line_counter++; + } + goto st903; +tr2792: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 903; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st903; +tr2537: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st903; +tr2538: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st903; +tr2539: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st903; +tr2541: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st903; +st903: + if ( ++p == pe ) + goto _test_eof903; +case 903: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st903; + case 32: goto st903; + case 40: goto tr2544; + case 41: goto tr2545; + case 78: goto st908; + case 83: goto st950; + case 2058: goto tr2549; + case 2107: goto tr2550; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2546; + goto tr2535; +tr2546: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st904; +tr2554: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st904; +st904: + if ( ++p == pe ) + goto _test_eof904; +case 904: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2551; + case 32: goto tr2551; + case 40: goto tr2552; + case 41: goto tr2553; + case 2058: goto tr2555; + case 2107: goto tr2556; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2554; + goto tr2535; +tr2558: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st905; +tr2559: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st905; +tr2561: + { + s->line_counter++; + } + goto st905; +tr2790: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 905; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st905; +tr2551: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st905; +tr2552: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st905; +tr2553: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st905; +tr2555: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st905; +st905: + if ( ++p == pe ) + goto _test_eof905; +case 905: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st905; + case 32: goto st905; + case 40: goto tr2558; + case 41: goto tr2559; + case 78: goto st908; + case 83: goto st950; + case 2058: goto tr2561; + case 2107: goto tr2562; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2560; + goto tr2535; +tr2567: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st906; +tr2560: + { + s->decimals = 3; + } + { + s->decimal_counter = 0; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st906; +st906: + if ( ++p == pe ) + goto _test_eof906; +case 906: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2563; + case 32: goto tr2563; + case 40: goto tr2564; + case 41: goto tr2565; + case 46: goto st952; + case 2058: goto tr2568; + case 2107: goto tr2569; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2567; + goto tr2535; +tr2571: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st907; +tr2572: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st907; +tr2573: + { + s->line_counter++; + } + goto st907; +tr2781: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 907; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st907; +tr2563: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st907; +tr2564: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st907; +tr2565: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st907; +tr2568: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st907; +tr2782: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st907; +tr2783: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st907; +tr2784: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st907; +tr2786: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st907; +st907: + if ( ++p == pe ) + goto _test_eof907; +case 907: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st907; + case 32: goto st907; + case 40: goto tr2571; + case 41: goto tr2572; + case 78: goto st908; + case 83: goto st950; + case 2058: goto tr2573; + case 2107: goto tr2574; + } + goto tr2535; +st908: + if ( ++p == pe ) + goto _test_eof908; +case 908: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st909; + case 32: goto st909; + case 40: goto tr2576; + case 41: goto tr2577; + case 2058: goto tr2578; + case 2107: goto tr2579; + } + goto tr2535; +tr2576: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st909; +tr2577: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st909; +tr2578: + { + s->line_counter++; + } + goto st909; +tr2774: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 909; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st909; +tr2775: + { + s->loc.lat_sign = -1; + } + goto st909; +tr2776: + { + s->loc.lat_sign = -1; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st909; +tr2777: + { + s->loc.lat_sign = -1; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st909; +tr2778: + { + s->loc.lat_sign = -1; + } + { + s->line_counter++; + } + goto st909; +st909: + if ( ++p == pe ) + goto _test_eof909; +case 909: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st909; + case 32: goto st909; + case 40: goto tr2576; + case 41: goto tr2577; + case 2058: goto tr2578; + case 2107: goto tr2579; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2580; + goto tr2535; +tr2580: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st910; +tr2584: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st910; +st910: + if ( ++p == pe ) + goto _test_eof910; +case 910: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2581; + case 32: goto tr2581; + case 40: goto tr2582; + case 41: goto tr2583; + case 2058: goto tr2585; + case 2107: goto tr2586; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2584; + goto tr2535; +tr2588: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st911; +tr2589: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st911; +tr2593: + { + s->line_counter++; + } + goto st911; +tr2772: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 911; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st911; +tr2581: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st911; +tr2582: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st911; +tr2583: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st911; +tr2585: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st911; +st911: + if ( ++p == pe ) + goto _test_eof911; +case 911: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st911; + case 32: goto st911; + case 40: goto tr2588; + case 41: goto tr2589; + case 69: goto st916; + case 87: goto st943; + case 2058: goto tr2593; + case 2107: goto tr2594; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2590; + goto tr2535; +tr2590: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st912; +tr2598: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st912; +st912: + if ( ++p == pe ) + goto _test_eof912; +case 912: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2595; + case 32: goto tr2595; + case 40: goto tr2596; + case 41: goto tr2597; + case 2058: goto tr2599; + case 2107: goto tr2600; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2598; + goto tr2535; +tr2602: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st913; +tr2603: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st913; +tr2605: + { + s->line_counter++; + } + goto st913; +tr2770: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 913; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st913; +tr2595: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st913; +tr2596: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st913; +tr2597: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st913; +tr2599: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st913; +st913: + if ( ++p == pe ) + goto _test_eof913; +case 913: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st913; + case 32: goto st913; + case 40: goto tr2602; + case 41: goto tr2603; + case 69: goto st916; + case 87: goto st943; + case 2058: goto tr2605; + case 2107: goto tr2606; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2604; + goto tr2535; +tr2611: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st914; +tr2604: + { + s->decimals = 3; + } + { + s->decimal_counter = 0; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st914; +st914: + if ( ++p == pe ) + goto _test_eof914; +case 914: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2607; + case 32: goto tr2607; + case 40: goto tr2608; + case 41: goto tr2609; + case 46: goto st945; + case 2058: goto tr2612; + case 2107: goto tr2613; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2611; + goto tr2535; +tr2615: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st915; +tr2616: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st915; +tr2617: + { + s->line_counter++; + } + goto st915; +tr2761: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 915; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st915; +tr2607: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st915; +tr2608: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st915; +tr2609: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st915; +tr2612: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st915; +tr2762: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st915; +tr2763: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st915; +tr2764: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st915; +tr2766: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st915; +st915: + if ( ++p == pe ) + goto _test_eof915; +case 915: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st915; + case 32: goto st915; + case 40: goto tr2615; + case 41: goto tr2616; + case 69: goto st916; + case 87: goto st943; + case 2058: goto tr2617; + case 2107: goto tr2618; + } + goto tr2535; +st916: + if ( ++p == pe ) + goto _test_eof916; +case 916: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st917; + case 32: goto st917; + case 40: goto tr2620; + case 41: goto tr2621; + case 2058: goto tr2622; + case 2107: goto tr2623; + } + goto tr2535; +tr2620: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st917; +tr2621: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st917; +tr2622: + { + s->line_counter++; + } + goto st917; +tr2754: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 917; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st917; +tr2755: + { + s->loc.long_sign = -1; + } + goto st917; +tr2756: + { + s->loc.long_sign = -1; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st917; +tr2757: + { + s->loc.long_sign = -1; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st917; +tr2758: + { + s->loc.long_sign = -1; + } + { + s->line_counter++; + } + goto st917; +st917: + if ( ++p == pe ) + goto _test_eof917; +case 917: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st917; + case 32: goto st917; + case 40: goto tr2620; + case 41: goto tr2621; + case 45: goto st918; + case 2058: goto tr2622; + case 2107: goto tr2623; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2625; + goto tr2535; +st918: + if ( ++p == pe ) + goto _test_eof918; +case 918: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2626; + goto tr2535; +tr2631: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st919; +tr2625: + { + s->decimals = 2; + } + { + s->decimal_counter = 0; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st919; +tr2626: + { + s->loc.alt_sign = -1; + } + { + s->decimals = 2; + } + { + s->decimal_counter = 0; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st919; +st919: + if ( ++p == pe ) + goto _test_eof919; +case 919: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2627; + case 32: goto tr2627; + case 40: goto tr2628; + case 41: goto tr2629; + case 46: goto st939; + case 109: goto tr2632; + case 3082: goto tr2633; + case 3131: goto tr2634; + case 3338: goto tr2635; + case 3387: goto tr2635; + case 3594: goto tr2636; + case 3643: goto tr2637; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2631; + goto tr2535; +tr2639: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st920; +tr2640: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st920; +tr2642: + { + s->line_counter++; + } + goto st920; +tr2741: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 920; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st920; +tr2627: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st920; +tr2628: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st920; +tr2629: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st920; +tr2633: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st920; +tr2742: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st920; +tr2743: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st920; +tr2744: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st920; +tr2747: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st920; +st920: + if ( ++p == pe ) + goto _test_eof920; +case 920: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st920; + case 32: goto st920; + case 40: goto tr2639; + case 41: goto tr2640; + case 3082: goto tr2642; + case 3131: goto tr2643; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2645; + case 3643: goto tr2646; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2641; + goto tr2535; +tr2651: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st921; +tr2641: + { + s->decimals = 2; + } + { + s->decimal_counter = 0; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st921; +st921: + if ( ++p == pe ) + goto _test_eof921; +case 921: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2647; + case 32: goto tr2647; + case 40: goto tr2648; + case 41: goto tr2649; + case 46: goto st935; + case 109: goto tr2652; + case 3082: goto tr2653; + case 3131: goto tr2654; + case 3338: goto tr2655; + case 3387: goto tr2655; + case 3594: goto tr2656; + case 3643: goto tr2657; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2651; + goto tr2535; +tr2659: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st922; +tr2660: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st922; +tr2662: + { + s->line_counter++; + } + goto st922; +tr2728: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 922; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st922; +tr2647: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st922; +tr2648: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st922; +tr2649: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st922; +tr2653: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st922; +tr2729: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st922; +tr2730: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st922; +tr2731: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st922; +tr2734: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st922; +st922: + if ( ++p == pe ) + goto _test_eof922; +case 922: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st922; + case 32: goto st922; + case 40: goto tr2659; + case 41: goto tr2660; + case 3082: goto tr2662; + case 3131: goto tr2663; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2664; + case 3643: goto tr2665; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2661; + goto tr2535; +tr2670: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st923; +tr2661: + { + s->decimals = 2; + } + { + s->decimal_counter = 0; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st923; +st923: + if ( ++p == pe ) + goto _test_eof923; +case 923: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2666; + case 32: goto tr2666; + case 40: goto tr2667; + case 41: goto tr2668; + case 46: goto st931; + case 109: goto tr2671; + case 3082: goto tr2672; + case 3131: goto tr2673; + case 3338: goto tr2674; + case 3387: goto tr2674; + case 3594: goto tr2675; + case 3643: goto tr2676; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2670; + goto tr2535; +tr2678: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st924; +tr2679: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st924; +tr2681: + { + s->line_counter++; + } + goto st924; +tr2715: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 924; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st924; +tr2666: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st924; +tr2667: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st924; +tr2668: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st924; +tr2672: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st924; +tr2716: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st924; +tr2717: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st924; +tr2718: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st924; +tr2721: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st924; +st924: + if ( ++p == pe ) + goto _test_eof924; +case 924: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st924; + case 32: goto st924; + case 40: goto tr2678; + case 41: goto tr2679; + case 3082: goto tr2681; + case 3131: goto tr2682; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2683; + case 3643: goto tr2684; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2680; + goto tr2535; +tr2689: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st925; +tr2680: + { + s->decimals = 2; + } + { + s->decimal_counter = 0; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st925; +st925: + if ( ++p == pe ) + goto _test_eof925; +case 925: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2685; + case 32: goto tr2685; + case 40: goto tr2686; + case 41: goto tr2687; + case 46: goto st928; + case 109: goto tr2685; + case 3082: goto tr2690; + case 3131: goto tr2691; + case 3338: goto tr2692; + case 3387: goto tr2692; + case 3594: goto tr2693; + case 3643: goto tr2694; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2689; + goto tr2535; +tr2696: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st926; +tr2697: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st926; +tr2698: + { + s->line_counter++; + } + goto st926; +tr2703: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 926; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st926; +tr2685: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st926; +tr2686: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st926; +tr2687: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st926; +tr2690: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st926; +tr2704: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st926; +tr2705: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st926; +tr2706: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st926; +tr2708: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st926; +st926: + if ( ++p == pe ) + goto _test_eof926; +case 926: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st926; + case 32: goto st926; + case 40: goto tr2696; + case 41: goto tr2697; + case 3082: goto tr2698; + case 3131: goto tr2699; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2700; + case 3643: goto tr2701; + } + goto tr2535; +tr2699: + { + s->buffer_length = 0; + } + goto st927; +tr2702: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st927; +tr2691: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st927; +tr2709: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st927; +st927: + if ( ++p == pe ) + goto _test_eof927; +case 927: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2703; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2702; + goto tr2535; +tr2635: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2644: + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2655: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2674: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2692: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2710: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2723: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2736: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +tr2749: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1445; +st1445: + if ( ++p == pe ) + goto _test_eof1445; +case 1445: + goto st0; +tr2700: + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1446; +tr2693: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1446; +tr2711: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1446; +st1446: + if ( ++p == pe ) + goto _test_eof1446; +case 1446: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st926; + case 32: goto st926; + case 40: goto tr2696; + case 41: goto tr2697; + case 3082: goto tr2698; + case 3131: goto tr2699; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2700; + case 3643: goto tr2701; + } + goto tr2535; +tr2701: + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1447; +tr2694: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1447; +tr2712: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1447; +st1447: + if ( ++p == pe ) + goto _test_eof1447; +case 1447: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2703; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2702; + goto tr2535; +st928: + if ( ++p == pe ) + goto _test_eof928; +case 928: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2704; + case 32: goto tr2704; + case 40: goto tr2705; + case 41: goto tr2706; + case 109: goto tr2704; + case 3082: goto tr2708; + case 3131: goto tr2709; + case 3338: goto tr2710; + case 3387: goto tr2710; + case 3594: goto tr2711; + case 3643: goto tr2712; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2707; + goto tr2535; +tr2707: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st929; +tr2713: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st929; +st929: + if ( ++p == pe ) + goto _test_eof929; +case 929: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2685; + case 32: goto tr2685; + case 40: goto tr2686; + case 41: goto tr2687; + case 109: goto tr2685; + case 3082: goto tr2690; + case 3131: goto tr2691; + case 3338: goto tr2692; + case 3387: goto tr2692; + case 3594: goto tr2693; + case 3643: goto tr2694; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2713; + goto tr2535; +tr2682: + { + s->buffer_length = 0; + } + goto st930; +tr2714: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st930; +tr2673: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st930; +tr2722: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st930; +st930: + if ( ++p == pe ) + goto _test_eof930; +case 930: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2715; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2714; + goto tr2535; +tr2683: + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1448; +tr2675: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1448; +tr2724: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1448; +st1448: + if ( ++p == pe ) + goto _test_eof1448; +case 1448: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st924; + case 32: goto st924; + case 40: goto tr2678; + case 41: goto tr2679; + case 3082: goto tr2681; + case 3131: goto tr2682; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2683; + case 3643: goto tr2684; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2680; + goto tr2535; +tr2684: + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1449; +tr2676: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1449; +tr2725: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1449; +st1449: + if ( ++p == pe ) + goto _test_eof1449; +case 1449: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2715; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2714; + goto tr2535; +st931: + if ( ++p == pe ) + goto _test_eof931; +case 931: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2716; + case 32: goto tr2716; + case 40: goto tr2717; + case 41: goto tr2718; + case 109: goto tr2720; + case 3082: goto tr2721; + case 3131: goto tr2722; + case 3338: goto tr2723; + case 3387: goto tr2723; + case 3594: goto tr2724; + case 3643: goto tr2725; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2719; + goto tr2535; +tr2719: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st932; +tr2726: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st932; +st932: + if ( ++p == pe ) + goto _test_eof932; +case 932: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2666; + case 32: goto tr2666; + case 40: goto tr2667; + case 41: goto tr2668; + case 109: goto tr2671; + case 3082: goto tr2672; + case 3131: goto tr2673; + case 3338: goto tr2674; + case 3387: goto tr2674; + case 3594: goto tr2675; + case 3643: goto tr2676; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2726; + goto tr2535; +tr2671: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st933; +tr2720: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st933; +st933: + if ( ++p == pe ) + goto _test_eof933; +case 933: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st924; + case 32: goto st924; + case 40: goto tr2678; + case 41: goto tr2679; + case 3082: goto tr2681; + case 3131: goto tr2682; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2683; + case 3643: goto tr2684; + } + goto tr2535; +tr2663: + { + s->buffer_length = 0; + } + goto st934; +tr2727: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st934; +tr2654: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st934; +tr2735: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st934; +st934: + if ( ++p == pe ) + goto _test_eof934; +case 934: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2728; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2727; + goto tr2535; +tr2664: + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1450; +tr2656: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1450; +tr2737: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1450; +st1450: + if ( ++p == pe ) + goto _test_eof1450; +case 1450: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st922; + case 32: goto st922; + case 40: goto tr2659; + case 41: goto tr2660; + case 3082: goto tr2662; + case 3131: goto tr2663; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2664; + case 3643: goto tr2665; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2661; + goto tr2535; +tr2665: + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1451; +tr2657: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1451; +tr2738: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1451; +st1451: + if ( ++p == pe ) + goto _test_eof1451; +case 1451: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2728; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2727; + goto tr2535; +st935: + if ( ++p == pe ) + goto _test_eof935; +case 935: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2729; + case 32: goto tr2729; + case 40: goto tr2730; + case 41: goto tr2731; + case 109: goto tr2733; + case 3082: goto tr2734; + case 3131: goto tr2735; + case 3338: goto tr2736; + case 3387: goto tr2736; + case 3594: goto tr2737; + case 3643: goto tr2738; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2732; + goto tr2535; +tr2732: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st936; +tr2739: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st936; +st936: + if ( ++p == pe ) + goto _test_eof936; +case 936: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2647; + case 32: goto tr2647; + case 40: goto tr2648; + case 41: goto tr2649; + case 109: goto tr2652; + case 3082: goto tr2653; + case 3131: goto tr2654; + case 3338: goto tr2655; + case 3387: goto tr2655; + case 3594: goto tr2656; + case 3643: goto tr2657; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2739; + goto tr2535; +tr2652: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st937; +tr2733: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st937; +st937: + if ( ++p == pe ) + goto _test_eof937; +case 937: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st922; + case 32: goto st922; + case 40: goto tr2659; + case 41: goto tr2660; + case 3082: goto tr2662; + case 3131: goto tr2663; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2664; + case 3643: goto tr2665; + } + goto tr2535; +tr2643: + { + s->buffer_length = 0; + } + goto st938; +tr2740: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st938; +tr2634: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st938; +tr2748: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st938; +st938: + if ( ++p == pe ) + goto _test_eof938; +case 938: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2741; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2740; + goto tr2535; +tr2636: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1452; +tr2645: + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1452; +tr2750: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1452; +st1452: + if ( ++p == pe ) + goto _test_eof1452; +case 1452: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st920; + case 32: goto st920; + case 40: goto tr2639; + case 41: goto tr2640; + case 3082: goto tr2642; + case 3131: goto tr2643; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2645; + case 3643: goto tr2646; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2641; + goto tr2535; +tr2637: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1453; +tr2646: + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1453; +tr2751: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1453; +st1453: + if ( ++p == pe ) + goto _test_eof1453; +case 1453: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2741; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2740; + goto tr2535; +st939: + if ( ++p == pe ) + goto _test_eof939; +case 939: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2742; + case 32: goto tr2742; + case 40: goto tr2743; + case 41: goto tr2744; + case 109: goto tr2746; + case 3082: goto tr2747; + case 3131: goto tr2748; + case 3338: goto tr2749; + case 3387: goto tr2749; + case 3594: goto tr2750; + case 3643: goto tr2751; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2745; + goto tr2535; +tr2745: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st940; +tr2752: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st940; +st940: + if ( ++p == pe ) + goto _test_eof940; +case 940: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2627; + case 32: goto tr2627; + case 40: goto tr2628; + case 41: goto tr2629; + case 109: goto tr2632; + case 3082: goto tr2633; + case 3131: goto tr2634; + case 3338: goto tr2635; + case 3387: goto tr2635; + case 3594: goto tr2636; + case 3643: goto tr2637; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2752; + goto tr2535; +tr2632: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st941; +tr2746: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + goto st941; +st941: + if ( ++p == pe ) + goto _test_eof941; +case 941: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st920; + case 32: goto st920; + case 40: goto tr2639; + case 41: goto tr2640; + case 3082: goto tr2642; + case 3131: goto tr2643; + case 3338: goto tr2644; + case 3387: goto tr2644; + case 3594: goto tr2645; + case 3643: goto tr2646; + } + goto tr2535; +tr2623: + { + s->buffer_length = 0; + } + goto st942; +tr2753: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st942; +tr2759: + { + s->loc.long_sign = -1; + } + { + s->buffer_length = 0; + } + goto st942; +st942: + if ( ++p == pe ) + goto _test_eof942; +case 942: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2754; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2753; + goto tr2535; +st943: + if ( ++p == pe ) + goto _test_eof943; +case 943: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2755; + case 32: goto tr2755; + case 40: goto tr2756; + case 41: goto tr2757; + case 2058: goto tr2758; + case 2107: goto tr2759; + } + goto tr2535; +tr2618: + { + s->buffer_length = 0; + } + goto st944; +tr2760: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st944; +tr2613: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st944; +tr2767: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st944; +st944: + if ( ++p == pe ) + goto _test_eof944; +case 944: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2761; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2760; + goto tr2535; +st945: + if ( ++p == pe ) + goto _test_eof945; +case 945: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2762; + case 32: goto tr2762; + case 40: goto tr2763; + case 41: goto tr2764; + case 2058: goto tr2766; + case 2107: goto tr2767; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2765; + goto tr2535; +tr2765: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st946; +tr2768: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st946; +st946: + if ( ++p == pe ) + goto _test_eof946; +case 946: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2607; + case 32: goto tr2607; + case 40: goto tr2608; + case 41: goto tr2609; + case 2058: goto tr2612; + case 2107: goto tr2613; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2768; + goto tr2535; +tr2606: + { + s->buffer_length = 0; + } + goto st947; +tr2769: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st947; +tr2600: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st947; +st947: + if ( ++p == pe ) + goto _test_eof947; +case 947: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2770; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2769; + goto tr2535; +tr2594: + { + s->buffer_length = 0; + } + goto st948; +tr2771: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st948; +tr2586: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st948; +st948: + if ( ++p == pe ) + goto _test_eof948; +case 948: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2772; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2771; + goto tr2535; +tr2579: + { + s->buffer_length = 0; + } + goto st949; +tr2773: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st949; +tr2779: + { + s->loc.lat_sign = -1; + } + { + s->buffer_length = 0; + } + goto st949; +st949: + if ( ++p == pe ) + goto _test_eof949; +case 949: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2774; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2773; + goto tr2535; +st950: + if ( ++p == pe ) + goto _test_eof950; +case 950: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2775; + case 32: goto tr2775; + case 40: goto tr2776; + case 41: goto tr2777; + case 2058: goto tr2778; + case 2107: goto tr2779; + } + goto tr2535; +tr2574: + { + s->buffer_length = 0; + } + goto st951; +tr2780: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st951; +tr2569: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st951; +tr2787: + { + s->number64_tmp = s->number64; + } + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st951; +st951: + if ( ++p == pe ) + goto _test_eof951; +case 951: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2781; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2780; + goto tr2535; +st952: + if ( ++p == pe ) + goto _test_eof952; +case 952: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2782; + case 32: goto tr2782; + case 40: goto tr2783; + case 41: goto tr2784; + case 2058: goto tr2786; + case 2107: goto tr2787; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2785; + goto tr2535; +tr2785: + { + s->number64_tmp = s->number64; + } + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st953; +tr2788: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + { + s->decimal_counter++; + } + goto st953; +st953: + if ( ++p == pe ) + goto _test_eof953; +case 953: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2563; + case 32: goto tr2563; + case 40: goto tr2564; + case 41: goto tr2565; + case 2058: goto tr2568; + case 2107: goto tr2569; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2788; + goto tr2535; +tr2562: + { + s->buffer_length = 0; + } + goto st954; +tr2789: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st954; +tr2556: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st954; +st954: + if ( ++p == pe ) + goto _test_eof954; +case 954: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2790; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2789; + goto tr2535; +tr2550: + { + s->buffer_length = 0; + } + goto st955; +tr2791: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st955; +tr2542: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st955; +st955: + if ( ++p == pe ) + goto _test_eof955; +case 955: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2792; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2791; + goto tr2535; +st956: + if ( ++p == pe ) + goto _test_eof956; +case 956: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2793; + goto tr2327; +tr2793: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st957; +tr2797: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st957; +st957: + if ( ++p == pe ) + goto _test_eof957; +case 957: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2794; + case 32: goto tr2794; + case 40: goto tr2795; + case 41: goto tr2796; + case 2058: goto tr2798; + case 2107: goto tr2799; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2797; + goto tr2327; +tr2801: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st958; +tr2802: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st958; +tr2804: + { + s->line_counter++; + } + goto st958; +tr2836: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 958; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st958; +tr2794: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st958; +tr2795: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st958; +tr2796: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st958; +tr2798: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st958; +st958: + if ( ++p == pe ) + goto _test_eof958; +case 958: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st958; + case 32: goto st958; + case 40: goto tr2801; + case 41: goto tr2802; + case 2058: goto tr2804; + case 2107: goto tr2805; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2803; + goto tr2327; +tr2803: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st959; +tr2809: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st959; +st959: + if ( ++p == pe ) + goto _test_eof959; +case 959: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2806; + case 32: goto tr2806; + case 40: goto tr2807; + case 41: goto tr2808; + case 2058: goto tr2810; + case 2107: goto tr2811; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2809; + goto tr2327; +tr2813: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st960; +tr2814: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st960; +tr2816: + { + s->line_counter++; + } + goto st960; +tr2834: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 960; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st960; +tr2806: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st960; +tr2807: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st960; +tr2808: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st960; +tr2810: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st960; +st960: + if ( ++p == pe ) + goto _test_eof960; +case 960: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st960; + case 32: goto st960; + case 40: goto tr2813; + case 41: goto tr2814; + case 2058: goto tr2816; + case 2107: goto tr2817; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2815; + goto tr2327; +tr2815: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st961; +tr2821: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st961; +st961: + if ( ++p == pe ) + goto _test_eof961; +case 961: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2818; + case 32: goto tr2818; + case 40: goto tr2819; + case 41: goto tr2820; + case 2058: goto tr2822; + case 2107: goto tr2823; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2821; + goto tr2327; +tr2825: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st962; +tr2826: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st962; +tr2828: + { + s->line_counter++; + } + goto st962; +tr2832: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 962; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st962; +tr2818: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st962; +tr2819: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st962; +tr2820: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st962; +tr2822: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st962; +st962: + if ( ++p == pe ) + goto _test_eof962; +case 962: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st962; + case 32: goto st962; + case 40: goto tr2825; + case 41: goto tr2826; + case 42: goto tr2827; + case 92: goto tr2827; + case 95: goto tr2827; + case 2058: goto tr2828; + case 2107: goto tr2829; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2827; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2827; + } else + goto tr2827; + goto tr75; +tr2827: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 963;goto st309;} } + goto st963; +st963: + if ( ++p == pe ) + goto _test_eof963; +case 963: + switch( (*p) ) { + case 32: goto tr2830; + case 59: goto tr2830; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2830; + } else if ( (*p) >= 9 ) + goto tr2830; + goto tr75; +tr2830: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1454; +st1454: + if ( ++p == pe ) + goto _test_eof1454; +case 1454: + goto st0; +tr2829: + { + s->buffer_length = 0; + } + goto st964; +tr2831: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st964; +tr2823: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st964; +st964: + if ( ++p == pe ) + goto _test_eof964; +case 964: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2832; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2831; + goto tr75; +tr2817: + { + s->buffer_length = 0; + } + goto st965; +tr2833: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st965; +tr2811: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st965; +st965: + if ( ++p == pe ) + goto _test_eof965; +case 965: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2834; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2833; + goto tr75; +tr2805: + { + s->buffer_length = 0; + } + goto st966; +tr2835: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st966; +tr2799: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st966; +st966: + if ( ++p == pe ) + goto _test_eof966; +case 966: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2836; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2835; + goto tr75; +st967: + if ( ++p == pe ) + goto _test_eof967; +case 967: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2837; + goto tr2327; +tr2837: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st968; +tr2841: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st968; +st968: + if ( ++p == pe ) + goto _test_eof968; +case 968: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2838; + case 32: goto tr2838; + case 40: goto tr2839; + case 41: goto tr2840; + case 2058: goto tr2842; + case 2107: goto tr2843; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2841; + goto tr2327; +tr2845: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st969; +tr2846: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st969; +tr2848: + { + s->line_counter++; + } + goto st969; +tr2905: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 969; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st969; +tr2838: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st969; +tr2839: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st969; +tr2840: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st969; +tr2842: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st969; +st969: + if ( ++p == pe ) + goto _test_eof969; +case 969: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st969; + case 32: goto st969; + case 40: goto tr2845; + case 41: goto tr2846; + case 2058: goto tr2848; + case 2107: goto tr2849; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2847; + goto tr2327; +tr2847: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st970; +tr2853: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st970; +st970: + if ( ++p == pe ) + goto _test_eof970; +case 970: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2850; + case 32: goto tr2850; + case 40: goto tr2851; + case 41: goto tr2852; + case 2058: goto tr2854; + case 2107: goto tr2855; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2853; + goto tr2327; +tr2858: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st971; +tr2859: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st971; +tr2860: + { + s->line_counter++; + } + goto st971; +tr2903: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 971; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st971; +tr2850: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st971; +tr2851: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st971; +tr2852: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st971; +tr2854: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st971; +st971: + if ( ++p == pe ) + goto _test_eof971; +case 971: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st971; + case 32: goto st971; + case 40: goto tr2858; + case 41: goto tr2859; + case 2058: goto tr2860; + case 2107: goto tr2861; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2856; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2856; + } else + goto tr2856; + goto tr75; +tr2856: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 972;goto st318;} } + goto st972; +st972: + if ( ++p == pe ) + goto _test_eof972; +case 972: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2862; + case 32: goto tr2862; + case 40: goto tr2863; + case 41: goto tr2864; + case 2058: goto tr2865; + case 2107: goto tr2866; + } + goto tr75; +tr2869: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st973; +tr2870: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st973; +tr2871: + { + s->line_counter++; + } + goto st973; +tr2901: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 973; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st973; +tr2862: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st973; +tr2863: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st973; +tr2864: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st973; +tr2865: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st973; +st973: + if ( ++p == pe ) + goto _test_eof973; +case 973: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st973; + case 32: goto st973; + case 40: goto tr2869; + case 41: goto tr2870; + case 2058: goto tr2871; + case 2107: goto tr2872; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2867; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2867; + } else + goto tr2867; + goto tr75; +tr2867: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 974;goto st318;} } + goto st974; +st974: + if ( ++p == pe ) + goto _test_eof974; +case 974: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2873; + case 32: goto tr2873; + case 40: goto tr2874; + case 41: goto tr2875; + case 2058: goto tr2876; + case 2107: goto tr2877; + } + goto tr75; +tr2880: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st975; +tr2881: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st975; +tr2882: + { + s->line_counter++; + } + goto st975; +tr2899: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 975; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st975; +tr2873: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st975; +tr2874: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st975; +tr2875: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st975; +tr2876: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st975; +st975: + if ( ++p == pe ) + goto _test_eof975; +case 975: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st975; + case 32: goto st975; + case 40: goto tr2880; + case 41: goto tr2881; + case 2058: goto tr2882; + case 2107: goto tr2883; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2878; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2878; + } else + goto tr2878; + goto tr75; +tr2878: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 976;goto st318;} } + goto st976; +st976: + if ( ++p == pe ) + goto _test_eof976; +case 976: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2884; + case 32: goto tr2884; + case 40: goto tr2885; + case 41: goto tr2886; + case 2058: goto tr2887; + case 2107: goto tr2888; + } + goto tr75; +tr2890: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st977; +tr2891: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st977; +tr2893: + { + s->line_counter++; + } + goto st977; +tr2897: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 977; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st977; +tr2884: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st977; +tr2885: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st977; +tr2886: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st977; +tr2887: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st977; +st977: + if ( ++p == pe ) + goto _test_eof977; +case 977: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st977; + case 32: goto st977; + case 40: goto tr2890; + case 41: goto tr2891; + case 42: goto tr2892; + case 92: goto tr2892; + case 95: goto tr2892; + case 2058: goto tr2893; + case 2107: goto tr2894; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2892; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2892; + } else + goto tr2892; + goto tr75; +tr2892: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 978;goto st309;} } + goto st978; +st978: + if ( ++p == pe ) + goto _test_eof978; +case 978: + switch( (*p) ) { + case 32: goto tr2895; + case 59: goto tr2895; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2895; + } else if ( (*p) >= 9 ) + goto tr2895; + goto tr75; +tr2895: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1455; +st1455: + if ( ++p == pe ) + goto _test_eof1455; +case 1455: + goto st0; +tr2894: + { + s->buffer_length = 0; + } + goto st979; +tr2896: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st979; +tr2888: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st979; +st979: + if ( ++p == pe ) + goto _test_eof979; +case 979: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2897; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2896; + goto tr75; +tr2883: + { + s->buffer_length = 0; + } + goto st980; +tr2898: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st980; +tr2877: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st980; +st980: + if ( ++p == pe ) + goto _test_eof980; +case 980: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2899; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2898; + goto tr75; +tr2872: + { + s->buffer_length = 0; + } + goto st981; +tr2900: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st981; +tr2866: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st981; +st981: + if ( ++p == pe ) + goto _test_eof981; +case 981: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2901; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2900; + goto tr75; +tr2861: + { + s->buffer_length = 0; + } + goto st982; +tr2902: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st982; +tr2855: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st982; +st982: + if ( ++p == pe ) + goto _test_eof982; +case 982: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2903; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2902; + goto tr75; +tr2849: + { + s->buffer_length = 0; + } + goto st983; +tr2904: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st983; +tr2843: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st983; +st983: + if ( ++p == pe ) + goto _test_eof983; +case 983: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2905; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2904; + goto tr75; +st984: + if ( ++p == pe ) + goto _test_eof984; +case 984: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2906; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2906; + } else + goto tr2906; + goto tr75; +tr2906: + { p--; {stack[top++] = 985;goto st803;} } + goto st985; +st985: + if ( ++p == pe ) + goto _test_eof985; +case 985: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st986; + case 32: goto st986; + case 40: goto tr2908; + case 41: goto tr2909; + case 2058: goto tr2910; + case 2107: goto tr2911; + } + goto tr75; +tr2908: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st986; +tr2909: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st986; +tr2910: + { + s->line_counter++; + } + goto st986; +tr2937: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 986; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st986; +st986: + if ( ++p == pe ) + goto _test_eof986; +case 986: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st986; + case 32: goto st986; + case 40: goto tr2908; + case 41: goto tr2909; + case 2058: goto tr2910; + case 2107: goto tr2911; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2912; + goto tr2327; +tr2912: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st987; +tr2916: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st987; +st987: + if ( ++p == pe ) + goto _test_eof987; +case 987: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2913; + case 32: goto tr2913; + case 40: goto tr2914; + case 41: goto tr2915; + case 2058: goto tr2917; + case 2107: goto tr2918; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2916; + goto tr2327; +tr2920: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st988; +tr2921: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st988; +tr2923: + { + s->line_counter++; + } + goto st988; +tr2935: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 988; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st988; +tr2913: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st988; +tr2914: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st988; +tr2915: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st988; +tr2917: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st988; +st988: + if ( ++p == pe ) + goto _test_eof988; +case 988: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st988; + case 32: goto st988; + case 40: goto tr2920; + case 41: goto tr2921; + case 2058: goto tr2923; + case 2107: goto tr2924; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2922; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2922; + } else + goto tr2922; + goto tr75; +tr2922: + { p--; {stack[top++] = 989;goto st699;} } + goto st989; +st989: + if ( ++p == pe ) + goto _test_eof989; +case 989: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st990; + case 32: goto st990; + case 40: goto tr2926; + case 41: goto tr2927; + case 2058: goto tr2928; + case 2107: goto tr2929; + } + goto tr75; +tr2926: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st990; +tr2927: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st990; +tr2928: + { + s->line_counter++; + } + goto st990; +tr2933: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 990; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st990; +st990: + if ( ++p == pe ) + goto _test_eof990; +case 990: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st990; + case 32: goto st990; + case 40: goto tr2926; + case 41: goto tr2927; + case 43: goto tr2930; + case 2058: goto tr2928; + case 2107: goto tr2929; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr2930; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2930; + } else + goto tr2930; + goto tr75; +tr2930: + { p--; {stack[top++] = 991;goto st369;} } + goto st991; +st991: + if ( ++p == pe ) + goto _test_eof991; +case 991: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 2570: goto tr2931; + case 2619: goto tr2931; + } + goto tr75; +tr2931: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1456; +st1456: + if ( ++p == pe ) + goto _test_eof1456; +case 1456: + goto st0; +tr2929: + { + s->buffer_length = 0; + } + goto st992; +tr2932: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st992; +st992: + if ( ++p == pe ) + goto _test_eof992; +case 992: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2933; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2932; + goto tr75; +tr2924: + { + s->buffer_length = 0; + } + goto st993; +tr2934: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st993; +tr2918: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st993; +st993: + if ( ++p == pe ) + goto _test_eof993; +case 993: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2935; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2934; + goto tr75; +tr2911: + { + s->buffer_length = 0; + } + goto st994; +tr2936: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st994; +st994: + if ( ++p == pe ) + goto _test_eof994; +case 994: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2937; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2936; + goto tr75; +tr2941: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st995; +tr2942: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st995; +tr2945: + { + s->line_counter++; + } + goto st995; +tr2968: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 995; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st995; +tr2958: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + goto st995; +tr2959: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st995; +tr2960: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st995; +tr2962: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + { + s->line_counter++; + } + goto st995; +st995: + if ( ++p == pe ) + goto _test_eof995; +case 995: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st995; + case 32: goto st995; + case 33: goto tr2940; + case 40: goto tr2941; + case 41: goto tr2942; + case 49: goto tr2943; + case 50: goto tr2944; + case 3082: goto tr2945; + case 3131: goto tr2946; + case 3338: goto tr2947; + case 3387: goto tr2947; + case 3594: goto tr2948; + case 3643: goto tr2949; + } + goto tr2938; +tr2940: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + { + s->apl.excl_flag = 128; // dec 128 = bin 10000000. + } + goto st996; +st996: + if ( ++p == pe ) + goto _test_eof996; +case 996: + switch( (*p) ) { + case 49: goto tr2950; + case 50: goto tr2951; + } + goto tr2938; +tr2943: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + { + s->apl.addr_family = 1; + } + goto st997; +tr2950: + { + s->apl.addr_family = 1; + } + goto st997; +st997: + if ( ++p == pe ) + goto _test_eof997; +case 997: + if ( (*p) == 58 ) + goto st998; + goto tr2938; +st998: + if ( ++p == pe ) + goto _test_eof998; +case 998: + if ( (*p) == 46 ) + goto tr2954; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2954; + goto tr2953; +tr2955: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st999; +tr2954: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st999; +st999: + if ( ++p == pe ) + goto _test_eof999; +case 999: + if ( (*p) == 47 ) + goto tr2956; + if ( 46 <= (*p) && (*p) <= 57 ) + goto tr2955; + goto tr2953; +tr2956: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + goto st1000; +tr2972: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + goto st1000; +st1000: + if ( ++p == pe ) + goto _test_eof1000; +case 1000: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2957; + goto tr2938; +tr2957: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1001; +tr2961: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1001; +st1001: + if ( ++p == pe ) + goto _test_eof1001; +case 1001: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2958; + case 32: goto tr2958; + case 40: goto tr2959; + case 41: goto tr2960; + case 3082: goto tr2962; + case 3131: goto tr2963; + case 3338: goto tr2964; + case 3387: goto tr2964; + case 3594: goto tr2965; + case 3643: goto tr2966; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2961; + goto tr2938; +tr2946: + { + s->buffer_length = 0; + } + goto st1002; +tr2967: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1002; +tr2963: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + { + s->buffer_length = 0; + } + goto st1002; +st1002: + if ( ++p == pe ) + goto _test_eof1002; +case 1002: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2968; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2967; + goto tr75; +tr2947: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1457; +tr2964: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1457; +st1457: + if ( ++p == pe ) + goto _test_eof1457; +case 1457: + goto st0; +tr2948: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1458; +tr2965: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1458; +st1458: + if ( ++p == pe ) + goto _test_eof1458; +case 1458: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st995; + case 32: goto st995; + case 33: goto tr2940; + case 40: goto tr2941; + case 41: goto tr2942; + case 49: goto tr2943; + case 50: goto tr2944; + case 3082: goto tr2945; + case 3131: goto tr2946; + case 3338: goto tr2947; + case 3387: goto tr2947; + case 3594: goto tr2948; + case 3643: goto tr2949; + } + goto tr2938; +tr2944: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + { + s->apl.addr_family = 2; + } + goto st1003; +tr2951: + { + s->apl.addr_family = 2; + } + goto st1003; +st1003: + if ( ++p == pe ) + goto _test_eof1003; +case 1003: + if ( (*p) == 58 ) + goto st1004; + goto tr2938; +st1004: + if ( ++p == pe ) + goto _test_eof1004; +case 1004: + if ( (*p) == 46 ) + goto tr2970; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2970; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2970; + } else + goto tr2970; + goto tr2953; +tr2971: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1005; +tr2970: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1005; +st1005: + if ( ++p == pe ) + goto _test_eof1005; +case 1005: + if ( (*p) == 47 ) + goto tr2972; + if ( (*p) < 65 ) { + if ( 46 <= (*p) && (*p) <= 58 ) + goto tr2971; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2971; + } else + goto tr2971; + goto tr2953; +tr2949: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1459; +tr2966: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + } + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {goto st307;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1459; +st1459: + if ( ++p == pe ) + goto _test_eof1459; +case 1459: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr2968; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr2967; + goto tr75; +st1006: + if ( ++p == pe ) + goto _test_eof1006; +case 1006: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2973; + goto tr2327; +tr2973: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1007; +tr2977: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1007; +st1007: + if ( ++p == pe ) + goto _test_eof1007; +case 1007: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2974; + case 32: goto tr2974; + case 40: goto tr2975; + case 41: goto tr2976; + case 2058: goto tr2978; + case 2107: goto tr2979; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2977; + goto tr2327; +tr2981: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1008; +tr2982: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1008; +tr2984: + { + s->line_counter++; + } + goto st1008; +tr3021: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1008; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1008; +tr2974: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1008; +tr2975: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1008; +tr2976: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1008; +tr2978: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1008; +st1008: + if ( ++p == pe ) + goto _test_eof1008; +case 1008: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1008; + case 32: goto st1008; + case 40: goto tr2981; + case 41: goto tr2982; + case 2058: goto tr2984; + case 2107: goto tr2985; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2983; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2983; + } else + goto tr2983; + goto tr75; +tr2983: + { p--; {stack[top++] = 1009;goto st699;} } + goto st1009; +st1009: + if ( ++p == pe ) + goto _test_eof1009; +case 1009: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1010; + case 32: goto st1010; + case 40: goto tr2987; + case 41: goto tr2988; + case 2058: goto tr2989; + case 2107: goto tr2990; + } + goto tr75; +tr2987: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1010; +tr2988: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1010; +tr2989: + { + s->line_counter++; + } + goto st1010; +tr3019: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1010; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1010; +st1010: + if ( ++p == pe ) + goto _test_eof1010; +case 1010: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1010; + case 32: goto st1010; + case 40: goto tr2987; + case 41: goto tr2988; + case 2058: goto tr2989; + case 2107: goto tr2990; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2991; + goto tr2327; +tr2991: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1011; +tr2995: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1011; +st1011: + if ( ++p == pe ) + goto _test_eof1011; +case 1011: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2992; + case 32: goto tr2992; + case 40: goto tr2993; + case 41: goto tr2994; + case 2058: goto tr2996; + case 2107: goto tr2997; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2995; + goto tr2327; +tr3000: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1012; +tr3001: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1012; +tr3003: + { + s->line_counter++; + } + goto st1012; +tr3017: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1012; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1012; +tr2992: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1012; +tr2993: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1012; +tr2994: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1012; +tr2996: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1012; +st1012: + if ( ++p == pe ) + goto _test_eof1012; +case 1012: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1012; + case 32: goto st1012; + case 40: goto tr3000; + case 41: goto tr3001; + case 2058: goto tr3003; + case 2107: goto tr3004; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3002; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3002; + } else + goto tr3002; + goto tr2998; +tr3002: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1013; +st1013: + if ( ++p == pe ) + goto _test_eof1013; +case 1013: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3005; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3005; + } else + goto tr3005; + goto tr2998; +tr3007: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1014; +tr3008: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1014; +tr3009: + { + s->line_counter++; + } + goto st1014; +tr3015: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1014; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1014; +tr3005: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1014; +st1014: + if ( ++p == pe ) + goto _test_eof1014; +case 1014: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1014; + case 32: goto st1014; + case 40: goto tr3007; + case 41: goto tr3008; + case 3082: goto tr3009; + case 3131: goto tr3010; + case 3338: goto tr3011; + case 3387: goto tr3011; + case 3594: goto tr3012; + case 3643: goto tr3013; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3002; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3002; + } else + goto tr3002; + goto tr2998; +tr3010: + { + s->buffer_length = 0; + } + goto st1015; +tr3014: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1015; +st1015: + if ( ++p == pe ) + goto _test_eof1015; +case 1015: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3015; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3014; + goto tr2998; +tr3011: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1460; +st1460: + if ( ++p == pe ) + goto _test_eof1460; +case 1460: + goto st0; +tr3012: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1461; +st1461: + if ( ++p == pe ) + goto _test_eof1461; +case 1461: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1014; + case 32: goto st1014; + case 40: goto tr3007; + case 41: goto tr3008; + case 3082: goto tr3009; + case 3131: goto tr3010; + case 3338: goto tr3011; + case 3387: goto tr3011; + case 3594: goto tr3012; + case 3643: goto tr3013; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3002; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3002; + } else + goto tr3002; + goto tr2998; +tr3013: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1462; +st1462: + if ( ++p == pe ) + goto _test_eof1462; +case 1462: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3015; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3014; + goto tr2998; +tr3004: + { + s->buffer_length = 0; + } + goto st1016; +tr3016: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1016; +tr2997: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1016; +st1016: + if ( ++p == pe ) + goto _test_eof1016; +case 1016: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3017; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3016; + goto tr75; +tr2990: + { + s->buffer_length = 0; + } + goto st1017; +tr3018: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1017; +st1017: + if ( ++p == pe ) + goto _test_eof1017; +case 1017: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3019; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3018; + goto tr75; +tr2985: + { + s->buffer_length = 0; + } + goto st1018; +tr3020: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1018; +tr2979: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1018; +st1018: + if ( ++p == pe ) + goto _test_eof1018; +case 1018: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3021; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3020; + goto tr75; +st1019: + if ( ++p == pe ) + goto _test_eof1019; +case 1019: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3022; + goto tr2327; +tr3022: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1020; +tr3026: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1020; +st1020: + if ( ++p == pe ) + goto _test_eof1020; +case 1020: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3023; + case 32: goto tr3023; + case 40: goto tr3024; + case 41: goto tr3025; + case 2058: goto tr3027; + case 2107: goto tr3028; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3026; + goto tr2327; +tr3030: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1021; +tr3031: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1021; +tr3033: + { + s->line_counter++; + } + goto st1021; +tr3061: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1021; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1021; +tr3023: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1021; +tr3024: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1021; +tr3025: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1021; +tr3027: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1021; +st1021: + if ( ++p == pe ) + goto _test_eof1021; +case 1021: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1021; + case 32: goto st1021; + case 40: goto tr3030; + case 41: goto tr3031; + case 2058: goto tr3033; + case 2107: goto tr3034; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3032; + goto tr2327; +tr3032: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1022; +tr3038: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1022; +st1022: + if ( ++p == pe ) + goto _test_eof1022; +case 1022: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3035; + case 32: goto tr3035; + case 40: goto tr3036; + case 41: goto tr3037; + case 2058: goto tr3039; + case 2107: goto tr3040; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3038; + goto tr2327; +tr3042: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1023; +tr3043: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1023; +tr3045: + { + s->line_counter++; + } + goto st1023; +tr3059: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1023; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1023; +tr3035: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1023; +tr3036: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1023; +tr3037: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1023; +tr3039: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1023; +st1023: + if ( ++p == pe ) + goto _test_eof1023; +case 1023: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1023; + case 32: goto st1023; + case 40: goto tr3042; + case 41: goto tr3043; + case 2058: goto tr3045; + case 2107: goto tr3046; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3044; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3044; + } else + goto tr3044; + goto tr2998; +tr3044: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1024; +st1024: + if ( ++p == pe ) + goto _test_eof1024; +case 1024: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3047; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3047; + } else + goto tr3047; + goto tr2998; +tr3049: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1025; +tr3050: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1025; +tr3051: + { + s->line_counter++; + } + goto st1025; +tr3057: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1025; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1025; +tr3047: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1025; +st1025: + if ( ++p == pe ) + goto _test_eof1025; +case 1025: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1025; + case 32: goto st1025; + case 40: goto tr3049; + case 41: goto tr3050; + case 3082: goto tr3051; + case 3131: goto tr3052; + case 3338: goto tr3053; + case 3387: goto tr3053; + case 3594: goto tr3054; + case 3643: goto tr3055; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3044; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3044; + } else + goto tr3044; + goto tr2998; +tr3052: + { + s->buffer_length = 0; + } + goto st1026; +tr3056: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1026; +st1026: + if ( ++p == pe ) + goto _test_eof1026; +case 1026: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3057; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3056; + goto tr2998; +tr3053: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1463; +st1463: + if ( ++p == pe ) + goto _test_eof1463; +case 1463: + goto st0; +tr3054: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1464; +st1464: + if ( ++p == pe ) + goto _test_eof1464; +case 1464: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1025; + case 32: goto st1025; + case 40: goto tr3049; + case 41: goto tr3050; + case 3082: goto tr3051; + case 3131: goto tr3052; + case 3338: goto tr3053; + case 3387: goto tr3053; + case 3594: goto tr3054; + case 3643: goto tr3055; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3044; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3044; + } else + goto tr3044; + goto tr2998; +tr3055: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1465; +st1465: + if ( ++p == pe ) + goto _test_eof1465; +case 1465: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3057; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3056; + goto tr2998; +tr3046: + { + s->buffer_length = 0; + } + goto st1027; +tr3058: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1027; +tr3040: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1027; +st1027: + if ( ++p == pe ) + goto _test_eof1027; +case 1027: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3059; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3058; + goto tr75; +tr3034: + { + s->buffer_length = 0; + } + goto st1028; +tr3060: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1028; +tr3028: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1028; +st1028: + if ( ++p == pe ) + goto _test_eof1028; +case 1028: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3061; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3060; + goto tr75; +st1029: + if ( ++p == pe ) + goto _test_eof1029; +case 1029: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3062; + goto tr2327; +tr3062: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1030; +tr3066: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1030; +st1030: + if ( ++p == pe ) + goto _test_eof1030; +case 1030: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3063; + case 32: goto tr3063; + case 40: goto tr3064; + case 41: goto tr3065; + case 2058: goto tr3067; + case 2107: goto tr3068; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3066; + goto tr2327; +tr3071: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1031; +tr3072: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1031; +tr3077: + { + s->line_counter++; + } + goto st1031; +tr3270: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1031; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1031; +tr3063: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1031; +tr3064: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1031; +tr3065: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1031; +tr3067: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1031; +st1031: + if ( ++p == pe ) + goto _test_eof1031; +case 1031: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1031; + case 32: goto st1031; + case 40: goto tr3071; + case 41: goto tr3072; + case 48: goto tr3073; + case 49: goto tr3074; + case 50: goto tr3075; + case 51: goto tr3076; + case 2058: goto tr3077; + case 2107: goto tr3078; + } + goto tr3069; +tr3073: + { + *(rdata_tail++) = 0; + } + goto st1032; +st1032: + if ( ++p == pe ) + goto _test_eof1032; +case 1032: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1033; + case 32: goto st1033; + case 40: goto tr3080; + case 41: goto tr3081; + case 2058: goto tr3082; + case 2107: goto tr3083; + } + goto tr3069; +tr3080: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1033; +tr3081: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1033; +tr3082: + { + s->line_counter++; + } + goto st1033; +tr3132: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1033; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1033; +st1033: + if ( ++p == pe ) + goto _test_eof1033; +case 1033: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1033; + case 32: goto st1033; + case 40: goto tr3080; + case 41: goto tr3081; + case 2058: goto tr3082; + case 2107: goto tr3083; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3085; + goto tr3084; +tr3085: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1034; +tr3089: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1034; +st1034: + if ( ++p == pe ) + goto _test_eof1034; +case 1034: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3086; + case 32: goto tr3086; + case 40: goto tr3087; + case 41: goto tr3088; + case 2058: goto tr3090; + case 2107: goto tr3091; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3089; + goto tr3084; +tr3093: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1035; +tr3094: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1035; +tr3096: + { + s->line_counter++; + } + goto st1035; +tr3130: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1035; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1035; +tr3086: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1035; +tr3087: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1035; +tr3088: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1035; +tr3090: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1035; +st1035: + if ( ++p == pe ) + goto _test_eof1035; +case 1035: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1035; + case 32: goto st1035; + case 40: goto tr3093; + case 41: goto tr3094; + case 46: goto st1036; + case 2058: goto tr3096; + case 2107: goto tr3097; + } + goto tr3069; +st1036: + if ( ++p == pe ) + goto _test_eof1036; +case 1036: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 7177: goto st1037; + case 7200: goto st1037; + case 7208: goto tr3100; + case 7209: goto tr3101; + case 7433: goto st1040; + case 7456: goto st1040; + case 7464: goto tr3103; + case 7465: goto tr3104; + case 7689: goto st1042; + case 7712: goto st1042; + case 7720: goto tr3106; + case 7721: goto tr3107; + case 10506: goto tr3108; + case 10555: goto tr3108; + case 10762: goto tr3108; + case 10811: goto tr3108; + case 11274: goto tr3109; + case 11323: goto tr3110; + case 11530: goto tr3108; + case 11579: goto tr3108; + case 11786: goto tr3111; + case 11835: goto tr3112; + case 12298: goto tr3113; + case 12347: goto tr3114; + case 12554: goto tr3108; + case 12603: goto tr3108; + case 12810: goto tr3115; + case 12859: goto tr3116; + case 13322: goto tr3117; + case 13371: goto tr3118; + case 13578: goto tr3108; + case 13627: goto tr3108; + case 13834: goto tr3119; + case 13883: goto tr3120; + } + goto tr3098; +tr3100: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1037; +tr3101: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1037; +tr3109: + { + s->line_counter++; + } + goto st1037; +tr3124: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1037; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1037; +tr3154: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st1037; +tr3199: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st1037; +tr3243: + { + rdata_tail += s->dname_tmp_length; + } + goto st1037; +tr3244: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1037; +tr3245: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1037; +tr3253: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st1037; +tr3155: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1037; +tr3156: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1037; +tr3164: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st1037; +tr3200: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1037; +tr3201: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1037; +tr3209: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st1037; +st1037: + if ( ++p == pe ) + goto _test_eof1037; +case 1037: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) > 40 ) { + if ( 41 <= (*p) && (*p) <= 41 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 43 ) { + if ( (*p) < 59 ) { + if ( (*p) > 47 ) { + if ( 48 <= (*p) && (*p) <= 57 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 4105: goto st1037; + case 4128: goto st1037; + case 4136: goto tr3100; + case 4137: goto tr3101; + case 4139: goto tr3122; + case 5130: goto tr3109; + case 5179: goto tr3110; + } + if ( _widec < 4161 ) { + if ( 4143 <= _widec && _widec <= 4153 ) + goto tr3122; + } else if ( _widec > 4186 ) { + if ( 4193 <= _widec && _widec <= 4218 ) + goto tr3122; + } else + goto tr3122; + goto tr3121; +tr3122: + { p--; {stack[top++] = 1038;goto st369;} } + goto st1038; +st1038: + if ( ++p == pe ) + goto _test_eof1038; +case 1038: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 2570: goto tr3108; + case 2619: goto tr3108; + } + goto tr3121; +tr3108: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1466; +tr3163: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1466; +tr3252: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1466; +tr3208: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1466; +st1466: + if ( ++p == pe ) + goto _test_eof1466; +case 1466: + goto st0; +tr3110: + { + s->buffer_length = 0; + } + goto st1039; +tr3123: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1039; +tr3254: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st1039; +tr3165: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st1039; +tr3210: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st1039; +st1039: + if ( ++p == pe ) + goto _test_eof1039; +case 1039: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + if ( _widec == 5130 ) + goto tr3124; + if ( 4992 <= _widec && _widec <= 5247 ) + goto tr3123; + goto tr3121; +tr3103: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1040; +tr3104: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1040; +tr3113: + { + s->line_counter++; + } + goto st1040; +tr3126: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1040; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1040; +tr3157: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st1040; +tr3202: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st1040; +tr3246: + { + rdata_tail += s->dname_tmp_length; + } + goto st1040; +tr3247: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1040; +tr3248: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1040; +tr3257: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st1040; +tr3158: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1040; +tr3159: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1040; +tr3168: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st1040; +tr3203: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1040; +tr3204: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1040; +tr3213: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st1040; +st1040: + if ( ++p == pe ) + goto _test_eof1040; +case 1040: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(13952 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(13952 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + switch( _widec ) { + case 5641: goto st1040; + case 5664: goto st1040; + case 5672: goto tr3103; + case 5673: goto tr3104; + case 14602: goto tr3108; + case 14651: goto tr3108; + case 14858: goto tr3108; + case 14907: goto tr3108; + case 15370: goto tr3113; + case 15419: goto tr3114; + case 15626: goto tr3108; + case 15675: goto tr3108; + case 15882: goto tr3115; + case 15931: goto tr3116; + } + goto tr3121; +tr3114: + { + s->buffer_length = 0; + } + goto st1041; +tr3125: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1041; +tr3258: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st1041; +tr3169: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st1041; +tr3214: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st1041; +st1041: + if ( ++p == pe ) + goto _test_eof1041; +case 1041: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(5760 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + if ( _widec == 6666 ) + goto tr3126; + if ( 6528 <= _widec && _widec <= 6783 ) + goto tr3125; + goto tr3121; +tr3115: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1467; +tr3170: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1467; +tr3215: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1467; +tr3259: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1467; +st1467: + if ( ++p == pe ) + goto _test_eof1467; +case 1467: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(13952 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(13952 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + switch( _widec ) { + case 5641: goto st1040; + case 5664: goto st1040; + case 5672: goto tr3103; + case 5673: goto tr3104; + case 14602: goto tr3108; + case 14651: goto tr3108; + case 14858: goto tr3108; + case 14907: goto tr3108; + case 15370: goto tr3113; + case 15419: goto tr3114; + case 15626: goto tr3108; + case 15675: goto tr3108; + case 15882: goto tr3115; + case 15931: goto tr3116; + } + goto tr3121; +tr3116: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1468; +tr3171: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1468; +tr3216: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1468; +tr3260: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1468; +st1468: + if ( ++p == pe ) + goto _test_eof1468; +case 1468: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(5760 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + if ( _widec == 6666 ) + goto tr3126; + if ( 6528 <= _widec && _widec <= 6783 ) + goto tr3125; + goto tr3121; +tr3106: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1042; +tr3107: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1042; +tr3117: + { + s->line_counter++; + } + goto st1042; +tr3128: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1042; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1042; +tr3160: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st1042; +tr3205: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st1042; +tr3249: + { + rdata_tail += s->dname_tmp_length; + } + goto st1042; +tr3250: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1042; +tr3251: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1042; +tr3261: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st1042; +tr3161: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1042; +tr3162: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1042; +tr3172: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st1042; +tr3206: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1042; +tr3207: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1042; +tr3217: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st1042; +st1042: + if ( ++p == pe ) + goto _test_eof1042; +case 1042: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 32 ) { + if ( (*p) > 40 ) { + if ( 41 <= (*p) && (*p) <= 41 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 43 ) { + if ( (*p) < 59 ) { + if ( (*p) > 47 ) { + if ( 48 <= (*p) && (*p) <= 57 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 4139: goto tr3122; + case 7177: goto st1037; + case 7200: goto st1037; + case 7208: goto tr3100; + case 7209: goto tr3101; + case 7433: goto st1040; + case 7456: goto st1040; + case 7464: goto tr3103; + case 7465: goto tr3104; + case 7689: goto st1042; + case 7712: goto st1042; + case 7720: goto tr3106; + case 7721: goto tr3107; + case 10506: goto tr3108; + case 10555: goto tr3108; + case 10762: goto tr3108; + case 10811: goto tr3108; + case 11274: goto tr3109; + case 11323: goto tr3110; + case 11530: goto tr3108; + case 11579: goto tr3108; + case 11786: goto tr3111; + case 11835: goto tr3112; + case 12298: goto tr3113; + case 12347: goto tr3114; + case 12554: goto tr3108; + case 12603: goto tr3108; + case 12810: goto tr3115; + case 12859: goto tr3116; + case 13322: goto tr3117; + case 13371: goto tr3118; + case 13578: goto tr3108; + case 13627: goto tr3108; + case 13834: goto tr3119; + case 13883: goto tr3120; + } + if ( _widec < 4161 ) { + if ( 4143 <= _widec && _widec <= 4153 ) + goto tr3122; + } else if ( _widec > 4186 ) { + if ( 4193 <= _widec && _widec <= 4218 ) + goto tr3122; + } else + goto tr3122; + goto tr3121; +tr3111: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1469; +tr3166: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1469; +tr3211: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1469; +tr3255: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1469; +st1469: + if ( ++p == pe ) + goto _test_eof1469; +case 1469: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) > 40 ) { + if ( 41 <= (*p) && (*p) <= 41 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 43 ) { + if ( (*p) < 59 ) { + if ( (*p) > 47 ) { + if ( 48 <= (*p) && (*p) <= 57 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 4105: goto st1037; + case 4128: goto st1037; + case 4136: goto tr3100; + case 4137: goto tr3101; + case 4139: goto tr3122; + case 5130: goto tr3109; + case 5179: goto tr3110; + } + if ( _widec < 4161 ) { + if ( 4143 <= _widec && _widec <= 4153 ) + goto tr3122; + } else if ( _widec > 4186 ) { + if ( 4193 <= _widec && _widec <= 4218 ) + goto tr3122; + } else + goto tr3122; + goto tr3121; +tr3112: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1470; +tr3167: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1470; +tr3212: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1470; +tr3256: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1470; +st1470: + if ( ++p == pe ) + goto _test_eof1470; +case 1470: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + if ( _widec == 5130 ) + goto tr3124; + if ( 4992 <= _widec && _widec <= 5247 ) + goto tr3123; + goto tr3121; +tr3118: + { + s->buffer_length = 0; + } + goto st1043; +tr3127: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1043; +tr3262: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st1043; +tr3173: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st1043; +tr3218: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st1043; +st1043: + if ( ++p == pe ) + goto _test_eof1043; +case 1043: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(7808 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(7808 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(7808 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + switch( _widec ) { + case 8714: goto tr3124; + case 9226: goto tr3126; + case 9738: goto tr3128; + } + if ( _widec < 9088 ) { + if ( 8576 <= _widec && _widec <= 8831 ) + goto tr3123; + } else if ( _widec > 9343 ) { + if ( 9600 <= _widec && _widec <= 9855 ) + goto tr3127; + } else + goto tr3125; + goto tr3121; +tr3119: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1471; +tr3174: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1471; +tr3219: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1471; +tr3263: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1471; +st1471: + if ( ++p == pe ) + goto _test_eof1471; +case 1471: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 32 ) { + if ( (*p) > 40 ) { + if ( 41 <= (*p) && (*p) <= 41 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 43 ) { + if ( (*p) < 59 ) { + if ( (*p) > 47 ) { + if ( 48 <= (*p) && (*p) <= 57 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 4139: goto tr3122; + case 7177: goto st1037; + case 7200: goto st1037; + case 7208: goto tr3100; + case 7209: goto tr3101; + case 7433: goto st1040; + case 7456: goto st1040; + case 7464: goto tr3103; + case 7465: goto tr3104; + case 7689: goto st1042; + case 7712: goto st1042; + case 7720: goto tr3106; + case 7721: goto tr3107; + case 10506: goto tr3108; + case 10555: goto tr3108; + case 10762: goto tr3108; + case 10811: goto tr3108; + case 11274: goto tr3109; + case 11323: goto tr3110; + case 11530: goto tr3108; + case 11579: goto tr3108; + case 11786: goto tr3111; + case 11835: goto tr3112; + case 12298: goto tr3113; + case 12347: goto tr3114; + case 12554: goto tr3108; + case 12603: goto tr3108; + case 12810: goto tr3115; + case 12859: goto tr3116; + case 13322: goto tr3117; + case 13371: goto tr3118; + case 13578: goto tr3108; + case 13627: goto tr3108; + case 13834: goto tr3119; + case 13883: goto tr3120; + } + if ( _widec < 4161 ) { + if ( 4143 <= _widec && _widec <= 4153 ) + goto tr3122; + } else if ( _widec > 4186 ) { + if ( 4193 <= _widec && _widec <= 4218 ) + goto tr3122; + } else + goto tr3122; + goto tr3121; +tr3120: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1472; +tr3175: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1472; +tr3220: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1472; +tr3264: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1472; +st1472: + if ( ++p == pe ) + goto _test_eof1472; +case 1472: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(7808 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(7808 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(7808 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + switch( _widec ) { + case 8714: goto tr3124; + case 9226: goto tr3126; + case 9738: goto tr3128; + } + if ( _widec < 9088 ) { + if ( 8576 <= _widec && _widec <= 8831 ) + goto tr3123; + } else if ( _widec > 9343 ) { + if ( 9600 <= _widec && _widec <= 9855 ) + goto tr3127; + } else + goto tr3125; + goto tr3121; +tr3097: + { + s->buffer_length = 0; + } + goto st1044; +tr3129: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1044; +tr3091: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1044; +st1044: + if ( ++p == pe ) + goto _test_eof1044; +case 1044: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3130; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3129; + goto tr3069; +tr3083: + { + s->buffer_length = 0; + } + goto st1045; +tr3131: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1045; +st1045: + if ( ++p == pe ) + goto _test_eof1045; +case 1045: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3132; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3131; + goto tr3069; +tr3074: + { + *(rdata_tail++) = 1; + } + goto st1046; +st1046: + if ( ++p == pe ) + goto _test_eof1046; +case 1046: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1047; + case 32: goto st1047; + case 40: goto tr3134; + case 41: goto tr3135; + case 2058: goto tr3136; + case 2107: goto tr3137; + } + goto tr3069; +tr3134: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1047; +tr3135: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1047; +tr3136: + { + s->line_counter++; + } + goto st1047; +tr3179: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1047; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1047; +st1047: + if ( ++p == pe ) + goto _test_eof1047; +case 1047: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1047; + case 32: goto st1047; + case 40: goto tr3134; + case 41: goto tr3135; + case 2058: goto tr3136; + case 2107: goto tr3137; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3138; + goto tr3084; +tr3138: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1048; +tr3142: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1048; +st1048: + if ( ++p == pe ) + goto _test_eof1048; +case 1048: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3139; + case 32: goto tr3139; + case 40: goto tr3140; + case 41: goto tr3141; + case 2058: goto tr3143; + case 2107: goto tr3144; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3142; + goto tr3084; +tr3147: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1049; +tr3148: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1049; +tr3150: + { + s->line_counter++; + } + goto st1049; +tr3177: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1049; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1049; +tr3139: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1049; +tr3140: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1049; +tr3141: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1049; +tr3143: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1049; +st1049: + if ( ++p == pe ) + goto _test_eof1049; +case 1049: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1049; + case 32: goto st1049; + case 40: goto tr3147; + case 41: goto tr3148; + case 46: goto tr3149; + case 2058: goto tr3150; + case 2107: goto tr3151; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3149; + goto tr3145; +tr3153: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1050; +tr3149: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1050; +st1050: + if ( ++p == pe ) + goto _test_eof1050; +case 1050: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 46: goto tr3153; + case 7177: goto tr3154; + case 7200: goto tr3154; + case 7208: goto tr3155; + case 7209: goto tr3156; + case 7433: goto tr3157; + case 7456: goto tr3157; + case 7464: goto tr3158; + case 7465: goto tr3159; + case 7689: goto tr3160; + case 7712: goto tr3160; + case 7720: goto tr3161; + case 7721: goto tr3162; + case 10506: goto tr3163; + case 10555: goto tr3163; + case 10762: goto tr3163; + case 10811: goto tr3163; + case 11274: goto tr3164; + case 11323: goto tr3165; + case 11530: goto tr3163; + case 11579: goto tr3163; + case 11786: goto tr3166; + case 11835: goto tr3167; + case 12298: goto tr3168; + case 12347: goto tr3169; + case 12554: goto tr3163; + case 12603: goto tr3163; + case 12810: goto tr3170; + case 12859: goto tr3171; + case 13322: goto tr3172; + case 13371: goto tr3173; + case 13578: goto tr3163; + case 13627: goto tr3163; + case 13834: goto tr3174; + case 13883: goto tr3175; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3153; + goto tr3152; +tr3151: + { + s->buffer_length = 0; + } + goto st1051; +tr3176: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1051; +tr3144: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1051; +st1051: + if ( ++p == pe ) + goto _test_eof1051; +case 1051: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3177; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3176; + goto tr3069; +tr3137: + { + s->buffer_length = 0; + } + goto st1052; +tr3178: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1052; +st1052: + if ( ++p == pe ) + goto _test_eof1052; +case 1052: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3179; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3178; + goto tr3069; +tr3075: + { + *(rdata_tail++) = 2; + } + goto st1053; +st1053: + if ( ++p == pe ) + goto _test_eof1053; +case 1053: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1054; + case 32: goto st1054; + case 40: goto tr3181; + case 41: goto tr3182; + case 2058: goto tr3183; + case 2107: goto tr3184; + } + goto tr3069; +tr3181: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1054; +tr3182: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1054; +tr3183: + { + s->line_counter++; + } + goto st1054; +tr3224: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1054; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1054; +st1054: + if ( ++p == pe ) + goto _test_eof1054; +case 1054: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1054; + case 32: goto st1054; + case 40: goto tr3181; + case 41: goto tr3182; + case 2058: goto tr3183; + case 2107: goto tr3184; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3185; + goto tr3084; +tr3185: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1055; +tr3189: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1055; +st1055: + if ( ++p == pe ) + goto _test_eof1055; +case 1055: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3186; + case 32: goto tr3186; + case 40: goto tr3187; + case 41: goto tr3188; + case 2058: goto tr3190; + case 2107: goto tr3191; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3189; + goto tr3084; +tr3193: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1056; +tr3194: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1056; +tr3196: + { + s->line_counter++; + } + goto st1056; +tr3222: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1056; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1056; +tr3186: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1056; +tr3187: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1056; +tr3188: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1056; +tr3190: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1056; +st1056: + if ( ++p == pe ) + goto _test_eof1056; +case 1056: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1056; + case 32: goto st1056; + case 40: goto tr3193; + case 41: goto tr3194; + case 46: goto tr3195; + case 2058: goto tr3196; + case 2107: goto tr3197; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 58 ) + goto tr3195; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3195; + } else + goto tr3195; + goto tr3145; +tr3198: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1057; +tr3195: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1057; +st1057: + if ( ++p == pe ) + goto _test_eof1057; +case 1057: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 46: goto tr3198; + case 7177: goto tr3199; + case 7200: goto tr3199; + case 7208: goto tr3200; + case 7209: goto tr3201; + case 7433: goto tr3202; + case 7456: goto tr3202; + case 7464: goto tr3203; + case 7465: goto tr3204; + case 7689: goto tr3205; + case 7712: goto tr3205; + case 7720: goto tr3206; + case 7721: goto tr3207; + case 10506: goto tr3208; + case 10555: goto tr3208; + case 10762: goto tr3208; + case 10811: goto tr3208; + case 11274: goto tr3209; + case 11323: goto tr3210; + case 11530: goto tr3208; + case 11579: goto tr3208; + case 11786: goto tr3211; + case 11835: goto tr3212; + case 12298: goto tr3213; + case 12347: goto tr3214; + case 12554: goto tr3208; + case 12603: goto tr3208; + case 12810: goto tr3215; + case 12859: goto tr3216; + case 13322: goto tr3217; + case 13371: goto tr3218; + case 13578: goto tr3208; + case 13627: goto tr3208; + case 13834: goto tr3219; + case 13883: goto tr3220; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 58 ) + goto tr3198; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3198; + } else + goto tr3198; + goto tr3152; +tr3197: + { + s->buffer_length = 0; + } + goto st1058; +tr3221: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1058; +tr3191: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1058; +st1058: + if ( ++p == pe ) + goto _test_eof1058; +case 1058: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3222; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3221; + goto tr3069; +tr3184: + { + s->buffer_length = 0; + } + goto st1059; +tr3223: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1059; +st1059: + if ( ++p == pe ) + goto _test_eof1059; +case 1059: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3224; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3223; + goto tr3069; +tr3076: + { + *(rdata_tail++) = 3; + } + goto st1060; +st1060: + if ( ++p == pe ) + goto _test_eof1060; +case 1060: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1061; + case 32: goto st1061; + case 40: goto tr3226; + case 41: goto tr3227; + case 2058: goto tr3228; + case 2107: goto tr3229; + } + goto tr3069; +tr3226: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1061; +tr3227: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1061; +tr3228: + { + s->line_counter++; + } + goto st1061; +tr3268: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1061; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1061; +st1061: + if ( ++p == pe ) + goto _test_eof1061; +case 1061: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1061; + case 32: goto st1061; + case 40: goto tr3226; + case 41: goto tr3227; + case 2058: goto tr3228; + case 2107: goto tr3229; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3230; + goto tr3084; +tr3230: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1062; +tr3234: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1062; +st1062: + if ( ++p == pe ) + goto _test_eof1062; +case 1062: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3231; + case 32: goto tr3231; + case 40: goto tr3232; + case 41: goto tr3233; + case 2058: goto tr3235; + case 2107: goto tr3236; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3234; + goto tr3084; +tr3238: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1063; +tr3239: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1063; +tr3241: + { + s->line_counter++; + } + goto st1063; +tr3266: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1063; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1063; +tr3231: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1063; +tr3232: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1063; +tr3233: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1063; +tr3235: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1063; +st1063: + if ( ++p == pe ) + goto _test_eof1063; +case 1063: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1063; + case 32: goto st1063; + case 40: goto tr3238; + case 41: goto tr3239; + case 42: goto tr3240; + case 92: goto tr3240; + case 95: goto tr3240; + case 2058: goto tr3241; + case 2107: goto tr3242; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3240; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3240; + } else + goto tr3240; + goto tr3069; +tr3240: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 1064;goto st309;} } + goto st1064; +st1064: + if ( ++p == pe ) + goto _test_eof1064; +case 1064: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 7177: goto tr3243; + case 7200: goto tr3243; + case 7208: goto tr3244; + case 7209: goto tr3245; + case 7433: goto tr3246; + case 7456: goto tr3246; + case 7464: goto tr3247; + case 7465: goto tr3248; + case 7689: goto tr3249; + case 7712: goto tr3249; + case 7720: goto tr3250; + case 7721: goto tr3251; + case 10506: goto tr3252; + case 10555: goto tr3252; + case 10762: goto tr3252; + case 10811: goto tr3252; + case 11274: goto tr3253; + case 11323: goto tr3254; + case 11530: goto tr3252; + case 11579: goto tr3252; + case 11786: goto tr3255; + case 11835: goto tr3256; + case 12298: goto tr3257; + case 12347: goto tr3258; + case 12554: goto tr3252; + case 12603: goto tr3252; + case 12810: goto tr3259; + case 12859: goto tr3260; + case 13322: goto tr3261; + case 13371: goto tr3262; + case 13578: goto tr3252; + case 13627: goto tr3252; + case 13834: goto tr3263; + case 13883: goto tr3264; + } + goto tr3098; +tr3242: + { + s->buffer_length = 0; + } + goto st1065; +tr3265: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1065; +tr3236: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1065; +st1065: + if ( ++p == pe ) + goto _test_eof1065; +case 1065: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3266; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3265; + goto tr3069; +tr3229: + { + s->buffer_length = 0; + } + goto st1066; +tr3267: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1066; +st1066: + if ( ++p == pe ) + goto _test_eof1066; +case 1066: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3268; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3267; + goto tr3069; +tr3078: + { + s->buffer_length = 0; + } + goto st1067; +tr3269: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1067; +tr3068: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1067; +st1067: + if ( ++p == pe ) + goto _test_eof1067; +case 1067: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3270; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3269; + goto tr75; +st1068: + if ( ++p == pe ) + goto _test_eof1068; +case 1068: + switch( (*p) ) { + case 65: goto st1069; + case 67: goto st1103; + case 68: goto st1124; + case 69: goto st1138; + case 72: goto st1145; + case 73: goto st1154; + case 75: goto st1162; + case 76: goto st1166; + case 77: goto st1174; + case 78: goto st1180; + case 79: goto st1196; + case 80: goto st1206; + case 82: goto st1209; + case 83: goto st1216; + case 84: goto st1235; + case 85: goto st1245; + case 90: goto st1248; + case 97: goto st1069; + case 99: goto st1103; + case 100: goto st1124; + case 101: goto st1138; + case 104: goto st1145; + case 105: goto st1154; + case 107: goto st1162; + case 108: goto st1166; + case 109: goto st1174; + case 110: goto st1180; + case 111: goto st1196; + case 112: goto st1206; + case 114: goto st1209; + case 115: goto st1216; + case 116: goto st1235; + case 117: goto st1245; + case 122: goto st1248; + } + goto tr3271; +st1069: + if ( ++p == pe ) + goto _test_eof1069; +case 1069: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3289; + case 32: goto tr3289; + case 40: goto tr3290; + case 41: goto tr3291; + case 65: goto st1094; + case 70: goto st1097; + case 80: goto st1101; + case 97: goto st1094; + case 102: goto st1097; + case 112: goto st1101; + case 2058: goto tr3295; + case 2107: goto tr3296; + } + goto tr3271; +tr3298: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3299: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3301: + { + s->line_counter++; + } + goto st1070; +tr3397: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1070; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1070; +tr3758: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1070; +tr3759: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3760: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3762: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1070; +tr3289: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + goto st1070; +tr3290: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3291: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3295: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3400: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + goto st1070; +tr3401: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3402: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3403: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3408: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + goto st1070; +tr3409: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3410: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3411: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3414: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + goto st1070; +tr3415: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3416: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3417: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3425: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + goto st1070; +tr3426: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3427: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3428: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3436: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + goto st1070; +tr3437: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3438: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3439: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3441: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + goto st1070; +tr3442: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3443: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3444: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3448: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + goto st1070; +tr3449: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3450: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3451: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3456: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + goto st1070; +tr3457: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3458: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3459: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3464: + { type_num(KNOT_RRTYPE_CSYNC, &rdata_tail); } + goto st1070; +tr3465: + { type_num(KNOT_RRTYPE_CSYNC, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3466: + { type_num(KNOT_RRTYPE_CSYNC, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3467: + { type_num(KNOT_RRTYPE_CSYNC, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3475: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + goto st1070; +tr3476: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3477: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3478: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3484: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + goto st1070; +tr3485: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3486: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3487: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3492: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + goto st1070; +tr3493: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3494: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3495: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3497: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + goto st1070; +tr3498: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3499: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3500: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3507: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + goto st1070; +tr3508: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3509: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3510: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3513: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + goto st1070; +tr3514: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3515: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3516: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3523: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + goto st1070; +tr3524: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3525: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3526: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3531: + { type_num(KNOT_RRTYPE_HTTPS, &rdata_tail); } + goto st1070; +tr3532: + { type_num(KNOT_RRTYPE_HTTPS, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3533: + { type_num(KNOT_RRTYPE_HTTPS, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3534: + { type_num(KNOT_RRTYPE_HTTPS, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3543: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + goto st1070; +tr3544: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3545: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3546: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3551: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + goto st1070; +tr3552: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3553: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3554: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3556: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + goto st1070; +tr3557: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3558: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3559: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3566: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + goto st1070; +tr3567: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3568: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3569: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3572: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + goto st1070; +tr3573: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3574: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3575: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3578: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + goto st1070; +tr3579: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3580: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3581: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3583: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + goto st1070; +tr3584: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3585: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3586: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3593: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + goto st1070; +tr3594: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3595: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3596: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3598: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + goto st1070; +tr3599: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3600: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3601: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3609: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + goto st1070; +tr3610: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3611: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3612: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3615: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + goto st1070; +tr3616: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3617: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3618: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3620: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + goto st1070; +tr3621: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3622: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3624: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3627: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + goto st1070; +tr3628: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3629: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3631: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3633: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + goto st1070; +tr3634: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3635: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3637: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3643: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + goto st1070; +tr3644: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3645: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3646: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3657: + { type_num(KNOT_RRTYPE_OPENPGPKEY, &rdata_tail); } + goto st1070; +tr3658: + { type_num(KNOT_RRTYPE_OPENPGPKEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3659: + { type_num(KNOT_RRTYPE_OPENPGPKEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3660: + { type_num(KNOT_RRTYPE_OPENPGPKEY, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3664: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + goto st1070; +tr3665: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3666: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3667: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3672: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + goto st1070; +tr3673: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3674: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3675: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3680: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + goto st1070; +tr3681: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3682: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3683: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3685: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + goto st1070; +tr3686: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3687: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3688: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3700: + { type_num(KNOT_RRTYPE_SMIMEA, &rdata_tail); } + goto st1070; +tr3701: + { type_num(KNOT_RRTYPE_SMIMEA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3702: + { type_num(KNOT_RRTYPE_SMIMEA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3703: + { type_num(KNOT_RRTYPE_SMIMEA, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3706: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + goto st1070; +tr3707: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3708: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3709: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3712: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + goto st1070; +tr3713: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3714: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3715: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3718: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + goto st1070; +tr3719: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3720: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3721: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3726: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + goto st1070; +tr3727: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3728: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3729: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3733: + { type_num(KNOT_RRTYPE_SVCB, &rdata_tail); } + goto st1070; +tr3734: + { type_num(KNOT_RRTYPE_SVCB, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3735: + { type_num(KNOT_RRTYPE_SVCB, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3736: + { type_num(KNOT_RRTYPE_SVCB, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3743: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + goto st1070; +tr3744: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3745: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3746: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3749: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + goto st1070; +tr3750: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3751: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3752: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3766: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + goto st1070; +tr3767: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3768: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3769: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +tr3776: + { type_num(KNOT_RRTYPE_ZONEMD, &rdata_tail); } + goto st1070; +tr3777: + { type_num(KNOT_RRTYPE_ZONEMD, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1070; +tr3778: + { type_num(KNOT_RRTYPE_ZONEMD, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1070; +tr3779: + { type_num(KNOT_RRTYPE_ZONEMD, &rdata_tail); } + { + s->line_counter++; + } + goto st1070; +st1070: + if ( ++p == pe ) + goto _test_eof1070; +case 1070: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1070; + case 32: goto st1070; + case 40: goto tr3298; + case 41: goto tr3299; + case 2058: goto tr3301; + case 2107: goto tr3302; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3300; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3300; + } else + goto tr3300; + goto tr75; +tr3300: + { p--; {stack[top++] = 1071;goto st699;} } + goto st1071; +st1071: + if ( ++p == pe ) + goto _test_eof1071; +case 1071: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1072; + case 32: goto st1072; + case 40: goto tr3304; + case 41: goto tr3305; + case 2058: goto tr3306; + case 2107: goto tr3307; + } + goto tr75; +tr3304: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1072; +tr3305: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1072; +tr3306: + { + s->line_counter++; + } + goto st1072; +tr3395: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1072; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1072; +st1072: + if ( ++p == pe ) + goto _test_eof1072; +case 1072: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1072; + case 32: goto st1072; + case 40: goto tr3304; + case 41: goto tr3305; + case 2058: goto tr3306; + case 2107: goto tr3307; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3308; + goto tr2327; +tr3308: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1073; +tr3312: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1073; +st1073: + if ( ++p == pe ) + goto _test_eof1073; +case 1073: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3309; + case 32: goto tr3309; + case 40: goto tr3310; + case 41: goto tr3311; + case 2058: goto tr3313; + case 2107: goto tr3314; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3312; + goto tr2327; +tr3316: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1074; +tr3317: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1074; +tr3319: + { + s->line_counter++; + } + goto st1074; +tr3393: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1074; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1074; +tr3309: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1074; +tr3310: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1074; +tr3311: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1074; +tr3313: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1074; +st1074: + if ( ++p == pe ) + goto _test_eof1074; +case 1074: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1074; + case 32: goto st1074; + case 40: goto tr3316; + case 41: goto tr3317; + case 2058: goto tr3319; + case 2107: goto tr3320; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3318; + goto tr2327; +tr3318: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1075; +tr3324: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1075; +st1075: + if ( ++p == pe ) + goto _test_eof1075; +case 1075: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3321; + case 32: goto tr3321; + case 40: goto tr3322; + case 41: goto tr3323; + case 2058: goto tr3325; + case 2107: goto tr3326; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3324; + goto tr2327; +tr3329: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1076; +tr3330: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1076; +tr3332: + { + s->line_counter++; + } + goto st1076; +tr3391: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1076; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1076; +tr3321: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st1076; +tr3322: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1076; +tr3323: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1076; +tr3325: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1076; +st1076: + if ( ++p == pe ) + goto _test_eof1076; +case 1076: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1076; + case 32: goto st1076; + case 40: goto tr3329; + case 41: goto tr3330; + case 2058: goto tr3332; + case 2107: goto tr3333; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3331; + goto tr3327; +tr3331: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1077; +tr3337: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1077; +st1077: + if ( ++p == pe ) + goto _test_eof1077; +case 1077: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3334; + case 32: goto tr3334; + case 40: goto tr3335; + case 41: goto tr3336; + case 2058: goto tr3338; + case 2107: goto tr3339; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3337; + goto tr3327; +tr3341: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1078; +tr3342: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1078; +tr3344: + { + s->line_counter++; + } + goto st1078; +tr3389: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1078; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1078; +tr3334: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + goto st1078; +tr3335: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1078; +tr3336: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1078; +tr3338: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1078; +st1078: + if ( ++p == pe ) + goto _test_eof1078; +case 1078: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1078; + case 32: goto st1078; + case 40: goto tr3341; + case 41: goto tr3342; + case 2058: goto tr3344; + case 2107: goto tr3345; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3343; + goto tr3327; +tr3343: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1079; +tr3349: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1079; +st1079: + if ( ++p == pe ) + goto _test_eof1079; +case 1079: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3346; + case 32: goto tr3346; + case 40: goto tr3347; + case 41: goto tr3348; + case 2058: goto tr3350; + case 2107: goto tr3351; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3349; + goto tr3327; +tr3353: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1080; +tr3354: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1080; +tr3356: + { + s->line_counter++; + } + goto st1080; +tr3387: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1080; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1080; +tr3346: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + goto st1080; +tr3347: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1080; +tr3348: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1080; +tr3350: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1080; +st1080: + if ( ++p == pe ) + goto _test_eof1080; +case 1080: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1080; + case 32: goto st1080; + case 40: goto tr3353; + case 41: goto tr3354; + case 2058: goto tr3356; + case 2107: goto tr3357; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3355; + goto tr2327; +tr3355: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1081; +tr3361: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1081; +st1081: + if ( ++p == pe ) + goto _test_eof1081; +case 1081: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3358; + case 32: goto tr3358; + case 40: goto tr3359; + case 41: goto tr3360; + case 2058: goto tr3362; + case 2107: goto tr3363; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3361; + goto tr2327; +tr3365: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1082; +tr3366: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1082; +tr3368: + { + s->line_counter++; + } + goto st1082; +tr3385: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1082; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1082; +tr3358: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1082; +tr3359: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1082; +tr3360: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1082; +tr3362: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1082; +st1082: + if ( ++p == pe ) + goto _test_eof1082; +case 1082: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1082; + case 32: goto st1082; + case 40: goto tr3365; + case 41: goto tr3366; + case 42: goto tr3367; + case 92: goto tr3367; + case 95: goto tr3367; + case 2058: goto tr3368; + case 2107: goto tr3369; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3367; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3367; + } else + goto tr3367; + goto tr75; +tr3367: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 1083;goto st309;} } + goto st1083; +st1083: + if ( ++p == pe ) + goto _test_eof1083; +case 1083: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3370; + case 32: goto tr3370; + case 40: goto tr3371; + case 41: goto tr3372; + case 2058: goto tr3373; + case 2107: goto tr3374; + } + goto tr75; +tr3376: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1084; +tr3377: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1084; +tr3379: + { + s->line_counter++; + } + goto st1084; +tr3383: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1084; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1084; +tr3370: + { + rdata_tail += s->dname_tmp_length; + } + goto st1084; +tr3371: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1084; +tr3372: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1084; +tr3373: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st1084; +st1084: + if ( ++p == pe ) + goto _test_eof1084; +case 1084: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1084; + case 32: goto st1084; + case 40: goto tr3376; + case 41: goto tr3377; + case 43: goto tr3378; + case 2058: goto tr3379; + case 2107: goto tr3380; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr3378; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3378; + } else + goto tr3378; + goto tr75; +tr3378: + { p--; {stack[top++] = 1085;goto st369;} } + goto st1085; +st1085: + if ( ++p == pe ) + goto _test_eof1085; +case 1085: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 2570: goto tr3381; + case 2619: goto tr3381; + } + goto tr75; +tr3381: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1473; +st1473: + if ( ++p == pe ) + goto _test_eof1473; +case 1473: + goto st0; +tr3380: + { + s->buffer_length = 0; + } + goto st1086; +tr3382: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1086; +tr3374: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st1086; +st1086: + if ( ++p == pe ) + goto _test_eof1086; +case 1086: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3383; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3382; + goto tr75; +tr3369: + { + s->buffer_length = 0; + } + goto st1087; +tr3384: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1087; +tr3363: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1087; +st1087: + if ( ++p == pe ) + goto _test_eof1087; +case 1087: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3385; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3384; + goto tr75; +tr3357: + { + s->buffer_length = 0; + } + goto st1088; +tr3386: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1088; +tr3351: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1088; +st1088: + if ( ++p == pe ) + goto _test_eof1088; +case 1088: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3387; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3386; + goto tr75; +tr3345: + { + s->buffer_length = 0; + } + goto st1089; +tr3388: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1089; +tr3339: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {goto st307;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {goto st307;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1089; +st1089: + if ( ++p == pe ) + goto _test_eof1089; +case 1089: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3389; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3388; + goto tr75; +tr3333: + { + s->buffer_length = 0; + } + goto st1090; +tr3390: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1090; +tr3326: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1090; +st1090: + if ( ++p == pe ) + goto _test_eof1090; +case 1090: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3391; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3390; + goto tr75; +tr3320: + { + s->buffer_length = 0; + } + goto st1091; +tr3392: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1091; +tr3314: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1091; +st1091: + if ( ++p == pe ) + goto _test_eof1091; +case 1091: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3393; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3392; + goto tr75; +tr3307: + { + s->buffer_length = 0; + } + goto st1092; +tr3394: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1092; +st1092: + if ( ++p == pe ) + goto _test_eof1092; +case 1092: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3395; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3394; + goto tr75; +tr3302: + { + s->buffer_length = 0; + } + goto st1093; +tr3396: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1093; +tr3763: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1093; +tr3296: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3404: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3412: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3418: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3429: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3440: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3445: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3452: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3460: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3468: + { type_num(KNOT_RRTYPE_CSYNC, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3479: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3488: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3496: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3501: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3511: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3517: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3527: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3535: + { type_num(KNOT_RRTYPE_HTTPS, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3547: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3555: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3560: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3570: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3576: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3582: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3587: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3597: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3602: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3613: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3619: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3625: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3632: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3638: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3647: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3661: + { type_num(KNOT_RRTYPE_OPENPGPKEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3668: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3676: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3684: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3689: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3704: + { type_num(KNOT_RRTYPE_SMIMEA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3710: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3716: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3722: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3730: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3737: + { type_num(KNOT_RRTYPE_SVCB, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3747: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3753: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3770: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +tr3780: + { type_num(KNOT_RRTYPE_ZONEMD, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st1093; +st1093: + if ( ++p == pe ) + goto _test_eof1093; +case 1093: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3397; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3396; + goto tr75; +st1094: + if ( ++p == pe ) + goto _test_eof1094; +case 1094: + switch( (*p) ) { + case 65: goto st1095; + case 97: goto st1095; + } + goto tr3271; +st1095: + if ( ++p == pe ) + goto _test_eof1095; +case 1095: + switch( (*p) ) { + case 65: goto st1096; + case 97: goto st1096; + } + goto tr3271; +st1096: + if ( ++p == pe ) + goto _test_eof1096; +case 1096: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3400; + case 32: goto tr3400; + case 40: goto tr3401; + case 41: goto tr3402; + case 2058: goto tr3403; + case 2107: goto tr3404; + } + goto tr3271; +st1097: + if ( ++p == pe ) + goto _test_eof1097; +case 1097: + switch( (*p) ) { + case 83: goto st1098; + case 115: goto st1098; + } + goto tr3271; +st1098: + if ( ++p == pe ) + goto _test_eof1098; +case 1098: + switch( (*p) ) { + case 68: goto st1099; + case 100: goto st1099; + } + goto tr3271; +st1099: + if ( ++p == pe ) + goto _test_eof1099; +case 1099: + switch( (*p) ) { + case 66: goto st1100; + case 98: goto st1100; + } + goto tr3271; +st1100: + if ( ++p == pe ) + goto _test_eof1100; +case 1100: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3408; + case 32: goto tr3408; + case 40: goto tr3409; + case 41: goto tr3410; + case 2058: goto tr3411; + case 2107: goto tr3412; + } + goto tr3271; +st1101: + if ( ++p == pe ) + goto _test_eof1101; +case 1101: + switch( (*p) ) { + case 76: goto st1102; + case 108: goto st1102; + } + goto tr3271; +st1102: + if ( ++p == pe ) + goto _test_eof1102; +case 1102: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3414; + case 32: goto tr3414; + case 40: goto tr3415; + case 41: goto tr3416; + case 2058: goto tr3417; + case 2107: goto tr3418; + } + goto tr3271; +st1103: + if ( ++p == pe ) + goto _test_eof1103; +case 1103: + switch( (*p) ) { + case 65: goto st1104; + case 68: goto st1106; + case 69: goto st1113; + case 78: goto st1116; + case 83: goto st1120; + case 97: goto st1104; + case 100: goto st1106; + case 101: goto st1113; + case 110: goto st1116; + case 115: goto st1120; + } + goto tr3271; +st1104: + if ( ++p == pe ) + goto _test_eof1104; +case 1104: + switch( (*p) ) { + case 65: goto st1105; + case 97: goto st1105; + } + goto tr3271; +st1105: + if ( ++p == pe ) + goto _test_eof1105; +case 1105: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3425; + case 32: goto tr3425; + case 40: goto tr3426; + case 41: goto tr3427; + case 2058: goto tr3428; + case 2107: goto tr3429; + } + goto tr3271; +st1106: + if ( ++p == pe ) + goto _test_eof1106; +case 1106: + switch( (*p) ) { + case 78: goto st1107; + case 83: goto st1112; + case 110: goto st1107; + case 115: goto st1112; + } + goto tr3271; +st1107: + if ( ++p == pe ) + goto _test_eof1107; +case 1107: + switch( (*p) ) { + case 83: goto st1108; + case 115: goto st1108; + } + goto tr3271; +st1108: + if ( ++p == pe ) + goto _test_eof1108; +case 1108: + switch( (*p) ) { + case 75: goto st1109; + case 107: goto st1109; + } + goto tr3271; +st1109: + if ( ++p == pe ) + goto _test_eof1109; +case 1109: + switch( (*p) ) { + case 69: goto st1110; + case 101: goto st1110; + } + goto tr3271; +st1110: + if ( ++p == pe ) + goto _test_eof1110; +case 1110: + switch( (*p) ) { + case 89: goto st1111; + case 121: goto st1111; + } + goto tr3271; +st1111: + if ( ++p == pe ) + goto _test_eof1111; +case 1111: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3436; + case 32: goto tr3436; + case 40: goto tr3437; + case 41: goto tr3438; + case 2058: goto tr3439; + case 2107: goto tr3440; + } + goto tr3271; +st1112: + if ( ++p == pe ) + goto _test_eof1112; +case 1112: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3441; + case 32: goto tr3441; + case 40: goto tr3442; + case 41: goto tr3443; + case 2058: goto tr3444; + case 2107: goto tr3445; + } + goto tr3271; +st1113: + if ( ++p == pe ) + goto _test_eof1113; +case 1113: + switch( (*p) ) { + case 82: goto st1114; + case 114: goto st1114; + } + goto tr3271; +st1114: + if ( ++p == pe ) + goto _test_eof1114; +case 1114: + switch( (*p) ) { + case 84: goto st1115; + case 116: goto st1115; + } + goto tr3271; +st1115: + if ( ++p == pe ) + goto _test_eof1115; +case 1115: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3448; + case 32: goto tr3448; + case 40: goto tr3449; + case 41: goto tr3450; + case 2058: goto tr3451; + case 2107: goto tr3452; + } + goto tr3271; +st1116: + if ( ++p == pe ) + goto _test_eof1116; +case 1116: + switch( (*p) ) { + case 65: goto st1117; + case 97: goto st1117; + } + goto tr3271; +st1117: + if ( ++p == pe ) + goto _test_eof1117; +case 1117: + switch( (*p) ) { + case 77: goto st1118; + case 109: goto st1118; + } + goto tr3271; +st1118: + if ( ++p == pe ) + goto _test_eof1118; +case 1118: + switch( (*p) ) { + case 69: goto st1119; + case 101: goto st1119; + } + goto tr3271; +st1119: + if ( ++p == pe ) + goto _test_eof1119; +case 1119: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3456; + case 32: goto tr3456; + case 40: goto tr3457; + case 41: goto tr3458; + case 2058: goto tr3459; + case 2107: goto tr3460; + } + goto tr3271; +st1120: + if ( ++p == pe ) + goto _test_eof1120; +case 1120: + switch( (*p) ) { + case 89: goto st1121; + case 121: goto st1121; + } + goto tr3271; +st1121: + if ( ++p == pe ) + goto _test_eof1121; +case 1121: + switch( (*p) ) { + case 78: goto st1122; + case 110: goto st1122; + } + goto tr3271; +st1122: + if ( ++p == pe ) + goto _test_eof1122; +case 1122: + switch( (*p) ) { + case 67: goto st1123; + case 99: goto st1123; + } + goto tr3271; +st1123: + if ( ++p == pe ) + goto _test_eof1123; +case 1123: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3464; + case 32: goto tr3464; + case 40: goto tr3465; + case 41: goto tr3466; + case 2058: goto tr3467; + case 2107: goto tr3468; + } + goto tr3271; +st1124: + if ( ++p == pe ) + goto _test_eof1124; +case 1124: + switch( (*p) ) { + case 72: goto st1125; + case 78: goto st1129; + case 83: goto st1137; + case 104: goto st1125; + case 110: goto st1129; + case 115: goto st1137; + } + goto tr3271; +st1125: + if ( ++p == pe ) + goto _test_eof1125; +case 1125: + switch( (*p) ) { + case 67: goto st1126; + case 99: goto st1126; + } + goto tr3271; +st1126: + if ( ++p == pe ) + goto _test_eof1126; +case 1126: + switch( (*p) ) { + case 73: goto st1127; + case 105: goto st1127; + } + goto tr3271; +st1127: + if ( ++p == pe ) + goto _test_eof1127; +case 1127: + switch( (*p) ) { + case 68: goto st1128; + case 100: goto st1128; + } + goto tr3271; +st1128: + if ( ++p == pe ) + goto _test_eof1128; +case 1128: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3475; + case 32: goto tr3475; + case 40: goto tr3476; + case 41: goto tr3477; + case 2058: goto tr3478; + case 2107: goto tr3479; + } + goto tr3271; +st1129: + if ( ++p == pe ) + goto _test_eof1129; +case 1129: + switch( (*p) ) { + case 65: goto st1130; + case 83: goto st1133; + case 97: goto st1130; + case 115: goto st1133; + } + goto tr3271; +st1130: + if ( ++p == pe ) + goto _test_eof1130; +case 1130: + switch( (*p) ) { + case 77: goto st1131; + case 109: goto st1131; + } + goto tr3271; +st1131: + if ( ++p == pe ) + goto _test_eof1131; +case 1131: + switch( (*p) ) { + case 69: goto st1132; + case 101: goto st1132; + } + goto tr3271; +st1132: + if ( ++p == pe ) + goto _test_eof1132; +case 1132: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3484; + case 32: goto tr3484; + case 40: goto tr3485; + case 41: goto tr3486; + case 2058: goto tr3487; + case 2107: goto tr3488; + } + goto tr3271; +st1133: + if ( ++p == pe ) + goto _test_eof1133; +case 1133: + switch( (*p) ) { + case 75: goto st1134; + case 107: goto st1134; + } + goto tr3271; +st1134: + if ( ++p == pe ) + goto _test_eof1134; +case 1134: + switch( (*p) ) { + case 69: goto st1135; + case 101: goto st1135; + } + goto tr3271; +st1135: + if ( ++p == pe ) + goto _test_eof1135; +case 1135: + switch( (*p) ) { + case 89: goto st1136; + case 121: goto st1136; + } + goto tr3271; +st1136: + if ( ++p == pe ) + goto _test_eof1136; +case 1136: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3492; + case 32: goto tr3492; + case 40: goto tr3493; + case 41: goto tr3494; + case 2058: goto tr3495; + case 2107: goto tr3496; + } + goto tr3271; +st1137: + if ( ++p == pe ) + goto _test_eof1137; +case 1137: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3497; + case 32: goto tr3497; + case 40: goto tr3498; + case 41: goto tr3499; + case 2058: goto tr3500; + case 2107: goto tr3501; + } + goto tr3271; +st1138: + if ( ++p == pe ) + goto _test_eof1138; +case 1138: + switch( (*p) ) { + case 85: goto st1139; + case 117: goto st1139; + } + goto tr3271; +st1139: + if ( ++p == pe ) + goto _test_eof1139; +case 1139: + switch( (*p) ) { + case 73: goto st1140; + case 105: goto st1140; + } + goto tr3271; +st1140: + if ( ++p == pe ) + goto _test_eof1140; +case 1140: + switch( (*p) ) { + case 52: goto st1141; + case 54: goto st1143; + } + goto tr3271; +st1141: + if ( ++p == pe ) + goto _test_eof1141; +case 1141: + if ( (*p) == 56 ) + goto st1142; + goto tr3271; +st1142: + if ( ++p == pe ) + goto _test_eof1142; +case 1142: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3507; + case 32: goto tr3507; + case 40: goto tr3508; + case 41: goto tr3509; + case 2058: goto tr3510; + case 2107: goto tr3511; + } + goto tr3271; +st1143: + if ( ++p == pe ) + goto _test_eof1143; +case 1143: + if ( (*p) == 52 ) + goto st1144; + goto tr3271; +st1144: + if ( ++p == pe ) + goto _test_eof1144; +case 1144: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3513; + case 32: goto tr3513; + case 40: goto tr3514; + case 41: goto tr3515; + case 2058: goto tr3516; + case 2107: goto tr3517; + } + goto tr3271; +st1145: + if ( ++p == pe ) + goto _test_eof1145; +case 1145: + switch( (*p) ) { + case 73: goto st1146; + case 84: goto st1150; + case 105: goto st1146; + case 116: goto st1150; + } + goto tr3271; +st1146: + if ( ++p == pe ) + goto _test_eof1146; +case 1146: + switch( (*p) ) { + case 78: goto st1147; + case 110: goto st1147; + } + goto tr3271; +st1147: + if ( ++p == pe ) + goto _test_eof1147; +case 1147: + switch( (*p) ) { + case 70: goto st1148; + case 102: goto st1148; + } + goto tr3271; +st1148: + if ( ++p == pe ) + goto _test_eof1148; +case 1148: + switch( (*p) ) { + case 79: goto st1149; + case 111: goto st1149; + } + goto tr3271; +st1149: + if ( ++p == pe ) + goto _test_eof1149; +case 1149: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3523; + case 32: goto tr3523; + case 40: goto tr3524; + case 41: goto tr3525; + case 2058: goto tr3526; + case 2107: goto tr3527; + } + goto tr3271; +st1150: + if ( ++p == pe ) + goto _test_eof1150; +case 1150: + switch( (*p) ) { + case 84: goto st1151; + case 116: goto st1151; + } + goto tr3271; +st1151: + if ( ++p == pe ) + goto _test_eof1151; +case 1151: + switch( (*p) ) { + case 80: goto st1152; + case 112: goto st1152; + } + goto tr3271; +st1152: + if ( ++p == pe ) + goto _test_eof1152; +case 1152: + switch( (*p) ) { + case 83: goto st1153; + case 115: goto st1153; + } + goto tr3271; +st1153: + if ( ++p == pe ) + goto _test_eof1153; +case 1153: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3531; + case 32: goto tr3531; + case 40: goto tr3532; + case 41: goto tr3533; + case 2058: goto tr3534; + case 2107: goto tr3535; + } + goto tr3271; +st1154: + if ( ++p == pe ) + goto _test_eof1154; +case 1154: + switch( (*p) ) { + case 80: goto st1155; + case 112: goto st1155; + } + goto tr3271; +st1155: + if ( ++p == pe ) + goto _test_eof1155; +case 1155: + switch( (*p) ) { + case 83: goto st1156; + case 115: goto st1156; + } + goto tr3271; +st1156: + if ( ++p == pe ) + goto _test_eof1156; +case 1156: + switch( (*p) ) { + case 69: goto st1157; + case 101: goto st1157; + } + goto tr3271; +st1157: + if ( ++p == pe ) + goto _test_eof1157; +case 1157: + switch( (*p) ) { + case 67: goto st1158; + case 99: goto st1158; + } + goto tr3271; +st1158: + if ( ++p == pe ) + goto _test_eof1158; +case 1158: + switch( (*p) ) { + case 75: goto st1159; + case 107: goto st1159; + } + goto tr3271; +st1159: + if ( ++p == pe ) + goto _test_eof1159; +case 1159: + switch( (*p) ) { + case 69: goto st1160; + case 101: goto st1160; + } + goto tr3271; +st1160: + if ( ++p == pe ) + goto _test_eof1160; +case 1160: + switch( (*p) ) { + case 89: goto st1161; + case 121: goto st1161; + } + goto tr3271; +st1161: + if ( ++p == pe ) + goto _test_eof1161; +case 1161: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3543; + case 32: goto tr3543; + case 40: goto tr3544; + case 41: goto tr3545; + case 2058: goto tr3546; + case 2107: goto tr3547; + } + goto tr3271; +st1162: + if ( ++p == pe ) + goto _test_eof1162; +case 1162: + switch( (*p) ) { + case 69: goto st1163; + case 88: goto st1165; + case 101: goto st1163; + case 120: goto st1165; + } + goto tr3271; +st1163: + if ( ++p == pe ) + goto _test_eof1163; +case 1163: + switch( (*p) ) { + case 89: goto st1164; + case 121: goto st1164; + } + goto tr3271; +st1164: + if ( ++p == pe ) + goto _test_eof1164; +case 1164: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3551; + case 32: goto tr3551; + case 40: goto tr3552; + case 41: goto tr3553; + case 2058: goto tr3554; + case 2107: goto tr3555; + } + goto tr3271; +st1165: + if ( ++p == pe ) + goto _test_eof1165; +case 1165: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3556; + case 32: goto tr3556; + case 40: goto tr3557; + case 41: goto tr3558; + case 2058: goto tr3559; + case 2107: goto tr3560; + } + goto tr3271; +st1166: + if ( ++p == pe ) + goto _test_eof1166; +case 1166: + switch( (*p) ) { + case 51: goto st1167; + case 54: goto st1169; + case 79: goto st1171; + case 80: goto st1173; + case 111: goto st1171; + case 112: goto st1173; + } + goto tr3271; +st1167: + if ( ++p == pe ) + goto _test_eof1167; +case 1167: + if ( (*p) == 50 ) + goto st1168; + goto tr3271; +st1168: + if ( ++p == pe ) + goto _test_eof1168; +case 1168: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3566; + case 32: goto tr3566; + case 40: goto tr3567; + case 41: goto tr3568; + case 2058: goto tr3569; + case 2107: goto tr3570; + } + goto tr3271; +st1169: + if ( ++p == pe ) + goto _test_eof1169; +case 1169: + if ( (*p) == 52 ) + goto st1170; + goto tr3271; +st1170: + if ( ++p == pe ) + goto _test_eof1170; +case 1170: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3572; + case 32: goto tr3572; + case 40: goto tr3573; + case 41: goto tr3574; + case 2058: goto tr3575; + case 2107: goto tr3576; + } + goto tr3271; +st1171: + if ( ++p == pe ) + goto _test_eof1171; +case 1171: + switch( (*p) ) { + case 67: goto st1172; + case 99: goto st1172; + } + goto tr3271; +st1172: + if ( ++p == pe ) + goto _test_eof1172; +case 1172: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3578; + case 32: goto tr3578; + case 40: goto tr3579; + case 41: goto tr3580; + case 2058: goto tr3581; + case 2107: goto tr3582; + } + goto tr3271; +st1173: + if ( ++p == pe ) + goto _test_eof1173; +case 1173: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3583; + case 32: goto tr3583; + case 40: goto tr3584; + case 41: goto tr3585; + case 2058: goto tr3586; + case 2107: goto tr3587; + } + goto tr3271; +st1174: + if ( ++p == pe ) + goto _test_eof1174; +case 1174: + switch( (*p) ) { + case 73: goto st1175; + case 88: goto st1179; + case 105: goto st1175; + case 120: goto st1179; + } + goto tr3271; +st1175: + if ( ++p == pe ) + goto _test_eof1175; +case 1175: + switch( (*p) ) { + case 78: goto st1176; + case 110: goto st1176; + } + goto tr3271; +st1176: + if ( ++p == pe ) + goto _test_eof1176; +case 1176: + switch( (*p) ) { + case 70: goto st1177; + case 102: goto st1177; + } + goto tr3271; +st1177: + if ( ++p == pe ) + goto _test_eof1177; +case 1177: + switch( (*p) ) { + case 79: goto st1178; + case 111: goto st1178; + } + goto tr3271; +st1178: + if ( ++p == pe ) + goto _test_eof1178; +case 1178: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3593; + case 32: goto tr3593; + case 40: goto tr3594; + case 41: goto tr3595; + case 2058: goto tr3596; + case 2107: goto tr3597; + } + goto tr3271; +st1179: + if ( ++p == pe ) + goto _test_eof1179; +case 1179: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3598; + case 32: goto tr3598; + case 40: goto tr3599; + case 41: goto tr3600; + case 2058: goto tr3601; + case 2107: goto tr3602; + } + goto tr3271; +st1180: + if ( ++p == pe ) + goto _test_eof1180; +case 1180: + switch( (*p) ) { + case 65: goto st1181; + case 73: goto st1185; + case 83: goto st1187; + case 97: goto st1181; + case 105: goto st1185; + case 115: goto st1187; + } + goto tr3271; +st1181: + if ( ++p == pe ) + goto _test_eof1181; +case 1181: + switch( (*p) ) { + case 80: goto st1182; + case 112: goto st1182; + } + goto tr3271; +st1182: + if ( ++p == pe ) + goto _test_eof1182; +case 1182: + switch( (*p) ) { + case 84: goto st1183; + case 116: goto st1183; + } + goto tr3271; +st1183: + if ( ++p == pe ) + goto _test_eof1183; +case 1183: + switch( (*p) ) { + case 82: goto st1184; + case 114: goto st1184; + } + goto tr3271; +st1184: + if ( ++p == pe ) + goto _test_eof1184; +case 1184: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3609; + case 32: goto tr3609; + case 40: goto tr3610; + case 41: goto tr3611; + case 2058: goto tr3612; + case 2107: goto tr3613; + } + goto tr3271; +st1185: + if ( ++p == pe ) + goto _test_eof1185; +case 1185: + switch( (*p) ) { + case 68: goto st1186; + case 100: goto st1186; + } + goto tr3271; +st1186: + if ( ++p == pe ) + goto _test_eof1186; +case 1186: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3615; + case 32: goto tr3615; + case 40: goto tr3616; + case 41: goto tr3617; + case 2058: goto tr3618; + case 2107: goto tr3619; + } + goto tr3271; +st1187: + if ( ++p == pe ) + goto _test_eof1187; +case 1187: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3620; + case 32: goto tr3620; + case 40: goto tr3621; + case 41: goto tr3622; + case 69: goto st1188; + case 101: goto st1188; + case 2058: goto tr3624; + case 2107: goto tr3625; + } + goto tr3271; +st1188: + if ( ++p == pe ) + goto _test_eof1188; +case 1188: + switch( (*p) ) { + case 67: goto st1189; + case 99: goto st1189; + } + goto tr3271; +st1189: + if ( ++p == pe ) + goto _test_eof1189; +case 1189: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3627; + case 32: goto tr3627; + case 40: goto tr3628; + case 41: goto tr3629; + case 51: goto st1190; + case 2058: goto tr3631; + case 2107: goto tr3632; + } + goto tr3271; +st1190: + if ( ++p == pe ) + goto _test_eof1190; +case 1190: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3633; + case 32: goto tr3633; + case 40: goto tr3634; + case 41: goto tr3635; + case 80: goto st1191; + case 112: goto st1191; + case 2058: goto tr3637; + case 2107: goto tr3638; + } + goto tr3271; +st1191: + if ( ++p == pe ) + goto _test_eof1191; +case 1191: + switch( (*p) ) { + case 65: goto st1192; + case 97: goto st1192; + } + goto tr3271; +st1192: + if ( ++p == pe ) + goto _test_eof1192; +case 1192: + switch( (*p) ) { + case 82: goto st1193; + case 114: goto st1193; + } + goto tr3271; +st1193: + if ( ++p == pe ) + goto _test_eof1193; +case 1193: + switch( (*p) ) { + case 65: goto st1194; + case 97: goto st1194; + } + goto tr3271; +st1194: + if ( ++p == pe ) + goto _test_eof1194; +case 1194: + switch( (*p) ) { + case 77: goto st1195; + case 109: goto st1195; + } + goto tr3271; +st1195: + if ( ++p == pe ) + goto _test_eof1195; +case 1195: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3643; + case 32: goto tr3643; + case 40: goto tr3644; + case 41: goto tr3645; + case 2058: goto tr3646; + case 2107: goto tr3647; + } + goto tr3271; +st1196: + if ( ++p == pe ) + goto _test_eof1196; +case 1196: + switch( (*p) ) { + case 80: goto st1197; + case 112: goto st1197; + } + goto tr3271; +st1197: + if ( ++p == pe ) + goto _test_eof1197; +case 1197: + switch( (*p) ) { + case 69: goto st1198; + case 101: goto st1198; + } + goto tr3271; +st1198: + if ( ++p == pe ) + goto _test_eof1198; +case 1198: + switch( (*p) ) { + case 78: goto st1199; + case 110: goto st1199; + } + goto tr3271; +st1199: + if ( ++p == pe ) + goto _test_eof1199; +case 1199: + switch( (*p) ) { + case 80: goto st1200; + case 112: goto st1200; + } + goto tr3271; +st1200: + if ( ++p == pe ) + goto _test_eof1200; +case 1200: + switch( (*p) ) { + case 71: goto st1201; + case 103: goto st1201; + } + goto tr3271; +st1201: + if ( ++p == pe ) + goto _test_eof1201; +case 1201: + switch( (*p) ) { + case 80: goto st1202; + case 112: goto st1202; + } + goto tr3271; +st1202: + if ( ++p == pe ) + goto _test_eof1202; +case 1202: + switch( (*p) ) { + case 75: goto st1203; + case 107: goto st1203; + } + goto tr3271; +st1203: + if ( ++p == pe ) + goto _test_eof1203; +case 1203: + switch( (*p) ) { + case 69: goto st1204; + case 101: goto st1204; + } + goto tr3271; +st1204: + if ( ++p == pe ) + goto _test_eof1204; +case 1204: + switch( (*p) ) { + case 89: goto st1205; + case 121: goto st1205; + } + goto tr3271; +st1205: + if ( ++p == pe ) + goto _test_eof1205; +case 1205: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3657; + case 32: goto tr3657; + case 40: goto tr3658; + case 41: goto tr3659; + case 2058: goto tr3660; + case 2107: goto tr3661; + } + goto tr3271; +st1206: + if ( ++p == pe ) + goto _test_eof1206; +case 1206: + switch( (*p) ) { + case 84: goto st1207; + case 116: goto st1207; + } + goto tr3271; +st1207: + if ( ++p == pe ) + goto _test_eof1207; +case 1207: + switch( (*p) ) { + case 82: goto st1208; + case 114: goto st1208; + } + goto tr3271; +st1208: + if ( ++p == pe ) + goto _test_eof1208; +case 1208: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3664; + case 32: goto tr3664; + case 40: goto tr3665; + case 41: goto tr3666; + case 2058: goto tr3667; + case 2107: goto tr3668; + } + goto tr3271; +st1209: + if ( ++p == pe ) + goto _test_eof1209; +case 1209: + switch( (*p) ) { + case 80: goto st1210; + case 82: goto st1211; + case 84: goto st1215; + case 112: goto st1210; + case 114: goto st1211; + case 116: goto st1215; + } + goto tr3271; +st1210: + if ( ++p == pe ) + goto _test_eof1210; +case 1210: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3672; + case 32: goto tr3672; + case 40: goto tr3673; + case 41: goto tr3674; + case 2058: goto tr3675; + case 2107: goto tr3676; + } + goto tr3271; +st1211: + if ( ++p == pe ) + goto _test_eof1211; +case 1211: + switch( (*p) ) { + case 83: goto st1212; + case 115: goto st1212; + } + goto tr3271; +st1212: + if ( ++p == pe ) + goto _test_eof1212; +case 1212: + switch( (*p) ) { + case 73: goto st1213; + case 105: goto st1213; + } + goto tr3271; +st1213: + if ( ++p == pe ) + goto _test_eof1213; +case 1213: + switch( (*p) ) { + case 71: goto st1214; + case 103: goto st1214; + } + goto tr3271; +st1214: + if ( ++p == pe ) + goto _test_eof1214; +case 1214: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3680; + case 32: goto tr3680; + case 40: goto tr3681; + case 41: goto tr3682; + case 2058: goto tr3683; + case 2107: goto tr3684; + } + goto tr3271; +st1215: + if ( ++p == pe ) + goto _test_eof1215; +case 1215: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3685; + case 32: goto tr3685; + case 40: goto tr3686; + case 41: goto tr3687; + case 2058: goto tr3688; + case 2107: goto tr3689; + } + goto tr3271; +st1216: + if ( ++p == pe ) + goto _test_eof1216; +case 1216: + switch( (*p) ) { + case 77: goto st1217; + case 79: goto st1222; + case 80: goto st1224; + case 82: goto st1226; + case 83: goto st1228; + case 86: goto st1232; + case 109: goto st1217; + case 111: goto st1222; + case 112: goto st1224; + case 114: goto st1226; + case 115: goto st1228; + case 118: goto st1232; + } + goto tr3271; +st1217: + if ( ++p == pe ) + goto _test_eof1217; +case 1217: + switch( (*p) ) { + case 73: goto st1218; + case 105: goto st1218; + } + goto tr3271; +st1218: + if ( ++p == pe ) + goto _test_eof1218; +case 1218: + switch( (*p) ) { + case 77: goto st1219; + case 109: goto st1219; + } + goto tr3271; +st1219: + if ( ++p == pe ) + goto _test_eof1219; +case 1219: + switch( (*p) ) { + case 69: goto st1220; + case 101: goto st1220; + } + goto tr3271; +st1220: + if ( ++p == pe ) + goto _test_eof1220; +case 1220: + switch( (*p) ) { + case 65: goto st1221; + case 97: goto st1221; + } + goto tr3271; +st1221: + if ( ++p == pe ) + goto _test_eof1221; +case 1221: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3700; + case 32: goto tr3700; + case 40: goto tr3701; + case 41: goto tr3702; + case 2058: goto tr3703; + case 2107: goto tr3704; + } + goto tr3271; +st1222: + if ( ++p == pe ) + goto _test_eof1222; +case 1222: + switch( (*p) ) { + case 65: goto st1223; + case 97: goto st1223; + } + goto tr3271; +st1223: + if ( ++p == pe ) + goto _test_eof1223; +case 1223: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3706; + case 32: goto tr3706; + case 40: goto tr3707; + case 41: goto tr3708; + case 2058: goto tr3709; + case 2107: goto tr3710; + } + goto tr3271; +st1224: + if ( ++p == pe ) + goto _test_eof1224; +case 1224: + switch( (*p) ) { + case 70: goto st1225; + case 102: goto st1225; + } + goto tr3271; +st1225: + if ( ++p == pe ) + goto _test_eof1225; +case 1225: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3712; + case 32: goto tr3712; + case 40: goto tr3713; + case 41: goto tr3714; + case 2058: goto tr3715; + case 2107: goto tr3716; + } + goto tr3271; +st1226: + if ( ++p == pe ) + goto _test_eof1226; +case 1226: + switch( (*p) ) { + case 86: goto st1227; + case 118: goto st1227; + } + goto tr3271; +st1227: + if ( ++p == pe ) + goto _test_eof1227; +case 1227: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3718; + case 32: goto tr3718; + case 40: goto tr3719; + case 41: goto tr3720; + case 2058: goto tr3721; + case 2107: goto tr3722; + } + goto tr3271; +st1228: + if ( ++p == pe ) + goto _test_eof1228; +case 1228: + switch( (*p) ) { + case 72: goto st1229; + case 104: goto st1229; + } + goto tr3271; +st1229: + if ( ++p == pe ) + goto _test_eof1229; +case 1229: + switch( (*p) ) { + case 70: goto st1230; + case 102: goto st1230; + } + goto tr3271; +st1230: + if ( ++p == pe ) + goto _test_eof1230; +case 1230: + switch( (*p) ) { + case 80: goto st1231; + case 112: goto st1231; + } + goto tr3271; +st1231: + if ( ++p == pe ) + goto _test_eof1231; +case 1231: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3726; + case 32: goto tr3726; + case 40: goto tr3727; + case 41: goto tr3728; + case 2058: goto tr3729; + case 2107: goto tr3730; + } + goto tr3271; +st1232: + if ( ++p == pe ) + goto _test_eof1232; +case 1232: + switch( (*p) ) { + case 67: goto st1233; + case 99: goto st1233; + } + goto tr3271; +st1233: + if ( ++p == pe ) + goto _test_eof1233; +case 1233: + switch( (*p) ) { + case 66: goto st1234; + case 98: goto st1234; + } + goto tr3271; +st1234: + if ( ++p == pe ) + goto _test_eof1234; +case 1234: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3733; + case 32: goto tr3733; + case 40: goto tr3734; + case 41: goto tr3735; + case 2058: goto tr3736; + case 2107: goto tr3737; + } + goto tr3271; +st1235: + if ( ++p == pe ) + goto _test_eof1235; +case 1235: + switch( (*p) ) { + case 76: goto st1236; + case 88: goto st1239; + case 89: goto st1241; + case 108: goto st1236; + case 120: goto st1239; + case 121: goto st1241; + } + goto tr3271; +st1236: + if ( ++p == pe ) + goto _test_eof1236; +case 1236: + switch( (*p) ) { + case 83: goto st1237; + case 115: goto st1237; + } + goto tr3271; +st1237: + if ( ++p == pe ) + goto _test_eof1237; +case 1237: + switch( (*p) ) { + case 65: goto st1238; + case 97: goto st1238; + } + goto tr3271; +st1238: + if ( ++p == pe ) + goto _test_eof1238; +case 1238: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3743; + case 32: goto tr3743; + case 40: goto tr3744; + case 41: goto tr3745; + case 2058: goto tr3746; + case 2107: goto tr3747; + } + goto tr3271; +st1239: + if ( ++p == pe ) + goto _test_eof1239; +case 1239: + switch( (*p) ) { + case 84: goto st1240; + case 116: goto st1240; + } + goto tr3271; +st1240: + if ( ++p == pe ) + goto _test_eof1240; +case 1240: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3749; + case 32: goto tr3749; + case 40: goto tr3750; + case 41: goto tr3751; + case 2058: goto tr3752; + case 2107: goto tr3753; + } + goto tr3271; +st1241: + if ( ++p == pe ) + goto _test_eof1241; +case 1241: + switch( (*p) ) { + case 80: goto st1242; + case 112: goto st1242; + } + goto tr3271; +st1242: + if ( ++p == pe ) + goto _test_eof1242; +case 1242: + switch( (*p) ) { + case 69: goto st1243; + case 101: goto st1243; + } + goto tr3271; +st1243: + if ( ++p == pe ) + goto _test_eof1243; +case 1243: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3757; + goto tr3756; +tr3757: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1244; +tr3761: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1244; +st1244: + if ( ++p == pe ) + goto _test_eof1244; +case 1244: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3758; + case 32: goto tr3758; + case 40: goto tr3759; + case 41: goto tr3760; + case 2058: goto tr3762; + case 2107: goto tr3763; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3761; + goto tr3756; +st1245: + if ( ++p == pe ) + goto _test_eof1245; +case 1245: + switch( (*p) ) { + case 82: goto st1246; + case 114: goto st1246; + } + goto tr3271; +st1246: + if ( ++p == pe ) + goto _test_eof1246; +case 1246: + switch( (*p) ) { + case 73: goto st1247; + case 105: goto st1247; + } + goto tr3271; +st1247: + if ( ++p == pe ) + goto _test_eof1247; +case 1247: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3766; + case 32: goto tr3766; + case 40: goto tr3767; + case 41: goto tr3768; + case 2058: goto tr3769; + case 2107: goto tr3770; + } + goto tr3271; +st1248: + if ( ++p == pe ) + goto _test_eof1248; +case 1248: + switch( (*p) ) { + case 79: goto st1249; + case 111: goto st1249; + } + goto tr3271; +st1249: + if ( ++p == pe ) + goto _test_eof1249; +case 1249: + switch( (*p) ) { + case 78: goto st1250; + case 110: goto st1250; + } + goto tr3271; +st1250: + if ( ++p == pe ) + goto _test_eof1250; +case 1250: + switch( (*p) ) { + case 69: goto st1251; + case 101: goto st1251; + } + goto tr3271; +st1251: + if ( ++p == pe ) + goto _test_eof1251; +case 1251: + switch( (*p) ) { + case 77: goto st1252; + case 109: goto st1252; + } + goto tr3271; +st1252: + if ( ++p == pe ) + goto _test_eof1252; +case 1252: + switch( (*p) ) { + case 68: goto st1253; + case 100: goto st1253; + } + goto tr3271; +st1253: + if ( ++p == pe ) + goto _test_eof1253; +case 1253: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3776; + case 32: goto tr3776; + case 40: goto tr3777; + case 41: goto tr3778; + case 2058: goto tr3779; + case 2107: goto tr3780; + } + goto tr3271; +st1254: + if ( ++p == pe ) + goto _test_eof1254; +case 1254: + switch( (*p) ) { + case 42: goto tr3781; + case 92: goto tr3781; + case 95: goto tr3781; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr3781; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr3781; + } else + goto tr3781; + goto tr75; +tr3781: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 1255;goto st309;} } + goto st1255; +st1255: + if ( ++p == pe ) + goto _test_eof1255; +case 1255: + switch( (*p) ) { + case 32: goto tr3782; + case 59: goto tr3782; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3782; + } else if ( (*p) >= 9 ) + goto tr3782; + goto tr75; +tr3782: + { + rdata_tail += s->dname_tmp_length; + } + { p--; {stack[top++] = 1256;goto st376;} } + goto st1256; +st1256: + if ( ++p == pe ) + goto _test_eof1256; +case 1256: + switch( (*p) ) { + case 32: goto tr3783; + case 59: goto tr3783; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3783; + } else if ( (*p) >= 9 ) + goto tr3783; + goto tr75; +tr3783: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1474; +st1474: + if ( ++p == pe ) + goto _test_eof1474; +case 1474: + goto st0; +st1257: + if ( ++p == pe ) + goto _test_eof1257; +case 1257: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3784; + goto tr2327; +tr3784: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1258; +tr3788: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1258; +st1258: + if ( ++p == pe ) + goto _test_eof1258; +case 1258: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3785; + case 32: goto tr3785; + case 40: goto tr3786; + case 41: goto tr3787; + case 2058: goto tr3789; + case 2107: goto tr3790; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3788; + goto tr2327; +tr3792: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1259; +tr3793: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1259; +tr3795: + { + s->line_counter++; + } + goto st1259; +tr3821: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1259; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1259; +tr3785: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1259; +tr3786: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1259; +tr3787: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1259; +tr3789: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1259; +st1259: + if ( ++p == pe ) + goto _test_eof1259; +case 1259: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1259; + case 32: goto st1259; + case 40: goto tr3792; + case 41: goto tr3793; + case 2058: goto tr3795; + case 2107: goto tr3796; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3794; + goto tr2327; +tr3794: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1260; +tr3800: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1260; +st1260: + if ( ++p == pe ) + goto _test_eof1260; +case 1260: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3797; + case 32: goto tr3797; + case 40: goto tr3798; + case 41: goto tr3799; + case 2058: goto tr3801; + case 2107: goto tr3802; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3800; + goto tr2327; +tr3804: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1261; +tr3805: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1261; +tr3807: + { + s->line_counter++; + } + goto st1261; +tr3819: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1261; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1261; +tr3797: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1261; +tr3798: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1261; +tr3799: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1261; +tr3801: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1261; +st1261: + if ( ++p == pe ) + goto _test_eof1261; +case 1261: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1261; + case 32: goto st1261; + case 40: goto tr3804; + case 41: goto tr3805; + case 2058: goto tr3807; + case 2107: goto tr3808; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3806; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3806; + } else + goto tr3806; + goto tr75; +tr3806: + { p--; {stack[top++] = 1262;goto st699;} } + goto st1262; +st1262: + if ( ++p == pe ) + goto _test_eof1262; +case 1262: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1263; + case 32: goto st1263; + case 40: goto tr3810; + case 41: goto tr3811; + case 2058: goto tr3812; + case 2107: goto tr3813; + } + goto tr75; +tr3810: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1263; +tr3811: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1263; +tr3812: + { + s->line_counter++; + } + goto st1263; +tr3817: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1263; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1263; +st1263: + if ( ++p == pe ) + goto _test_eof1263; +case 1263: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1263; + case 32: goto st1263; + case 40: goto tr3810; + case 41: goto tr3811; + case 43: goto tr3814; + case 2058: goto tr3812; + case 2107: goto tr3813; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr3814; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3814; + } else + goto tr3814; + goto tr75; +tr3814: + { p--; {stack[top++] = 1264;goto st369;} } + goto st1264; +st1264: + if ( ++p == pe ) + goto _test_eof1264; +case 1264: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 2570: goto tr3815; + case 2619: goto tr3815; + } + goto tr75; +tr3815: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1475; +st1475: + if ( ++p == pe ) + goto _test_eof1475; +case 1475: + goto st0; +tr3813: + { + s->buffer_length = 0; + } + goto st1265; +tr3816: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1265; +st1265: + if ( ++p == pe ) + goto _test_eof1265; +case 1265: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3817; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3816; + goto tr75; +tr3808: + { + s->buffer_length = 0; + } + goto st1266; +tr3818: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1266; +tr3802: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1266; +st1266: + if ( ++p == pe ) + goto _test_eof1266; +case 1266: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3819; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3818; + goto tr75; +tr3796: + { + s->buffer_length = 0; + } + goto st1267; +tr3820: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1267; +tr3790: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1267; +st1267: + if ( ++p == pe ) + goto _test_eof1267; +case 1267: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3821; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3820; + goto tr75; +st1268: + if ( ++p == pe ) + goto _test_eof1268; +case 1268: + if ( (*p) == 43 ) + goto tr3822; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr3822; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr3822; + } else + goto tr3822; + goto tr75; +tr3822: + { p--; {stack[top++] = 1269;goto st369;} } + goto st1269; +st1269: + if ( ++p == pe ) + goto _test_eof1269; +case 1269: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 2570: goto tr3823; + case 2619: goto tr3823; + } + goto tr75; +tr3823: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1476; +st1476: + if ( ++p == pe ) + goto _test_eof1476; +case 1476: + goto st0; +st1270: + if ( ++p == pe ) + goto _test_eof1270; +case 1270: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3824; + goto tr2327; +tr3824: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1271; +tr3828: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1271; +st1271: + if ( ++p == pe ) + goto _test_eof1271; +case 1271: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3825; + case 32: goto tr3825; + case 40: goto tr3826; + case 41: goto tr3827; + case 2058: goto tr3829; + case 2107: goto tr3830; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3828; + goto tr2327; +tr3832: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1272; +tr3833: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1272; +tr3835: + { + s->line_counter++; + } + goto st1272; +tr3899: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1272; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1272; +tr3825: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1272; +tr3826: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1272; +tr3827: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1272; +tr3829: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1272; +st1272: + if ( ++p == pe ) + goto _test_eof1272; +case 1272: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1272; + case 32: goto st1272; + case 40: goto tr3832; + case 41: goto tr3833; + case 2058: goto tr3835; + case 2107: goto tr3836; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3834; + goto tr2327; +tr3834: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1273; +tr3840: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1273; +st1273: + if ( ++p == pe ) + goto _test_eof1273; +case 1273: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3837; + case 32: goto tr3837; + case 40: goto tr3838; + case 41: goto tr3839; + case 2058: goto tr3841; + case 2107: goto tr3842; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3840; + goto tr2327; +tr3844: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1274; +tr3845: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1274; +tr3847: + { + s->line_counter++; + } + goto st1274; +tr3897: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1274; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1274; +tr3837: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1274; +tr3838: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1274; +tr3839: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1274; +tr3841: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1274; +st1274: + if ( ++p == pe ) + goto _test_eof1274; +case 1274: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1274; + case 32: goto st1274; + case 40: goto tr3844; + case 41: goto tr3845; + case 2058: goto tr3847; + case 2107: goto tr3848; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3846; + goto tr2327; +tr3846: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1275; +tr3852: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1275; +st1275: + if ( ++p == pe ) + goto _test_eof1275; +case 1275: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3849; + case 32: goto tr3849; + case 40: goto tr3850; + case 41: goto tr3851; + case 2058: goto tr3853; + case 2107: goto tr3854; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3852; + goto tr2327; +tr3856: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1276; +tr3857: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1276; +tr3860: + { + s->line_counter++; + } + goto st1276; +tr3895: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1276; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1276; +tr3849: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1276; +tr3850: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1276; +tr3851: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1276; +tr3853: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1276; +st1276: + if ( ++p == pe ) + goto _test_eof1276; +case 1276: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1276; + case 32: goto st1276; + case 40: goto tr3856; + case 41: goto tr3857; + case 45: goto tr3858; + case 2058: goto tr3860; + case 2107: goto tr3861; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3859; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3859; + } else + goto tr3859; + goto tr2998; +tr3858: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1277; +st1277: + if ( ++p == pe ) + goto _test_eof1277; +case 1277: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3862; + case 32: goto tr3862; + case 40: goto tr3863; + case 41: goto tr3864; + case 2058: goto tr3865; + case 2107: goto tr3866; + } + goto tr2998; +tr3869: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1278; +tr3870: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1278; +tr3872: + { + s->line_counter++; + } + goto st1278; +tr3891: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1278; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1278; +tr3862: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st1278; +tr3863: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1278; +tr3864: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1278; +tr3865: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1278; +st1278: + if ( ++p == pe ) + goto _test_eof1278; +case 1278: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1278; + case 32: goto st1278; + case 40: goto tr3869; + case 41: goto tr3870; + case 2058: goto tr3872; + case 2107: goto tr3873; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3871; + } else if ( _widec > 86 ) { + if ( 97 <= _widec && _widec <= 118 ) + goto tr3871; + } else + goto tr3871; + goto tr3867; +tr3871: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1279; +tr3886: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1279; +st1279: + if ( ++p == pe ) + goto _test_eof1279; +case 1279: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3874; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3874; + } else + goto tr3874; + goto tr3867; +tr3874: + { + *(rdata_tail++) += second_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1280; +st1280: + if ( ++p == pe ) + goto _test_eof1280; +case 1280: + if ( (*p) == 61 ) + goto st1291; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3875; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3875; + } else + goto tr3875; + goto tr3867; +tr3875: + { + *rdata_tail += third_base32hex_to_num[(uint8_t)(*p)]; + } + goto st1281; +st1281: + if ( ++p == pe ) + goto _test_eof1281; +case 1281: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3877; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3877; + } else + goto tr3877; + goto tr3867; +tr3877: + { + *(rdata_tail++) += fourth_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = fourth_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1282; +st1282: + if ( ++p == pe ) + goto _test_eof1282; +case 1282: + if ( (*p) == 61 ) + goto st1290; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3878; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3878; + } else + goto tr3878; + goto tr3867; +tr3878: + { + *(rdata_tail++) += fifth_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = fifth_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1283; +st1283: + if ( ++p == pe ) + goto _test_eof1283; +case 1283: + if ( (*p) == 61 ) + goto st1288; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3880; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3880; + } else + goto tr3880; + goto tr3867; +tr3880: + { + *rdata_tail += sixth_base32hex_to_num[(uint8_t)(*p)]; + } + goto st1284; +st1284: + if ( ++p == pe ) + goto _test_eof1284; +case 1284: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3882; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3882; + } else + goto tr3882; + goto tr3867; +tr3882: + { + *(rdata_tail++) += seventh_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = seventh_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1285; +st1285: + if ( ++p == pe ) + goto _test_eof1285; +case 1285: + if ( (*p) == 61 ) + goto st1286; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3883; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3883; + } else + goto tr3883; + goto tr3867; +tr3883: + { + *(rdata_tail++) += eighth_base32hex_to_num[(uint8_t)(*p)]; + } + goto st1286; +st1286: + if ( ++p == pe ) + goto _test_eof1286; +case 1286: + switch( (*p) ) { + case 32: goto tr3885; + case 59: goto tr3885; + } + if ( (*p) < 48 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3885; + } else if ( (*p) >= 9 ) + goto tr3885; + } else if ( (*p) > 57 ) { + if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3886; + } else if ( (*p) >= 65 ) + goto tr3886; + } else + goto tr3886; + goto tr3867; +tr3885: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 1287;goto st376;} } + goto st1287; +st1287: + if ( ++p == pe ) + goto _test_eof1287; +case 1287: + switch( (*p) ) { + case 32: goto tr3887; + case 59: goto tr3887; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3887; + } else if ( (*p) >= 9 ) + goto tr3887; + goto tr75; +tr3887: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1477; +st1477: + if ( ++p == pe ) + goto _test_eof1477; +case 1477: + goto st0; +st1288: + if ( ++p == pe ) + goto _test_eof1288; +case 1288: + if ( (*p) == 61 ) + goto st1289; + goto tr3867; +st1289: + if ( ++p == pe ) + goto _test_eof1289; +case 1289: + if ( (*p) == 61 ) + goto st1286; + goto tr3867; +st1290: + if ( ++p == pe ) + goto _test_eof1290; +case 1290: + if ( (*p) == 61 ) + goto st1288; + goto tr3867; +st1291: + if ( ++p == pe ) + goto _test_eof1291; +case 1291: + if ( (*p) == 61 ) + goto st1292; + goto tr3867; +st1292: + if ( ++p == pe ) + goto _test_eof1292; +case 1292: + if ( (*p) == 61 ) + goto st1290; + goto tr3867; +tr3873: + { + s->buffer_length = 0; + } + goto st1293; +tr3890: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1293; +tr3866: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1293; +st1293: + if ( ++p == pe ) + goto _test_eof1293; +case 1293: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3891; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3890; + goto tr75; +tr3893: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1294; +tr3859: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1294; +st1294: + if ( ++p == pe ) + goto _test_eof1294; +case 1294: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3892; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3892; + } else + goto tr3892; + goto tr2998; +tr3892: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1295; +st1295: + if ( ++p == pe ) + goto _test_eof1295; +case 1295: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3862; + case 32: goto tr3862; + case 40: goto tr3863; + case 41: goto tr3864; + case 2058: goto tr3865; + case 2107: goto tr3866; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3893; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3893; + } else + goto tr3893; + goto tr2998; +tr3861: + { + s->buffer_length = 0; + } + goto st1296; +tr3894: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1296; +tr3854: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1296; +st1296: + if ( ++p == pe ) + goto _test_eof1296; +case 1296: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3895; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3894; + goto tr75; +tr3848: + { + s->buffer_length = 0; + } + goto st1297; +tr3896: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1297; +tr3842: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1297; +st1297: + if ( ++p == pe ) + goto _test_eof1297; +case 1297: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3897; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3896; + goto tr75; +tr3836: + { + s->buffer_length = 0; + } + goto st1298; +tr3898: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1298; +tr3830: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1298; +st1298: + if ( ++p == pe ) + goto _test_eof1298; +case 1298: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3899; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3898; + goto tr75; +st1299: + if ( ++p == pe ) + goto _test_eof1299; +case 1299: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3900; + goto tr2327; +tr3900: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1300; +tr3904: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1300; +st1300: + if ( ++p == pe ) + goto _test_eof1300; +case 1300: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3901; + case 32: goto tr3901; + case 40: goto tr3902; + case 41: goto tr3903; + case 2058: goto tr3905; + case 2107: goto tr3906; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3904; + goto tr2327; +tr3908: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1301; +tr3909: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1301; +tr3911: + { + s->line_counter++; + } + goto st1301; +tr3946: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1301; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1301; +tr3901: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1301; +tr3902: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1301; +tr3903: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1301; +tr3905: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1301; +st1301: + if ( ++p == pe ) + goto _test_eof1301; +case 1301: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1301; + case 32: goto st1301; + case 40: goto tr3908; + case 41: goto tr3909; + case 2058: goto tr3911; + case 2107: goto tr3912; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3910; + goto tr2327; +tr3910: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1302; +tr3916: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1302; +st1302: + if ( ++p == pe ) + goto _test_eof1302; +case 1302: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3913; + case 32: goto tr3913; + case 40: goto tr3914; + case 41: goto tr3915; + case 2058: goto tr3917; + case 2107: goto tr3918; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3916; + goto tr2327; +tr3920: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1303; +tr3921: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1303; +tr3923: + { + s->line_counter++; + } + goto st1303; +tr3944: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1303; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1303; +tr3913: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1303; +tr3914: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1303; +tr3915: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1303; +tr3917: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1303; +st1303: + if ( ++p == pe ) + goto _test_eof1303; +case 1303: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1303; + case 32: goto st1303; + case 40: goto tr3920; + case 41: goto tr3921; + case 2058: goto tr3923; + case 2107: goto tr3924; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3922; + goto tr2327; +tr3922: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1304; +tr3928: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1304; +st1304: + if ( ++p == pe ) + goto _test_eof1304; +case 1304: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3925; + case 32: goto tr3925; + case 40: goto tr3926; + case 41: goto tr3927; + case 2058: goto tr3929; + case 2107: goto tr3930; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3928; + goto tr2327; +tr3932: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1305; +tr3933: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1305; +tr3936: + { + s->line_counter++; + } + goto st1305; +tr3942: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1305; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1305; +tr3925: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1305; +tr3926: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1305; +tr3927: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1305; +tr3929: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1305; +st1305: + if ( ++p == pe ) + goto _test_eof1305; +case 1305: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1305; + case 32: goto st1305; + case 40: goto tr3932; + case 41: goto tr3933; + case 45: goto tr3934; + case 2058: goto tr3936; + case 2107: goto tr3937; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3935; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3935; + } else + goto tr3935; + goto tr2998; +tr3934: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1306; +st1306: + if ( ++p == pe ) + goto _test_eof1306; +case 1306: + switch( (*p) ) { + case 32: goto tr3938; + case 59: goto tr3938; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3938; + } else if ( (*p) >= 9 ) + goto tr3938; + goto tr2998; +tr3938: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1478; +st1478: + if ( ++p == pe ) + goto _test_eof1478; +case 1478: + goto st0; +tr3940: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1307; +tr3935: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1307; +st1307: + if ( ++p == pe ) + goto _test_eof1307; +case 1307: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3939; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3939; + } else + goto tr3939; + goto tr2998; +tr3939: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1308; +st1308: + if ( ++p == pe ) + goto _test_eof1308; +case 1308: + switch( (*p) ) { + case 32: goto tr3938; + case 59: goto tr3938; + } + if ( (*p) < 48 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3938; + } else if ( (*p) >= 9 ) + goto tr3938; + } else if ( (*p) > 57 ) { + if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3940; + } else if ( (*p) >= 65 ) + goto tr3940; + } else + goto tr3940; + goto tr2998; +tr3937: + { + s->buffer_length = 0; + } + goto st1309; +tr3941: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1309; +tr3930: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1309; +st1309: + if ( ++p == pe ) + goto _test_eof1309; +case 1309: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3942; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3941; + goto tr75; +tr3924: + { + s->buffer_length = 0; + } + goto st1310; +tr3943: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1310; +tr3918: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1310; +st1310: + if ( ++p == pe ) + goto _test_eof1310; +case 1310: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3944; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3943; + goto tr75; +tr3912: + { + s->buffer_length = 0; + } + goto st1311; +tr3945: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1311; +tr3906: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1311; +st1311: + if ( ++p == pe ) + goto _test_eof1311; +case 1311: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3946; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3945; + goto tr75; +st1312: + if ( ++p == pe ) + goto _test_eof1312; +case 1312: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3947; + goto tr2327; +tr3947: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1313; +tr3951: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1313; +st1313: + if ( ++p == pe ) + goto _test_eof1313; +case 1313: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3948; + case 32: goto tr3948; + case 40: goto tr3949; + case 41: goto tr3950; + case 2058: goto tr3952; + case 2107: goto tr3953; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3951; + goto tr2327; +tr3955: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1314; +tr3956: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1314; +tr3958: + { + s->line_counter++; + } + goto st1314; +tr4000: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1314; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1314; +tr3948: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1314; +tr3949: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1314; +tr3950: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1314; +tr3952: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1314; +st1314: + if ( ++p == pe ) + goto _test_eof1314; +case 1314: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1314; + case 32: goto st1314; + case 40: goto tr3955; + case 41: goto tr3956; + case 2058: goto tr3958; + case 2107: goto tr3959; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3957; + goto tr2327; +tr3957: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1315; +tr3963: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1315; +st1315: + if ( ++p == pe ) + goto _test_eof1315; +case 1315: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3960; + case 32: goto tr3960; + case 40: goto tr3961; + case 41: goto tr3962; + case 2058: goto tr3964; + case 2107: goto tr3965; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3963; + goto tr2327; +tr3967: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1316; +tr3968: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1316; +tr3970: + { + s->line_counter++; + } + goto st1316; +tr3998: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1316; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1316; +tr3960: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1316; +tr3961: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1316; +tr3962: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1316; +tr3964: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1316; +st1316: + if ( ++p == pe ) + goto _test_eof1316; +case 1316: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1316; + case 32: goto st1316; + case 40: goto tr3967; + case 41: goto tr3968; + case 2058: goto tr3970; + case 2107: goto tr3971; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3969; + goto tr2327; +tr3969: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1317; +tr3975: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1317; +st1317: + if ( ++p == pe ) + goto _test_eof1317; +case 1317: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3972; + case 32: goto tr3972; + case 40: goto tr3973; + case 41: goto tr3974; + case 2058: goto tr3976; + case 2107: goto tr3977; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3975; + goto tr2327; +tr3979: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1318; +tr3980: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1318; +tr3982: + { + s->line_counter++; + } + goto st1318; +tr3996: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1318; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1318; +tr3972: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1318; +tr3973: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1318; +tr3974: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1318; +tr3976: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1318; +st1318: + if ( ++p == pe ) + goto _test_eof1318; +case 1318: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1318; + case 32: goto st1318; + case 40: goto tr3979; + case 41: goto tr3980; + case 2058: goto tr3982; + case 2107: goto tr3983; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3981; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3981; + } else + goto tr3981; + goto tr2998; +tr3981: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1319; +st1319: + if ( ++p == pe ) + goto _test_eof1319; +case 1319: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3984; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3984; + } else + goto tr3984; + goto tr2998; +tr3986: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1320; +tr3987: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1320; +tr3988: + { + s->line_counter++; + } + goto st1320; +tr3994: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1320; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1320; +tr3984: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1320; +st1320: + if ( ++p == pe ) + goto _test_eof1320; +case 1320: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1320; + case 32: goto st1320; + case 40: goto tr3986; + case 41: goto tr3987; + case 3082: goto tr3988; + case 3131: goto tr3989; + case 3338: goto tr3990; + case 3387: goto tr3990; + case 3594: goto tr3991; + case 3643: goto tr3992; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3981; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3981; + } else + goto tr3981; + goto tr2998; +tr3989: + { + s->buffer_length = 0; + } + goto st1321; +tr3993: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1321; +st1321: + if ( ++p == pe ) + goto _test_eof1321; +case 1321: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3994; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3993; + goto tr2998; +tr3990: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1479; +st1479: + if ( ++p == pe ) + goto _test_eof1479; +case 1479: + goto st0; +tr3991: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1480; +st1480: + if ( ++p == pe ) + goto _test_eof1480; +case 1480: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1320; + case 32: goto st1320; + case 40: goto tr3986; + case 41: goto tr3987; + case 3082: goto tr3988; + case 3131: goto tr3989; + case 3338: goto tr3990; + case 3387: goto tr3990; + case 3594: goto tr3991; + case 3643: goto tr3992; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3981; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3981; + } else + goto tr3981; + goto tr2998; +tr3992: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1481; +st1481: + if ( ++p == pe ) + goto _test_eof1481; +case 1481: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3994; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3993; + goto tr2998; +tr3983: + { + s->buffer_length = 0; + } + goto st1322; +tr3995: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1322; +tr3977: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1322; +st1322: + if ( ++p == pe ) + goto _test_eof1322; +case 1322: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3996; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3995; + goto tr75; +tr3971: + { + s->buffer_length = 0; + } + goto st1323; +tr3997: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1323; +tr3965: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1323; +st1323: + if ( ++p == pe ) + goto _test_eof1323; +case 1323: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr3998; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3997; + goto tr75; +tr3959: + { + s->buffer_length = 0; + } + goto st1324; +tr3999: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1324; +tr3953: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1324; +st1324: + if ( ++p == pe ) + goto _test_eof1324; +case 1324: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4000; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr3999; + goto tr75; +st1325: + if ( ++p == pe ) + goto _test_eof1325; +case 1325: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4001; + goto tr2327; +tr4001: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1326; +tr4005: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1326; +st1326: + if ( ++p == pe ) + goto _test_eof1326; +case 1326: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4002; + case 32: goto tr4002; + case 40: goto tr4003; + case 41: goto tr4004; + case 2058: goto tr4006; + case 2107: goto tr4007; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4005; + goto tr2327; +tr4009: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1327; +tr4010: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1327; +tr4012: + { + s->line_counter++; + } + goto st1327; +tr4018: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1327; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1327; +tr4002: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st1327; +tr4003: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1327; +tr4004: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1327; +tr4006: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1327; +st1327: + if ( ++p == pe ) + goto _test_eof1327; +case 1327: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1327; + case 32: goto st1327; + case 40: goto tr4009; + case 41: goto tr4010; + case 2058: goto tr4012; + case 2107: goto tr4013; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4011; + goto tr2327; +tr4011: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1328; +tr4015: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1328; +st1328: + if ( ++p == pe ) + goto _test_eof1328; +case 1328: + switch( (*p) ) { + case 32: goto tr4014; + case 59: goto tr4014; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr4014; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4015; + } else + goto tr4014; + goto tr2327; +tr4014: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 1329;goto st376;} } + goto st1329; +st1329: + if ( ++p == pe ) + goto _test_eof1329; +case 1329: + switch( (*p) ) { + case 32: goto tr4016; + case 59: goto tr4016; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4016; + } else if ( (*p) >= 9 ) + goto tr4016; + goto tr75; +tr4016: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1482; +st1482: + if ( ++p == pe ) + goto _test_eof1482; +case 1482: + goto st0; +tr4013: + { + s->buffer_length = 0; + } + goto st1330; +tr4017: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1330; +tr4007: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1330; +st1330: + if ( ++p == pe ) + goto _test_eof1330; +case 1330: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4018; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4017; + goto tr75; +st1331: + if ( ++p == pe ) + goto _test_eof1331; +case 1331: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4019; + goto tr2327; +tr4019: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1332; +tr4023: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1332; +st1332: + if ( ++p == pe ) + goto _test_eof1332; +case 1332: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4020; + case 32: goto tr4020; + case 40: goto tr4021; + case 41: goto tr4022; + case 2058: goto tr4024; + case 2107: goto tr4025; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4023; + goto tr2327; +tr4027: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1333; +tr4028: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1333; +tr4030: + { + s->line_counter++; + } + goto st1333; +tr4072: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1333; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1333; +tr4020: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + goto st1333; +tr4021: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1333; +tr4022: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1333; +tr4024: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1333; +st1333: + if ( ++p == pe ) + goto _test_eof1333; +case 1333: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1333; + case 32: goto st1333; + case 40: goto tr4027; + case 41: goto tr4028; + case 2058: goto tr4030; + case 2107: goto tr4031; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4029; + goto tr2327; +tr4029: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1334; +tr4035: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1334; +st1334: + if ( ++p == pe ) + goto _test_eof1334; +case 1334: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4032; + case 32: goto tr4032; + case 40: goto tr4033; + case 41: goto tr4034; + case 2058: goto tr4036; + case 2107: goto tr4037; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4035; + goto tr2327; +tr4039: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1335; +tr4040: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1335; +tr4042: + { + s->line_counter++; + } + goto st1335; +tr4070: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1335; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1335; +tr4032: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1335; +tr4033: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1335; +tr4034: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1335; +tr4036: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1335; +st1335: + if ( ++p == pe ) + goto _test_eof1335; +case 1335: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1335; + case 32: goto st1335; + case 40: goto tr4039; + case 41: goto tr4040; + case 2058: goto tr4042; + case 2107: goto tr4043; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4041; + goto tr2327; +tr4041: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1336; +tr4047: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1336; +st1336: + if ( ++p == pe ) + goto _test_eof1336; +case 1336: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4044; + case 32: goto tr4044; + case 40: goto tr4045; + case 41: goto tr4046; + case 2058: goto tr4048; + case 2107: goto tr4049; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4047; + goto tr2327; +tr4051: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1337; +tr4052: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1337; +tr4054: + { + s->line_counter++; + } + goto st1337; +tr4068: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1337; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1337; +tr4044: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1337; +tr4045: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1337; +tr4046: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1337; +tr4048: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1337; +st1337: + if ( ++p == pe ) + goto _test_eof1337; +case 1337: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1337; + case 32: goto st1337; + case 40: goto tr4051; + case 41: goto tr4052; + case 2058: goto tr4054; + case 2107: goto tr4055; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr4053; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr4053; + } else + goto tr4053; + goto tr2998; +tr4053: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1338; +st1338: + if ( ++p == pe ) + goto _test_eof1338; +case 1338: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4056; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4056; + } else + goto tr4056; + goto tr2998; +tr4058: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1339; +tr4059: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1339; +tr4060: + { + s->line_counter++; + } + goto st1339; +tr4066: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1339; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1339; +tr4056: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1339; +st1339: + if ( ++p == pe ) + goto _test_eof1339; +case 1339: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1339; + case 32: goto st1339; + case 40: goto tr4058; + case 41: goto tr4059; + case 3082: goto tr4060; + case 3131: goto tr4061; + case 3338: goto tr4062; + case 3387: goto tr4062; + case 3594: goto tr4063; + case 3643: goto tr4064; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr4053; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr4053; + } else + goto tr4053; + goto tr2998; +tr4061: + { + s->buffer_length = 0; + } + goto st1340; +tr4065: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1340; +st1340: + if ( ++p == pe ) + goto _test_eof1340; +case 1340: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4066; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4065; + goto tr2998; +tr4062: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1483; +st1483: + if ( ++p == pe ) + goto _test_eof1483; +case 1483: + goto st0; +tr4063: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1484; +st1484: + if ( ++p == pe ) + goto _test_eof1484; +case 1484: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1339; + case 32: goto st1339; + case 40: goto tr4058; + case 41: goto tr4059; + case 3082: goto tr4060; + case 3131: goto tr4061; + case 3338: goto tr4062; + case 3387: goto tr4062; + case 3594: goto tr4063; + case 3643: goto tr4064; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr4053; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr4053; + } else + goto tr4053; + goto tr2998; +tr4064: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1485; +st1485: + if ( ++p == pe ) + goto _test_eof1485; +case 1485: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4066; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4065; + goto tr2998; +tr4055: + { + s->buffer_length = 0; + } + goto st1341; +tr4067: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1341; +tr4049: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1341; +st1341: + if ( ++p == pe ) + goto _test_eof1341; +case 1341: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4068; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4067; + goto tr75; +tr4043: + { + s->buffer_length = 0; + } + goto st1342; +tr4069: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1342; +tr4037: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1342; +st1342: + if ( ++p == pe ) + goto _test_eof1342; +case 1342: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4070; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4069; + goto tr75; +tr4031: + { + s->buffer_length = 0; + } + goto st1343; +tr4071: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1343; +tr4025: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1343; +st1343: + if ( ++p == pe ) + goto _test_eof1343; +case 1343: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4072; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4071; + goto tr75; +st1344: + if ( ++p == pe ) + goto _test_eof1344; +case 1344: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4073; + goto tr2327; +tr4073: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1345; +tr4077: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1345; +st1345: + if ( ++p == pe ) + goto _test_eof1345; +case 1345: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4074; + case 32: goto tr4074; + case 40: goto tr4075; + case 41: goto tr4076; + case 2058: goto tr4078; + case 2107: goto tr4079; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4077; + goto tr2327; +tr4081: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1346; +tr4082: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1346; +tr4084: + { + s->line_counter++; + } + goto st1346; +tr4089: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1346; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1346; +tr4074: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1346; +tr4075: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1346; +tr4076: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1346; +tr4078: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1346; +st1346: + if ( ++p == pe ) + goto _test_eof1346; +case 1346: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1346; + case 32: goto st1346; + case 40: goto tr4081; + case 41: goto tr4082; + case 46: goto tr4083; + case 2058: goto tr4084; + case 2107: goto tr4085; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4083; + goto tr2304; +tr4087: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1347; +tr4083: + { + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1347; +st1347: + if ( ++p == pe ) + goto _test_eof1347; +case 1347: + switch( (*p) ) { + case 32: goto tr4086; + case 46: goto tr4087; + case 59: goto tr4086; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr4086; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4087; + } else + goto tr4086; + goto tr2304; +tr4086: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st307;} + } + } + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1486; +st1486: + if ( ++p == pe ) + goto _test_eof1486; +case 1486: + goto st0; +tr4085: + { + s->buffer_length = 0; + } + goto st1348; +tr4088: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1348; +tr4079: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1348; +st1348: + if ( ++p == pe ) + goto _test_eof1348; +case 1348: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4089; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4088; + goto tr75; +st1349: + if ( ++p == pe ) + goto _test_eof1349; +case 1349: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4090; + goto tr2327; +tr4090: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1350; +tr4094: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1350; +st1350: + if ( ++p == pe ) + goto _test_eof1350; +case 1350: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4091; + case 32: goto tr4091; + case 40: goto tr4092; + case 41: goto tr4093; + case 2058: goto tr4095; + case 2107: goto tr4096; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4094; + goto tr2327; +tr4098: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1351; +tr4099: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1351; +tr4101: + { + s->line_counter++; + } + goto st1351; +tr4115: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1351; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1351; +tr4091: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1351; +tr4092: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1351; +tr4093: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1351; +tr4095: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1351; +st1351: + if ( ++p == pe ) + goto _test_eof1351; +case 1351: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1351; + case 32: goto st1351; + case 40: goto tr4098; + case 41: goto tr4099; + case 2058: goto tr4101; + case 2107: goto tr4102; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr4100; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr4100; + } else + goto tr4100; + goto tr2998; +tr4100: + { + s->item_length = 0; + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1352; +st1352: + if ( ++p == pe ) + goto _test_eof1352; +case 1352: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4103; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4103; + } else + goto tr4103; + goto tr2998; +tr4103: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1353; +st1353: + if ( ++p == pe ) + goto _test_eof1353; +case 1353: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4104; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4104; + } else + goto tr4104; + goto tr2998; +tr4104: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1354; +st1354: + if ( ++p == pe ) + goto _test_eof1354; +case 1354: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4105; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4105; + } else + goto tr4105; + goto tr2998; +tr4105: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1355; +st1355: + if ( ++p == pe ) + goto _test_eof1355; +case 1355: + if ( (*p) == 58 ) + goto tr4107; + goto tr4106; +tr4107: + { + s->item_length++; + } + goto st1356; +st1356: + if ( ++p == pe ) + goto _test_eof1356; +case 1356: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4108; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4108; + } else + goto tr4108; + goto tr2998; +tr4108: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1357; +st1357: + if ( ++p == pe ) + goto _test_eof1357; +case 1357: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4109; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4109; + } else + goto tr4109; + goto tr2998; +tr4109: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1358; +st1358: + if ( ++p == pe ) + goto _test_eof1358; +case 1358: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4110; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4110; + } else + goto tr4110; + goto tr2998; +tr4110: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1359; +st1359: + if ( ++p == pe ) + goto _test_eof1359; +case 1359: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4111; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4111; + } else + goto tr4111; + goto tr2998; +tr4111: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1360; +st1360: + if ( ++p == pe ) + goto _test_eof1360; +case 1360: + switch( (*p) ) { + case 32: goto tr4113; + case 58: goto tr4107; + case 59: goto tr4113; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4113; + } else if ( (*p) >= 9 ) + goto tr4113; + goto tr4112; +tr4113: + { + s->item_length++; + } + { + if (s->item_length != 4) { + WARN(ZS_BAD_L64_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1487; +st1487: + if ( ++p == pe ) + goto _test_eof1487; +case 1487: + goto st0; +tr4102: + { + s->buffer_length = 0; + } + goto st1361; +tr4114: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1361; +tr4096: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1361; +st1361: + if ( ++p == pe ) + goto _test_eof1361; +case 1361: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4115; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4114; + goto tr75; +st1362: + if ( ++p == pe ) + goto _test_eof1362; +case 1362: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4116; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4116; + } else + goto tr4116; + goto tr2998; +tr4116: + { + s->item_length = 0; + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1363; +st1363: + if ( ++p == pe ) + goto _test_eof1363; +case 1363: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4117; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4117; + } else + goto tr4117; + goto tr2998; +tr4117: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1364; +st1364: + if ( ++p == pe ) + goto _test_eof1364; +case 1364: + if ( (*p) == 45 ) + goto tr4119; + goto tr4118; +tr4119: + { + s->item_length++; + } + goto st1365; +st1365: + if ( ++p == pe ) + goto _test_eof1365; +case 1365: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4120; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4120; + } else + goto tr4120; + goto tr2998; +tr4120: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1366; +st1366: + if ( ++p == pe ) + goto _test_eof1366; +case 1366: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4121; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4121; + } else + goto tr4121; + goto tr2998; +tr4121: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1367; +st1367: + if ( ++p == pe ) + goto _test_eof1367; +case 1367: + switch( (*p) ) { + case 32: goto tr4122; + case 45: goto tr4119; + case 59: goto tr4122; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4122; + } else if ( (*p) >= 9 ) + goto tr4122; + goto tr4118; +tr4122: + { + s->item_length++; + } + { + if (s->item_length != 6) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1488; +st1488: + if ( ++p == pe ) + goto _test_eof1488; +case 1488: + goto st0; +st1368: + if ( ++p == pe ) + goto _test_eof1368; +case 1368: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4123; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4123; + } else + goto tr4123; + goto tr2998; +tr4123: + { + s->item_length = 0; + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1369; +st1369: + if ( ++p == pe ) + goto _test_eof1369; +case 1369: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4124; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4124; + } else + goto tr4124; + goto tr2998; +tr4124: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1370; +st1370: + if ( ++p == pe ) + goto _test_eof1370; +case 1370: + if ( (*p) == 45 ) + goto tr4125; + goto tr4118; +tr4125: + { + s->item_length++; + } + goto st1371; +st1371: + if ( ++p == pe ) + goto _test_eof1371; +case 1371: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4126; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4126; + } else + goto tr4126; + goto tr2998; +tr4126: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + goto st1372; +st1372: + if ( ++p == pe ) + goto _test_eof1372; +case 1372: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4127; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr4127; + } else + goto tr4127; + goto tr2998; +tr4127: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1373; +st1373: + if ( ++p == pe ) + goto _test_eof1373; +case 1373: + switch( (*p) ) { + case 32: goto tr4128; + case 45: goto tr4125; + case 59: goto tr4128; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4128; + } else if ( (*p) >= 9 ) + goto tr4128; + goto tr4118; +tr4128: + { + s->item_length++; + } + { + if (s->item_length != 8) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {goto st307;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1489; +st1489: + if ( ++p == pe ) + goto _test_eof1489; +case 1489: + goto st0; +st1374: + if ( ++p == pe ) + goto _test_eof1374; +case 1374: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4129; + goto tr2327; +tr4129: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1375; +tr4133: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1375; +st1375: + if ( ++p == pe ) + goto _test_eof1375; +case 1375: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4130; + case 32: goto tr4130; + case 40: goto tr4131; + case 41: goto tr4132; + case 2058: goto tr4134; + case 2107: goto tr4135; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4133; + goto tr2327; +tr4137: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1376; +tr4138: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1376; +tr4140: + { + s->line_counter++; + } + goto st1376; +tr4158: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1376; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1376; +tr4130: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1376; +tr4131: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1376; +tr4132: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1376; +tr4134: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1376; +st1376: + if ( ++p == pe ) + goto _test_eof1376; +case 1376: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1376; + case 32: goto st1376; + case 40: goto tr4137; + case 41: goto tr4138; + case 2058: goto tr4140; + case 2107: goto tr4141; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4139; + goto tr2327; +tr4139: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1377; +tr4145: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1377; +st1377: + if ( ++p == pe ) + goto _test_eof1377; +case 1377: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4142; + case 32: goto tr4142; + case 40: goto tr4143; + case 41: goto tr4144; + case 2058: goto tr4146; + case 2107: goto tr4147; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4145; + goto tr2327; +tr4150: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1378; +tr4151: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1378; +tr4152: + { + s->line_counter++; + } + goto st1378; +tr4156: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1378; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1378; +tr4142: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1378; +tr4143: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1378; +tr4144: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1378; +tr4146: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1378; +st1378: + if ( ++p == pe ) + goto _test_eof1378; +case 1378: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1378; + case 32: goto st1378; + case 40: goto tr4150; + case 41: goto tr4151; + case 2058: goto tr4152; + case 2107: goto tr4153; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr4148; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr4148; + } else + goto tr4148; + goto tr75; +tr4148: + { p--; {stack[top++] = 1379;goto st318;} } + goto st1379; +st1379: + if ( ++p == pe ) + goto _test_eof1379; +case 1379: + switch( (*p) ) { + case 32: goto tr4154; + case 59: goto tr4154; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4154; + } else if ( (*p) >= 9 ) + goto tr4154; + goto tr75; +tr4154: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1490; +st1490: + if ( ++p == pe ) + goto _test_eof1490; +case 1490: + goto st0; +tr4153: + { + s->buffer_length = 0; + } + goto st1380; +tr4155: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1380; +tr4147: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1380; +st1380: + if ( ++p == pe ) + goto _test_eof1380; +case 1380: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4156; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4155; + goto tr75; +tr4141: + { + s->buffer_length = 0; + } + goto st1381; +tr4157: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1381; +tr4135: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1381; +st1381: + if ( ++p == pe ) + goto _test_eof1381; +case 1381: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4158; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4157; + goto tr75; +st1382: + if ( ++p == pe ) + goto _test_eof1382; +case 1382: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4159; + goto tr2327; +tr4159: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1383; +tr4163: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1383; +st1383: + if ( ++p == pe ) + goto _test_eof1383; +case 1383: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4160; + case 32: goto tr4160; + case 40: goto tr4161; + case 41: goto tr4162; + case 2058: goto tr4164; + case 2107: goto tr4165; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4163; + goto tr2327; +tr4168: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1384; +tr4169: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1384; +tr4170: + { + s->line_counter++; + } + goto st1384; +tr4187: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1384; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1384; +tr4160: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + goto st1384; +tr4161: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1384; +tr4162: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1384; +tr4164: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1384; +st1384: + if ( ++p == pe ) + goto _test_eof1384; +case 1384: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1384; + case 32: goto st1384; + case 40: goto tr4168; + case 41: goto tr4169; + case 2058: goto tr4170; + case 2107: goto tr4171; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr4166; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr4166; + } else + goto tr4166; + goto tr75; +tr4166: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st307;} + } + } + { p--; {stack[top++] = 1385;goto st318;} } + goto st1385; +st1385: + if ( ++p == pe ) + goto _test_eof1385; +case 1385: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4172; + case 32: goto tr4172; + case 40: goto tr4173; + case 41: goto tr4174; + case 2058: goto tr4175; + case 2107: goto tr4176; + } + goto tr75; +tr4179: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1386; +tr4180: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1386; +tr4181: + { + s->line_counter++; + } + goto st1386; +tr4185: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1386; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1386; +tr4172: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + goto st1386; +tr4173: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1386; +tr4174: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1386; +tr4175: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1386; +st1386: + if ( ++p == pe ) + goto _test_eof1386; +case 1386: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1386; + case 32: goto st1386; + case 40: goto tr4179; + case 41: goto tr4180; + case 2058: goto tr4181; + case 2107: goto tr4182; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr4177; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr4177; + } else + goto tr4177; + goto tr75; +tr4177: + { p--; {stack[top++] = 1387;goto st318;} } + goto st1387; +st1387: + if ( ++p == pe ) + goto _test_eof1387; +case 1387: + switch( (*p) ) { + case 32: goto tr4183; + case 59: goto tr4183; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4183; + } else if ( (*p) >= 9 ) + goto tr4183; + goto tr75; +tr4183: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1491; +st1491: + if ( ++p == pe ) + goto _test_eof1491; +case 1491: + goto st0; +tr4182: + { + s->buffer_length = 0; + } + goto st1388; +tr4184: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1388; +tr4176: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {goto st307;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1388; +st1388: + if ( ++p == pe ) + goto _test_eof1388; +case 1388: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4185; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4184; + goto tr75; +tr4171: + { + s->buffer_length = 0; + } + goto st1389; +tr4186: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1389; +tr4165: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1389; +st1389: + if ( ++p == pe ) + goto _test_eof1389; +case 1389: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4187; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4186; + goto tr75; +st1390: + if ( ++p == pe ) + goto _test_eof1390; +case 1390: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr4188; + goto tr2327; +tr4188: + { + s->number64 = 0; + } + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1391; +tr4192: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {goto st307;} + } + } + goto st1391; +st1391: + if ( ++p == pe ) + goto _test_eof1391; +case 1391: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr4189; + case 32: goto tr4189; + case 40: goto tr4190; + case 41: goto tr4191; + case 2058: goto tr4193; + case 2107: goto tr4194; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4192; + goto tr2327; +tr4196: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1392; +tr4197: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1392; +tr4199: + { + s->line_counter++; + } + goto st1392; +tr4204: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; cs = 1392; goto _out;} + } + } + } + { + s->line_counter++; + } + goto st1392; +tr4189: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + goto st1392; +tr4190: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = true; + } + goto st1392; +tr4191: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st307;} + } + s->multiline = false; + } + goto st1392; +tr4193: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->line_counter++; + } + goto st1392; +st1392: + if ( ++p == pe ) + goto _test_eof1392; +case 1392: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1392; + case 32: goto st1392; + case 40: goto tr4196; + case 41: goto tr4197; + case 42: goto tr4198; + case 92: goto tr4198; + case 95: goto tr4198; + case 2058: goto tr4199; + case 2107: goto tr4200; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr4198; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr4198; + } else + goto tr4198; + goto tr75; +tr4198: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 1393;goto st309;} } + goto st1393; +st1393: + if ( ++p == pe ) + goto _test_eof1393; +case 1393: + switch( (*p) ) { + case 32: goto tr4201; + case 59: goto tr4201; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4201; + } else if ( (*p) >= 9 ) + goto tr4201; + goto tr75; +tr4201: + { + rdata_tail += s->dname_tmp_length; + } + { p--; {stack[top++] = 1394;goto st603;} } + goto st1394; +st1394: + if ( ++p == pe ) + goto _test_eof1394; +case 1394: + switch( (*p) ) { + case 32: goto tr4202; + case 59: goto tr4202; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr4202; + } else if ( (*p) >= 9 ) + goto tr4202; + goto tr75; +tr4202: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1492; +st1492: + if ( ++p == pe ) + goto _test_eof1492; +case 1492: + goto st0; +tr4200: + { + s->buffer_length = 0; + } + goto st1395; +tr4203: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1395; +tr4194: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st307;} + } + } + { + s->buffer_length = 0; + } + goto st1395; +st1395: + if ( ++p == pe ) + goto _test_eof1395; +case 1395: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 2058 ) + goto tr4204; + if ( 1920 <= _widec && _widec <= 2175 ) + goto tr4203; + goto tr75; + } + _test_eof1396: cs = 1396; goto _test_eof; + _test_eof1: cs = 1; goto _test_eof; + _test_eof2: cs = 2; goto _test_eof; + _test_eof3: cs = 3; goto _test_eof; + _test_eof4: cs = 4; goto _test_eof; + _test_eof5: cs = 5; goto _test_eof; + _test_eof6: cs = 6; goto _test_eof; + _test_eof7: cs = 7; goto _test_eof; + _test_eof8: cs = 8; goto _test_eof; + _test_eof9: cs = 9; goto _test_eof; + _test_eof10: cs = 10; goto _test_eof; + _test_eof11: cs = 11; goto _test_eof; + _test_eof12: cs = 12; goto _test_eof; + _test_eof13: cs = 13; goto _test_eof; + _test_eof1397: cs = 1397; goto _test_eof; + _test_eof14: cs = 14; goto _test_eof; + _test_eof15: cs = 15; goto _test_eof; + _test_eof16: cs = 16; goto _test_eof; + _test_eof17: cs = 17; goto _test_eof; + _test_eof18: cs = 18; goto _test_eof; + _test_eof19: cs = 19; goto _test_eof; + _test_eof20: cs = 20; goto _test_eof; + _test_eof21: cs = 21; goto _test_eof; + _test_eof22: cs = 22; goto _test_eof; + _test_eof23: cs = 23; goto _test_eof; + _test_eof24: cs = 24; goto _test_eof; + _test_eof25: cs = 25; goto _test_eof; + _test_eof26: cs = 26; goto _test_eof; + _test_eof27: cs = 27; goto _test_eof; + _test_eof28: cs = 28; goto _test_eof; + _test_eof29: cs = 29; goto _test_eof; + _test_eof30: cs = 30; goto _test_eof; + _test_eof31: cs = 31; goto _test_eof; + _test_eof32: cs = 32; goto _test_eof; + _test_eof33: cs = 33; goto _test_eof; + _test_eof34: cs = 34; goto _test_eof; + _test_eof35: cs = 35; goto _test_eof; + _test_eof36: cs = 36; goto _test_eof; + _test_eof37: cs = 37; goto _test_eof; + _test_eof38: cs = 38; goto _test_eof; + _test_eof39: cs = 39; goto _test_eof; + _test_eof40: cs = 40; goto _test_eof; + _test_eof41: cs = 41; goto _test_eof; + _test_eof42: cs = 42; goto _test_eof; + _test_eof43: cs = 43; goto _test_eof; + _test_eof44: cs = 44; goto _test_eof; + _test_eof45: cs = 45; goto _test_eof; + _test_eof46: cs = 46; goto _test_eof; + _test_eof47: cs = 47; goto _test_eof; + _test_eof48: cs = 48; goto _test_eof; + _test_eof49: cs = 49; goto _test_eof; + _test_eof50: cs = 50; goto _test_eof; + _test_eof51: cs = 51; goto _test_eof; + _test_eof52: cs = 52; goto _test_eof; + _test_eof53: cs = 53; goto _test_eof; + _test_eof54: cs = 54; goto _test_eof; + _test_eof55: cs = 55; goto _test_eof; + _test_eof56: cs = 56; goto _test_eof; + _test_eof57: cs = 57; goto _test_eof; + _test_eof58: cs = 58; goto _test_eof; + _test_eof59: cs = 59; goto _test_eof; + _test_eof60: cs = 60; goto _test_eof; + _test_eof61: cs = 61; goto _test_eof; + _test_eof62: cs = 62; goto _test_eof; + _test_eof63: cs = 63; goto _test_eof; + _test_eof64: cs = 64; goto _test_eof; + _test_eof65: cs = 65; goto _test_eof; + _test_eof66: cs = 66; goto _test_eof; + _test_eof67: cs = 67; goto _test_eof; + _test_eof68: cs = 68; goto _test_eof; + _test_eof69: cs = 69; goto _test_eof; + _test_eof70: cs = 70; goto _test_eof; + _test_eof71: cs = 71; goto _test_eof; + _test_eof72: cs = 72; goto _test_eof; + _test_eof73: cs = 73; goto _test_eof; + _test_eof74: cs = 74; goto _test_eof; + _test_eof75: cs = 75; goto _test_eof; + _test_eof76: cs = 76; goto _test_eof; + _test_eof77: cs = 77; goto _test_eof; + _test_eof78: cs = 78; goto _test_eof; + _test_eof79: cs = 79; goto _test_eof; + _test_eof80: cs = 80; goto _test_eof; + _test_eof81: cs = 81; goto _test_eof; + _test_eof82: cs = 82; goto _test_eof; + _test_eof83: cs = 83; goto _test_eof; + _test_eof84: cs = 84; goto _test_eof; + _test_eof85: cs = 85; goto _test_eof; + _test_eof86: cs = 86; goto _test_eof; + _test_eof87: cs = 87; goto _test_eof; + _test_eof88: cs = 88; goto _test_eof; + _test_eof89: cs = 89; goto _test_eof; + _test_eof90: cs = 90; goto _test_eof; + _test_eof91: cs = 91; goto _test_eof; + _test_eof92: cs = 92; goto _test_eof; + _test_eof93: cs = 93; goto _test_eof; + _test_eof94: cs = 94; goto _test_eof; + _test_eof95: cs = 95; goto _test_eof; + _test_eof96: cs = 96; goto _test_eof; + _test_eof97: cs = 97; goto _test_eof; + _test_eof98: cs = 98; goto _test_eof; + _test_eof99: cs = 99; goto _test_eof; + _test_eof100: cs = 100; goto _test_eof; + _test_eof101: cs = 101; goto _test_eof; + _test_eof102: cs = 102; goto _test_eof; + _test_eof103: cs = 103; goto _test_eof; + _test_eof104: cs = 104; goto _test_eof; + _test_eof105: cs = 105; goto _test_eof; + _test_eof106: cs = 106; goto _test_eof; + _test_eof107: cs = 107; goto _test_eof; + _test_eof108: cs = 108; goto _test_eof; + _test_eof109: cs = 109; goto _test_eof; + _test_eof110: cs = 110; goto _test_eof; + _test_eof111: cs = 111; goto _test_eof; + _test_eof112: cs = 112; goto _test_eof; + _test_eof113: cs = 113; goto _test_eof; + _test_eof114: cs = 114; goto _test_eof; + _test_eof115: cs = 115; goto _test_eof; + _test_eof116: cs = 116; goto _test_eof; + _test_eof117: cs = 117; goto _test_eof; + _test_eof118: cs = 118; goto _test_eof; + _test_eof119: cs = 119; goto _test_eof; + _test_eof120: cs = 120; goto _test_eof; + _test_eof121: cs = 121; goto _test_eof; + _test_eof122: cs = 122; goto _test_eof; + _test_eof123: cs = 123; goto _test_eof; + _test_eof124: cs = 124; goto _test_eof; + _test_eof125: cs = 125; goto _test_eof; + _test_eof126: cs = 126; goto _test_eof; + _test_eof127: cs = 127; goto _test_eof; + _test_eof128: cs = 128; goto _test_eof; + _test_eof129: cs = 129; goto _test_eof; + _test_eof130: cs = 130; goto _test_eof; + _test_eof131: cs = 131; goto _test_eof; + _test_eof132: cs = 132; goto _test_eof; + _test_eof133: cs = 133; goto _test_eof; + _test_eof134: cs = 134; goto _test_eof; + _test_eof135: cs = 135; goto _test_eof; + _test_eof136: cs = 136; goto _test_eof; + _test_eof137: cs = 137; goto _test_eof; + _test_eof138: cs = 138; goto _test_eof; + _test_eof139: cs = 139; goto _test_eof; + _test_eof140: cs = 140; goto _test_eof; + _test_eof141: cs = 141; goto _test_eof; + _test_eof142: cs = 142; goto _test_eof; + _test_eof143: cs = 143; goto _test_eof; + _test_eof144: cs = 144; goto _test_eof; + _test_eof145: cs = 145; goto _test_eof; + _test_eof146: cs = 146; goto _test_eof; + _test_eof147: cs = 147; goto _test_eof; + _test_eof148: cs = 148; goto _test_eof; + _test_eof149: cs = 149; goto _test_eof; + _test_eof150: cs = 150; goto _test_eof; + _test_eof151: cs = 151; goto _test_eof; + _test_eof152: cs = 152; goto _test_eof; + _test_eof153: cs = 153; goto _test_eof; + _test_eof154: cs = 154; goto _test_eof; + _test_eof155: cs = 155; goto _test_eof; + _test_eof156: cs = 156; goto _test_eof; + _test_eof157: cs = 157; goto _test_eof; + _test_eof158: cs = 158; goto _test_eof; + _test_eof159: cs = 159; goto _test_eof; + _test_eof160: cs = 160; goto _test_eof; + _test_eof161: cs = 161; goto _test_eof; + _test_eof162: cs = 162; goto _test_eof; + _test_eof163: cs = 163; goto _test_eof; + _test_eof164: cs = 164; goto _test_eof; + _test_eof165: cs = 165; goto _test_eof; + _test_eof166: cs = 166; goto _test_eof; + _test_eof167: cs = 167; goto _test_eof; + _test_eof168: cs = 168; goto _test_eof; + _test_eof169: cs = 169; goto _test_eof; + _test_eof170: cs = 170; goto _test_eof; + _test_eof171: cs = 171; goto _test_eof; + _test_eof172: cs = 172; goto _test_eof; + _test_eof173: cs = 173; goto _test_eof; + _test_eof1398: cs = 1398; goto _test_eof; + _test_eof174: cs = 174; goto _test_eof; + _test_eof175: cs = 175; goto _test_eof; + _test_eof176: cs = 176; goto _test_eof; + _test_eof177: cs = 177; goto _test_eof; + _test_eof178: cs = 178; goto _test_eof; + _test_eof179: cs = 179; goto _test_eof; + _test_eof180: cs = 180; goto _test_eof; + _test_eof181: cs = 181; goto _test_eof; + _test_eof182: cs = 182; goto _test_eof; + _test_eof183: cs = 183; goto _test_eof; + _test_eof1399: cs = 1399; goto _test_eof; + _test_eof184: cs = 184; goto _test_eof; + _test_eof185: cs = 185; goto _test_eof; + _test_eof186: cs = 186; goto _test_eof; + _test_eof187: cs = 187; goto _test_eof; + _test_eof188: cs = 188; goto _test_eof; + _test_eof189: cs = 189; goto _test_eof; + _test_eof190: cs = 190; goto _test_eof; + _test_eof191: cs = 191; goto _test_eof; + _test_eof1400: cs = 1400; goto _test_eof; + _test_eof192: cs = 192; goto _test_eof; + _test_eof193: cs = 193; goto _test_eof; + _test_eof194: cs = 194; goto _test_eof; + _test_eof1401: cs = 1401; goto _test_eof; + _test_eof195: cs = 195; goto _test_eof; + _test_eof196: cs = 196; goto _test_eof; + _test_eof197: cs = 197; goto _test_eof; + _test_eof198: cs = 198; goto _test_eof; + _test_eof199: cs = 199; goto _test_eof; + _test_eof200: cs = 200; goto _test_eof; + _test_eof201: cs = 201; goto _test_eof; + _test_eof202: cs = 202; goto _test_eof; + _test_eof203: cs = 203; goto _test_eof; + _test_eof204: cs = 204; goto _test_eof; + _test_eof205: cs = 205; goto _test_eof; + _test_eof1402: cs = 1402; goto _test_eof; + _test_eof206: cs = 206; goto _test_eof; + _test_eof207: cs = 207; goto _test_eof; + _test_eof208: cs = 208; goto _test_eof; + _test_eof209: cs = 209; goto _test_eof; + _test_eof1403: cs = 1403; goto _test_eof; + _test_eof210: cs = 210; goto _test_eof; + _test_eof211: cs = 211; goto _test_eof; + _test_eof212: cs = 212; goto _test_eof; + _test_eof213: cs = 213; goto _test_eof; + _test_eof214: cs = 214; goto _test_eof; + _test_eof215: cs = 215; goto _test_eof; + _test_eof216: cs = 216; goto _test_eof; + _test_eof217: cs = 217; goto _test_eof; + _test_eof218: cs = 218; goto _test_eof; + _test_eof219: cs = 219; goto _test_eof; + _test_eof220: cs = 220; goto _test_eof; + _test_eof221: cs = 221; goto _test_eof; + _test_eof222: cs = 222; goto _test_eof; + _test_eof223: cs = 223; goto _test_eof; + _test_eof224: cs = 224; goto _test_eof; + _test_eof225: cs = 225; goto _test_eof; + _test_eof226: cs = 226; goto _test_eof; + _test_eof227: cs = 227; goto _test_eof; + _test_eof1404: cs = 1404; goto _test_eof; + _test_eof228: cs = 228; goto _test_eof; + _test_eof229: cs = 229; goto _test_eof; + _test_eof230: cs = 230; goto _test_eof; + _test_eof231: cs = 231; goto _test_eof; + _test_eof232: cs = 232; goto _test_eof; + _test_eof233: cs = 233; goto _test_eof; + _test_eof234: cs = 234; goto _test_eof; + _test_eof235: cs = 235; goto _test_eof; + _test_eof236: cs = 236; goto _test_eof; + _test_eof237: cs = 237; goto _test_eof; + _test_eof238: cs = 238; goto _test_eof; + _test_eof239: cs = 239; goto _test_eof; + _test_eof240: cs = 240; goto _test_eof; + _test_eof241: cs = 241; goto _test_eof; + _test_eof242: cs = 242; goto _test_eof; + _test_eof243: cs = 243; goto _test_eof; + _test_eof1405: cs = 1405; goto _test_eof; + _test_eof244: cs = 244; goto _test_eof; + _test_eof245: cs = 245; goto _test_eof; + _test_eof246: cs = 246; goto _test_eof; + _test_eof247: cs = 247; goto _test_eof; + _test_eof248: cs = 248; goto _test_eof; + _test_eof249: cs = 249; goto _test_eof; + _test_eof250: cs = 250; goto _test_eof; + _test_eof251: cs = 251; goto _test_eof; + _test_eof252: cs = 252; goto _test_eof; + _test_eof253: cs = 253; goto _test_eof; + _test_eof254: cs = 254; goto _test_eof; + _test_eof255: cs = 255; goto _test_eof; + _test_eof256: cs = 256; goto _test_eof; + _test_eof257: cs = 257; goto _test_eof; + _test_eof258: cs = 258; goto _test_eof; + _test_eof259: cs = 259; goto _test_eof; + _test_eof260: cs = 260; goto _test_eof; + _test_eof261: cs = 261; goto _test_eof; + _test_eof262: cs = 262; goto _test_eof; + _test_eof263: cs = 263; goto _test_eof; + _test_eof264: cs = 264; goto _test_eof; + _test_eof265: cs = 265; goto _test_eof; + _test_eof266: cs = 266; goto _test_eof; + _test_eof267: cs = 267; goto _test_eof; + _test_eof268: cs = 268; goto _test_eof; + _test_eof269: cs = 269; goto _test_eof; + _test_eof270: cs = 270; goto _test_eof; + _test_eof271: cs = 271; goto _test_eof; + _test_eof272: cs = 272; goto _test_eof; + _test_eof273: cs = 273; goto _test_eof; + _test_eof274: cs = 274; goto _test_eof; + _test_eof275: cs = 275; goto _test_eof; + _test_eof276: cs = 276; goto _test_eof; + _test_eof277: cs = 277; goto _test_eof; + _test_eof278: cs = 278; goto _test_eof; + _test_eof279: cs = 279; goto _test_eof; + _test_eof280: cs = 280; goto _test_eof; + _test_eof281: cs = 281; goto _test_eof; + _test_eof282: cs = 282; goto _test_eof; + _test_eof283: cs = 283; goto _test_eof; + _test_eof284: cs = 284; goto _test_eof; + _test_eof285: cs = 285; goto _test_eof; + _test_eof286: cs = 286; goto _test_eof; + _test_eof287: cs = 287; goto _test_eof; + _test_eof288: cs = 288; goto _test_eof; + _test_eof289: cs = 289; goto _test_eof; + _test_eof290: cs = 290; goto _test_eof; + _test_eof291: cs = 291; goto _test_eof; + _test_eof292: cs = 292; goto _test_eof; + _test_eof293: cs = 293; goto _test_eof; + _test_eof294: cs = 294; goto _test_eof; + _test_eof295: cs = 295; goto _test_eof; + _test_eof296: cs = 296; goto _test_eof; + _test_eof297: cs = 297; goto _test_eof; + _test_eof298: cs = 298; goto _test_eof; + _test_eof299: cs = 299; goto _test_eof; + _test_eof300: cs = 300; goto _test_eof; + _test_eof301: cs = 301; goto _test_eof; + _test_eof302: cs = 302; goto _test_eof; + _test_eof303: cs = 303; goto _test_eof; + _test_eof304: cs = 304; goto _test_eof; + _test_eof305: cs = 305; goto _test_eof; + _test_eof306: cs = 306; goto _test_eof; + _test_eof1406: cs = 1406; goto _test_eof; + _test_eof307: cs = 307; goto _test_eof; + _test_eof308: cs = 308; goto _test_eof; + _test_eof1407: cs = 1407; goto _test_eof; + _test_eof309: cs = 309; goto _test_eof; + _test_eof310: cs = 310; goto _test_eof; + _test_eof1408: cs = 1408; goto _test_eof; + _test_eof311: cs = 311; goto _test_eof; + _test_eof312: cs = 312; goto _test_eof; + _test_eof313: cs = 313; goto _test_eof; + _test_eof314: cs = 314; goto _test_eof; + _test_eof315: cs = 315; goto _test_eof; + _test_eof316: cs = 316; goto _test_eof; + _test_eof317: cs = 317; goto _test_eof; + _test_eof318: cs = 318; goto _test_eof; + _test_eof319: cs = 319; goto _test_eof; + _test_eof1409: cs = 1409; goto _test_eof; + _test_eof1410: cs = 1410; goto _test_eof; + _test_eof320: cs = 320; goto _test_eof; + _test_eof321: cs = 321; goto _test_eof; + _test_eof322: cs = 322; goto _test_eof; + _test_eof323: cs = 323; goto _test_eof; + _test_eof324: cs = 324; goto _test_eof; + _test_eof325: cs = 325; goto _test_eof; + _test_eof326: cs = 326; goto _test_eof; + _test_eof327: cs = 327; goto _test_eof; + _test_eof328: cs = 328; goto _test_eof; + _test_eof329: cs = 329; goto _test_eof; + _test_eof330: cs = 330; goto _test_eof; + _test_eof331: cs = 331; goto _test_eof; + _test_eof332: cs = 332; goto _test_eof; + _test_eof333: cs = 333; goto _test_eof; + _test_eof334: cs = 334; goto _test_eof; + _test_eof1411: cs = 1411; goto _test_eof; + _test_eof335: cs = 335; goto _test_eof; + _test_eof336: cs = 336; goto _test_eof; + _test_eof337: cs = 337; goto _test_eof; + _test_eof338: cs = 338; goto _test_eof; + _test_eof339: cs = 339; goto _test_eof; + _test_eof340: cs = 340; goto _test_eof; + _test_eof341: cs = 341; goto _test_eof; + _test_eof342: cs = 342; goto _test_eof; + _test_eof343: cs = 343; goto _test_eof; + _test_eof344: cs = 344; goto _test_eof; + _test_eof1412: cs = 1412; goto _test_eof; + _test_eof345: cs = 345; goto _test_eof; + _test_eof346: cs = 346; goto _test_eof; + _test_eof347: cs = 347; goto _test_eof; + _test_eof348: cs = 348; goto _test_eof; + _test_eof349: cs = 349; goto _test_eof; + _test_eof350: cs = 350; goto _test_eof; + _test_eof351: cs = 351; goto _test_eof; + _test_eof352: cs = 352; goto _test_eof; + _test_eof353: cs = 353; goto _test_eof; + _test_eof354: cs = 354; goto _test_eof; + _test_eof355: cs = 355; goto _test_eof; + _test_eof356: cs = 356; goto _test_eof; + _test_eof357: cs = 357; goto _test_eof; + _test_eof358: cs = 358; goto _test_eof; + _test_eof1413: cs = 1413; goto _test_eof; + _test_eof359: cs = 359; goto _test_eof; + _test_eof360: cs = 360; goto _test_eof; + _test_eof361: cs = 361; goto _test_eof; + _test_eof362: cs = 362; goto _test_eof; + _test_eof363: cs = 363; goto _test_eof; + _test_eof364: cs = 364; goto _test_eof; + _test_eof365: cs = 365; goto _test_eof; + _test_eof1414: cs = 1414; goto _test_eof; + _test_eof366: cs = 366; goto _test_eof; + _test_eof367: cs = 367; goto _test_eof; + _test_eof368: cs = 368; goto _test_eof; + _test_eof369: cs = 369; goto _test_eof; + _test_eof370: cs = 370; goto _test_eof; + _test_eof371: cs = 371; goto _test_eof; + _test_eof372: cs = 372; goto _test_eof; + _test_eof373: cs = 373; goto _test_eof; + _test_eof374: cs = 374; goto _test_eof; + _test_eof1415: cs = 1415; goto _test_eof; + _test_eof1416: cs = 1416; goto _test_eof; + _test_eof1417: cs = 1417; goto _test_eof; + _test_eof375: cs = 375; goto _test_eof; + _test_eof376: cs = 376; goto _test_eof; + _test_eof377: cs = 377; goto _test_eof; + _test_eof378: cs = 378; goto _test_eof; + _test_eof379: cs = 379; goto _test_eof; + _test_eof380: cs = 380; goto _test_eof; + _test_eof381: cs = 381; goto _test_eof; + _test_eof382: cs = 382; goto _test_eof; + _test_eof1418: cs = 1418; goto _test_eof; + _test_eof1419: cs = 1419; goto _test_eof; + _test_eof383: cs = 383; goto _test_eof; + _test_eof384: cs = 384; goto _test_eof; + _test_eof385: cs = 385; goto _test_eof; + _test_eof1420: cs = 1420; goto _test_eof; + _test_eof386: cs = 386; goto _test_eof; + _test_eof387: cs = 387; goto _test_eof; + _test_eof388: cs = 388; goto _test_eof; + _test_eof389: cs = 389; goto _test_eof; + _test_eof390: cs = 390; goto _test_eof; + _test_eof391: cs = 391; goto _test_eof; + _test_eof392: cs = 392; goto _test_eof; + _test_eof393: cs = 393; goto _test_eof; + _test_eof394: cs = 394; goto _test_eof; + _test_eof395: cs = 395; goto _test_eof; + _test_eof396: cs = 396; goto _test_eof; + _test_eof397: cs = 397; goto _test_eof; + _test_eof398: cs = 398; goto _test_eof; + _test_eof399: cs = 399; goto _test_eof; + _test_eof400: cs = 400; goto _test_eof; + _test_eof401: cs = 401; goto _test_eof; + _test_eof402: cs = 402; goto _test_eof; + _test_eof403: cs = 403; goto _test_eof; + _test_eof404: cs = 404; goto _test_eof; + _test_eof405: cs = 405; goto _test_eof; + _test_eof406: cs = 406; goto _test_eof; + _test_eof407: cs = 407; goto _test_eof; + _test_eof408: cs = 408; goto _test_eof; + _test_eof409: cs = 409; goto _test_eof; + _test_eof410: cs = 410; goto _test_eof; + _test_eof411: cs = 411; goto _test_eof; + _test_eof412: cs = 412; goto _test_eof; + _test_eof413: cs = 413; goto _test_eof; + _test_eof414: cs = 414; goto _test_eof; + _test_eof415: cs = 415; goto _test_eof; + _test_eof416: cs = 416; goto _test_eof; + _test_eof417: cs = 417; goto _test_eof; + _test_eof418: cs = 418; goto _test_eof; + _test_eof419: cs = 419; goto _test_eof; + _test_eof420: cs = 420; goto _test_eof; + _test_eof421: cs = 421; goto _test_eof; + _test_eof422: cs = 422; goto _test_eof; + _test_eof423: cs = 423; goto _test_eof; + _test_eof424: cs = 424; goto _test_eof; + _test_eof425: cs = 425; goto _test_eof; + _test_eof426: cs = 426; goto _test_eof; + _test_eof427: cs = 427; goto _test_eof; + _test_eof428: cs = 428; goto _test_eof; + _test_eof429: cs = 429; goto _test_eof; + _test_eof430: cs = 430; goto _test_eof; + _test_eof431: cs = 431; goto _test_eof; + _test_eof432: cs = 432; goto _test_eof; + _test_eof433: cs = 433; goto _test_eof; + _test_eof434: cs = 434; goto _test_eof; + _test_eof435: cs = 435; goto _test_eof; + _test_eof436: cs = 436; goto _test_eof; + _test_eof437: cs = 437; goto _test_eof; + _test_eof438: cs = 438; goto _test_eof; + _test_eof439: cs = 439; goto _test_eof; + _test_eof440: cs = 440; goto _test_eof; + _test_eof441: cs = 441; goto _test_eof; + _test_eof442: cs = 442; goto _test_eof; + _test_eof443: cs = 443; goto _test_eof; + _test_eof444: cs = 444; goto _test_eof; + _test_eof445: cs = 445; goto _test_eof; + _test_eof446: cs = 446; goto _test_eof; + _test_eof447: cs = 447; goto _test_eof; + _test_eof448: cs = 448; goto _test_eof; + _test_eof449: cs = 449; goto _test_eof; + _test_eof450: cs = 450; goto _test_eof; + _test_eof451: cs = 451; goto _test_eof; + _test_eof452: cs = 452; goto _test_eof; + _test_eof453: cs = 453; goto _test_eof; + _test_eof454: cs = 454; goto _test_eof; + _test_eof455: cs = 455; goto _test_eof; + _test_eof456: cs = 456; goto _test_eof; + _test_eof457: cs = 457; goto _test_eof; + _test_eof458: cs = 458; goto _test_eof; + _test_eof459: cs = 459; goto _test_eof; + _test_eof460: cs = 460; goto _test_eof; + _test_eof461: cs = 461; goto _test_eof; + _test_eof462: cs = 462; goto _test_eof; + _test_eof463: cs = 463; goto _test_eof; + _test_eof464: cs = 464; goto _test_eof; + _test_eof465: cs = 465; goto _test_eof; + _test_eof466: cs = 466; goto _test_eof; + _test_eof467: cs = 467; goto _test_eof; + _test_eof468: cs = 468; goto _test_eof; + _test_eof469: cs = 469; goto _test_eof; + _test_eof470: cs = 470; goto _test_eof; + _test_eof471: cs = 471; goto _test_eof; + _test_eof472: cs = 472; goto _test_eof; + _test_eof473: cs = 473; goto _test_eof; + _test_eof474: cs = 474; goto _test_eof; + _test_eof475: cs = 475; goto _test_eof; + _test_eof476: cs = 476; goto _test_eof; + _test_eof477: cs = 477; goto _test_eof; + _test_eof478: cs = 478; goto _test_eof; + _test_eof479: cs = 479; goto _test_eof; + _test_eof480: cs = 480; goto _test_eof; + _test_eof481: cs = 481; goto _test_eof; + _test_eof482: cs = 482; goto _test_eof; + _test_eof483: cs = 483; goto _test_eof; + _test_eof484: cs = 484; goto _test_eof; + _test_eof485: cs = 485; goto _test_eof; + _test_eof486: cs = 486; goto _test_eof; + _test_eof487: cs = 487; goto _test_eof; + _test_eof488: cs = 488; goto _test_eof; + _test_eof489: cs = 489; goto _test_eof; + _test_eof490: cs = 490; goto _test_eof; + _test_eof491: cs = 491; goto _test_eof; + _test_eof492: cs = 492; goto _test_eof; + _test_eof493: cs = 493; goto _test_eof; + _test_eof494: cs = 494; goto _test_eof; + _test_eof495: cs = 495; goto _test_eof; + _test_eof496: cs = 496; goto _test_eof; + _test_eof497: cs = 497; goto _test_eof; + _test_eof498: cs = 498; goto _test_eof; + _test_eof499: cs = 499; goto _test_eof; + _test_eof500: cs = 500; goto _test_eof; + _test_eof501: cs = 501; goto _test_eof; + _test_eof502: cs = 502; goto _test_eof; + _test_eof503: cs = 503; goto _test_eof; + _test_eof504: cs = 504; goto _test_eof; + _test_eof505: cs = 505; goto _test_eof; + _test_eof506: cs = 506; goto _test_eof; + _test_eof507: cs = 507; goto _test_eof; + _test_eof508: cs = 508; goto _test_eof; + _test_eof509: cs = 509; goto _test_eof; + _test_eof510: cs = 510; goto _test_eof; + _test_eof511: cs = 511; goto _test_eof; + _test_eof512: cs = 512; goto _test_eof; + _test_eof513: cs = 513; goto _test_eof; + _test_eof514: cs = 514; goto _test_eof; + _test_eof515: cs = 515; goto _test_eof; + _test_eof516: cs = 516; goto _test_eof; + _test_eof517: cs = 517; goto _test_eof; + _test_eof518: cs = 518; goto _test_eof; + _test_eof519: cs = 519; goto _test_eof; + _test_eof520: cs = 520; goto _test_eof; + _test_eof521: cs = 521; goto _test_eof; + _test_eof522: cs = 522; goto _test_eof; + _test_eof523: cs = 523; goto _test_eof; + _test_eof524: cs = 524; goto _test_eof; + _test_eof525: cs = 525; goto _test_eof; + _test_eof526: cs = 526; goto _test_eof; + _test_eof527: cs = 527; goto _test_eof; + _test_eof528: cs = 528; goto _test_eof; + _test_eof529: cs = 529; goto _test_eof; + _test_eof530: cs = 530; goto _test_eof; + _test_eof531: cs = 531; goto _test_eof; + _test_eof532: cs = 532; goto _test_eof; + _test_eof533: cs = 533; goto _test_eof; + _test_eof534: cs = 534; goto _test_eof; + _test_eof535: cs = 535; goto _test_eof; + _test_eof536: cs = 536; goto _test_eof; + _test_eof537: cs = 537; goto _test_eof; + _test_eof538: cs = 538; goto _test_eof; + _test_eof539: cs = 539; goto _test_eof; + _test_eof540: cs = 540; goto _test_eof; + _test_eof541: cs = 541; goto _test_eof; + _test_eof542: cs = 542; goto _test_eof; + _test_eof543: cs = 543; goto _test_eof; + _test_eof544: cs = 544; goto _test_eof; + _test_eof545: cs = 545; goto _test_eof; + _test_eof546: cs = 546; goto _test_eof; + _test_eof1421: cs = 1421; goto _test_eof; + _test_eof1422: cs = 1422; goto _test_eof; + _test_eof1423: cs = 1423; goto _test_eof; + _test_eof547: cs = 547; goto _test_eof; + _test_eof548: cs = 548; goto _test_eof; + _test_eof549: cs = 549; goto _test_eof; + _test_eof550: cs = 550; goto _test_eof; + _test_eof551: cs = 551; goto _test_eof; + _test_eof1424: cs = 1424; goto _test_eof; + _test_eof552: cs = 552; goto _test_eof; + _test_eof553: cs = 553; goto _test_eof; + _test_eof554: cs = 554; goto _test_eof; + _test_eof555: cs = 555; goto _test_eof; + _test_eof1425: cs = 1425; goto _test_eof; + _test_eof1426: cs = 1426; goto _test_eof; + _test_eof1427: cs = 1427; goto _test_eof; + _test_eof556: cs = 556; goto _test_eof; + _test_eof557: cs = 557; goto _test_eof; + _test_eof1428: cs = 1428; goto _test_eof; + _test_eof558: cs = 558; goto _test_eof; + _test_eof559: cs = 559; goto _test_eof; + _test_eof560: cs = 560; goto _test_eof; + _test_eof561: cs = 561; goto _test_eof; + _test_eof562: cs = 562; goto _test_eof; + _test_eof563: cs = 563; goto _test_eof; + _test_eof1429: cs = 1429; goto _test_eof; + _test_eof564: cs = 564; goto _test_eof; + _test_eof565: cs = 565; goto _test_eof; + _test_eof566: cs = 566; goto _test_eof; + _test_eof567: cs = 567; goto _test_eof; + _test_eof568: cs = 568; goto _test_eof; + _test_eof569: cs = 569; goto _test_eof; + _test_eof570: cs = 570; goto _test_eof; + _test_eof571: cs = 571; goto _test_eof; + _test_eof572: cs = 572; goto _test_eof; + _test_eof573: cs = 573; goto _test_eof; + _test_eof574: cs = 574; goto _test_eof; + _test_eof575: cs = 575; goto _test_eof; + _test_eof576: cs = 576; goto _test_eof; + _test_eof577: cs = 577; goto _test_eof; + _test_eof578: cs = 578; goto _test_eof; + _test_eof579: cs = 579; goto _test_eof; + _test_eof580: cs = 580; goto _test_eof; + _test_eof581: cs = 581; goto _test_eof; + _test_eof582: cs = 582; goto _test_eof; + _test_eof583: cs = 583; goto _test_eof; + _test_eof584: cs = 584; goto _test_eof; + _test_eof585: cs = 585; goto _test_eof; + _test_eof586: cs = 586; goto _test_eof; + _test_eof587: cs = 587; goto _test_eof; + _test_eof588: cs = 588; goto _test_eof; + _test_eof589: cs = 589; goto _test_eof; + _test_eof590: cs = 590; goto _test_eof; + _test_eof591: cs = 591; goto _test_eof; + _test_eof592: cs = 592; goto _test_eof; + _test_eof593: cs = 593; goto _test_eof; + _test_eof594: cs = 594; goto _test_eof; + _test_eof595: cs = 595; goto _test_eof; + _test_eof596: cs = 596; goto _test_eof; + _test_eof597: cs = 597; goto _test_eof; + _test_eof598: cs = 598; goto _test_eof; + _test_eof599: cs = 599; goto _test_eof; + _test_eof600: cs = 600; goto _test_eof; + _test_eof601: cs = 601; goto _test_eof; + _test_eof602: cs = 602; goto _test_eof; + _test_eof603: cs = 603; goto _test_eof; + _test_eof604: cs = 604; goto _test_eof; + _test_eof605: cs = 605; goto _test_eof; + _test_eof606: cs = 606; goto _test_eof; + _test_eof607: cs = 607; goto _test_eof; + _test_eof608: cs = 608; goto _test_eof; + _test_eof609: cs = 609; goto _test_eof; + _test_eof610: cs = 610; goto _test_eof; + _test_eof611: cs = 611; goto _test_eof; + _test_eof1430: cs = 1430; goto _test_eof; + _test_eof1431: cs = 1431; goto _test_eof; + _test_eof612: cs = 612; goto _test_eof; + _test_eof613: cs = 613; goto _test_eof; + _test_eof614: cs = 614; goto _test_eof; + _test_eof615: cs = 615; goto _test_eof; + _test_eof616: cs = 616; goto _test_eof; + _test_eof617: cs = 617; goto _test_eof; + _test_eof618: cs = 618; goto _test_eof; + _test_eof619: cs = 619; goto _test_eof; + _test_eof620: cs = 620; goto _test_eof; + _test_eof621: cs = 621; goto _test_eof; + _test_eof1432: cs = 1432; goto _test_eof; + _test_eof622: cs = 622; goto _test_eof; + _test_eof623: cs = 623; goto _test_eof; + _test_eof624: cs = 624; goto _test_eof; + _test_eof625: cs = 625; goto _test_eof; + _test_eof626: cs = 626; goto _test_eof; + _test_eof627: cs = 627; goto _test_eof; + _test_eof628: cs = 628; goto _test_eof; + _test_eof629: cs = 629; goto _test_eof; + _test_eof630: cs = 630; goto _test_eof; + _test_eof631: cs = 631; goto _test_eof; + _test_eof632: cs = 632; goto _test_eof; + _test_eof633: cs = 633; goto _test_eof; + _test_eof634: cs = 634; goto _test_eof; + _test_eof635: cs = 635; goto _test_eof; + _test_eof636: cs = 636; goto _test_eof; + _test_eof637: cs = 637; goto _test_eof; + _test_eof638: cs = 638; goto _test_eof; + _test_eof639: cs = 639; goto _test_eof; + _test_eof640: cs = 640; goto _test_eof; + _test_eof641: cs = 641; goto _test_eof; + _test_eof642: cs = 642; goto _test_eof; + _test_eof643: cs = 643; goto _test_eof; + _test_eof644: cs = 644; goto _test_eof; + _test_eof645: cs = 645; goto _test_eof; + _test_eof646: cs = 646; goto _test_eof; + _test_eof647: cs = 647; goto _test_eof; + _test_eof648: cs = 648; goto _test_eof; + _test_eof649: cs = 649; goto _test_eof; + _test_eof650: cs = 650; goto _test_eof; + _test_eof651: cs = 651; goto _test_eof; + _test_eof652: cs = 652; goto _test_eof; + _test_eof653: cs = 653; goto _test_eof; + _test_eof654: cs = 654; goto _test_eof; + _test_eof655: cs = 655; goto _test_eof; + _test_eof656: cs = 656; goto _test_eof; + _test_eof657: cs = 657; goto _test_eof; + _test_eof658: cs = 658; goto _test_eof; + _test_eof659: cs = 659; goto _test_eof; + _test_eof660: cs = 660; goto _test_eof; + _test_eof661: cs = 661; goto _test_eof; + _test_eof662: cs = 662; goto _test_eof; + _test_eof663: cs = 663; goto _test_eof; + _test_eof664: cs = 664; goto _test_eof; + _test_eof665: cs = 665; goto _test_eof; + _test_eof666: cs = 666; goto _test_eof; + _test_eof667: cs = 667; goto _test_eof; + _test_eof668: cs = 668; goto _test_eof; + _test_eof669: cs = 669; goto _test_eof; + _test_eof670: cs = 670; goto _test_eof; + _test_eof671: cs = 671; goto _test_eof; + _test_eof672: cs = 672; goto _test_eof; + _test_eof673: cs = 673; goto _test_eof; + _test_eof674: cs = 674; goto _test_eof; + _test_eof675: cs = 675; goto _test_eof; + _test_eof676: cs = 676; goto _test_eof; + _test_eof677: cs = 677; goto _test_eof; + _test_eof678: cs = 678; goto _test_eof; + _test_eof679: cs = 679; goto _test_eof; + _test_eof680: cs = 680; goto _test_eof; + _test_eof681: cs = 681; goto _test_eof; + _test_eof682: cs = 682; goto _test_eof; + _test_eof683: cs = 683; goto _test_eof; + _test_eof684: cs = 684; goto _test_eof; + _test_eof685: cs = 685; goto _test_eof; + _test_eof686: cs = 686; goto _test_eof; + _test_eof687: cs = 687; goto _test_eof; + _test_eof688: cs = 688; goto _test_eof; + _test_eof689: cs = 689; goto _test_eof; + _test_eof690: cs = 690; goto _test_eof; + _test_eof691: cs = 691; goto _test_eof; + _test_eof692: cs = 692; goto _test_eof; + _test_eof693: cs = 693; goto _test_eof; + _test_eof694: cs = 694; goto _test_eof; + _test_eof695: cs = 695; goto _test_eof; + _test_eof696: cs = 696; goto _test_eof; + _test_eof697: cs = 697; goto _test_eof; + _test_eof698: cs = 698; goto _test_eof; + _test_eof699: cs = 699; goto _test_eof; + _test_eof700: cs = 700; goto _test_eof; + _test_eof1433: cs = 1433; goto _test_eof; + _test_eof701: cs = 701; goto _test_eof; + _test_eof702: cs = 702; goto _test_eof; + _test_eof703: cs = 703; goto _test_eof; + _test_eof704: cs = 704; goto _test_eof; + _test_eof705: cs = 705; goto _test_eof; + _test_eof706: cs = 706; goto _test_eof; + _test_eof707: cs = 707; goto _test_eof; + _test_eof708: cs = 708; goto _test_eof; + _test_eof709: cs = 709; goto _test_eof; + _test_eof710: cs = 710; goto _test_eof; + _test_eof711: cs = 711; goto _test_eof; + _test_eof712: cs = 712; goto _test_eof; + _test_eof713: cs = 713; goto _test_eof; + _test_eof714: cs = 714; goto _test_eof; + _test_eof715: cs = 715; goto _test_eof; + _test_eof716: cs = 716; goto _test_eof; + _test_eof717: cs = 717; goto _test_eof; + _test_eof718: cs = 718; goto _test_eof; + _test_eof719: cs = 719; goto _test_eof; + _test_eof720: cs = 720; goto _test_eof; + _test_eof721: cs = 721; goto _test_eof; + _test_eof722: cs = 722; goto _test_eof; + _test_eof723: cs = 723; goto _test_eof; + _test_eof724: cs = 724; goto _test_eof; + _test_eof725: cs = 725; goto _test_eof; + _test_eof726: cs = 726; goto _test_eof; + _test_eof727: cs = 727; goto _test_eof; + _test_eof728: cs = 728; goto _test_eof; + _test_eof729: cs = 729; goto _test_eof; + _test_eof730: cs = 730; goto _test_eof; + _test_eof731: cs = 731; goto _test_eof; + _test_eof732: cs = 732; goto _test_eof; + _test_eof733: cs = 733; goto _test_eof; + _test_eof734: cs = 734; goto _test_eof; + _test_eof735: cs = 735; goto _test_eof; + _test_eof736: cs = 736; goto _test_eof; + _test_eof737: cs = 737; goto _test_eof; + _test_eof738: cs = 738; goto _test_eof; + _test_eof739: cs = 739; goto _test_eof; + _test_eof740: cs = 740; goto _test_eof; + _test_eof741: cs = 741; goto _test_eof; + _test_eof742: cs = 742; goto _test_eof; + _test_eof743: cs = 743; goto _test_eof; + _test_eof744: cs = 744; goto _test_eof; + _test_eof745: cs = 745; goto _test_eof; + _test_eof746: cs = 746; goto _test_eof; + _test_eof747: cs = 747; goto _test_eof; + _test_eof748: cs = 748; goto _test_eof; + _test_eof749: cs = 749; goto _test_eof; + _test_eof750: cs = 750; goto _test_eof; + _test_eof751: cs = 751; goto _test_eof; + _test_eof752: cs = 752; goto _test_eof; + _test_eof753: cs = 753; goto _test_eof; + _test_eof754: cs = 754; goto _test_eof; + _test_eof755: cs = 755; goto _test_eof; + _test_eof756: cs = 756; goto _test_eof; + _test_eof757: cs = 757; goto _test_eof; + _test_eof758: cs = 758; goto _test_eof; + _test_eof759: cs = 759; goto _test_eof; + _test_eof760: cs = 760; goto _test_eof; + _test_eof761: cs = 761; goto _test_eof; + _test_eof762: cs = 762; goto _test_eof; + _test_eof763: cs = 763; goto _test_eof; + _test_eof764: cs = 764; goto _test_eof; + _test_eof765: cs = 765; goto _test_eof; + _test_eof766: cs = 766; goto _test_eof; + _test_eof767: cs = 767; goto _test_eof; + _test_eof768: cs = 768; goto _test_eof; + _test_eof769: cs = 769; goto _test_eof; + _test_eof770: cs = 770; goto _test_eof; + _test_eof771: cs = 771; goto _test_eof; + _test_eof772: cs = 772; goto _test_eof; + _test_eof773: cs = 773; goto _test_eof; + _test_eof774: cs = 774; goto _test_eof; + _test_eof775: cs = 775; goto _test_eof; + _test_eof776: cs = 776; goto _test_eof; + _test_eof777: cs = 777; goto _test_eof; + _test_eof778: cs = 778; goto _test_eof; + _test_eof779: cs = 779; goto _test_eof; + _test_eof780: cs = 780; goto _test_eof; + _test_eof781: cs = 781; goto _test_eof; + _test_eof782: cs = 782; goto _test_eof; + _test_eof783: cs = 783; goto _test_eof; + _test_eof784: cs = 784; goto _test_eof; + _test_eof785: cs = 785; goto _test_eof; + _test_eof786: cs = 786; goto _test_eof; + _test_eof787: cs = 787; goto _test_eof; + _test_eof788: cs = 788; goto _test_eof; + _test_eof789: cs = 789; goto _test_eof; + _test_eof790: cs = 790; goto _test_eof; + _test_eof791: cs = 791; goto _test_eof; + _test_eof792: cs = 792; goto _test_eof; + _test_eof793: cs = 793; goto _test_eof; + _test_eof794: cs = 794; goto _test_eof; + _test_eof795: cs = 795; goto _test_eof; + _test_eof796: cs = 796; goto _test_eof; + _test_eof797: cs = 797; goto _test_eof; + _test_eof798: cs = 798; goto _test_eof; + _test_eof799: cs = 799; goto _test_eof; + _test_eof800: cs = 800; goto _test_eof; + _test_eof801: cs = 801; goto _test_eof; + _test_eof802: cs = 802; goto _test_eof; + _test_eof803: cs = 803; goto _test_eof; + _test_eof804: cs = 804; goto _test_eof; + _test_eof1434: cs = 1434; goto _test_eof; + _test_eof805: cs = 805; goto _test_eof; + _test_eof806: cs = 806; goto _test_eof; + _test_eof807: cs = 807; goto _test_eof; + _test_eof808: cs = 808; goto _test_eof; + _test_eof809: cs = 809; goto _test_eof; + _test_eof810: cs = 810; goto _test_eof; + _test_eof811: cs = 811; goto _test_eof; + _test_eof812: cs = 812; goto _test_eof; + _test_eof813: cs = 813; goto _test_eof; + _test_eof814: cs = 814; goto _test_eof; + _test_eof815: cs = 815; goto _test_eof; + _test_eof816: cs = 816; goto _test_eof; + _test_eof817: cs = 817; goto _test_eof; + _test_eof818: cs = 818; goto _test_eof; + _test_eof819: cs = 819; goto _test_eof; + _test_eof820: cs = 820; goto _test_eof; + _test_eof821: cs = 821; goto _test_eof; + _test_eof822: cs = 822; goto _test_eof; + _test_eof823: cs = 823; goto _test_eof; + _test_eof824: cs = 824; goto _test_eof; + _test_eof825: cs = 825; goto _test_eof; + _test_eof826: cs = 826; goto _test_eof; + _test_eof827: cs = 827; goto _test_eof; + _test_eof828: cs = 828; goto _test_eof; + _test_eof829: cs = 829; goto _test_eof; + _test_eof830: cs = 830; goto _test_eof; + _test_eof831: cs = 831; goto _test_eof; + _test_eof832: cs = 832; goto _test_eof; + _test_eof833: cs = 833; goto _test_eof; + _test_eof834: cs = 834; goto _test_eof; + _test_eof835: cs = 835; goto _test_eof; + _test_eof836: cs = 836; goto _test_eof; + _test_eof837: cs = 837; goto _test_eof; + _test_eof838: cs = 838; goto _test_eof; + _test_eof839: cs = 839; goto _test_eof; + _test_eof840: cs = 840; goto _test_eof; + _test_eof841: cs = 841; goto _test_eof; + _test_eof842: cs = 842; goto _test_eof; + _test_eof843: cs = 843; goto _test_eof; + _test_eof844: cs = 844; goto _test_eof; + _test_eof845: cs = 845; goto _test_eof; + _test_eof1435: cs = 1435; goto _test_eof; + _test_eof846: cs = 846; goto _test_eof; + _test_eof847: cs = 847; goto _test_eof; + _test_eof1436: cs = 1436; goto _test_eof; + _test_eof848: cs = 848; goto _test_eof; + _test_eof849: cs = 849; goto _test_eof; + _test_eof850: cs = 850; goto _test_eof; + _test_eof851: cs = 851; goto _test_eof; + _test_eof852: cs = 852; goto _test_eof; + _test_eof853: cs = 853; goto _test_eof; + _test_eof854: cs = 854; goto _test_eof; + _test_eof855: cs = 855; goto _test_eof; + _test_eof856: cs = 856; goto _test_eof; + _test_eof857: cs = 857; goto _test_eof; + _test_eof858: cs = 858; goto _test_eof; + _test_eof859: cs = 859; goto _test_eof; + _test_eof860: cs = 860; goto _test_eof; + _test_eof861: cs = 861; goto _test_eof; + _test_eof1437: cs = 1437; goto _test_eof; + _test_eof862: cs = 862; goto _test_eof; + _test_eof863: cs = 863; goto _test_eof; + _test_eof864: cs = 864; goto _test_eof; + _test_eof865: cs = 865; goto _test_eof; + _test_eof866: cs = 866; goto _test_eof; + _test_eof867: cs = 867; goto _test_eof; + _test_eof868: cs = 868; goto _test_eof; + _test_eof869: cs = 869; goto _test_eof; + _test_eof870: cs = 870; goto _test_eof; + _test_eof871: cs = 871; goto _test_eof; + _test_eof872: cs = 872; goto _test_eof; + _test_eof873: cs = 873; goto _test_eof; + _test_eof874: cs = 874; goto _test_eof; + _test_eof875: cs = 875; goto _test_eof; + _test_eof876: cs = 876; goto _test_eof; + _test_eof877: cs = 877; goto _test_eof; + _test_eof878: cs = 878; goto _test_eof; + _test_eof879: cs = 879; goto _test_eof; + _test_eof880: cs = 880; goto _test_eof; + _test_eof881: cs = 881; goto _test_eof; + _test_eof882: cs = 882; goto _test_eof; + _test_eof883: cs = 883; goto _test_eof; + _test_eof1438: cs = 1438; goto _test_eof; + _test_eof884: cs = 884; goto _test_eof; + _test_eof885: cs = 885; goto _test_eof; + _test_eof886: cs = 886; goto _test_eof; + _test_eof887: cs = 887; goto _test_eof; + _test_eof888: cs = 888; goto _test_eof; + _test_eof1439: cs = 1439; goto _test_eof; + _test_eof889: cs = 889; goto _test_eof; + _test_eof890: cs = 890; goto _test_eof; + _test_eof891: cs = 891; goto _test_eof; + _test_eof892: cs = 892; goto _test_eof; + _test_eof893: cs = 893; goto _test_eof; + _test_eof1440: cs = 1440; goto _test_eof; + _test_eof894: cs = 894; goto _test_eof; + _test_eof895: cs = 895; goto _test_eof; + _test_eof896: cs = 896; goto _test_eof; + _test_eof897: cs = 897; goto _test_eof; + _test_eof898: cs = 898; goto _test_eof; + _test_eof1441: cs = 1441; goto _test_eof; + _test_eof1442: cs = 1442; goto _test_eof; + _test_eof1443: cs = 1443; goto _test_eof; + _test_eof899: cs = 899; goto _test_eof; + _test_eof900: cs = 900; goto _test_eof; + _test_eof1444: cs = 1444; goto _test_eof; + _test_eof901: cs = 901; goto _test_eof; + _test_eof902: cs = 902; goto _test_eof; + _test_eof903: cs = 903; goto _test_eof; + _test_eof904: cs = 904; goto _test_eof; + _test_eof905: cs = 905; goto _test_eof; + _test_eof906: cs = 906; goto _test_eof; + _test_eof907: cs = 907; goto _test_eof; + _test_eof908: cs = 908; goto _test_eof; + _test_eof909: cs = 909; goto _test_eof; + _test_eof910: cs = 910; goto _test_eof; + _test_eof911: cs = 911; goto _test_eof; + _test_eof912: cs = 912; goto _test_eof; + _test_eof913: cs = 913; goto _test_eof; + _test_eof914: cs = 914; goto _test_eof; + _test_eof915: cs = 915; goto _test_eof; + _test_eof916: cs = 916; goto _test_eof; + _test_eof917: cs = 917; goto _test_eof; + _test_eof918: cs = 918; goto _test_eof; + _test_eof919: cs = 919; goto _test_eof; + _test_eof920: cs = 920; goto _test_eof; + _test_eof921: cs = 921; goto _test_eof; + _test_eof922: cs = 922; goto _test_eof; + _test_eof923: cs = 923; goto _test_eof; + _test_eof924: cs = 924; goto _test_eof; + _test_eof925: cs = 925; goto _test_eof; + _test_eof926: cs = 926; goto _test_eof; + _test_eof927: cs = 927; goto _test_eof; + _test_eof1445: cs = 1445; goto _test_eof; + _test_eof1446: cs = 1446; goto _test_eof; + _test_eof1447: cs = 1447; goto _test_eof; + _test_eof928: cs = 928; goto _test_eof; + _test_eof929: cs = 929; goto _test_eof; + _test_eof930: cs = 930; goto _test_eof; + _test_eof1448: cs = 1448; goto _test_eof; + _test_eof1449: cs = 1449; goto _test_eof; + _test_eof931: cs = 931; goto _test_eof; + _test_eof932: cs = 932; goto _test_eof; + _test_eof933: cs = 933; goto _test_eof; + _test_eof934: cs = 934; goto _test_eof; + _test_eof1450: cs = 1450; goto _test_eof; + _test_eof1451: cs = 1451; goto _test_eof; + _test_eof935: cs = 935; goto _test_eof; + _test_eof936: cs = 936; goto _test_eof; + _test_eof937: cs = 937; goto _test_eof; + _test_eof938: cs = 938; goto _test_eof; + _test_eof1452: cs = 1452; goto _test_eof; + _test_eof1453: cs = 1453; goto _test_eof; + _test_eof939: cs = 939; goto _test_eof; + _test_eof940: cs = 940; goto _test_eof; + _test_eof941: cs = 941; goto _test_eof; + _test_eof942: cs = 942; goto _test_eof; + _test_eof943: cs = 943; goto _test_eof; + _test_eof944: cs = 944; goto _test_eof; + _test_eof945: cs = 945; goto _test_eof; + _test_eof946: cs = 946; goto _test_eof; + _test_eof947: cs = 947; goto _test_eof; + _test_eof948: cs = 948; goto _test_eof; + _test_eof949: cs = 949; goto _test_eof; + _test_eof950: cs = 950; goto _test_eof; + _test_eof951: cs = 951; goto _test_eof; + _test_eof952: cs = 952; goto _test_eof; + _test_eof953: cs = 953; goto _test_eof; + _test_eof954: cs = 954; goto _test_eof; + _test_eof955: cs = 955; goto _test_eof; + _test_eof956: cs = 956; goto _test_eof; + _test_eof957: cs = 957; goto _test_eof; + _test_eof958: cs = 958; goto _test_eof; + _test_eof959: cs = 959; goto _test_eof; + _test_eof960: cs = 960; goto _test_eof; + _test_eof961: cs = 961; goto _test_eof; + _test_eof962: cs = 962; goto _test_eof; + _test_eof963: cs = 963; goto _test_eof; + _test_eof1454: cs = 1454; goto _test_eof; + _test_eof964: cs = 964; goto _test_eof; + _test_eof965: cs = 965; goto _test_eof; + _test_eof966: cs = 966; goto _test_eof; + _test_eof967: cs = 967; goto _test_eof; + _test_eof968: cs = 968; goto _test_eof; + _test_eof969: cs = 969; goto _test_eof; + _test_eof970: cs = 970; goto _test_eof; + _test_eof971: cs = 971; goto _test_eof; + _test_eof972: cs = 972; goto _test_eof; + _test_eof973: cs = 973; goto _test_eof; + _test_eof974: cs = 974; goto _test_eof; + _test_eof975: cs = 975; goto _test_eof; + _test_eof976: cs = 976; goto _test_eof; + _test_eof977: cs = 977; goto _test_eof; + _test_eof978: cs = 978; goto _test_eof; + _test_eof1455: cs = 1455; goto _test_eof; + _test_eof979: cs = 979; goto _test_eof; + _test_eof980: cs = 980; goto _test_eof; + _test_eof981: cs = 981; goto _test_eof; + _test_eof982: cs = 982; goto _test_eof; + _test_eof983: cs = 983; goto _test_eof; + _test_eof984: cs = 984; goto _test_eof; + _test_eof985: cs = 985; goto _test_eof; + _test_eof986: cs = 986; goto _test_eof; + _test_eof987: cs = 987; goto _test_eof; + _test_eof988: cs = 988; goto _test_eof; + _test_eof989: cs = 989; goto _test_eof; + _test_eof990: cs = 990; goto _test_eof; + _test_eof991: cs = 991; goto _test_eof; + _test_eof1456: cs = 1456; goto _test_eof; + _test_eof992: cs = 992; goto _test_eof; + _test_eof993: cs = 993; goto _test_eof; + _test_eof994: cs = 994; goto _test_eof; + _test_eof995: cs = 995; goto _test_eof; + _test_eof996: cs = 996; goto _test_eof; + _test_eof997: cs = 997; goto _test_eof; + _test_eof998: cs = 998; goto _test_eof; + _test_eof999: cs = 999; goto _test_eof; + _test_eof1000: cs = 1000; goto _test_eof; + _test_eof1001: cs = 1001; goto _test_eof; + _test_eof1002: cs = 1002; goto _test_eof; + _test_eof1457: cs = 1457; goto _test_eof; + _test_eof1458: cs = 1458; goto _test_eof; + _test_eof1003: cs = 1003; goto _test_eof; + _test_eof1004: cs = 1004; goto _test_eof; + _test_eof1005: cs = 1005; goto _test_eof; + _test_eof1459: cs = 1459; goto _test_eof; + _test_eof1006: cs = 1006; goto _test_eof; + _test_eof1007: cs = 1007; goto _test_eof; + _test_eof1008: cs = 1008; goto _test_eof; + _test_eof1009: cs = 1009; goto _test_eof; + _test_eof1010: cs = 1010; goto _test_eof; + _test_eof1011: cs = 1011; goto _test_eof; + _test_eof1012: cs = 1012; goto _test_eof; + _test_eof1013: cs = 1013; goto _test_eof; + _test_eof1014: cs = 1014; goto _test_eof; + _test_eof1015: cs = 1015; goto _test_eof; + _test_eof1460: cs = 1460; goto _test_eof; + _test_eof1461: cs = 1461; goto _test_eof; + _test_eof1462: cs = 1462; goto _test_eof; + _test_eof1016: cs = 1016; goto _test_eof; + _test_eof1017: cs = 1017; goto _test_eof; + _test_eof1018: cs = 1018; goto _test_eof; + _test_eof1019: cs = 1019; goto _test_eof; + _test_eof1020: cs = 1020; goto _test_eof; + _test_eof1021: cs = 1021; goto _test_eof; + _test_eof1022: cs = 1022; goto _test_eof; + _test_eof1023: cs = 1023; goto _test_eof; + _test_eof1024: cs = 1024; goto _test_eof; + _test_eof1025: cs = 1025; goto _test_eof; + _test_eof1026: cs = 1026; goto _test_eof; + _test_eof1463: cs = 1463; goto _test_eof; + _test_eof1464: cs = 1464; goto _test_eof; + _test_eof1465: cs = 1465; goto _test_eof; + _test_eof1027: cs = 1027; goto _test_eof; + _test_eof1028: cs = 1028; goto _test_eof; + _test_eof1029: cs = 1029; goto _test_eof; + _test_eof1030: cs = 1030; goto _test_eof; + _test_eof1031: cs = 1031; goto _test_eof; + _test_eof1032: cs = 1032; goto _test_eof; + _test_eof1033: cs = 1033; goto _test_eof; + _test_eof1034: cs = 1034; goto _test_eof; + _test_eof1035: cs = 1035; goto _test_eof; + _test_eof1036: cs = 1036; goto _test_eof; + _test_eof1037: cs = 1037; goto _test_eof; + _test_eof1038: cs = 1038; goto _test_eof; + _test_eof1466: cs = 1466; goto _test_eof; + _test_eof1039: cs = 1039; goto _test_eof; + _test_eof1040: cs = 1040; goto _test_eof; + _test_eof1041: cs = 1041; goto _test_eof; + _test_eof1467: cs = 1467; goto _test_eof; + _test_eof1468: cs = 1468; goto _test_eof; + _test_eof1042: cs = 1042; goto _test_eof; + _test_eof1469: cs = 1469; goto _test_eof; + _test_eof1470: cs = 1470; goto _test_eof; + _test_eof1043: cs = 1043; goto _test_eof; + _test_eof1471: cs = 1471; goto _test_eof; + _test_eof1472: cs = 1472; goto _test_eof; + _test_eof1044: cs = 1044; goto _test_eof; + _test_eof1045: cs = 1045; goto _test_eof; + _test_eof1046: cs = 1046; goto _test_eof; + _test_eof1047: cs = 1047; goto _test_eof; + _test_eof1048: cs = 1048; goto _test_eof; + _test_eof1049: cs = 1049; goto _test_eof; + _test_eof1050: cs = 1050; goto _test_eof; + _test_eof1051: cs = 1051; goto _test_eof; + _test_eof1052: cs = 1052; goto _test_eof; + _test_eof1053: cs = 1053; goto _test_eof; + _test_eof1054: cs = 1054; goto _test_eof; + _test_eof1055: cs = 1055; goto _test_eof; + _test_eof1056: cs = 1056; goto _test_eof; + _test_eof1057: cs = 1057; goto _test_eof; + _test_eof1058: cs = 1058; goto _test_eof; + _test_eof1059: cs = 1059; goto _test_eof; + _test_eof1060: cs = 1060; goto _test_eof; + _test_eof1061: cs = 1061; goto _test_eof; + _test_eof1062: cs = 1062; goto _test_eof; + _test_eof1063: cs = 1063; goto _test_eof; + _test_eof1064: cs = 1064; goto _test_eof; + _test_eof1065: cs = 1065; goto _test_eof; + _test_eof1066: cs = 1066; goto _test_eof; + _test_eof1067: cs = 1067; goto _test_eof; + _test_eof1068: cs = 1068; goto _test_eof; + _test_eof1069: cs = 1069; goto _test_eof; + _test_eof1070: cs = 1070; goto _test_eof; + _test_eof1071: cs = 1071; goto _test_eof; + _test_eof1072: cs = 1072; goto _test_eof; + _test_eof1073: cs = 1073; goto _test_eof; + _test_eof1074: cs = 1074; goto _test_eof; + _test_eof1075: cs = 1075; goto _test_eof; + _test_eof1076: cs = 1076; goto _test_eof; + _test_eof1077: cs = 1077; goto _test_eof; + _test_eof1078: cs = 1078; goto _test_eof; + _test_eof1079: cs = 1079; goto _test_eof; + _test_eof1080: cs = 1080; goto _test_eof; + _test_eof1081: cs = 1081; goto _test_eof; + _test_eof1082: cs = 1082; goto _test_eof; + _test_eof1083: cs = 1083; goto _test_eof; + _test_eof1084: cs = 1084; goto _test_eof; + _test_eof1085: cs = 1085; goto _test_eof; + _test_eof1473: cs = 1473; goto _test_eof; + _test_eof1086: cs = 1086; goto _test_eof; + _test_eof1087: cs = 1087; goto _test_eof; + _test_eof1088: cs = 1088; goto _test_eof; + _test_eof1089: cs = 1089; goto _test_eof; + _test_eof1090: cs = 1090; goto _test_eof; + _test_eof1091: cs = 1091; goto _test_eof; + _test_eof1092: cs = 1092; goto _test_eof; + _test_eof1093: cs = 1093; goto _test_eof; + _test_eof1094: cs = 1094; goto _test_eof; + _test_eof1095: cs = 1095; goto _test_eof; + _test_eof1096: cs = 1096; goto _test_eof; + _test_eof1097: cs = 1097; goto _test_eof; + _test_eof1098: cs = 1098; goto _test_eof; + _test_eof1099: cs = 1099; goto _test_eof; + _test_eof1100: cs = 1100; goto _test_eof; + _test_eof1101: cs = 1101; goto _test_eof; + _test_eof1102: cs = 1102; goto _test_eof; + _test_eof1103: cs = 1103; goto _test_eof; + _test_eof1104: cs = 1104; goto _test_eof; + _test_eof1105: cs = 1105; goto _test_eof; + _test_eof1106: cs = 1106; goto _test_eof; + _test_eof1107: cs = 1107; goto _test_eof; + _test_eof1108: cs = 1108; goto _test_eof; + _test_eof1109: cs = 1109; goto _test_eof; + _test_eof1110: cs = 1110; goto _test_eof; + _test_eof1111: cs = 1111; goto _test_eof; + _test_eof1112: cs = 1112; goto _test_eof; + _test_eof1113: cs = 1113; goto _test_eof; + _test_eof1114: cs = 1114; goto _test_eof; + _test_eof1115: cs = 1115; goto _test_eof; + _test_eof1116: cs = 1116; goto _test_eof; + _test_eof1117: cs = 1117; goto _test_eof; + _test_eof1118: cs = 1118; goto _test_eof; + _test_eof1119: cs = 1119; goto _test_eof; + _test_eof1120: cs = 1120; goto _test_eof; + _test_eof1121: cs = 1121; goto _test_eof; + _test_eof1122: cs = 1122; goto _test_eof; + _test_eof1123: cs = 1123; goto _test_eof; + _test_eof1124: cs = 1124; goto _test_eof; + _test_eof1125: cs = 1125; goto _test_eof; + _test_eof1126: cs = 1126; goto _test_eof; + _test_eof1127: cs = 1127; goto _test_eof; + _test_eof1128: cs = 1128; goto _test_eof; + _test_eof1129: cs = 1129; goto _test_eof; + _test_eof1130: cs = 1130; goto _test_eof; + _test_eof1131: cs = 1131; goto _test_eof; + _test_eof1132: cs = 1132; goto _test_eof; + _test_eof1133: cs = 1133; goto _test_eof; + _test_eof1134: cs = 1134; goto _test_eof; + _test_eof1135: cs = 1135; goto _test_eof; + _test_eof1136: cs = 1136; goto _test_eof; + _test_eof1137: cs = 1137; goto _test_eof; + _test_eof1138: cs = 1138; goto _test_eof; + _test_eof1139: cs = 1139; goto _test_eof; + _test_eof1140: cs = 1140; goto _test_eof; + _test_eof1141: cs = 1141; goto _test_eof; + _test_eof1142: cs = 1142; goto _test_eof; + _test_eof1143: cs = 1143; goto _test_eof; + _test_eof1144: cs = 1144; goto _test_eof; + _test_eof1145: cs = 1145; goto _test_eof; + _test_eof1146: cs = 1146; goto _test_eof; + _test_eof1147: cs = 1147; goto _test_eof; + _test_eof1148: cs = 1148; goto _test_eof; + _test_eof1149: cs = 1149; goto _test_eof; + _test_eof1150: cs = 1150; goto _test_eof; + _test_eof1151: cs = 1151; goto _test_eof; + _test_eof1152: cs = 1152; goto _test_eof; + _test_eof1153: cs = 1153; goto _test_eof; + _test_eof1154: cs = 1154; goto _test_eof; + _test_eof1155: cs = 1155; goto _test_eof; + _test_eof1156: cs = 1156; goto _test_eof; + _test_eof1157: cs = 1157; goto _test_eof; + _test_eof1158: cs = 1158; goto _test_eof; + _test_eof1159: cs = 1159; goto _test_eof; + _test_eof1160: cs = 1160; goto _test_eof; + _test_eof1161: cs = 1161; goto _test_eof; + _test_eof1162: cs = 1162; goto _test_eof; + _test_eof1163: cs = 1163; goto _test_eof; + _test_eof1164: cs = 1164; goto _test_eof; + _test_eof1165: cs = 1165; goto _test_eof; + _test_eof1166: cs = 1166; goto _test_eof; + _test_eof1167: cs = 1167; goto _test_eof; + _test_eof1168: cs = 1168; goto _test_eof; + _test_eof1169: cs = 1169; goto _test_eof; + _test_eof1170: cs = 1170; goto _test_eof; + _test_eof1171: cs = 1171; goto _test_eof; + _test_eof1172: cs = 1172; goto _test_eof; + _test_eof1173: cs = 1173; goto _test_eof; + _test_eof1174: cs = 1174; goto _test_eof; + _test_eof1175: cs = 1175; goto _test_eof; + _test_eof1176: cs = 1176; goto _test_eof; + _test_eof1177: cs = 1177; goto _test_eof; + _test_eof1178: cs = 1178; goto _test_eof; + _test_eof1179: cs = 1179; goto _test_eof; + _test_eof1180: cs = 1180; goto _test_eof; + _test_eof1181: cs = 1181; goto _test_eof; + _test_eof1182: cs = 1182; goto _test_eof; + _test_eof1183: cs = 1183; goto _test_eof; + _test_eof1184: cs = 1184; goto _test_eof; + _test_eof1185: cs = 1185; goto _test_eof; + _test_eof1186: cs = 1186; goto _test_eof; + _test_eof1187: cs = 1187; goto _test_eof; + _test_eof1188: cs = 1188; goto _test_eof; + _test_eof1189: cs = 1189; goto _test_eof; + _test_eof1190: cs = 1190; goto _test_eof; + _test_eof1191: cs = 1191; goto _test_eof; + _test_eof1192: cs = 1192; goto _test_eof; + _test_eof1193: cs = 1193; goto _test_eof; + _test_eof1194: cs = 1194; goto _test_eof; + _test_eof1195: cs = 1195; goto _test_eof; + _test_eof1196: cs = 1196; goto _test_eof; + _test_eof1197: cs = 1197; goto _test_eof; + _test_eof1198: cs = 1198; goto _test_eof; + _test_eof1199: cs = 1199; goto _test_eof; + _test_eof1200: cs = 1200; goto _test_eof; + _test_eof1201: cs = 1201; goto _test_eof; + _test_eof1202: cs = 1202; goto _test_eof; + _test_eof1203: cs = 1203; goto _test_eof; + _test_eof1204: cs = 1204; goto _test_eof; + _test_eof1205: cs = 1205; goto _test_eof; + _test_eof1206: cs = 1206; goto _test_eof; + _test_eof1207: cs = 1207; goto _test_eof; + _test_eof1208: cs = 1208; goto _test_eof; + _test_eof1209: cs = 1209; goto _test_eof; + _test_eof1210: cs = 1210; goto _test_eof; + _test_eof1211: cs = 1211; goto _test_eof; + _test_eof1212: cs = 1212; goto _test_eof; + _test_eof1213: cs = 1213; goto _test_eof; + _test_eof1214: cs = 1214; goto _test_eof; + _test_eof1215: cs = 1215; goto _test_eof; + _test_eof1216: cs = 1216; goto _test_eof; + _test_eof1217: cs = 1217; goto _test_eof; + _test_eof1218: cs = 1218; goto _test_eof; + _test_eof1219: cs = 1219; goto _test_eof; + _test_eof1220: cs = 1220; goto _test_eof; + _test_eof1221: cs = 1221; goto _test_eof; + _test_eof1222: cs = 1222; goto _test_eof; + _test_eof1223: cs = 1223; goto _test_eof; + _test_eof1224: cs = 1224; goto _test_eof; + _test_eof1225: cs = 1225; goto _test_eof; + _test_eof1226: cs = 1226; goto _test_eof; + _test_eof1227: cs = 1227; goto _test_eof; + _test_eof1228: cs = 1228; goto _test_eof; + _test_eof1229: cs = 1229; goto _test_eof; + _test_eof1230: cs = 1230; goto _test_eof; + _test_eof1231: cs = 1231; goto _test_eof; + _test_eof1232: cs = 1232; goto _test_eof; + _test_eof1233: cs = 1233; goto _test_eof; + _test_eof1234: cs = 1234; goto _test_eof; + _test_eof1235: cs = 1235; goto _test_eof; + _test_eof1236: cs = 1236; goto _test_eof; + _test_eof1237: cs = 1237; goto _test_eof; + _test_eof1238: cs = 1238; goto _test_eof; + _test_eof1239: cs = 1239; goto _test_eof; + _test_eof1240: cs = 1240; goto _test_eof; + _test_eof1241: cs = 1241; goto _test_eof; + _test_eof1242: cs = 1242; goto _test_eof; + _test_eof1243: cs = 1243; goto _test_eof; + _test_eof1244: cs = 1244; goto _test_eof; + _test_eof1245: cs = 1245; goto _test_eof; + _test_eof1246: cs = 1246; goto _test_eof; + _test_eof1247: cs = 1247; goto _test_eof; + _test_eof1248: cs = 1248; goto _test_eof; + _test_eof1249: cs = 1249; goto _test_eof; + _test_eof1250: cs = 1250; goto _test_eof; + _test_eof1251: cs = 1251; goto _test_eof; + _test_eof1252: cs = 1252; goto _test_eof; + _test_eof1253: cs = 1253; goto _test_eof; + _test_eof1254: cs = 1254; goto _test_eof; + _test_eof1255: cs = 1255; goto _test_eof; + _test_eof1256: cs = 1256; goto _test_eof; + _test_eof1474: cs = 1474; goto _test_eof; + _test_eof1257: cs = 1257; goto _test_eof; + _test_eof1258: cs = 1258; goto _test_eof; + _test_eof1259: cs = 1259; goto _test_eof; + _test_eof1260: cs = 1260; goto _test_eof; + _test_eof1261: cs = 1261; goto _test_eof; + _test_eof1262: cs = 1262; goto _test_eof; + _test_eof1263: cs = 1263; goto _test_eof; + _test_eof1264: cs = 1264; goto _test_eof; + _test_eof1475: cs = 1475; goto _test_eof; + _test_eof1265: cs = 1265; goto _test_eof; + _test_eof1266: cs = 1266; goto _test_eof; + _test_eof1267: cs = 1267; goto _test_eof; + _test_eof1268: cs = 1268; goto _test_eof; + _test_eof1269: cs = 1269; goto _test_eof; + _test_eof1476: cs = 1476; goto _test_eof; + _test_eof1270: cs = 1270; goto _test_eof; + _test_eof1271: cs = 1271; goto _test_eof; + _test_eof1272: cs = 1272; goto _test_eof; + _test_eof1273: cs = 1273; goto _test_eof; + _test_eof1274: cs = 1274; goto _test_eof; + _test_eof1275: cs = 1275; goto _test_eof; + _test_eof1276: cs = 1276; goto _test_eof; + _test_eof1277: cs = 1277; goto _test_eof; + _test_eof1278: cs = 1278; goto _test_eof; + _test_eof1279: cs = 1279; goto _test_eof; + _test_eof1280: cs = 1280; goto _test_eof; + _test_eof1281: cs = 1281; goto _test_eof; + _test_eof1282: cs = 1282; goto _test_eof; + _test_eof1283: cs = 1283; goto _test_eof; + _test_eof1284: cs = 1284; goto _test_eof; + _test_eof1285: cs = 1285; goto _test_eof; + _test_eof1286: cs = 1286; goto _test_eof; + _test_eof1287: cs = 1287; goto _test_eof; + _test_eof1477: cs = 1477; goto _test_eof; + _test_eof1288: cs = 1288; goto _test_eof; + _test_eof1289: cs = 1289; goto _test_eof; + _test_eof1290: cs = 1290; goto _test_eof; + _test_eof1291: cs = 1291; goto _test_eof; + _test_eof1292: cs = 1292; goto _test_eof; + _test_eof1293: cs = 1293; goto _test_eof; + _test_eof1294: cs = 1294; goto _test_eof; + _test_eof1295: cs = 1295; goto _test_eof; + _test_eof1296: cs = 1296; goto _test_eof; + _test_eof1297: cs = 1297; goto _test_eof; + _test_eof1298: cs = 1298; goto _test_eof; + _test_eof1299: cs = 1299; goto _test_eof; + _test_eof1300: cs = 1300; goto _test_eof; + _test_eof1301: cs = 1301; goto _test_eof; + _test_eof1302: cs = 1302; goto _test_eof; + _test_eof1303: cs = 1303; goto _test_eof; + _test_eof1304: cs = 1304; goto _test_eof; + _test_eof1305: cs = 1305; goto _test_eof; + _test_eof1306: cs = 1306; goto _test_eof; + _test_eof1478: cs = 1478; goto _test_eof; + _test_eof1307: cs = 1307; goto _test_eof; + _test_eof1308: cs = 1308; goto _test_eof; + _test_eof1309: cs = 1309; goto _test_eof; + _test_eof1310: cs = 1310; goto _test_eof; + _test_eof1311: cs = 1311; goto _test_eof; + _test_eof1312: cs = 1312; goto _test_eof; + _test_eof1313: cs = 1313; goto _test_eof; + _test_eof1314: cs = 1314; goto _test_eof; + _test_eof1315: cs = 1315; goto _test_eof; + _test_eof1316: cs = 1316; goto _test_eof; + _test_eof1317: cs = 1317; goto _test_eof; + _test_eof1318: cs = 1318; goto _test_eof; + _test_eof1319: cs = 1319; goto _test_eof; + _test_eof1320: cs = 1320; goto _test_eof; + _test_eof1321: cs = 1321; goto _test_eof; + _test_eof1479: cs = 1479; goto _test_eof; + _test_eof1480: cs = 1480; goto _test_eof; + _test_eof1481: cs = 1481; goto _test_eof; + _test_eof1322: cs = 1322; goto _test_eof; + _test_eof1323: cs = 1323; goto _test_eof; + _test_eof1324: cs = 1324; goto _test_eof; + _test_eof1325: cs = 1325; goto _test_eof; + _test_eof1326: cs = 1326; goto _test_eof; + _test_eof1327: cs = 1327; goto _test_eof; + _test_eof1328: cs = 1328; goto _test_eof; + _test_eof1329: cs = 1329; goto _test_eof; + _test_eof1482: cs = 1482; goto _test_eof; + _test_eof1330: cs = 1330; goto _test_eof; + _test_eof1331: cs = 1331; goto _test_eof; + _test_eof1332: cs = 1332; goto _test_eof; + _test_eof1333: cs = 1333; goto _test_eof; + _test_eof1334: cs = 1334; goto _test_eof; + _test_eof1335: cs = 1335; goto _test_eof; + _test_eof1336: cs = 1336; goto _test_eof; + _test_eof1337: cs = 1337; goto _test_eof; + _test_eof1338: cs = 1338; goto _test_eof; + _test_eof1339: cs = 1339; goto _test_eof; + _test_eof1340: cs = 1340; goto _test_eof; + _test_eof1483: cs = 1483; goto _test_eof; + _test_eof1484: cs = 1484; goto _test_eof; + _test_eof1485: cs = 1485; goto _test_eof; + _test_eof1341: cs = 1341; goto _test_eof; + _test_eof1342: cs = 1342; goto _test_eof; + _test_eof1343: cs = 1343; goto _test_eof; + _test_eof1344: cs = 1344; goto _test_eof; + _test_eof1345: cs = 1345; goto _test_eof; + _test_eof1346: cs = 1346; goto _test_eof; + _test_eof1347: cs = 1347; goto _test_eof; + _test_eof1486: cs = 1486; goto _test_eof; + _test_eof1348: cs = 1348; goto _test_eof; + _test_eof1349: cs = 1349; goto _test_eof; + _test_eof1350: cs = 1350; goto _test_eof; + _test_eof1351: cs = 1351; goto _test_eof; + _test_eof1352: cs = 1352; goto _test_eof; + _test_eof1353: cs = 1353; goto _test_eof; + _test_eof1354: cs = 1354; goto _test_eof; + _test_eof1355: cs = 1355; goto _test_eof; + _test_eof1356: cs = 1356; goto _test_eof; + _test_eof1357: cs = 1357; goto _test_eof; + _test_eof1358: cs = 1358; goto _test_eof; + _test_eof1359: cs = 1359; goto _test_eof; + _test_eof1360: cs = 1360; goto _test_eof; + _test_eof1487: cs = 1487; goto _test_eof; + _test_eof1361: cs = 1361; goto _test_eof; + _test_eof1362: cs = 1362; goto _test_eof; + _test_eof1363: cs = 1363; goto _test_eof; + _test_eof1364: cs = 1364; goto _test_eof; + _test_eof1365: cs = 1365; goto _test_eof; + _test_eof1366: cs = 1366; goto _test_eof; + _test_eof1367: cs = 1367; goto _test_eof; + _test_eof1488: cs = 1488; goto _test_eof; + _test_eof1368: cs = 1368; goto _test_eof; + _test_eof1369: cs = 1369; goto _test_eof; + _test_eof1370: cs = 1370; goto _test_eof; + _test_eof1371: cs = 1371; goto _test_eof; + _test_eof1372: cs = 1372; goto _test_eof; + _test_eof1373: cs = 1373; goto _test_eof; + _test_eof1489: cs = 1489; goto _test_eof; + _test_eof1374: cs = 1374; goto _test_eof; + _test_eof1375: cs = 1375; goto _test_eof; + _test_eof1376: cs = 1376; goto _test_eof; + _test_eof1377: cs = 1377; goto _test_eof; + _test_eof1378: cs = 1378; goto _test_eof; + _test_eof1379: cs = 1379; goto _test_eof; + _test_eof1490: cs = 1490; goto _test_eof; + _test_eof1380: cs = 1380; goto _test_eof; + _test_eof1381: cs = 1381; goto _test_eof; + _test_eof1382: cs = 1382; goto _test_eof; + _test_eof1383: cs = 1383; goto _test_eof; + _test_eof1384: cs = 1384; goto _test_eof; + _test_eof1385: cs = 1385; goto _test_eof; + _test_eof1386: cs = 1386; goto _test_eof; + _test_eof1387: cs = 1387; goto _test_eof; + _test_eof1491: cs = 1491; goto _test_eof; + _test_eof1388: cs = 1388; goto _test_eof; + _test_eof1389: cs = 1389; goto _test_eof; + _test_eof1390: cs = 1390; goto _test_eof; + _test_eof1391: cs = 1391; goto _test_eof; + _test_eof1392: cs = 1392; goto _test_eof; + _test_eof1393: cs = 1393; goto _test_eof; + _test_eof1394: cs = 1394; goto _test_eof; + _test_eof1492: cs = 1492; goto _test_eof; + _test_eof1395: cs = 1395; goto _test_eof; + + _test_eof: {} + if ( p == eof ) + { + switch ( cs ) { + case 7: + case 8: + case 183: + case 207: + case 209: + case 263: + case 277: + case 302: + case 358: + case 359: + case 365: + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 309: + case 310: + case 311: + case 316: + case 317: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 192: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 326: + { + WARN(ZS_BAD_TEXT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 331: + case 339: + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 340: + case 341: + case 342: + case 351: + { + ERR(ZS_BAD_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 353: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 356: + case 366: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1400: + { + NOERR; + } + break; + case 184: + case 185: + case 186: + case 187: + case 188: + case 189: + case 190: + case 191: + case 229: + case 230: + case 231: + case 232: + case 233: + case 234: + case 235: + case 236: + case 237: + { + ERR(ZS_BAD_DIRECTIVE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 369: + case 370: + case 371: + case 372: + case 373: + case 374: + case 375: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 376: + case 377: + case 378: + case 379: + case 380: + case 381: + case 382: + case 383: + case 384: + case 385: + case 386: + case 387: + case 388: + case 389: + case 390: + case 391: + case 392: + case 393: + case 394: + case 395: + case 396: + case 397: + case 398: + case 399: + case 400: + case 401: + case 402: + case 403: + case 404: + case 405: + case 406: + case 407: + case 408: + case 409: + case 410: + case 411: + case 412: + case 413: + case 414: + case 415: + case 416: + case 417: + case 418: + case 419: + case 420: + case 421: + case 422: + case 423: + case 424: + case 425: + case 426: + case 427: + case 428: + case 429: + case 430: + case 431: + case 432: + case 433: + case 434: + case 435: + case 436: + case 437: + case 438: + case 439: + case 440: + case 441: + case 442: + case 443: + case 444: + case 445: + case 446: + case 447: + case 448: + case 449: + case 450: + case 451: + case 452: + case 453: + case 454: + case 455: + case 456: + case 457: + case 458: + case 459: + case 460: + case 461: + case 462: + case 463: + case 464: + case 465: + case 466: + case 467: + case 468: + case 469: + case 470: + case 471: + case 472: + case 473: + case 474: + case 475: + case 476: + case 477: + case 478: + case 479: + case 480: + case 481: + case 482: + case 483: + case 484: + case 485: + case 486: + case 487: + case 488: + case 489: + case 490: + case 491: + case 492: + case 493: + case 494: + case 495: + case 496: + case 497: + case 498: + case 499: + case 500: + case 501: + case 502: + case 503: + case 504: + case 505: + case 506: + case 507: + case 508: + case 509: + case 510: + case 511: + case 512: + case 513: + case 514: + case 515: + case 516: + case 517: + case 518: + case 519: + case 520: + case 521: + case 522: + case 523: + case 524: + case 525: + case 526: + case 527: + case 528: + case 529: + case 530: + case 531: + case 532: + case 533: + case 534: + case 535: + case 536: + case 537: + case 538: + case 539: + { + WARN(ZS_BAD_BITMAP); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 540: + case 547: + case 548: + case 549: + case 556: + case 558: + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 603: + case 604: + case 605: + case 606: + case 607: + case 608: + case 609: + case 610: + case 611: + case 612: + case 613: + case 614: + case 615: + case 616: + case 617: + case 618: + case 619: + case 620: + case 621: + case 622: + case 623: + case 624: + case 625: + case 626: + case 627: + case 628: + case 629: + case 630: + case 631: + case 632: + case 633: + case 634: + case 635: + case 642: + case 643: + case 644: + case 645: + case 646: + case 653: + case 654: + case 657: + case 658: + case 659: + case 660: + case 661: + case 662: + case 663: + case 664: + case 665: + case 666: + case 667: + case 668: + case 669: + case 670: + case 671: + case 672: + case 673: + case 674: + case 675: + case 676: + case 677: + case 678: + case 679: + case 680: + case 681: + case 682: + case 683: + case 684: + case 685: + case 686: + case 687: + case 688: + case 689: + case 690: + case 691: + case 692: + case 697: + case 698: + { + WARN(ZS_BAD_SVCB_PARAM); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 559: + case 560: + case 561: + case 562: + case 563: + case 564: + case 565: + case 566: + case 567: + case 568: + case 569: + case 570: + case 571: + case 572: + case 573: + case 574: + case 575: + case 576: + case 577: + case 578: + case 579: + case 580: + case 581: + case 584: + case 585: + case 586: + case 587: + case 588: + case 589: + case 590: + case 591: + case 592: + case 593: + case 594: + case 595: + case 596: + case 597: + case 598: + case 599: + case 600: + case 601: + case 602: + { + WARN(ZS_BAD_SVCB_MANDATORY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 699: + case 700: + case 701: + case 702: + case 703: + case 704: + case 705: + case 706: + case 707: + case 708: + case 709: + case 710: + case 711: + case 712: + case 713: + case 714: + case 715: + case 716: + case 717: + case 718: + case 719: + case 720: + case 721: + case 722: + case 723: + case 724: + case 725: + case 726: + case 727: + case 728: + case 729: + case 730: + case 731: + case 732: + case 733: + case 734: + case 735: + case 736: + case 737: + case 738: + case 739: + case 740: + case 741: + case 742: + case 743: + case 744: + case 745: + case 746: + case 747: + case 748: + case 749: + case 750: + case 751: + case 752: + case 753: + case 754: + case 755: + case 756: + case 757: + case 758: + case 759: + case 760: + case 761: + case 762: + case 763: + case 764: + case 765: + case 766: + case 767: + case 768: + case 769: + case 770: + case 771: + case 772: + case 773: + case 774: + case 775: + case 776: + case 777: + case 778: + case 779: + case 780: + case 781: + case 782: + case 783: + case 784: + case 785: + case 786: + case 787: + case 788: + case 789: + case 790: + case 791: + case 792: + case 793: + case 794: + case 795: + case 796: + case 797: + case 798: + case 799: + case 800: + case 801: + case 802: + { + WARN(ZS_BAD_ALGORITHM); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 803: + case 804: + case 805: + case 806: + case 807: + case 808: + case 809: + case 810: + case 811: + case 812: + case 813: + case 814: + case 815: + case 816: + case 817: + case 818: + case 819: + case 820: + case 821: + case 822: + case 823: + case 824: + case 825: + case 826: + case 827: + case 828: + case 829: + case 830: + case 831: + case 832: + case 833: + case 834: + case 835: + case 836: + case 837: + case 838: + case 839: + case 840: + case 841: + case 842: + case 843: + { + WARN(ZS_BAD_CERT_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 5: + case 9: + case 10: + case 282: + case 846: + case 847: + case 848: + case 849: + case 850: + case 851: + case 865: + case 869: + case 873: + case 877: + case 878: + case 879: + case 880: + case 881: + case 882: + case 883: + case 884: + case 885: + case 886: + case 887: + case 888: + case 889: + case 892: + case 893: + case 894: + case 962: + case 963: + case 964: + case 965: + case 966: + case 971: + case 972: + case 973: + case 974: + case 975: + case 976: + case 977: + case 978: + case 979: + case 980: + case 981: + case 982: + case 983: + case 984: + case 985: + case 988: + case 989: + case 990: + case 991: + case 992: + case 993: + case 994: + case 1002: + case 1008: + case 1009: + case 1016: + case 1017: + case 1018: + case 1027: + case 1028: + case 1067: + case 1070: + case 1071: + case 1082: + case 1083: + case 1084: + case 1085: + case 1086: + case 1087: + case 1088: + case 1089: + case 1090: + case 1091: + case 1092: + case 1093: + case 1254: + case 1255: + case 1256: + case 1261: + case 1262: + case 1263: + case 1264: + case 1265: + case 1266: + case 1267: + case 1268: + case 1269: + case 1287: + case 1293: + case 1296: + case 1297: + case 1298: + case 1309: + case 1310: + case 1311: + case 1322: + case 1323: + case 1324: + case 1329: + case 1330: + case 1341: + case 1342: + case 1343: + case 1348: + case 1361: + case 1378: + case 1379: + case 1380: + case 1381: + case 1384: + case 1385: + case 1386: + case 1387: + case 1388: + case 1389: + case 1392: + case 1393: + case 1394: + case 1395: + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 3: + case 17: + case 18: + case 22: + case 23: + case 24: + case 25: + case 26: + case 29: + case 30: + case 32: + case 33: + case 34: + case 36: + case 37: + case 38: + case 40: + case 41: + case 42: + case 43: + case 45: + case 46: + case 47: + case 49: + case 50: + case 51: + case 54: + case 55: + case 56: + case 57: + case 59: + case 61: + case 62: + case 63: + case 64: + case 66: + case 67: + case 68: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 81: + case 82: + case 85: + case 86: + case 88: + case 90: + case 93: + case 94: + case 95: + case 96: + case 99: + case 100: + case 101: + case 102: + case 104: + case 107: + case 110: + case 111: + case 112: + case 113: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 125: + case 126: + case 128: + case 130: + case 131: + case 132: + case 135: + case 136: + case 137: + case 138: + case 139: + case 141: + case 143: + case 145: + case 147: + case 148: + case 149: + case 151: + case 152: + case 154: + case 155: + case 156: + case 158: + case 160: + case 161: + case 164: + case 165: + case 167: + case 168: + case 169: + case 170: + case 171: + case 173: + case 175: + case 176: + case 182: + case 197: + case 201: + case 266: + case 267: + case 269: + case 270: + case 271: + case 273: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 334: + case 335: + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 343: + case 344: + case 345: + case 350: + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 312: + case 313: + case 314: + case 315: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_DNAME_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 346: + case 347: + case 348: + case 349: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 360: + case 361: + case 362: + case 363: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 260: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 286: + case 287: + case 288: + case 289: + case 290: + case 291: + case 292: + case 293: + case 294: + case 295: + case 296: + case 297: + case 298: + case 299: + case 300: + case 301: + case 304: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 332: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 541: + case 542: + case 550: + case 551: + case 557: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 655: + case 656: + case 693: + case 694: + case 695: + case 696: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_SVCB_PARAM); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 582: + case 583: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_SVCB_MANDATORY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 852: + case 853: + case 854: + case 856: + case 858: + case 860: + case 890: + case 891: + case 956: + case 957: + case 958: + case 959: + case 960: + case 961: + case 967: + case 968: + case 969: + case 970: + case 986: + case 987: + case 1006: + case 1007: + case 1010: + case 1011: + case 1019: + case 1020: + case 1021: + case 1022: + case 1029: + case 1030: + case 1072: + case 1073: + case 1074: + case 1075: + case 1080: + case 1081: + case 1257: + case 1258: + case 1259: + case 1260: + case 1270: + case 1271: + case 1272: + case 1273: + case 1274: + case 1275: + case 1299: + case 1300: + case 1301: + case 1302: + case 1303: + case 1304: + case 1312: + case 1313: + case 1314: + case 1315: + case 1316: + case 1317: + case 1325: + case 1326: + case 1327: + case 1328: + case 1331: + case 1332: + case 1333: + case 1334: + case 1335: + case 1336: + case 1344: + case 1345: + case 1349: + case 1350: + case 1374: + case 1375: + case 1376: + case 1377: + case 1382: + case 1383: + case 1390: + case 1391: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 162: + case 177: + case 193: + case 196: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1076: + case 1077: + case 1078: + case 1079: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 318: + case 319: + case 324: + case 325: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_TEXT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 895: + case 896: + case 897: + case 898: + { + s->long_string = false; + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 354: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 355: + case 357: + case 364: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 636: + case 637: + case 638: + case 639: + case 640: + case 641: + case 647: + case 648: + case 649: + case 650: + case 651: + case 652: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_SVCB_PARAM); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 844: + case 845: + case 899: + case 900: + case 1346: + case 1347: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 995: + case 996: + case 997: + case 1000: + case 1001: + case 1003: + { + WARN(ZS_BAD_APL); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1012: + case 1013: + case 1014: + case 1015: + case 1023: + case 1024: + case 1025: + case 1026: + case 1276: + case 1277: + case 1294: + case 1295: + case 1305: + case 1306: + case 1307: + case 1308: + case 1318: + case 1319: + case 1320: + case 1321: + case 1337: + case 1338: + case 1339: + case 1340: + case 1351: + case 1352: + case 1353: + case 1354: + case 1356: + case 1357: + case 1358: + case 1359: + case 1362: + case 1363: + case 1365: + case 1366: + case 1368: + case 1369: + case 1371: + case 1372: + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1278: + case 1279: + case 1280: + case 1281: + case 1282: + case 1283: + case 1284: + case 1285: + case 1286: + case 1288: + case 1289: + case 1290: + case 1291: + case 1292: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1031: + case 1032: + case 1035: + case 1044: + case 1045: + case 1046: + case 1051: + case 1052: + case 1053: + case 1058: + case 1059: + case 1060: + case 1063: + case 1065: + case 1066: + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1037: + case 1038: + case 1039: + case 1040: + case 1041: + case 1042: + case 1043: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1068: + case 1069: + case 1094: + case 1095: + case 1096: + case 1097: + case 1098: + case 1099: + case 1100: + case 1101: + case 1102: + case 1103: + case 1104: + case 1105: + case 1106: + case 1107: + case 1108: + case 1109: + case 1110: + case 1111: + case 1112: + case 1113: + case 1114: + case 1115: + case 1116: + case 1117: + case 1118: + case 1119: + case 1120: + case 1121: + case 1122: + case 1123: + case 1124: + case 1125: + case 1126: + case 1127: + case 1128: + case 1129: + case 1130: + case 1131: + case 1132: + case 1133: + case 1134: + case 1135: + case 1136: + case 1137: + case 1138: + case 1139: + case 1140: + case 1141: + case 1142: + case 1143: + case 1144: + case 1145: + case 1146: + case 1147: + case 1148: + case 1149: + case 1150: + case 1151: + case 1152: + case 1153: + case 1154: + case 1155: + case 1156: + case 1157: + case 1158: + case 1159: + case 1160: + case 1161: + case 1162: + case 1163: + case 1164: + case 1165: + case 1166: + case 1167: + case 1168: + case 1169: + case 1170: + case 1171: + case 1172: + case 1173: + case 1174: + case 1175: + case 1176: + case 1177: + case 1178: + case 1179: + case 1180: + case 1181: + case 1182: + case 1183: + case 1184: + case 1185: + case 1186: + case 1187: + case 1188: + case 1189: + case 1190: + case 1191: + case 1192: + case 1193: + case 1194: + case 1195: + case 1196: + case 1197: + case 1198: + case 1199: + case 1200: + case 1201: + case 1202: + case 1203: + case 1204: + case 1205: + case 1206: + case 1207: + case 1208: + case 1209: + case 1210: + case 1211: + case 1212: + case 1213: + case 1214: + case 1215: + case 1216: + case 1217: + case 1218: + case 1219: + case 1220: + case 1221: + case 1222: + case 1223: + case 1224: + case 1225: + case 1226: + case 1227: + case 1228: + case 1229: + case 1230: + case 1231: + case 1232: + case 1233: + case 1234: + case 1235: + case 1236: + case 1237: + case 1238: + case 1239: + case 1240: + case 1241: + case 1242: + case 1245: + case 1246: + case 1247: + case 1248: + case 1249: + case 1250: + case 1251: + case 1252: + case 1253: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 901: + case 902: + case 903: + case 904: + case 905: + case 906: + case 907: + case 908: + case 909: + case 910: + case 911: + case 912: + case 913: + case 914: + case 915: + case 916: + case 917: + case 918: + case 919: + case 920: + case 921: + case 922: + case 923: + case 924: + case 925: + case 926: + case 927: + case 928: + case 929: + case 930: + case 931: + case 932: + case 933: + case 934: + case 935: + case 936: + case 937: + case 938: + case 939: + case 940: + case 941: + case 942: + case 943: + case 944: + case 945: + case 946: + case 947: + case 948: + case 949: + case 950: + case 951: + case 952: + case 953: + case 954: + case 955: + { + WARN(ZS_BAD_LOC_DATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 6: + case 11: + case 12: + case 13: + case 20: + case 21: + case 205: + case 208: + case 227: + case 262: + case 264: + case 265: + case 275: + case 276: + case 278: + case 279: + case 280: + case 281: + case 284: + case 285: + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 16: + case 241: + case 303: + case 305: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 4: + case 19: + case 27: + case 28: + case 31: + case 35: + case 39: + case 44: + case 48: + case 52: + case 53: + case 58: + case 60: + case 65: + case 69: + case 80: + case 83: + case 84: + case 87: + case 89: + case 91: + case 92: + case 97: + case 98: + case 103: + case 105: + case 106: + case 108: + case 109: + case 114: + case 124: + case 127: + case 129: + case 133: + case 134: + case 140: + case 142: + case 144: + case 146: + case 150: + case 153: + case 157: + case 159: + case 166: + case 172: + case 268: + case 272: + case 274: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 238: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 202: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1033: + case 1034: + case 1047: + case 1048: + case 1054: + case 1055: + case 1061: + case 1062: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1243: + case 1244: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1: + case 174: + case 206: + case 240: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 163: + case 203: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 337: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 855: + case 857: + case 859: + case 861: + case 862: + case 863: + case 864: + case 866: + case 867: + case 868: + case 870: + case 871: + case 872: + case 874: + case 875: + case 876: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 2: + case 178: + case 179: + case 180: + case 181: + case 198: + case 199: + case 200: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 320: + case 321: + case 322: + case 323: + case 327: + case 328: + case 329: + case 330: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_TEXT_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_TEXT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 998: + case 999: + case 1004: + case 1005: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_APL); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1049: + case 1056: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 543: + case 544: + case 545: + case 546: + case 552: + case 553: + case 554: + case 555: + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1355: + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_CHAR_COLON); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1036: + case 1064: + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1364: + case 1367: + case 1370: + case 1373: + { + WARN(ZS_BAD_CHAR_DASH); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1360: + { + WARN(ZS_BAD_CHAR_COLON); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 228: + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_DIRECTIVE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 204: + case 211: + case 212: + case 213: + case 214: + case 215: + case 216: + case 217: + case 218: + case 219: + case 220: + case 221: + case 222: + case 223: + case 224: + case 225: + case 226: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 195: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 242: + case 244: + case 245: + case 246: + case 247: + case 248: + case 249: + case 250: + case 251: + case 252: + case 253: + case 254: + case 255: + case 256: + case 257: + case 258: + case 259: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 14: + case 210: + case 243: + case 261: + case 283: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 333: + case 336: + case 338: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 1050: + case 1057: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 15: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + case 239: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof307; +goto st307;} + } + break; + } + } + + _out: {} + } + + + // Check if the scanner state machine is in an uncovered state. + bool extra_error = false; + if (cs == 0) { + ERR(ZS_UNCOVERED_STATE); + extra_error = true; + // Check for an unclosed multiline record. + } else if (s->input.eof && s->multiline) { + ERR(ZS_UNCLOSED_MULTILINE); + extra_error = true; + s->line_counter--; + } + + // Treat the extra error. + if (extra_error) { + s->error.counter++; + s->state = ZS_STATE_ERROR; + + // Copy the error context just for the part of the current line. + s->buffer_length = 0; + while (p < pe && *p != '\n' && s->buffer_length < 50) { + s->buffer[s->buffer_length++] = *p++; + } + s->buffer[s->buffer_length++] = 0; + + // Execute the error callback. + if (s->process.automatic && s->process.error != NULL) { + s->process.error(s); + } + + return; + } + + // Storing scanner states. + s->cs = cs; + s->top = top; + memcpy(s->stack, stack, sizeof(stack)); + + // Store the current parser position. + s->input.current = p; + + // Storing r_data pointer. + s->r_data_tail = rdata_tail - s->r_data; + + if (*wrap == WRAP_DETECTED) { + if (set_input_string(s, "\\", 1, true) != 0) { + return; + } + + *wrap = WRAP_PROCESS; + parse(s, wrap); + } else { + *wrap = WRAP_NONE; + } +} + +__attribute__((visibility("default"))) +int zs_parse_record( + zs_scanner_t *s) +{ + if (s == NULL) { + return -1; + } + + // Check if parsing is possible. + switch (s->state) { + case ZS_STATE_NONE: + case ZS_STATE_DATA: + case ZS_STATE_INCLUDE: + break; + case ZS_STATE_ERROR: + if (s->error.fatal) { + return -1; + } + break; + default: + // Return if stop or end of file. + return 0; + } + + // Check for the end of the input. + if (s->input.current != s->input.end) { + // Try to parse another item. + s->state = ZS_STATE_NONE; + wrap_t wrap = WRAP_NONE; + parse(s, &wrap); + + // Finish if nothing was parsed. + if (s->state == ZS_STATE_NONE) { + // Parse the final block. + if (set_input_string(s, "\n", 1, true) != 0) { + return -1; + } + parse(s, &wrap); + if (s->state == ZS_STATE_NONE) { + s->state = ZS_STATE_EOF; + } + } + } else { + s->state = ZS_STATE_EOF; + } + + return 0; +} + +__attribute__((visibility("default"))) +int zs_parse_all( + zs_scanner_t *s) +{ + if (s == NULL) { + return -1; + } + + s->process.automatic = true; + + // Parse input block. + wrap_t wrap = WRAP_NONE; + parse(s, &wrap); + + // Parse trailing newline-char block if it makes sense. + if (s->state != ZS_STATE_STOP && !s->error.fatal) { + if (set_input_string(s, "\n", 1, true) != 0) { + return -1; + } + parse(s, &wrap); + } + + // Check if any errors have occurred. + if (s->error.counter > 0) { + return -1; + } + + return 0; +} diff --git a/src/libzscanner/scanner.c.t0 b/src/libzscanner/scanner.c.t0 new file mode 100644 index 0000000..0909496 --- /dev/null +++ b/src/libzscanner/scanner.c.t0 @@ -0,0 +1,9692 @@ + +/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +#include <arpa/inet.h> +#include <errno.h> +#include <fcntl.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <libgen.h> +#include <math.h> +#include <netinet/in.h> +#include <sys/socket.h> +#include <sys/mman.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> + +#include "libzscanner/scanner.h" +#include "libzscanner/functions.h" +#include "libknot/descriptor.h" + +/*! \brief Maximal length of rdata item. */ +#define MAX_ITEM_LENGTH 255 +#define MAX_ITEM_LENGTH2 65535 + +/*! \brief Latitude value for equator (2^31). */ +#define LOC_LAT_ZERO (uint32_t)2147483648 +/*! \brief Longitude value for meridian (2^31). */ +#define LOC_LONG_ZERO (uint32_t)2147483648 +/*! \brief Zero level altitude value. */ +#define LOC_ALT_ZERO (uint32_t)10000000 + +/*! \brief Shorthand for setting warning data. */ +#define WARN(err_code) { s->error.code = err_code; } +/*! \brief Shorthand for setting error data. */ +#define ERR(err_code) { WARN(err_code); s->error.fatal = true; } +/*! \brief Shorthand for error reset. */ +#define NOERR { WARN(ZS_OK); s->error.fatal = false; } + +/*! + * \brief Writes record type number to r_data. + * + * \param type Type number. + * \param rdata_tail Position where to write type number to. + */ +static inline void type_num(const uint16_t type, uint8_t **rdata_tail) +{ + *((uint16_t *)*rdata_tail) = htons(type); + *rdata_tail += 2; +} + +/*! + * \brief Sets bit to bitmap window. + * + * \param type Type number. + * \param s Scanner context. + */ +static inline void window_add_bit(const uint16_t type, zs_scanner_t *s) { + uint8_t win = type / 256; + uint8_t bit_pos = type % 256; + uint8_t byte_pos = bit_pos / 8; + + ((s->windows[win]).bitmap)[byte_pos] |= 128 >> (bit_pos % 8); + + if ((s->windows[win]).length < byte_pos + 1) { + (s->windows[win]).length = byte_pos + 1; + } + + if (s->last_window < win) { + s->last_window = win; + } +} + +// Include scanner file (in Ragel). + +static const short _zone_scanner_actions[] = { + 0, 1, 0, 1, 1, 1, 2, 1, + 3, 1, 4, 1, 5, 1, 7, 1, + 8, 1, 10, 1, 13, 1, 14, 1, + 15, 1, 17, 1, 18, 1, 23, 1, + 24, 1, 26, 1, 27, 1, 29, 1, + 31, 1, 33, 1, 35, 1, 36, 1, + 45, 1, 46, 1, 47, 1, 49, 1, + 51, 1, 52, 1, 53, 1, 54, 1, + 58, 1, 59, 1, 61, 1, 63, 1, + 65, 1, 68, 1, 69, 1, 73, 1, + 74, 1, 77, 1, 78, 1, 81, 1, + 84, 1, 86, 1, 87, 1, 88, 1, + 89, 1, 90, 1, 91, 1, 92, 1, + 93, 1, 95, 1, 97, 1, 99, 1, + 103, 1, 104, 1, 108, 1, 109, 1, + 113, 1, 114, 1, 115, 1, 116, 1, + 117, 1, 118, 1, 119, 1, 120, 1, + 121, 1, 122, 1, 123, 1, 124, 1, + 125, 1, 126, 1, 128, 1, 129, 1, + 130, 1, 131, 1, 145, 1, 146, 1, + 148, 1, 149, 1, 150, 1, 151, 1, + 159, 1, 160, 1, 161, 1, 162, 1, + 163, 1, 164, 1, 165, 1, 166, 1, + 167, 1, 168, 1, 169, 1, 170, 1, + 171, 1, 172, 1, 173, 1, 174, 1, + 175, 1, 176, 1, 177, 1, 178, 1, + 179, 1, 180, 1, 181, 1, 182, 1, + 183, 1, 184, 1, 185, 1, 186, 1, + 187, 1, 188, 1, 189, 1, 190, 1, + 191, 1, 192, 1, 193, 1, 194, 1, + 195, 1, 196, 1, 197, 1, 198, 1, + 199, 1, 200, 1, 201, 1, 202, 1, + 203, 1, 204, 1, 205, 1, 206, 1, + 207, 1, 208, 1, 209, 1, 210, 1, + 211, 1, 212, 1, 213, 1, 214, 1, + 215, 1, 216, 1, 217, 1, 218, 1, + 219, 1, 220, 1, 221, 1, 222, 1, + 223, 1, 224, 1, 225, 1, 226, 1, + 227, 1, 228, 1, 229, 1, 230, 1, + 231, 1, 232, 1, 233, 1, 234, 1, + 235, 1, 236, 1, 237, 1, 238, 1, + 239, 1, 240, 1, 241, 1, 242, 1, + 243, 1, 244, 1, 245, 1, 246, 1, + 247, 1, 248, 1, 249, 1, 250, 1, + 251, 1, 252, 1, 253, 1, 254, 1, + 255, 1, 256, 1, 258, 1, 260, 1, + 261, 1, 262, 1, 263, 1, 270, 1, + 271, 1, 276, 1, 278, 1, 283, 1, + 286, 1, 288, 1, 289, 1, 290, 1, + 291, 1, 296, 1, 297, 1, 299, 1, + 300, 1, 301, 1, 302, 1, 304, 1, + 305, 1, 306, 1, 307, 1, 309, 2, + 0, 49, 2, 1, 0, 2, 1, 305, + 2, 1, 358, 2, 2, 5, 2, 2, + 7, 2, 3, 5, 2, 3, 7, 2, + 4, 0, 2, 4, 5, 2, 4, 7, + 2, 4, 305, 2, 5, 2, 2, 5, + 3, 2, 5, 4, 2, 5, 7, 2, + 6, 1, 2, 7, 1, 2, 7, 2, + 2, 7, 3, 2, 7, 4, 2, 7, + 5, 2, 7, 32, 2, 8, 73, 2, + 8, 77, 2, 9, 10, 2, 11, 1, + 2, 12, 1, 2, 13, 14, 2, 16, + 17, 2, 18, 14, 2, 18, 15, 2, + 19, 24, 2, 19, 77, 2, 19, 84, + 2, 20, 0, 2, 20, 7, 2, 22, + 0, 2, 23, 13, 2, 26, 69, 2, + 26, 108, 2, 26, 119, 2, 27, 0, + 2, 27, 1, 2, 27, 2, 2, 27, + 3, 2, 27, 4, 2, 27, 259, 2, + 28, 69, 2, 28, 113, 2, 29, 291, + 2, 29, 295, 2, 30, 25, 2, 31, + 1, 2, 31, 2, 2, 31, 3, 2, + 31, 4, 2, 31, 7, 2, 31, 93, + 2, 32, 7, 2, 33, 8, 2, 33, + 304, 2, 33, 309, 2, 34, 25, 2, + 35, 0, 2, 35, 1, 2, 35, 2, + 2, 35, 3, 2, 35, 4, 2, 35, + 259, 2, 35, 298, 2, 36, 41, 2, + 37, 36, 2, 38, 73, 2, 38, 276, + 2, 38, 288, 2, 38, 289, 2, 38, + 304, 2, 38, 309, 2, 42, 264, 2, + 42, 265, 2, 42, 266, 2, 42, 267, + 2, 42, 268, 2, 42, 269, 2, 45, + 0, 2, 45, 1, 2, 45, 2, 2, + 45, 3, 2, 45, 4, 2, 46, 0, + 2, 46, 1, 2, 46, 2, 2, 46, + 3, 2, 46, 4, 2, 46, 259, 2, + 46, 291, 2, 47, 0, 2, 47, 1, + 2, 47, 2, 2, 47, 3, 2, 47, + 4, 2, 48, 303, 2, 49, 1, 2, + 49, 2, 2, 49, 3, 2, 49, 4, + 2, 56, 7, 2, 56, 47, 2, 56, + 93, 2, 57, 58, 2, 59, 1, 2, + 59, 2, 2, 59, 3, 2, 59, 4, + 2, 60, 304, 2, 62, 63, 2, 64, + 65, 2, 66, 68, 2, 68, 0, 2, + 68, 61, 2, 71, 0, 2, 71, 304, + 2, 75, 23, 2, 79, 69, 2, 80, + 7, 2, 81, 8, 2, 82, 23, 2, + 84, 8, 2, 90, 91, 2, 92, 1, + 2, 92, 2, 2, 92, 3, 2, 92, + 4, 2, 93, 1, 2, 93, 2, 2, + 93, 3, 2, 93, 4, 2, 93, 7, + 2, 94, 95, 2, 96, 288, 2, 96, + 304, 2, 97, 98, 2, 99, 100, 2, + 101, 102, 2, 101, 103, 2, 101, 104, + 2, 105, 106, 2, 107, 304, 2, 110, + 304, 2, 111, 0, 2, 127, 304, 2, + 129, 0, 2, 130, 0, 2, 131, 0, + 2, 132, 0, 2, 133, 0, 2, 134, + 0, 2, 135, 0, 2, 136, 0, 2, + 137, 0, 2, 138, 0, 2, 139, 0, + 2, 140, 0, 2, 141, 0, 2, 142, + 0, 2, 143, 0, 2, 144, 0, 2, + 146, 0, 2, 147, 0, 2, 148, 0, + 2, 149, 0, 2, 150, 0, 2, 151, + 0, 2, 152, 0, 2, 153, 0, 2, + 154, 0, 2, 155, 0, 2, 156, 304, + 2, 157, 304, 2, 158, 304, 2, 159, + 1, 2, 159, 2, 2, 159, 3, 2, + 159, 4, 2, 160, 1, 2, 160, 2, + 2, 160, 3, 2, 160, 4, 2, 161, + 1, 2, 161, 2, 2, 161, 3, 2, + 161, 4, 2, 162, 1, 2, 162, 2, + 2, 162, 3, 2, 162, 4, 2, 163, + 1, 2, 163, 2, 2, 163, 3, 2, + 163, 4, 2, 164, 1, 2, 164, 2, + 2, 164, 3, 2, 164, 4, 2, 165, + 1, 2, 165, 2, 2, 165, 3, 2, + 165, 4, 2, 166, 1, 2, 166, 2, + 2, 166, 3, 2, 166, 4, 2, 167, + 1, 2, 167, 2, 2, 167, 3, 2, + 167, 4, 2, 168, 1, 2, 168, 2, + 2, 168, 3, 2, 168, 4, 2, 169, + 1, 2, 169, 2, 2, 169, 3, 2, + 169, 4, 2, 170, 1, 2, 170, 2, + 2, 170, 3, 2, 170, 4, 2, 171, + 1, 2, 171, 2, 2, 171, 3, 2, + 171, 4, 2, 172, 1, 2, 172, 2, + 2, 172, 3, 2, 172, 4, 2, 173, + 1, 2, 173, 2, 2, 173, 3, 2, + 173, 4, 2, 174, 1, 2, 174, 2, + 2, 174, 3, 2, 174, 4, 2, 175, + 1, 2, 175, 2, 2, 175, 3, 2, + 175, 4, 2, 176, 1, 2, 176, 2, + 2, 176, 3, 2, 176, 4, 2, 177, + 1, 2, 177, 2, 2, 177, 3, 2, + 177, 4, 2, 178, 1, 2, 178, 2, + 2, 178, 3, 2, 178, 4, 2, 179, + 1, 2, 179, 2, 2, 179, 3, 2, + 179, 4, 2, 180, 1, 2, 180, 2, + 2, 180, 3, 2, 180, 4, 2, 181, + 1, 2, 181, 2, 2, 181, 3, 2, + 181, 4, 2, 182, 1, 2, 182, 2, + 2, 182, 3, 2, 182, 4, 2, 183, + 1, 2, 183, 2, 2, 183, 3, 2, + 183, 4, 2, 184, 1, 2, 184, 2, + 2, 184, 3, 2, 184, 4, 2, 185, + 1, 2, 185, 2, 2, 185, 3, 2, + 185, 4, 2, 186, 1, 2, 186, 2, + 2, 186, 3, 2, 186, 4, 2, 187, + 1, 2, 187, 2, 2, 187, 3, 2, + 187, 4, 2, 188, 1, 2, 188, 2, + 2, 188, 3, 2, 188, 4, 2, 189, + 1, 2, 189, 2, 2, 189, 3, 2, + 189, 4, 2, 190, 1, 2, 190, 2, + 2, 190, 3, 2, 190, 4, 2, 191, + 1, 2, 191, 2, 2, 191, 3, 2, + 191, 4, 2, 192, 1, 2, 192, 2, + 2, 192, 3, 2, 192, 4, 2, 193, + 1, 2, 193, 2, 2, 193, 3, 2, + 193, 4, 2, 194, 1, 2, 194, 2, + 2, 194, 3, 2, 194, 4, 2, 195, + 1, 2, 195, 2, 2, 195, 3, 2, + 195, 4, 2, 196, 1, 2, 196, 2, + 2, 196, 3, 2, 196, 4, 2, 197, + 1, 2, 197, 2, 2, 197, 3, 2, + 197, 4, 2, 198, 1, 2, 198, 2, + 2, 198, 3, 2, 198, 4, 2, 199, + 1, 2, 199, 2, 2, 199, 3, 2, + 199, 4, 2, 200, 1, 2, 200, 2, + 2, 200, 3, 2, 200, 4, 2, 201, + 1, 2, 201, 2, 2, 201, 3, 2, + 201, 4, 2, 202, 1, 2, 202, 2, + 2, 202, 3, 2, 202, 4, 2, 203, + 1, 2, 203, 2, 2, 203, 3, 2, + 203, 4, 2, 204, 1, 2, 204, 2, + 2, 204, 3, 2, 204, 4, 2, 205, + 1, 2, 205, 2, 2, 205, 3, 2, + 205, 4, 2, 206, 1, 2, 206, 2, + 2, 206, 3, 2, 206, 4, 2, 207, + 1, 2, 207, 2, 2, 207, 3, 2, + 207, 4, 2, 208, 1, 2, 208, 2, + 2, 208, 3, 2, 208, 4, 2, 209, + 1, 2, 209, 2, 2, 209, 3, 2, + 209, 4, 2, 210, 1, 2, 210, 2, + 2, 210, 3, 2, 210, 4, 2, 211, + 1, 2, 211, 2, 2, 211, 3, 2, + 211, 4, 2, 212, 1, 2, 212, 2, + 2, 212, 3, 2, 212, 4, 2, 213, + 1, 2, 213, 2, 2, 213, 3, 2, + 213, 4, 2, 214, 1, 2, 214, 2, + 2, 214, 3, 2, 214, 4, 2, 215, + 1, 2, 215, 2, 2, 215, 3, 2, + 215, 4, 2, 216, 1, 2, 216, 2, + 2, 216, 3, 2, 216, 4, 2, 217, + 1, 2, 217, 2, 2, 217, 3, 2, + 217, 4, 2, 218, 1, 2, 218, 2, + 2, 218, 3, 2, 218, 4, 2, 219, + 1, 2, 219, 2, 2, 219, 3, 2, + 219, 4, 2, 220, 1, 2, 220, 2, + 2, 220, 3, 2, 220, 4, 2, 221, + 1, 2, 221, 2, 2, 221, 3, 2, + 221, 4, 2, 222, 1, 2, 222, 2, + 2, 222, 3, 2, 222, 4, 2, 223, + 1, 2, 223, 2, 2, 223, 3, 2, + 223, 4, 2, 224, 1, 2, 224, 2, + 2, 224, 3, 2, 224, 4, 2, 225, + 1, 2, 225, 2, 2, 225, 3, 2, + 225, 4, 2, 226, 1, 2, 226, 2, + 2, 226, 3, 2, 226, 4, 2, 227, + 1, 2, 227, 2, 2, 227, 3, 2, + 227, 4, 2, 228, 1, 2, 228, 2, + 2, 228, 3, 2, 228, 4, 2, 229, + 1, 2, 229, 2, 2, 229, 3, 2, + 229, 4, 2, 230, 1, 2, 230, 2, + 2, 230, 3, 2, 230, 4, 2, 231, + 1, 2, 231, 2, 2, 231, 3, 2, + 231, 4, 2, 232, 1, 2, 232, 2, + 2, 232, 3, 2, 232, 4, 2, 233, + 1, 2, 233, 2, 2, 233, 3, 2, + 233, 4, 2, 234, 1, 2, 234, 2, + 2, 234, 3, 2, 234, 4, 2, 235, + 1, 2, 235, 2, 2, 235, 3, 2, + 235, 4, 2, 236, 1, 2, 236, 2, + 2, 236, 3, 2, 236, 4, 2, 237, + 1, 2, 237, 2, 2, 237, 3, 2, + 237, 4, 2, 238, 1, 2, 238, 2, + 2, 238, 3, 2, 238, 4, 2, 239, + 1, 2, 239, 2, 2, 239, 3, 2, + 239, 4, 2, 240, 1, 2, 240, 2, + 2, 240, 3, 2, 240, 4, 2, 241, + 1, 2, 241, 2, 2, 241, 3, 2, + 241, 4, 2, 242, 1, 2, 242, 2, + 2, 242, 3, 2, 242, 4, 2, 243, + 1, 2, 243, 2, 2, 243, 3, 2, + 243, 4, 2, 244, 1, 2, 244, 2, + 2, 244, 3, 2, 244, 4, 2, 245, + 1, 2, 245, 2, 2, 245, 3, 2, + 245, 4, 2, 246, 1, 2, 246, 2, + 2, 246, 3, 2, 246, 4, 2, 247, + 1, 2, 247, 2, 2, 247, 3, 2, + 247, 4, 2, 248, 1, 2, 248, 2, + 2, 248, 3, 2, 248, 4, 2, 249, + 1, 2, 249, 2, 2, 249, 3, 2, + 249, 4, 2, 250, 1, 2, 250, 2, + 2, 250, 3, 2, 250, 4, 2, 251, + 1, 2, 251, 2, 2, 251, 3, 2, + 251, 4, 2, 252, 1, 2, 252, 2, + 2, 252, 3, 2, 252, 4, 2, 253, + 1, 2, 253, 2, 2, 253, 3, 2, + 253, 4, 2, 254, 1, 2, 254, 2, + 2, 254, 3, 2, 254, 4, 2, 255, + 1, 2, 255, 2, 2, 255, 3, 2, + 255, 4, 2, 256, 1, 2, 256, 2, + 2, 256, 3, 2, 256, 4, 2, 257, + 0, 2, 260, 1, 2, 260, 2, 2, + 260, 3, 2, 260, 4, 2, 261, 1, + 2, 261, 2, 2, 261, 3, 2, 261, + 4, 2, 262, 1, 2, 262, 2, 2, + 262, 3, 2, 262, 4, 2, 263, 1, + 2, 263, 2, 2, 263, 3, 2, 263, + 4, 2, 270, 1, 2, 270, 2, 2, + 270, 3, 2, 270, 4, 2, 271, 1, + 2, 271, 2, 2, 271, 3, 2, 271, + 4, 2, 274, 0, 2, 275, 304, 2, + 277, 108, 2, 282, 108, 2, 286, 1, + 2, 286, 2, 2, 286, 3, 2, 286, + 4, 2, 287, 0, 2, 291, 1, 2, + 291, 2, 2, 291, 3, 2, 291, 4, + 2, 304, 8, 2, 305, 1, 2, 305, + 4, 2, 308, 305, 2, 309, 8, 2, + 309, 304, 2, 310, 303, 2, 311, 303, + 2, 312, 303, 2, 313, 303, 2, 314, + 303, 2, 315, 303, 2, 316, 303, 2, + 317, 303, 2, 318, 303, 2, 319, 303, + 2, 320, 303, 2, 321, 303, 2, 322, + 303, 2, 323, 303, 2, 324, 303, 2, + 325, 303, 2, 326, 303, 2, 327, 303, + 2, 328, 303, 2, 329, 303, 2, 330, + 303, 2, 331, 303, 2, 332, 303, 2, + 333, 303, 2, 334, 303, 2, 335, 303, + 2, 336, 303, 2, 337, 303, 2, 338, + 303, 2, 339, 303, 2, 340, 303, 2, + 341, 303, 2, 342, 303, 2, 343, 303, + 2, 344, 303, 2, 345, 303, 2, 346, + 303, 2, 347, 303, 2, 348, 303, 2, + 349, 303, 2, 350, 303, 2, 351, 303, + 2, 352, 303, 2, 353, 303, 2, 354, + 303, 2, 355, 303, 2, 356, 303, 2, + 357, 303, 2, 358, 1, 3, 0, 49, + 1, 3, 0, 49, 2, 3, 0, 49, + 3, 3, 0, 49, 4, 3, 1, 7, + 358, 3, 1, 32, 7, 3, 1, 71, + 0, 3, 1, 111, 0, 3, 1, 257, + 0, 3, 1, 274, 0, 3, 1, 287, + 0, 3, 1, 305, 358, 3, 2, 7, + 32, 3, 2, 32, 7, 3, 3, 7, + 32, 3, 3, 32, 7, 3, 4, 7, + 32, 3, 4, 32, 7, 3, 4, 71, + 0, 3, 4, 111, 0, 3, 4, 257, + 0, 3, 4, 274, 0, 3, 4, 287, + 0, 3, 4, 305, 7, 3, 5, 7, + 2, 3, 5, 7, 3, 3, 5, 7, + 4, 3, 6, 1, 358, 3, 6, 358, + 1, 3, 7, 2, 5, 3, 7, 2, + 32, 3, 7, 3, 5, 3, 7, 3, + 32, 3, 7, 4, 5, 3, 7, 4, + 32, 3, 7, 358, 1, 3, 9, 11, + 1, 3, 15, 21, 0, 3, 20, 7, + 2, 3, 20, 7, 3, 3, 20, 7, + 4, 3, 20, 83, 7, 3, 23, 13, + 14, 3, 27, 71, 0, 3, 27, 293, + 29, 3, 28, 94, 95, 3, 29, 291, + 1, 3, 29, 291, 2, 3, 29, 291, + 3, 3, 29, 291, 4, 3, 29, 295, + 291, 3, 31, 1, 93, 3, 31, 2, + 7, 3, 31, 2, 93, 3, 31, 3, + 7, 3, 31, 3, 93, 3, 31, 4, + 7, 3, 31, 4, 93, 3, 31, 93, + 7, 3, 31, 308, 305, 3, 31, 310, + 303, 3, 32, 1, 7, 3, 32, 2, + 7, 3, 32, 3, 7, 3, 32, 4, + 7, 3, 33, 89, 8, 3, 33, 304, + 8, 3, 33, 309, 8, 3, 33, 309, + 304, 3, 35, 1, 0, 3, 35, 4, + 0, 3, 37, 36, 305, 3, 38, 156, + 304, 3, 38, 158, 304, 3, 38, 309, + 8, 3, 38, 309, 304, 3, 40, 42, + 264, 3, 40, 42, 265, 3, 40, 42, + 266, 3, 40, 42, 267, 3, 40, 42, + 268, 3, 40, 42, 269, 3, 42, 264, + 1, 3, 42, 264, 2, 3, 42, 264, + 3, 3, 42, 264, 4, 3, 42, 265, + 1, 3, 42, 265, 2, 3, 42, 265, + 3, 3, 42, 265, 4, 3, 42, 266, + 1, 3, 42, 266, 2, 3, 42, 266, + 3, 3, 42, 266, 4, 3, 42, 267, + 1, 3, 42, 267, 2, 3, 42, 267, + 3, 3, 42, 267, 4, 3, 42, 268, + 1, 3, 42, 268, 2, 3, 42, 268, + 3, 3, 42, 268, 4, 3, 42, 269, + 1, 3, 42, 269, 2, 3, 42, 269, + 3, 3, 42, 269, 4, 3, 46, 145, + 291, 3, 46, 291, 1, 3, 46, 291, + 2, 3, 46, 291, 3, 3, 46, 291, + 4, 3, 48, 303, 1, 3, 48, 303, + 2, 3, 48, 303, 3, 3, 48, 303, + 4, 3, 48, 303, 305, 3, 50, 38, + 73, 3, 50, 38, 304, 3, 50, 38, + 309, 3, 55, 37, 36, 3, 56, 7, + 2, 3, 56, 7, 3, 3, 56, 7, + 4, 3, 56, 47, 0, 3, 56, 47, + 1, 3, 56, 47, 2, 3, 56, 47, + 3, 3, 56, 47, 4, 3, 56, 93, + 1, 3, 56, 93, 2, 3, 56, 93, + 3, 3, 56, 93, 4, 3, 66, 68, + 0, 3, 66, 68, 61, 3, 67, 62, + 63, 3, 68, 61, 0, 3, 70, 26, + 69, 3, 72, 0, 1, 3, 75, 23, + 13, 3, 76, 0, 1, 3, 80, 2, + 7, 3, 80, 3, 7, 3, 80, 4, + 7, 3, 80, 7, 4, 3, 82, 23, + 13, 3, 85, 0, 1, 3, 88, 7, + 1, 3, 88, 7, 4, 3, 88, 30, + 25, 3, 88, 32, 7, 3, 90, 30, + 25, 3, 90, 91, 305, 3, 93, 2, + 7, 3, 93, 3, 7, 3, 93, 4, + 7, 3, 96, 107, 304, 3, 96, 156, + 304, 3, 97, 98, 0, 3, 97, 98, + 1, 3, 97, 98, 2, 3, 97, 98, + 3, 3, 97, 98, 4, 3, 97, 98, + 29, 3, 99, 100, 0, 3, 99, 100, + 1, 3, 99, 100, 2, 3, 99, 100, + 3, 3, 99, 100, 4, 3, 99, 100, + 29, 3, 105, 106, 0, 3, 105, 106, + 1, 3, 105, 106, 2, 3, 105, 106, + 3, 3, 105, 106, 4, 3, 110, 112, + 276, 3, 110, 285, 304, 3, 147, 145, + 291, 3, 156, 157, 304, 3, 207, 257, + 0, 3, 208, 257, 0, 3, 209, 257, + 0, 3, 210, 257, 0, 3, 211, 257, + 0, 3, 212, 257, 0, 3, 213, 257, + 0, 3, 214, 257, 0, 3, 215, 257, + 0, 3, 216, 257, 0, 3, 217, 257, + 0, 3, 218, 257, 0, 3, 219, 257, + 0, 3, 220, 257, 0, 3, 221, 257, + 0, 3, 222, 257, 0, 3, 223, 257, + 0, 3, 224, 257, 0, 3, 225, 257, + 0, 3, 226, 257, 0, 3, 227, 257, + 0, 3, 228, 257, 0, 3, 229, 257, + 0, 3, 230, 257, 0, 3, 231, 257, + 0, 3, 232, 257, 0, 3, 233, 257, + 0, 3, 234, 257, 0, 3, 235, 257, + 0, 3, 236, 257, 0, 3, 237, 257, + 0, 3, 238, 257, 0, 3, 239, 257, + 0, 3, 240, 257, 0, 3, 241, 257, + 0, 3, 242, 257, 0, 3, 243, 257, + 0, 3, 244, 257, 0, 3, 245, 257, + 0, 3, 246, 257, 0, 3, 247, 257, + 0, 3, 248, 257, 0, 3, 249, 257, + 0, 3, 250, 257, 0, 3, 251, 257, + 0, 3, 252, 257, 0, 3, 253, 257, + 0, 3, 254, 257, 0, 3, 255, 257, + 0, 3, 256, 257, 0, 3, 273, 37, + 36, 3, 278, 279, 0, 3, 278, 280, + 0, 3, 281, 110, 304, 3, 283, 284, + 0, 3, 285, 110, 304, 3, 286, 287, + 0, 3, 291, 287, 0, 3, 294, 28, + 297, 3, 304, 8, 89, 3, 305, 7, + 1, 3, 305, 7, 4, 3, 305, 30, + 25, 3, 305, 358, 1, 3, 307, 30, + 25, 3, 309, 304, 8, 3, 310, 303, + 1, 3, 310, 303, 2, 3, 310, 303, + 3, 3, 310, 303, 4, 3, 310, 303, + 7, 3, 310, 303, 305, 3, 311, 303, + 1, 3, 311, 303, 2, 3, 311, 303, + 3, 3, 311, 303, 4, 3, 311, 303, + 305, 3, 312, 303, 1, 3, 312, 303, + 2, 3, 312, 303, 3, 3, 312, 303, + 4, 3, 312, 303, 305, 3, 313, 303, + 1, 3, 313, 303, 2, 3, 313, 303, + 3, 3, 313, 303, 4, 3, 313, 303, + 305, 3, 314, 303, 1, 3, 314, 303, + 2, 3, 314, 303, 3, 3, 314, 303, + 4, 3, 314, 303, 305, 3, 315, 303, + 1, 3, 315, 303, 2, 3, 315, 303, + 3, 3, 315, 303, 4, 3, 315, 303, + 305, 3, 316, 303, 1, 3, 316, 303, + 2, 3, 316, 303, 3, 3, 316, 303, + 4, 3, 316, 303, 305, 3, 317, 303, + 1, 3, 317, 303, 2, 3, 317, 303, + 3, 3, 317, 303, 4, 3, 317, 303, + 305, 3, 318, 303, 1, 3, 318, 303, + 2, 3, 318, 303, 3, 3, 318, 303, + 4, 3, 318, 303, 305, 3, 319, 303, + 1, 3, 319, 303, 2, 3, 319, 303, + 3, 3, 319, 303, 4, 3, 319, 303, + 305, 3, 320, 303, 1, 3, 320, 303, + 2, 3, 320, 303, 3, 3, 320, 303, + 4, 3, 320, 303, 305, 3, 321, 303, + 1, 3, 321, 303, 2, 3, 321, 303, + 3, 3, 321, 303, 4, 3, 321, 303, + 305, 3, 322, 303, 1, 3, 322, 303, + 2, 3, 322, 303, 3, 3, 322, 303, + 4, 3, 322, 303, 305, 3, 323, 303, + 1, 3, 323, 303, 2, 3, 323, 303, + 3, 3, 323, 303, 4, 3, 323, 303, + 305, 3, 324, 303, 1, 3, 324, 303, + 2, 3, 324, 303, 3, 3, 324, 303, + 4, 3, 324, 303, 305, 3, 325, 303, + 1, 3, 325, 303, 2, 3, 325, 303, + 3, 3, 325, 303, 4, 3, 325, 303, + 305, 3, 326, 303, 1, 3, 326, 303, + 2, 3, 326, 303, 3, 3, 326, 303, + 4, 3, 326, 303, 305, 3, 327, 303, + 1, 3, 327, 303, 2, 3, 327, 303, + 3, 3, 327, 303, 4, 3, 327, 303, + 305, 3, 328, 303, 1, 3, 328, 303, + 2, 3, 328, 303, 3, 3, 328, 303, + 4, 3, 328, 303, 305, 3, 329, 303, + 1, 3, 329, 303, 2, 3, 329, 303, + 3, 3, 329, 303, 4, 3, 329, 303, + 305, 3, 330, 303, 1, 3, 330, 303, + 2, 3, 330, 303, 3, 3, 330, 303, + 4, 3, 330, 303, 305, 3, 331, 303, + 1, 3, 331, 303, 2, 3, 331, 303, + 3, 3, 331, 303, 4, 3, 331, 303, + 305, 3, 332, 303, 1, 3, 332, 303, + 2, 3, 332, 303, 3, 3, 332, 303, + 4, 3, 332, 303, 305, 3, 333, 303, + 1, 3, 333, 303, 2, 3, 333, 303, + 3, 3, 333, 303, 4, 3, 333, 303, + 305, 3, 334, 303, 1, 3, 334, 303, + 2, 3, 334, 303, 3, 3, 334, 303, + 4, 3, 334, 303, 305, 3, 335, 303, + 1, 3, 335, 303, 2, 3, 335, 303, + 3, 3, 335, 303, 4, 3, 335, 303, + 305, 3, 336, 303, 1, 3, 336, 303, + 2, 3, 336, 303, 3, 3, 336, 303, + 4, 3, 336, 303, 305, 3, 337, 303, + 1, 3, 337, 303, 2, 3, 337, 303, + 3, 3, 337, 303, 4, 3, 337, 303, + 305, 3, 338, 303, 1, 3, 338, 303, + 2, 3, 338, 303, 3, 3, 338, 303, + 4, 3, 338, 303, 305, 3, 339, 303, + 1, 3, 339, 303, 2, 3, 339, 303, + 3, 3, 339, 303, 4, 3, 339, 303, + 305, 3, 340, 303, 1, 3, 340, 303, + 2, 3, 340, 303, 3, 3, 340, 303, + 4, 3, 340, 303, 305, 3, 341, 303, + 1, 3, 341, 303, 2, 3, 341, 303, + 3, 3, 341, 303, 4, 3, 341, 303, + 305, 3, 342, 303, 1, 3, 342, 303, + 2, 3, 342, 303, 3, 3, 342, 303, + 4, 3, 342, 303, 305, 3, 343, 303, + 1, 3, 343, 303, 2, 3, 343, 303, + 3, 3, 343, 303, 4, 3, 343, 303, + 305, 3, 344, 303, 1, 3, 344, 303, + 2, 3, 344, 303, 3, 3, 344, 303, + 4, 3, 344, 303, 305, 3, 345, 303, + 1, 3, 345, 303, 2, 3, 345, 303, + 3, 3, 345, 303, 4, 3, 345, 303, + 305, 3, 346, 303, 1, 3, 346, 303, + 2, 3, 346, 303, 3, 3, 346, 303, + 4, 3, 346, 303, 305, 3, 347, 303, + 1, 3, 347, 303, 2, 3, 347, 303, + 3, 3, 347, 303, 4, 3, 347, 303, + 305, 3, 348, 303, 1, 3, 348, 303, + 2, 3, 348, 303, 3, 3, 348, 303, + 4, 3, 348, 303, 305, 3, 349, 303, + 1, 3, 349, 303, 2, 3, 349, 303, + 3, 3, 349, 303, 4, 3, 349, 303, + 305, 3, 350, 303, 1, 3, 350, 303, + 2, 3, 350, 303, 3, 3, 350, 303, + 4, 3, 350, 303, 305, 3, 351, 303, + 1, 3, 351, 303, 2, 3, 351, 303, + 3, 3, 351, 303, 4, 3, 351, 303, + 305, 3, 352, 303, 1, 3, 352, 303, + 2, 3, 352, 303, 3, 3, 352, 303, + 4, 3, 352, 303, 305, 3, 353, 303, + 1, 3, 353, 303, 2, 3, 353, 303, + 3, 3, 353, 303, 4, 3, 353, 303, + 305, 3, 354, 303, 1, 3, 354, 303, + 2, 3, 354, 303, 3, 3, 354, 303, + 4, 3, 354, 303, 305, 3, 355, 303, + 1, 3, 355, 303, 2, 3, 355, 303, + 3, 3, 355, 303, 4, 3, 355, 303, + 305, 3, 356, 303, 1, 3, 356, 303, + 2, 3, 356, 303, 3, 3, 356, 303, + 4, 3, 356, 303, 305, 3, 357, 303, + 1, 3, 357, 303, 2, 3, 357, 303, + 3, 3, 357, 303, 4, 3, 357, 303, + 305, 3, 358, 1, 6, 4, 1, 7, + 358, 32, 4, 1, 305, 32, 7, 4, + 4, 305, 7, 32, 4, 4, 305, 32, + 7, 4, 6, 1, 7, 358, 4, 6, + 1, 85, 0, 4, 6, 72, 0, 1, + 4, 6, 76, 0, 1, 4, 6, 85, + 0, 1, 4, 7, 6, 358, 1, 4, + 7, 72, 0, 1, 4, 7, 358, 1, + 6, 4, 7, 358, 1, 32, 4, 18, + 15, 21, 0, 4, 20, 83, 7, 2, + 4, 20, 83, 7, 3, 4, 20, 83, + 7, 4, 4, 27, 1, 71, 0, 4, + 27, 4, 71, 0, 4, 27, 293, 29, + 291, 4, 29, 291, 287, 0, 4, 29, + 295, 291, 1, 4, 29, 295, 291, 2, + 4, 29, 295, 291, 3, 4, 29, 295, + 291, 4, 4, 31, 1, 7, 358, 4, + 31, 1, 308, 305, 4, 31, 1, 310, + 303, 4, 31, 2, 93, 7, 4, 31, + 2, 308, 305, 4, 31, 2, 310, 303, + 4, 31, 3, 93, 7, 4, 31, 3, + 308, 305, 4, 31, 3, 310, 303, 4, + 31, 4, 93, 7, 4, 31, 4, 308, + 305, 4, 31, 4, 310, 303, 4, 31, + 310, 303, 7, 4, 33, 38, 309, 8, + 4, 33, 50, 38, 309, 4, 33, 309, + 304, 8, 4, 37, 36, 30, 25, 4, + 38, 309, 304, 8, 4, 40, 37, 36, + 41, 4, 40, 42, 264, 1, 4, 40, + 42, 264, 2, 4, 40, 42, 264, 3, + 4, 40, 42, 264, 4, 4, 40, 42, + 265, 1, 4, 40, 42, 265, 2, 4, + 40, 42, 265, 3, 4, 40, 42, 265, + 4, 4, 40, 42, 266, 1, 4, 40, + 42, 266, 2, 4, 40, 42, 266, 3, + 4, 40, 42, 266, 4, 4, 40, 42, + 267, 1, 4, 40, 42, 267, 2, 4, + 40, 42, 267, 3, 4, 40, 42, 267, + 4, 4, 40, 42, 268, 1, 4, 40, + 42, 268, 2, 4, 40, 42, 268, 3, + 4, 40, 42, 268, 4, 4, 40, 42, + 269, 1, 4, 40, 42, 269, 2, 4, + 40, 42, 269, 3, 4, 40, 42, 269, + 4, 4, 42, 266, 274, 0, 4, 42, + 267, 274, 0, 4, 42, 268, 274, 0, + 4, 42, 269, 274, 0, 4, 43, 39, + 37, 36, 4, 44, 39, 37, 36, 4, + 46, 145, 291, 1, 4, 46, 145, 291, + 2, 4, 46, 145, 291, 3, 4, 46, + 145, 291, 4, 4, 46, 291, 287, 0, + 4, 48, 303, 1, 305, 4, 48, 303, + 4, 305, 4, 50, 38, 8, 73, 4, + 56, 55, 37, 36, 4, 66, 68, 61, + 0, 4, 75, 23, 13, 14, 4, 82, + 23, 13, 14, 4, 88, 32, 1, 7, + 4, 88, 32, 2, 7, 4, 88, 32, + 3, 7, 4, 88, 32, 4, 7, 4, + 90, 91, 30, 25, 4, 93, 1, 7, + 358, 4, 96, 156, 157, 304, 4, 97, + 98, 1, 0, 4, 97, 98, 4, 0, + 4, 97, 98, 29, 291, 4, 99, 100, + 1, 0, 4, 99, 100, 4, 0, 4, + 99, 100, 29, 291, 4, 105, 106, 1, + 0, 4, 105, 106, 4, 0, 4, 147, + 145, 291, 1, 4, 147, 145, 291, 2, + 4, 147, 145, 291, 3, 4, 147, 145, + 291, 4, 4, 147, 296, 37, 36, 4, + 207, 1, 257, 0, 4, 207, 4, 257, + 0, 4, 208, 1, 257, 0, 4, 208, + 4, 257, 0, 4, 209, 1, 257, 0, + 4, 209, 4, 257, 0, 4, 210, 1, + 257, 0, 4, 210, 4, 257, 0, 4, + 211, 1, 257, 0, 4, 211, 4, 257, + 0, 4, 212, 1, 257, 0, 4, 212, + 4, 257, 0, 4, 213, 1, 257, 0, + 4, 213, 4, 257, 0, 4, 214, 1, + 257, 0, 4, 214, 4, 257, 0, 4, + 215, 1, 257, 0, 4, 215, 4, 257, + 0, 4, 216, 1, 257, 0, 4, 216, + 4, 257, 0, 4, 217, 1, 257, 0, + 4, 217, 4, 257, 0, 4, 218, 1, + 257, 0, 4, 218, 4, 257, 0, 4, + 219, 1, 257, 0, 4, 219, 4, 257, + 0, 4, 220, 1, 257, 0, 4, 220, + 4, 257, 0, 4, 221, 1, 257, 0, + 4, 221, 4, 257, 0, 4, 222, 1, + 257, 0, 4, 222, 4, 257, 0, 4, + 223, 1, 257, 0, 4, 223, 4, 257, + 0, 4, 224, 1, 257, 0, 4, 224, + 4, 257, 0, 4, 225, 1, 257, 0, + 4, 225, 4, 257, 0, 4, 226, 1, + 257, 0, 4, 226, 4, 257, 0, 4, + 227, 1, 257, 0, 4, 227, 4, 257, + 0, 4, 228, 1, 257, 0, 4, 228, + 4, 257, 0, 4, 229, 1, 257, 0, + 4, 229, 4, 257, 0, 4, 230, 1, + 257, 0, 4, 230, 4, 257, 0, 4, + 231, 1, 257, 0, 4, 231, 4, 257, + 0, 4, 232, 1, 257, 0, 4, 232, + 4, 257, 0, 4, 233, 1, 257, 0, + 4, 233, 4, 257, 0, 4, 234, 1, + 257, 0, 4, 234, 4, 257, 0, 4, + 235, 1, 257, 0, 4, 235, 4, 257, + 0, 4, 236, 1, 257, 0, 4, 236, + 4, 257, 0, 4, 237, 1, 257, 0, + 4, 237, 4, 257, 0, 4, 238, 1, + 257, 0, 4, 238, 4, 257, 0, 4, + 239, 1, 257, 0, 4, 239, 4, 257, + 0, 4, 240, 1, 257, 0, 4, 240, + 4, 257, 0, 4, 241, 1, 257, 0, + 4, 241, 4, 257, 0, 4, 242, 1, + 257, 0, 4, 242, 4, 257, 0, 4, + 243, 1, 257, 0, 4, 243, 4, 257, + 0, 4, 244, 1, 257, 0, 4, 244, + 4, 257, 0, 4, 245, 1, 257, 0, + 4, 245, 4, 257, 0, 4, 246, 1, + 257, 0, 4, 246, 4, 257, 0, 4, + 247, 1, 257, 0, 4, 247, 4, 257, + 0, 4, 248, 1, 257, 0, 4, 248, + 4, 257, 0, 4, 249, 1, 257, 0, + 4, 249, 4, 257, 0, 4, 250, 1, + 257, 0, 4, 250, 4, 257, 0, 4, + 251, 1, 257, 0, 4, 251, 4, 257, + 0, 4, 252, 1, 257, 0, 4, 252, + 4, 257, 0, 4, 253, 1, 257, 0, + 4, 253, 4, 257, 0, 4, 254, 1, + 257, 0, 4, 254, 4, 257, 0, 4, + 255, 1, 257, 0, 4, 255, 4, 257, + 0, 4, 256, 1, 257, 0, 4, 256, + 4, 257, 0, 4, 286, 1, 287, 0, + 4, 286, 4, 287, 0, 4, 291, 1, + 287, 0, 4, 291, 4, 287, 0, 4, + 292, 28, 26, 69, 4, 305, 7, 358, + 1, 4, 310, 303, 1, 305, 4, 310, + 303, 2, 7, 4, 310, 303, 3, 7, + 4, 310, 303, 4, 7, 4, 310, 303, + 4, 305, 4, 311, 303, 1, 305, 4, + 311, 303, 4, 305, 4, 312, 303, 1, + 305, 4, 312, 303, 4, 305, 4, 313, + 303, 1, 305, 4, 313, 303, 4, 305, + 4, 314, 303, 1, 305, 4, 314, 303, + 4, 305, 4, 315, 303, 1, 305, 4, + 315, 303, 4, 305, 4, 316, 303, 1, + 305, 4, 316, 303, 4, 305, 4, 317, + 303, 1, 305, 4, 317, 303, 4, 305, + 4, 318, 303, 1, 305, 4, 318, 303, + 4, 305, 4, 319, 303, 1, 305, 4, + 319, 303, 4, 305, 4, 320, 303, 1, + 305, 4, 320, 303, 4, 305, 4, 321, + 303, 1, 305, 4, 321, 303, 4, 305, + 4, 322, 303, 1, 305, 4, 322, 303, + 4, 305, 4, 323, 303, 1, 305, 4, + 323, 303, 4, 305, 4, 324, 303, 1, + 305, 4, 324, 303, 4, 305, 4, 325, + 303, 1, 305, 4, 325, 303, 4, 305, + 4, 326, 303, 1, 305, 4, 326, 303, + 4, 305, 4, 327, 303, 1, 305, 4, + 327, 303, 4, 305, 4, 328, 303, 1, + 305, 4, 328, 303, 4, 305, 4, 329, + 303, 1, 305, 4, 329, 303, 4, 305, + 4, 330, 303, 1, 305, 4, 330, 303, + 4, 305, 4, 331, 303, 1, 305, 4, + 331, 303, 4, 305, 4, 332, 303, 1, + 305, 4, 332, 303, 4, 305, 4, 333, + 303, 1, 305, 4, 333, 303, 4, 305, + 4, 334, 303, 1, 305, 4, 334, 303, + 4, 305, 4, 335, 303, 1, 305, 4, + 335, 303, 4, 305, 4, 336, 303, 1, + 305, 4, 336, 303, 4, 305, 4, 337, + 303, 1, 305, 4, 337, 303, 4, 305, + 4, 338, 303, 1, 305, 4, 338, 303, + 4, 305, 4, 339, 303, 1, 305, 4, + 339, 303, 4, 305, 4, 340, 303, 1, + 305, 4, 340, 303, 4, 305, 4, 341, + 303, 1, 305, 4, 341, 303, 4, 305, + 4, 342, 303, 1, 305, 4, 342, 303, + 4, 305, 4, 343, 303, 1, 305, 4, + 343, 303, 4, 305, 4, 344, 303, 1, + 305, 4, 344, 303, 4, 305, 4, 345, + 303, 1, 305, 4, 345, 303, 4, 305, + 4, 346, 303, 1, 305, 4, 346, 303, + 4, 305, 4, 347, 303, 1, 305, 4, + 347, 303, 4, 305, 4, 348, 303, 1, + 305, 4, 348, 303, 4, 305, 4, 349, + 303, 1, 305, 4, 349, 303, 4, 305, + 4, 350, 303, 1, 305, 4, 350, 303, + 4, 305, 4, 351, 303, 1, 305, 4, + 351, 303, 4, 305, 4, 352, 303, 1, + 305, 4, 352, 303, 4, 305, 4, 353, + 303, 1, 305, 4, 353, 303, 4, 305, + 4, 354, 303, 1, 305, 4, 354, 303, + 4, 305, 4, 355, 303, 1, 305, 4, + 355, 303, 4, 305, 4, 356, 303, 1, + 305, 4, 356, 303, 4, 305, 4, 357, + 303, 1, 305, 4, 357, 303, 4, 305, + 5, 20, 7, 76, 0, 1, 5, 27, + 293, 29, 291, 1, 5, 27, 293, 29, + 291, 2, 5, 27, 293, 29, 291, 3, + 5, 27, 293, 29, 291, 4, 5, 29, + 291, 1, 287, 0, 5, 29, 291, 4, + 287, 0, 5, 29, 295, 291, 287, 0, + 5, 31, 1, 93, 7, 358, 5, 31, + 1, 310, 303, 305, 5, 31, 2, 310, + 303, 7, 5, 31, 3, 310, 303, 7, + 5, 31, 4, 310, 303, 7, 5, 31, + 4, 310, 303, 305, 5, 33, 38, 309, + 304, 8, 5, 37, 36, 305, 30, 25, + 5, 40, 42, 266, 274, 0, 5, 40, + 42, 267, 274, 0, 5, 40, 42, 268, + 274, 0, 5, 40, 42, 269, 274, 0, + 5, 42, 266, 1, 274, 0, 5, 42, + 266, 4, 274, 0, 5, 42, 267, 1, + 274, 0, 5, 42, 267, 4, 274, 0, + 5, 42, 268, 1, 274, 0, 5, 42, + 268, 4, 274, 0, 5, 42, 269, 1, + 274, 0, 5, 42, 269, 4, 274, 0, + 5, 46, 145, 291, 287, 0, 5, 46, + 291, 1, 287, 0, 5, 46, 291, 4, + 287, 0, 5, 50, 38, 309, 304, 8, + 5, 56, 7, 72, 0, 1, 5, 80, + 7, 85, 0, 1, 5, 90, 91, 305, + 30, 25, 5, 97, 98, 29, 291, 1, + 5, 97, 98, 29, 291, 2, 5, 97, + 98, 29, 291, 3, 5, 97, 98, 29, + 291, 4, 5, 99, 100, 29, 291, 1, + 5, 99, 100, 29, 291, 2, 5, 99, + 100, 29, 291, 3, 5, 99, 100, 29, + 291, 4, 5, 147, 145, 291, 287, 0, + 5, 272, 43, 39, 37, 36, 5, 310, + 303, 1, 7, 358, 5, 310, 303, 4, + 305, 7, 5, 310, 303, 305, 7, 4, + 6, 20, 83, 7, 85, 0, 1, 6, + 27, 293, 29, 291, 287, 0, 6, 29, + 295, 291, 1, 287, 0, 6, 29, 295, + 291, 4, 287, 0, 6, 31, 1, 310, + 303, 7, 358, 6, 31, 4, 310, 303, + 305, 7, 6, 33, 50, 38, 309, 304, + 8, 6, 40, 42, 266, 1, 274, 0, + 6, 40, 42, 266, 4, 274, 0, 6, + 40, 42, 267, 1, 274, 0, 6, 40, + 42, 267, 4, 274, 0, 6, 40, 42, + 268, 1, 274, 0, 6, 40, 42, 268, + 4, 274, 0, 6, 40, 42, 269, 1, + 274, 0, 6, 40, 42, 269, 4, 274, + 0, 6, 46, 145, 291, 1, 287, 0, + 6, 46, 145, 291, 4, 287, 0, 6, + 97, 98, 29, 291, 287, 0, 6, 99, + 100, 29, 291, 287, 0, 6, 147, 145, + 291, 1, 287, 0, 6, 147, 145, 291, + 4, 287, 0, 6, 310, 303, 1, 305, + 7, 358, 6, 310, 303, 305, 7, 358, + 1, 7, 27, 293, 29, 291, 1, 287, + 0, 7, 27, 293, 29, 291, 4, 287, + 0, 7, 31, 1, 310, 303, 305, 7, + 358, 7, 97, 98, 29, 291, 1, 287, + 0, 7, 97, 98, 29, 291, 4, 287, + 0, 7, 99, 100, 29, 291, 1, 287, + 0, 7, 99, 100, 29, 291, 4, 287, + 0 +}; + +static const short _zone_scanner_cond_offsets[] = { + 0, 0, 2, 4, 6, 8, 10, 12, + 14, 14, 14, 17, 19, 21, 24, 26, + 28, 30, 30, 30, 32, 37, 42, 42, + 42, 42, 42, 42, 44, 46, 46, 46, + 48, 48, 48, 48, 50, 50, 50, 50, + 52, 52, 52, 52, 52, 54, 54, 54, + 54, 56, 56, 56, 56, 58, 60, 60, + 60, 60, 60, 62, 62, 64, 64, 64, + 64, 64, 66, 66, 66, 66, 68, 68, + 70, 72, 72, 72, 72, 72, 72, 72, + 72, 74, 74, 74, 76, 78, 78, 78, + 80, 80, 82, 82, 84, 86, 86, 86, + 86, 86, 88, 90, 90, 90, 90, 90, + 92, 92, 94, 96, 96, 98, 100, 100, + 100, 100, 100, 102, 102, 102, 102, 102, + 102, 102, 102, 102, 102, 104, 104, 104, + 106, 106, 108, 108, 108, 108, 110, 112, + 112, 112, 112, 112, 112, 114, 114, 116, + 116, 118, 118, 120, 120, 120, 120, 122, + 122, 122, 124, 124, 124, 124, 126, 126, + 128, 128, 128, 128, 130, 130, 130, 132, + 132, 132, 132, 132, 132, 134, 137, 139, + 139, 141, 143, 145, 147, 147, 149, 152, + 152, 152, 152, 152, 152, 152, 152, 152, + 152, 154, 156, 159, 161, 163, 166, 168, + 168, 170, 173, 175, 177, 179, 181, 183, + 186, 188, 190, 192, 194, 196, 198, 200, + 202, 204, 206, 208, 210, 212, 214, 216, + 218, 220, 222, 224, 227, 229, 229, 229, + 229, 229, 229, 229, 229, 229, 229, 231, + 233, 235, 238, 240, 242, 244, 246, 248, + 250, 252, 254, 256, 258, 260, 262, 264, + 266, 268, 270, 272, 274, 276, 278, 283, + 288, 293, 298, 298, 298, 300, 300, 300, + 300, 302, 302, 304, 307, 309, 311, 316, + 321, 326, 331, 334, 336, 341, 346, 348, + 350, 352, 354, 356, 358, 360, 362, 364, + 366, 368, 370, 372, 374, 376, 378, 381, + 384, 386, 389, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 392, 393, 393, + 393, 393, 393, 394, 396, 398, 400, 402, + 402, 404, 404, 406, 409, 411, 413, 413, + 415, 417, 417, 417, 417, 417, 417, 419, + 422, 424, 426, 428, 430, 430, 432, 434, + 434, 434, 434, 434, 434, 436, 439, 441, + 444, 447, 447, 447, 447, 447, 449, 452, + 452, 454, 456, 458, 458, 458, 460, 463, + 463, 463, 465, 465, 465, 465, 465, 465, + 467, 469, 469, 469, 471, 471, 471, 471, + 473, 473, 473, 473, 475, 475, 475, 475, + 475, 477, 477, 477, 477, 479, 479, 479, + 479, 481, 483, 483, 483, 483, 483, 485, + 485, 487, 487, 487, 487, 487, 489, 489, + 489, 489, 491, 491, 491, 491, 491, 491, + 491, 491, 493, 493, 493, 495, 497, 497, + 497, 499, 499, 501, 501, 503, 505, 505, + 505, 505, 505, 507, 509, 509, 509, 509, + 509, 511, 511, 513, 515, 515, 517, 519, + 519, 519, 519, 519, 521, 521, 521, 521, + 521, 521, 521, 521, 521, 521, 523, 523, + 523, 525, 525, 527, 527, 527, 527, 529, + 531, 531, 531, 531, 531, 531, 533, 533, + 535, 535, 537, 537, 539, 539, 539, 539, + 541, 541, 541, 543, 543, 543, 543, 545, + 545, 547, 547, 547, 547, 549, 549, 549, + 551, 551, 551, 551, 551, 551, 553, 553, + 553, 553, 555, 555, 557, 559, 561, 563, + 565, 565, 567, 570, 573, 576, 578, 580, + 582, 584, 584, 586, 589, 592, 594, 597, + 597, 597, 597, 597, 597, 597, 597, 597, + 597, 597, 597, 597, 597, 597, 597, 597, + 597, 597, 597, 597, 597, 597, 597, 597, + 597, 597, 597, 597, 597, 597, 597, 597, + 597, 597, 597, 597, 597, 597, 597, 597, + 597, 597, 597, 597, 599, 601, 601, 601, + 601, 601, 601, 603, 606, 606, 606, 606, + 606, 606, 606, 606, 606, 606, 608, 608, + 608, 608, 608, 610, 610, 610, 610, 610, + 610, 610, 610, 610, 610, 610, 610, 610, + 610, 612, 612, 612, 612, 612, 612, 612, + 612, 612, 612, 612, 614, 614, 614, 614, + 614, 616, 616, 618, 618, 618, 618, 618, + 618, 618, 618, 618, 618, 618, 618, 618, + 618, 620, 620, 620, 620, 620, 620, 620, + 620, 620, 620, 620, 620, 620, 620, 620, + 620, 622, 622, 622, 622, 622, 622, 622, + 622, 624, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 626, 626, 626, 626, 626, 626, + 626, 626, 628, 630, 632, 634, 636, 638, + 640, 642, 644, 646, 648, 650, 650, 650, + 650, 650, 653, 655, 655, 657, 660, 662, + 662, 664, 667, 669, 669, 671, 674, 677, + 680, 680, 682, 684, 684, 687, 687, 689, + 691, 691, 694, 694, 696, 698, 698, 701, + 701, 703, 705, 708, 708, 708, 708, 710, + 712, 714, 716, 718, 720, 722, 724, 726, + 728, 730, 732, 734, 736, 738, 740, 740, + 742, 744, 746, 748, 750, 752, 754, 756, + 759, 761, 763, 766, 768, 770, 772, 775, + 777, 779, 781, 784, 786, 788, 790, 793, + 795, 798, 800, 802, 805, 808, 811, 813, + 816, 818, 820, 823, 826, 826, 828, 830, + 832, 834, 836, 838, 838, 841, 844, 847, + 847, 849, 851, 853, 855, 857, 859, 861, + 863, 865, 867, 867, 870, 873, 876, 879, + 882, 882, 884, 886, 888, 890, 892, 894, + 896, 899, 902, 905, 907, 907, 907, 907, + 907, 907, 909, 912, 912, 912, 912, 912, + 914, 916, 918, 920, 922, 924, 924, 926, + 929, 932, 935, 938, 938, 940, 942, 944, + 946, 946, 948, 951, 954, 957, 957, 959, + 961, 963, 965, 967, 969, 975, 986, 988, + 991, 997, 1000, 1011, 1014, 1017, 1020, 1022, + 1024, 1026, 1028, 1034, 1037, 1040, 1042, 1044, + 1046, 1048, 1054, 1057, 1060, 1062, 1064, 1066, + 1068, 1074, 1077, 1080, 1083, 1083, 1085, 1087, + 1089, 1091, 1093, 1095, 1097, 1099, 1101, 1103, + 1105, 1107, 1109, 1111, 1113, 1115, 1117, 1120, + 1123, 1126, 1129, 1132, 1135, 1138, 1141, 1141, + 1141, 1143, 1143, 1143, 1143, 1145, 1145, 1147, + 1147, 1147, 1149, 1149, 1149, 1149, 1149, 1149, + 1151, 1153, 1153, 1153, 1155, 1155, 1155, 1155, + 1157, 1157, 1157, 1157, 1159, 1159, 1159, 1159, + 1159, 1161, 1161, 1161, 1161, 1163, 1163, 1163, + 1163, 1165, 1167, 1167, 1167, 1167, 1167, 1169, + 1169, 1171, 1171, 1171, 1171, 1171, 1173, 1173, + 1173, 1173, 1175, 1175, 1175, 1175, 1175, 1175, + 1175, 1175, 1177, 1177, 1177, 1179, 1181, 1181, + 1181, 1183, 1183, 1185, 1185, 1187, 1189, 1189, + 1189, 1189, 1189, 1191, 1193, 1193, 1193, 1193, + 1193, 1195, 1195, 1197, 1199, 1199, 1201, 1203, + 1203, 1203, 1203, 1203, 1205, 1205, 1205, 1205, + 1205, 1205, 1205, 1205, 1205, 1205, 1207, 1207, + 1207, 1209, 1209, 1211, 1211, 1211, 1211, 1213, + 1215, 1215, 1215, 1215, 1215, 1215, 1217, 1217, + 1219, 1219, 1221, 1221, 1223, 1223, 1223, 1223, + 1225, 1225, 1225, 1227, 1227, 1227, 1227, 1229, + 1229, 1231, 1231, 1231, 1231, 1233, 1233, 1233, + 1235, 1235, 1235, 1235, 1235, 1235, 1237, 1237, + 1237, 1237, 1237, 1239, 1241, 1243, 1245, 1247, + 1249, 1251, 1254, 1257, 1260, 1260, 1262, 1262, + 1264, 1266, 1268, 1270, 1272, 1274, 1276, 1278, + 1278, 1278, 1278, 1278, 1278, 1278, 1278, 1278, + 1278, 1278, 1278, 1278, 1278, 1278, 1281, 1281, + 1283, 1286, 1289, 1292, 1292, 1294, 1296, 1298, + 1300, 1302, 1304, 1304, 1304, 1304, 1307, 1310, + 1313, 1313, 1315, 1317, 1319, 1321, 1323, 1325, + 1325, 1327, 1330, 1333, 1336, 1339, 1339, 1341, + 1343, 1343, 1343, 1346, 1346, 1348, 1350, 1352, + 1354, 1356, 1358, 1358, 1360, 1363, 1366, 1369, + 1372, 1372, 1374, 1376, 1376, 1379, 1379, 1381, + 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, + 1383, 1383, 1386, 1386, 1386, 1386, 1386, 1386, + 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, + 1388, 1390, 1392, 1394, 1394, 1397, 1400, 1400, + 1402, 1404, 1406, 1408, 1408, 1411, 1414, 1414, + 1416, 1418, 1418, 1418, 1421, 1423, 1425, 1427, + 1429, 1431, 1433, 1435, 1437, 1439, 1441, 1441, + 1441, 1441, 1441, 1441, 1441, 1441, 1441, 1443, + 1443, 1445, 1448, 1448, 1450, 1453, 1453, 1455, + 1458, 1460, 1460, 1462, 1465, 1468, 1468, 1468, + 1470, 1473, 1473, 1473, 1473, 1473, 1473, 1473, + 1473, 1473, 1473, 1475, 1478, 1478, 1478, 1480, + 1483, 1485, 1488, 1490, 1493, 1495, 1498, 1498, + 1498, 1498, 1498, 1500, 1503, 1503, 1505, 1508, + 1508, 1510, 1513, 1513, 1519, 1522, 1533, 1536, + 1547, 1550, 1550, 1550, 1550, 1550, 1550, 1550, + 1550, 1552, 1555, 1555, 1555, 1557, 1560, 1560, + 1560, 1560, 1560, 1560, 1560 +}; + +static const char _zone_scanner_cond_lengths[] = { + 0, 2, 2, 2, 2, 2, 2, 2, + 0, 0, 3, 2, 2, 3, 2, 2, + 2, 0, 0, 2, 5, 5, 0, 0, + 0, 0, 0, 2, 2, 0, 0, 2, + 0, 0, 0, 2, 0, 0, 0, 2, + 0, 0, 0, 0, 2, 0, 0, 0, + 2, 0, 0, 0, 2, 2, 0, 0, + 0, 0, 2, 0, 2, 0, 0, 0, + 0, 2, 0, 0, 0, 2, 0, 2, + 2, 0, 0, 0, 0, 0, 0, 0, + 2, 0, 0, 2, 2, 0, 0, 2, + 0, 2, 0, 2, 2, 0, 0, 0, + 0, 2, 2, 0, 0, 0, 0, 2, + 0, 2, 2, 0, 2, 2, 0, 0, + 0, 0, 2, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 0, 2, + 0, 2, 0, 0, 0, 2, 2, 0, + 0, 0, 0, 0, 2, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 2, 0, + 0, 2, 0, 0, 0, 2, 0, 2, + 0, 0, 0, 2, 0, 0, 2, 0, + 0, 0, 0, 0, 2, 3, 2, 0, + 2, 2, 2, 2, 0, 2, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 2, 2, 3, 2, 2, 3, 2, 0, + 2, 3, 2, 2, 2, 2, 2, 3, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 3, 2, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2, 2, + 2, 3, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 5, 5, + 5, 5, 0, 0, 2, 0, 0, 0, + 2, 0, 2, 3, 2, 2, 5, 5, + 5, 5, 3, 2, 5, 5, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 3, 3, + 2, 3, 2, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 1, 0, 0, + 0, 0, 1, 2, 2, 2, 2, 0, + 2, 0, 2, 3, 2, 2, 0, 2, + 2, 0, 0, 0, 0, 0, 2, 3, + 2, 2, 2, 2, 0, 2, 2, 0, + 0, 0, 0, 0, 2, 3, 2, 3, + 3, 0, 0, 0, 0, 2, 3, 0, + 2, 2, 2, 0, 0, 2, 3, 0, + 0, 2, 0, 0, 0, 0, 0, 2, + 2, 0, 0, 2, 0, 0, 0, 2, + 0, 0, 0, 2, 0, 0, 0, 0, + 2, 0, 0, 0, 2, 0, 0, 0, + 2, 2, 0, 0, 0, 0, 2, 0, + 2, 0, 0, 0, 0, 2, 0, 0, + 0, 2, 0, 0, 0, 0, 0, 0, + 0, 2, 0, 0, 2, 2, 0, 0, + 2, 0, 2, 0, 2, 2, 0, 0, + 0, 0, 2, 2, 0, 0, 0, 0, + 2, 0, 2, 2, 0, 2, 2, 0, + 0, 0, 0, 2, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2, 0, 0, + 2, 0, 2, 0, 0, 0, 2, 2, + 0, 0, 0, 0, 0, 2, 0, 2, + 0, 2, 0, 2, 0, 0, 0, 2, + 0, 0, 2, 0, 0, 0, 2, 0, + 2, 0, 0, 0, 2, 0, 0, 2, + 0, 0, 0, 0, 0, 2, 0, 0, + 0, 2, 0, 2, 2, 2, 2, 2, + 0, 2, 3, 3, 3, 2, 2, 2, + 2, 0, 2, 3, 3, 2, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2, 2, 0, 0, 0, + 0, 0, 2, 3, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2, 0, 0, + 0, 0, 2, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2, 0, 0, 0, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 2, 2, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 0, 0, 0, + 0, 3, 2, 0, 2, 3, 2, 0, + 2, 3, 2, 0, 2, 3, 3, 3, + 0, 2, 2, 0, 3, 0, 2, 2, + 0, 3, 0, 2, 2, 0, 3, 0, + 2, 2, 3, 0, 0, 0, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 0, 2, + 2, 2, 2, 2, 2, 2, 2, 3, + 2, 2, 3, 2, 2, 2, 3, 2, + 2, 2, 3, 2, 2, 2, 3, 2, + 3, 2, 2, 3, 3, 3, 2, 3, + 2, 2, 3, 3, 0, 2, 2, 2, + 2, 2, 2, 0, 3, 3, 3, 0, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 0, 3, 3, 3, 3, 3, + 0, 2, 2, 2, 2, 2, 2, 2, + 3, 3, 3, 2, 0, 0, 0, 0, + 0, 2, 3, 0, 0, 0, 0, 2, + 2, 2, 2, 2, 2, 0, 2, 3, + 3, 3, 3, 0, 2, 2, 2, 2, + 0, 2, 3, 3, 3, 0, 2, 2, + 2, 2, 2, 2, 6, 11, 2, 3, + 6, 3, 11, 3, 3, 3, 2, 2, + 2, 2, 6, 3, 3, 2, 2, 2, + 2, 6, 3, 3, 2, 2, 2, 2, + 6, 3, 3, 3, 0, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 3, 3, + 3, 3, 3, 3, 3, 3, 0, 0, + 2, 0, 0, 0, 2, 0, 2, 0, + 0, 2, 0, 0, 0, 0, 0, 2, + 2, 0, 0, 2, 0, 0, 0, 2, + 0, 0, 0, 2, 0, 0, 0, 0, + 2, 0, 0, 0, 2, 0, 0, 0, + 2, 2, 0, 0, 0, 0, 2, 0, + 2, 0, 0, 0, 0, 2, 0, 0, + 0, 2, 0, 0, 0, 0, 0, 0, + 0, 2, 0, 0, 2, 2, 0, 0, + 2, 0, 2, 0, 2, 2, 0, 0, + 0, 0, 2, 2, 0, 0, 0, 0, + 2, 0, 2, 2, 0, 2, 2, 0, + 0, 0, 0, 2, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2, 0, 0, + 2, 0, 2, 0, 0, 0, 2, 2, + 0, 0, 0, 0, 0, 2, 0, 2, + 0, 2, 0, 2, 0, 0, 0, 2, + 0, 0, 2, 0, 0, 0, 2, 0, + 2, 0, 0, 0, 2, 0, 0, 2, + 0, 0, 0, 0, 0, 2, 0, 0, + 0, 0, 2, 2, 2, 2, 2, 2, + 2, 3, 3, 3, 0, 2, 0, 2, + 2, 2, 2, 2, 2, 2, 2, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 3, 0, 2, + 3, 3, 3, 0, 2, 2, 2, 2, + 2, 2, 0, 0, 0, 3, 3, 3, + 0, 2, 2, 2, 2, 2, 2, 0, + 2, 3, 3, 3, 3, 0, 2, 2, + 0, 0, 3, 0, 2, 2, 2, 2, + 2, 2, 0, 2, 3, 3, 3, 3, + 0, 2, 2, 0, 3, 0, 2, 2, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 3, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2, + 2, 2, 2, 0, 3, 3, 0, 2, + 2, 2, 2, 0, 3, 3, 0, 2, + 2, 0, 0, 3, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 0, 0, + 0, 0, 0, 0, 0, 0, 2, 0, + 2, 3, 0, 2, 3, 0, 2, 3, + 2, 0, 2, 3, 3, 0, 0, 2, + 3, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2, 3, 0, 0, 2, 3, + 2, 3, 2, 3, 2, 3, 0, 0, + 0, 0, 2, 3, 0, 2, 3, 0, + 2, 3, 0, 6, 3, 11, 3, 11, + 3, 0, 0, 0, 0, 0, 0, 0, + 2, 3, 0, 0, 2, 3, 0, 0, + 0, 0, 0, 0, 0 +}; + +static const short _zone_scanner_cond_keys[] = { + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 58, 59, 59, + 60, 127, -128, 9, 10, 10, 11, 58, + 59, 59, 60, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 58, 59, 59, 60, 127, -128, 9, + 10, 10, 11, 58, 59, 59, 60, 127, + -128, 9, 10, 10, 11, 58, 59, 59, + 60, 127, -128, 9, 10, 10, 11, 58, + 59, 59, 60, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 58, 59, 59, 60, 127, + -128, 9, 10, 10, 11, 58, 59, 59, + 60, 127, -128, 9, 10, 10, 11, 58, + 59, 59, 60, 127, -128, 9, 10, 10, + 11, 58, 59, 59, 60, 127, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 58, 59, 59, + 60, 127, -128, 9, 10, 10, 11, 58, + 59, 59, 60, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 41, 41, 10, 10, + 10, 10, 10, 10, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 9, 9, 10, 10, 32, 32, + 40, 40, 41, 41, 59, 59, 9, 9, + 10, 10, 32, 32, 40, 40, 41, 41, + 43, 43, 47, 47, 48, 57, 59, 59, + 65, 90, 97, 122, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 9, 9, + 10, 10, 32, 32, 40, 40, 41, 41, + 59, 59, -128, 9, 10, 10, 11, 127, + 9, 9, 10, 10, 32, 32, 40, 40, + 41, 41, 43, 43, 47, 47, 48, 57, + 59, 59, 65, 90, 97, 122, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 9, 9, 10, 10, 32, 32, 40, 40, + 41, 41, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 9, 9, 10, 10, 32, 32, 40, 40, + 41, 41, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 9, 9, 10, 10, 32, 32, 40, 40, + 41, 41, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, 10, 10, 59, 59, + 10, 10, 59, 59, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, 10, 10, 59, 59, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 10, 10, 59, 59, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 9, 9, 10, 10, 32, 32, + 40, 40, 41, 41, 59, 59, -128, 9, + 10, 10, 11, 127, 9, 9, 10, 10, + 32, 32, 40, 40, 41, 41, 43, 43, + 47, 47, 48, 57, 59, 59, 65, 90, + 97, 122, -128, 9, 10, 10, 11, 127, + 9, 9, 10, 10, 32, 32, 40, 40, + 41, 41, 43, 43, 47, 47, 48, 57, + 59, 59, 65, 90, 97, 122, -128, 9, + 10, 10, 11, 127, 10, 10, 59, 59, + -128, 9, 10, 10, 11, 127, 10, 10, + 59, 59, -128, 9, 10, 10, 11, 127, + 0 +}; + +static const char _zone_scanner_cond_spaces[] = { + 0, 0, 0, 0, 0, 0, 7, 7, + 7, 7, 0, 0, 0, 0, 0, 0, + 0, 7, 7, 7, 7, 0, 0, 0, + 7, 7, 0, 0, 0, 0, 7, 7, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 0, 0, 0, 0, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 7, 7, 7, + 7, 7, 7, 7, 7, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 7, 7, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 7, 7, + 7, 7, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 7, 7, 7, 7, 7, 7, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 7, 7, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2, 3, 4, + 4, 4, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 7, + 7, 0, 0, 0, 7, 7, 7, 7, + 7, 7, 7, 7, 0, 0, 0, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 0, 0, 0, + 0, 0, 0, 0, 0, 7, 7, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 7, 7, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 7, 7, 7, + 7, 7, 7, 0, 0, 0, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 7, 7, 7, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 0, 0, 0, 7, + 7, 7, 7, 0, 0, 0, 7, 7, + 7, 7, 7, 7, 0, 0, 0, 7, + 7, 7, 7, 7, 7, 0, 0, 0, + 7, 7, 7, 7, 7, 7, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 7, 7, 7, 7, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 7, 7, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 7, 7, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 10, 13, 10, 10, 10, 13, 5, + 8, 5, 5, 5, 5, 5, 5, 8, + 5, 5, 1, 1, 8, 8, 8, 6, + 11, 6, 6, 6, 11, 9, 9, 9, + 10, 13, 10, 10, 10, 5, 5, 5, + 13, 5, 5, 12, 12, 12, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 10, 13, 10, 10, + 10, 13, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 10, 13, 10, 10, 10, 13, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 10, 13, 10, 10, + 10, 13, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 7, 7, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 7, 7, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 7, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 7, 7, 7, 7, 7, + 7, 0, 0, 7, 7, 0, 0, 0, + 7, 7, 0, 0, 0, 7, 7, 0, + 0, 0, 0, 0, 7, 7, 0, 0, + 0, 0, 0, 0, 7, 7, 0, 0, + 0, 7, 7, 0, 0, 0, 7, 7, + 0, 0, 0, 7, 7, 0, 0, 0, + 7, 7, 0, 0, 0, 7, 7, 0, + 0, 0, 7, 7, 0, 0, 0, 7, + 7, 0, 0, 0, 7, 7, 0, 0, + 0, 6, 11, 6, 6, 6, 11, 9, + 9, 9, 5, 8, 5, 5, 5, 5, + 5, 5, 8, 5, 5, 8, 8, 8, + 10, 13, 10, 10, 10, 5, 5, 5, + 13, 5, 5, 12, 12, 12, 7, 7, + 0, 0, 0, 7, 7, 0, 0, 0, + 0 +}; + +static const short _zone_scanner_key_offsets[] = { + 0, 0, 44, 62, 102, 118, 135, 143, + 151, 152, 153, 156, 175, 194, 200, 256, + 276, 318, 328, 330, 340, 354, 368, 372, + 374, 376, 378, 380, 390, 400, 402, 404, + 414, 416, 418, 420, 430, 432, 434, 436, + 446, 452, 454, 456, 458, 468, 472, 474, + 476, 486, 488, 490, 492, 502, 512, 514, + 516, 518, 519, 529, 530, 540, 544, 546, + 548, 550, 560, 562, 564, 566, 576, 580, + 586, 626, 628, 630, 632, 634, 636, 638, + 640, 650, 654, 656, 666, 676, 682, 683, + 693, 694, 704, 706, 716, 726, 730, 732, + 734, 736, 746, 756, 762, 764, 766, 768, + 778, 780, 790, 802, 804, 815, 827, 829, + 831, 833, 835, 845, 847, 849, 851, 853, + 855, 857, 859, 861, 863, 873, 875, 877, + 887, 893, 903, 905, 907, 909, 919, 929, + 941, 943, 945, 947, 949, 959, 961, 971, + 973, 983, 985, 995, 997, 999, 1001, 1011, + 1013, 1015, 1025, 1031, 1033, 1035, 1045, 1047, + 1057, 1059, 1061, 1063, 1075, 1077, 1079, 1089, + 1091, 1093, 1095, 1097, 1099, 1109, 1112, 1156, + 1160, 1166, 1208, 1226, 1234, 1246, 1254, 1257, + 1258, 1264, 1266, 1268, 1270, 1272, 1274, 1276, + 1282, 1288, 1330, 1333, 1351, 1393, 1396, 1404, + 1416, 1424, 1427, 1443, 1497, 1515, 1534, 1578, + 1584, 1598, 1612, 1668, 1686, 1700, 1710, 1722, + 1734, 1746, 1760, 1772, 1786, 1796, 1806, 1820, + 1840, 1854, 1864, 1874, 1880, 1894, 1896, 1898, + 1900, 1902, 1904, 1910, 1912, 1914, 1920, 1928, + 1948, 1992, 1998, 2016, 2072, 2090, 2104, 2114, + 2126, 2138, 2150, 2164, 2176, 2190, 2200, 2210, + 2224, 2244, 2258, 2268, 2278, 2293, 2337, 2351, + 2365, 2381, 2397, 2399, 2401, 2411, 2413, 2415, + 2417, 2427, 2429, 2439, 2445, 2459, 2473, 2489, + 2505, 2521, 2537, 2540, 2596, 2610, 2624, 2640, + 2652, 2660, 2670, 2680, 2690, 2702, 2712, 2724, + 2732, 2740, 2752, 2770, 2782, 2790, 2798, 2804, + 2810, 2820, 2826, 2835, 2836, 2837, 2848, 2864, + 2880, 2882, 2884, 2886, 2902, 2908, 2914, 2920, + 2932, 2938, 2940, 2942, 2954, 2962, 2970, 2976, + 2982, 2984, 2986, 2994, 3000, 3008, 3028, 3036, + 3037, 3047, 3059, 3069, 3072, 3078, 3094, 3104, + 3122, 3130, 3131, 3133, 3135, 3137, 3147, 3155, + 3158, 3164, 3176, 3184, 3202, 3212, 3230, 3238, + 3239, 3241, 3243, 3245, 3255, 3263, 3269, 3285, + 3288, 3291, 3298, 3305, 3313, 3321, 3338, 3341, + 3342, 3352, 3396, 3412, 3414, 3416, 3426, 3429, + 3439, 3441, 3451, 3455, 3457, 3459, 3461, 3463, + 3473, 3483, 3485, 3487, 3497, 3499, 3501, 3503, + 3513, 3515, 3517, 3519, 3529, 3535, 3537, 3539, + 3541, 3551, 3555, 3557, 3559, 3569, 3571, 3573, + 3575, 3585, 3595, 3597, 3599, 3601, 3602, 3612, + 3613, 3623, 3627, 3629, 3631, 3633, 3643, 3645, + 3647, 3649, 3659, 3661, 3663, 3665, 3667, 3669, + 3671, 3673, 3683, 3687, 3689, 3699, 3709, 3715, + 3716, 3726, 3727, 3737, 3739, 3749, 3759, 3763, + 3765, 3767, 3769, 3779, 3789, 3795, 3797, 3799, + 3801, 3811, 3813, 3823, 3835, 3837, 3848, 3860, + 3862, 3864, 3866, 3868, 3878, 3880, 3882, 3884, + 3886, 3888, 3890, 3892, 3894, 3896, 3906, 3908, + 3910, 3920, 3926, 3936, 3938, 3940, 3942, 3952, + 3962, 3974, 3976, 3978, 3980, 3982, 3992, 3994, + 4004, 4006, 4016, 4018, 4028, 4030, 4032, 4034, + 4044, 4046, 4048, 4058, 4064, 4066, 4068, 4078, + 4080, 4090, 4092, 4094, 4096, 4108, 4110, 4112, + 4122, 4124, 4126, 4128, 4130, 4132, 4142, 4144, + 4146, 4148, 4158, 4160, 4170, 4176, 4184, 4192, + 4204, 4210, 4226, 4229, 4232, 4235, 4241, 4250, + 4260, 4272, 4278, 4294, 4297, 4300, 4308, 4311, + 4317, 4318, 4319, 4320, 4328, 4329, 4330, 4338, + 4339, 4340, 4342, 4343, 4344, 4345, 4346, 4354, + 4355, 4356, 4357, 4358, 4366, 4367, 4368, 4370, + 4380, 4381, 4382, 4383, 4384, 4385, 4386, 4387, + 4388, 4389, 4390, 4391, 4392, 4393, 4394, 4402, + 4403, 4404, 4405, 4413, 4423, 4440, 4441, 4442, + 4443, 4444, 4451, 4461, 4464, 4465, 4466, 4467, + 4475, 4482, 4489, 4497, 4505, 4513, 4523, 4524, + 4531, 4539, 4547, 4564, 4565, 4566, 4567, 4569, + 4570, 4571, 4572, 4573, 4574, 4578, 4581, 4586, + 4589, 4603, 4606, 4607, 4608, 4609, 4610, 4611, + 4619, 4626, 4635, 4642, 4660, 4667, 4668, 4669, + 4671, 4684, 4690, 4700, 4701, 4702, 4703, 4704, + 4705, 4706, 4707, 4708, 4709, 4714, 4718, 4720, + 4724, 4735, 4739, 4740, 4741, 4742, 4743, 4744, + 4745, 4746, 4747, 4748, 4749, 4750, 4751, 4752, + 4753, 4763, 4764, 4765, 4766, 4767, 4770, 4772, + 4775, 4787, 4803, 4804, 4816, 4824, 4828, 4834, + 4836, 4843, 4845, 4847, 4849, 4851, 4852, 4853, + 4855, 4857, 4859, 4860, 4866, 4870, 4874, 4875, + 4877, 4879, 4881, 4883, 4889, 4891, 4893, 4895, + 4897, 4898, 4899, 4901, 4903, 4905, 4906, 4907, + 4908, 4914, 4915, 4916, 4918, 4920, 4922, 4923, + 4924, 4925, 4931, 4933, 4934, 4935, 4936, 4937, + 4943, 4944, 4945, 4951, 4953, 4955, 4957, 4959, + 4961, 4963, 4965, 4971, 4973, 4975, 4977, 4979, + 4981, 4983, 4987, 4989, 4991, 4997, 4999, 5001, + 5007, 5009, 5011, 5015, 5017, 5018, 5024, 5026, + 5028, 5031, 5038, 5040, 5042, 5044, 5046, 5047, + 5048, 5050, 5052, 5054, 5055, 5061, 5062, 5063, + 5069, 5070, 5071, 5077, 5091, 5099, 5101, 5103, + 5105, 5107, 5109, 5115, 5121, 5123, 5125, 5127, + 5129, 5131, 5137, 5141, 5143, 5149, 5151, 5153, + 5159, 5161, 5163, 5165, 5171, 5173, 5175, 5181, + 5185, 5187, 5193, 5195, 5197, 5203, 5205, 5207, + 5209, 5215, 5217, 5219, 5225, 5228, 5237, 5246, + 5252, 5261, 5267, 5282, 5288, 5296, 5304, 5312, + 5330, 5338, 5356, 5364, 5382, 5390, 5408, 5416, + 5428, 5436, 5439, 5447, 5459, 5467, 5470, 5478, + 5490, 5498, 5501, 5509, 5521, 5529, 5532, 5535, + 5538, 5544, 5550, 5562, 5568, 5571, 5580, 5586, + 5601, 5607, 5610, 5612, 5620, 5635, 5641, 5644, + 5650, 5660, 5676, 5679, 5686, 5699, 5701, 5709, + 5719, 5727, 5737, 5746, 5754, 5760, 5768, 5776, + 5786, 5794, 5804, 5813, 5821, 5827, 5836, 5838, + 5852, 5864, 5878, 5890, 5904, 5916, 5930, 5940, + 5943, 5956, 5969, 5972, 5985, 5998, 6008, 6011, + 6024, 6037, 6047, 6050, 6063, 6076, 6086, 6089, + 6095, 6098, 6106, 6114, 6117, 6120, 6123, 6129, + 6132, 6140, 6148, 6151, 6154, 6156, 6164, 6172, + 6180, 6188, 6196, 6211, 6217, 6220, 6223, 6226, + 6228, 6236, 6244, 6252, 6264, 6270, 6282, 6288, + 6300, 6306, 6321, 6327, 6330, 6333, 6336, 6339, + 6342, 6348, 6354, 6362, 6370, 6382, 6388, 6401, + 6403, 6406, 6409, 6412, 6425, 6427, 6428, 6431, + 6434, 6436, 6448, 6451, 6452, 6459, 6466, 6468, + 6476, 6488, 6494, 6502, 6510, 6522, 6528, 6544, + 6547, 6550, 6553, 6556, 6558, 6566, 6574, 6582, + 6594, 6600, 6616, 6619, 6622, 6625, 6627, 6635, + 6645, 6651, 6659, 6667, 6674, 6708, 6721, 6723, + 6726, 6740, 6743, 6784, 6793, 6796, 6799, 6805, + 6813, 6821, 6830, 6867, 6870, 6873, 6879, 6887, + 6895, 6908, 6949, 6952, 6955, 6961, 6969, 6977, + 6992, 7026, 7029, 7032, 7035, 7069, 7081, 7093, + 7099, 7107, 7115, 7123, 7131, 7139, 7147, 7155, + 7163, 7171, 7179, 7194, 7200, 7213, 7215, 7218, + 7221, 7224, 7227, 7230, 7233, 7236, 7239, 7241, + 7243, 7249, 7251, 7253, 7255, 7261, 7263, 7269, + 7279, 7281, 7287, 7291, 7293, 7295, 7297, 7299, + 7305, 7311, 7313, 7315, 7321, 7323, 7325, 7327, + 7333, 7335, 7337, 7339, 7345, 7351, 7353, 7355, + 7357, 7363, 7367, 7369, 7371, 7377, 7379, 7381, + 7383, 7389, 7395, 7397, 7399, 7401, 7402, 7408, + 7409, 7415, 7419, 7421, 7423, 7425, 7431, 7433, + 7435, 7437, 7443, 7445, 7447, 7449, 7451, 7453, + 7455, 7457, 7463, 7467, 7469, 7475, 7481, 7487, + 7488, 7494, 7495, 7501, 7503, 7509, 7515, 7519, + 7521, 7523, 7525, 7531, 7537, 7543, 7545, 7547, + 7549, 7555, 7557, 7563, 7571, 7573, 7580, 7588, + 7590, 7592, 7594, 7596, 7602, 7604, 7606, 7608, + 7610, 7612, 7614, 7616, 7618, 7620, 7626, 7628, + 7630, 7636, 7642, 7648, 7650, 7652, 7654, 7660, + 7666, 7678, 7680, 7682, 7684, 7686, 7692, 7694, + 7700, 7702, 7708, 7710, 7716, 7718, 7720, 7722, + 7728, 7730, 7732, 7738, 7744, 7746, 7748, 7754, + 7756, 7762, 7764, 7766, 7768, 7776, 7778, 7780, + 7786, 7788, 7790, 7792, 7794, 7796, 7802, 7811, + 7817, 7823, 7825, 7833, 7841, 7849, 7861, 7867, + 7880, 7882, 7885, 7888, 7891, 7898, 7900, 7902, + 7910, 7918, 7926, 7934, 7942, 7955, 7961, 7973, + 7979, 7986, 7992, 7999, 8006, 8012, 8019, 8031, + 8037, 8038, 8039, 8040, 8041, 8042, 8045, 8051, + 8063, 8066, 8069, 8072, 8074, 8082, 8090, 8098, + 8106, 8114, 8127, 8133, 8139, 8151, 8154, 8157, + 8160, 8162, 8170, 8178, 8186, 8194, 8202, 8214, + 8220, 8236, 8239, 8242, 8245, 8248, 8250, 8258, + 8266, 8274, 8280, 8283, 8285, 8293, 8301, 8309, + 8317, 8325, 8337, 8343, 8359, 8362, 8365, 8368, + 8371, 8373, 8381, 8390, 8399, 8402, 8404, 8412, + 8424, 8430, 8436, 8442, 8443, 8449, 8455, 8461, + 8467, 8474, 8477, 8483, 8489, 8490, 8496, 8502, + 8509, 8515, 8521, 8522, 8528, 8534, 8541, 8543, + 8551, 8559, 8567, 8579, 8585, 8588, 8591, 8593, + 8601, 8613, 8619, 8631, 8637, 8640, 8643, 8645, + 8653, 8668, 8674, 8680, 8683, 8701, 8734, 8786, + 8840, 8858, 8912, 8930, 8963, 9032, 9101, 9101, + 9101, 9101, 9101, 9113, 9113, 9113, 9113, 9129, + 9129, 9146, 9149, 9149, 9193, 9196, 9196, 9212, + 9215, 9227, 9227, 9243, 9246, 9249, 9249, 9249, + 9266, 9269, 9269, 9269, 9269, 9269, 9269, 9269, + 9269, 9269, 9269, 9285, 9288, 9288, 9288, 9298, + 9301, 9313, 9316, 9328, 9331, 9343, 9346, 9346, + 9346, 9346, 9346, 9359, 9362, 9362, 9378, 9381, + 9381, 9397, 9400, 9400, 9414, 9417, 9430, 9433, + 9474, 9483, 9483, 9483, 9483, 9483, 9483, 9483, + 9483, 9499, 9502, 9502, 9502, 9518, 9521, 9521, + 9521, 9521, 9521, 9521, 9521 +}; + +static const short _zone_scanner_trans_keys[] = { + 9, 32, 40, 41, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 79, 80, + 82, 83, 84, 85, 90, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 111, + 112, 114, 115, 116, 117, 122, 1802, 1851, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 2058, 2107, 48, 57, 9, 32, + 40, 41, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 79, 80, 82, 83, + 84, 85, 90, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 111, 112, 114, + 115, 116, 117, 122, 2058, 2107, 9, 32, + 40, 41, 65, 70, 80, 97, 102, 112, + 3082, 3131, 3338, 3387, 3594, 3643, 9, 32, + 40, 41, 92, 3082, 3131, 3338, 3387, 3594, + 3643, -128, 8, 11, 58, 60, 127, 9, + 32, 40, 41, 1802, 1851, 2058, 2107, 9, + 32, 40, 41, 1802, 1851, 2058, 2107, 10, + 35, 2058, 1920, 2175, 9, 32, 40, 41, + 92, 2826, 2875, 3082, 3131, 3338, 3387, 3594, + 3643, -128, 8, 11, 58, 60, 127, 9, + 32, 40, 41, 92, 2826, 2875, 3082, 3131, + 3338, 3387, 3594, 3643, -128, 8, 11, 58, + 60, 127, 1802, 2058, 1664, 1919, 1920, 2175, + 9, 32, 40, 41, 58, 65, 67, 68, + 69, 72, 73, 75, 76, 77, 78, 79, + 80, 82, 83, 84, 85, 90, 92, 97, + 99, 100, 101, 104, 105, 107, 108, 109, + 110, 111, 112, 114, 115, 116, 117, 122, + 2826, 2875, 3082, 3131, 3338, 3387, 3594, 3643, + -128, 8, 11, 47, 48, 57, 60, 127, + 9, 32, 40, 41, 68, 72, 77, 83, + 87, 100, 104, 109, 115, 119, 1802, 1851, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 79, 80, 82, 83, 84, 85, + 90, 97, 99, 100, 101, 104, 105, 107, + 108, 109, 110, 111, 112, 114, 115, 116, + 117, 122, 1802, 1851, 2058, 2107, 65, 68, + 69, 78, 83, 97, 100, 101, 110, 115, + 65, 97, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 1801, 1802, 1824, 1832, + 1833, 1851, 2057, 2058, 2080, 2088, 2089, 2107, + 1920, 2175, 1801, 1802, 1824, 1832, 1833, 1851, + 2057, 2058, 2080, 2088, 2089, 2107, 1920, 2175, + 78, 83, 110, 115, 83, 115, 75, 107, + 69, 101, 89, 121, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 82, 114, 84, 116, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 65, 97, + 77, 109, 69, 101, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 89, 121, + 78, 110, 67, 99, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 72, 78, + 83, 104, 110, 115, 67, 99, 73, 105, + 68, 100, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 65, 83, 97, 115, + 77, 109, 69, 101, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 75, 107, + 69, 101, 89, 121, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 85, 117, 73, 105, 52, 54, 56, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 52, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 73, 84, 105, 116, + 78, 110, 70, 102, 79, 111, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 84, 116, 80, 112, 83, 115, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 78, 80, 110, 112, 9, 32, 40, 41, + 2058, 2107, 9, 32, 40, 41, 65, 67, + 68, 69, 72, 73, 75, 76, 77, 78, + 79, 80, 82, 83, 84, 85, 90, 97, + 99, 100, 101, 104, 105, 107, 108, 109, + 110, 111, 112, 114, 115, 116, 117, 122, + 2058, 2107, 80, 112, 83, 115, 69, 101, + 67, 99, 75, 107, 69, 101, 89, 121, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 69, 88, 101, 120, 89, 121, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 51, 54, 79, 80, + 111, 112, 50, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 52, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 67, 99, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 73, 88, + 105, 120, 78, 110, 70, 102, 79, 111, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 65, 73, 83, 97, + 105, 115, 80, 112, 84, 116, 82, 114, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 68, 100, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 9, 32, + 40, 41, 69, 101, 3082, 3131, 3338, 3387, + 3594, 3643, 67, 99, 9, 32, 40, 41, + 51, 3082, 3131, 3338, 3387, 3594, 3643, 9, + 32, 40, 41, 80, 112, 3082, 3131, 3338, + 3387, 3594, 3643, 65, 97, 82, 114, 65, + 97, 77, 109, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 80, 112, 69, + 101, 78, 110, 80, 112, 71, 103, 80, + 112, 75, 107, 69, 101, 89, 121, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 84, 116, 82, 114, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 80, + 82, 84, 112, 114, 116, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 83, + 115, 73, 105, 71, 103, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 77, 79, 80, 82, 83, 86, 109, + 111, 112, 114, 115, 118, 73, 105, 77, + 109, 69, 101, 65, 97, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 65, + 97, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 70, 102, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 86, + 118, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 72, 104, 70, 102, 80, + 112, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 67, 99, 66, 98, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 76, 88, 89, 108, 120, 121, 83, + 115, 65, 97, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 84, 116, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 80, 112, 69, 101, 48, 57, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 48, 57, 82, 114, 73, 105, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 79, 111, 78, 110, 69, 101, 77, + 109, 68, 100, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 2058, 1920, 2175, + 9, 32, 40, 41, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 79, 80, + 82, 83, 84, 85, 90, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 111, + 112, 114, 115, 116, 117, 122, 1802, 1851, + 2058, 2107, 48, 57, 78, 80, 110, 112, + 9, 32, 40, 41, 2058, 2107, 9, 32, + 40, 41, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 79, 80, 82, 83, + 84, 85, 90, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 111, 112, 114, + 115, 116, 117, 122, 2058, 2107, 48, 57, + 9, 32, 40, 41, 68, 72, 77, 83, + 87, 100, 104, 109, 115, 119, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 68, 72, 77, 83, 87, 100, + 104, 109, 115, 119, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 2058, 1920, + 2175, 10, 73, 79, 84, 105, 111, 116, + 78, 110, 67, 99, 76, 108, 85, 117, + 68, 100, 69, 101, 32, 59, 9, 10, + 40, 41, 9, 32, 40, 41, 2058, 2107, + 9, 32, 40, 41, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 79, 80, + 82, 83, 84, 85, 90, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 111, + 112, 114, 115, 116, 117, 122, 2058, 2107, + 48, 57, 2058, 1920, 2175, 9, 32, 40, + 41, 68, 72, 77, 83, 87, 100, 104, + 109, 115, 119, 2058, 2107, 48, 57, 9, + 32, 40, 41, 65, 67, 68, 69, 72, + 73, 75, 76, 77, 78, 79, 80, 82, + 83, 84, 85, 90, 97, 99, 100, 101, + 104, 105, 107, 108, 109, 110, 111, 112, + 114, 115, 116, 117, 122, 2058, 2107, 48, + 57, 2058, 1920, 2175, 9, 32, 40, 41, + 2058, 2107, 48, 57, 68, 72, 77, 83, + 87, 100, 104, 109, 115, 119, 48, 57, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 2058, 1920, 2175, 9, 32, 40, 41, 65, + 70, 80, 97, 102, 112, 3082, 3131, 3338, + 3387, 3594, 3643, 9, 32, 40, 41, 58, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 79, 80, 82, 83, 84, 85, + 90, 92, 97, 99, 100, 101, 104, 105, + 107, 108, 109, 110, 111, 112, 114, 115, + 116, 117, 122, 3082, 3131, 3338, 3387, 3594, + 3643, -128, 8, 11, 47, 48, 57, 60, + 127, 9, 32, 40, 41, 65, 70, 80, + 97, 102, 112, 2826, 2875, 3082, 3131, 3338, + 3387, 3594, 3643, 9, 32, 40, 41, 92, + 2826, 2875, 3082, 3131, 3338, 3387, 3594, 3643, + -128, 8, 11, 58, 60, 127, 9, 32, + 40, 41, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 79, 80, 82, 83, + 84, 85, 90, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 111, 112, 114, + 115, 116, 117, 122, 1802, 1851, 2058, 2107, + 48, 57, 1802, 2058, 1664, 1919, 1920, 2175, + 9, 32, 40, 41, 1802, 1851, 2058, 2107, + -128, 8, 11, 58, 60, 127, 9, 32, + 40, 41, 1802, 1851, 2058, 2107, -128, 8, + 11, 58, 60, 127, 9, 32, 40, 41, + 58, 65, 67, 68, 69, 72, 73, 75, + 76, 77, 78, 79, 80, 82, 83, 84, + 85, 90, 92, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 111, 112, 114, + 115, 116, 117, 122, 2826, 2875, 3082, 3131, + 3338, 3387, 3594, 3643, -128, 8, 11, 47, + 48, 57, 60, 127, 9, 32, 40, 41, + 65, 68, 69, 78, 83, 97, 100, 101, + 110, 115, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 72, 78, 83, 104, 110, 115, + 1802, 1851, 2058, 2107, 9, 32, 40, 41, + 85, 117, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 73, 84, 105, 116, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 78, 80, + 110, 112, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 69, 88, 101, 120, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 51, 54, + 79, 80, 111, 112, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 73, 88, 105, 120, + 1802, 1851, 2058, 2107, 9, 32, 40, 41, + 65, 73, 83, 97, 105, 115, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 80, 112, + 1802, 1851, 2058, 2107, 9, 32, 40, 41, + 84, 116, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 80, 82, 84, 112, 114, 116, + 1802, 1851, 2058, 2107, 9, 32, 40, 41, + 77, 79, 80, 82, 83, 86, 109, 111, + 112, 114, 115, 118, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 76, 88, 89, 108, + 120, 121, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 82, 114, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 79, 111, 1802, 1851, + 2058, 2107, 1802, 2058, 1664, 1919, 1920, 2175, + 9, 32, 40, 41, 73, 79, 84, 105, + 111, 116, 1802, 1851, 2058, 2107, 82, 114, + 73, 105, 71, 103, 73, 105, 78, 110, + 32, 59, 9, 10, 40, 41, 84, 116, + 76, 108, 32, 59, 9, 10, 40, 41, + 9, 32, 40, 41, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 68, 72, 77, 83, + 87, 100, 104, 109, 115, 119, 1802, 1851, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 79, 80, 82, 83, 84, 85, + 90, 97, 99, 100, 101, 104, 105, 107, + 108, 109, 110, 111, 112, 114, 115, 116, + 117, 122, 1802, 1851, 2058, 2107, 48, 57, + 1802, 2058, 1664, 1919, 1920, 2175, 9, 32, + 40, 41, 65, 70, 80, 97, 102, 112, + 2826, 2875, 3082, 3131, 3338, 3387, 3594, 3643, + 9, 32, 40, 41, 58, 65, 67, 68, + 69, 72, 73, 75, 76, 77, 78, 79, + 80, 82, 83, 84, 85, 90, 92, 97, + 99, 100, 101, 104, 105, 107, 108, 109, + 110, 111, 112, 114, 115, 116, 117, 122, + 2826, 2875, 3082, 3131, 3338, 3387, 3594, 3643, + -128, 8, 11, 47, 48, 57, 60, 127, + 9, 32, 40, 41, 65, 68, 69, 78, + 83, 97, 100, 101, 110, 115, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 72, 78, + 83, 104, 110, 115, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 85, 117, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 73, 84, + 105, 116, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 78, 80, 110, 112, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 69, 88, + 101, 120, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 51, 54, 79, 80, 111, 112, + 1802, 1851, 2058, 2107, 9, 32, 40, 41, + 73, 88, 105, 120, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 65, 73, 83, 97, + 105, 115, 1802, 1851, 2058, 2107, 9, 32, + 40, 41, 80, 112, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 84, 116, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 80, 82, + 84, 112, 114, 116, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 77, 79, 80, 82, + 83, 86, 109, 111, 112, 114, 115, 118, + 1802, 1851, 2058, 2107, 9, 32, 40, 41, + 76, 88, 89, 108, 120, 121, 1802, 1851, + 2058, 2107, 9, 32, 40, 41, 82, 114, + 1802, 1851, 2058, 2107, 9, 32, 40, 41, + 79, 111, 1802, 1851, 2058, 2107, 9, 32, + 35, 40, 41, 1802, 1851, 2058, 2107, -128, + 8, 11, 58, 60, 127, 9, 32, 40, + 41, 65, 67, 68, 69, 72, 73, 75, + 76, 77, 78, 79, 80, 82, 83, 84, + 85, 90, 97, 99, 100, 101, 104, 105, + 107, 108, 109, 110, 111, 112, 114, 115, + 116, 117, 122, 1802, 1851, 2058, 2107, 48, + 57, 1801, 1802, 1824, 1832, 1833, 1851, 2057, + 2058, 2080, 2088, 2089, 2107, 1920, 2175, 1801, + 1802, 1824, 1832, 1833, 1851, 2057, 2058, 2080, + 2088, 2089, 2107, 1920, 2175, 1801, 1802, 1824, + 1832, 1833, 1851, 2057, 2058, 2080, 2088, 2089, + 2107, 1664, 1919, 1920, 2175, 1801, 1802, 1824, + 1832, 1833, 1851, 2057, 2058, 2080, 2088, 2089, + 2107, 1664, 1919, 1920, 2175, 65, 97, 65, + 97, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 83, 115, 68, 100, 66, + 98, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 76, 108, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 1802, + 2058, 1664, 1919, 1920, 2175, 9, 32, 40, + 41, 1802, 1851, 2058, 2107, -128, 8, 11, + 58, 60, 127, 9, 32, 40, 41, 1802, + 1851, 2058, 2107, -128, 8, 11, 58, 60, + 127, 1801, 1802, 1824, 1832, 1833, 1851, 2057, + 2058, 2080, 2088, 2089, 2107, 1664, 1919, 1920, + 2175, 1801, 1802, 1824, 1832, 1833, 1851, 2057, + 2058, 2080, 2088, 2089, 2107, 1664, 1919, 1920, + 2175, 1801, 1802, 1824, 1832, 1833, 1851, 2057, + 2058, 2080, 2088, 2089, 2107, 1664, 1919, 1920, + 2175, 1801, 1802, 1824, 1832, 1833, 1851, 2057, + 2058, 2080, 2088, 2089, 2107, 1664, 1919, 1920, + 2175, 2058, 1920, 2175, 9, 32, 40, 41, + 58, 65, 67, 68, 69, 72, 73, 75, + 76, 77, 78, 79, 80, 82, 83, 84, + 85, 90, 92, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 111, 112, 114, + 115, 116, 117, 122, 2826, 2875, 3082, 3131, + 3338, 3387, 3594, 3643, -128, 8, 11, 47, + 48, 57, 60, 127, 1801, 1802, 1824, 1832, + 1833, 1851, 2057, 2058, 2080, 2088, 2089, 2107, + 1920, 2175, 1801, 1802, 1824, 1832, 1833, 1851, + 2057, 2058, 2080, 2088, 2089, 2107, 1920, 2175, + 9, 32, 40, 41, 65, 68, 69, 78, + 83, 97, 100, 101, 110, 115, 2058, 2107, + 9, 32, 40, 41, 72, 78, 83, 104, + 110, 115, 2058, 2107, 9, 32, 40, 41, + 85, 117, 2058, 2107, 9, 32, 40, 41, + 73, 84, 105, 116, 2058, 2107, 9, 32, + 40, 41, 78, 80, 110, 112, 2058, 2107, + 9, 32, 40, 41, 69, 88, 101, 120, + 2058, 2107, 9, 32, 40, 41, 51, 54, + 79, 80, 111, 112, 2058, 2107, 9, 32, + 40, 41, 73, 88, 105, 120, 2058, 2107, + 9, 32, 40, 41, 65, 73, 83, 97, + 105, 115, 2058, 2107, 9, 32, 40, 41, + 80, 112, 2058, 2107, 9, 32, 40, 41, + 84, 116, 2058, 2107, 9, 32, 40, 41, + 80, 82, 84, 112, 114, 116, 2058, 2107, + 9, 32, 40, 41, 77, 79, 80, 82, + 83, 86, 109, 111, 112, 114, 115, 118, + 2058, 2107, 9, 32, 40, 41, 76, 88, + 89, 108, 120, 121, 2058, 2107, 9, 32, + 40, 41, 82, 114, 2058, 2107, 9, 32, + 40, 41, 79, 111, 2058, 2107, 1802, 2058, + 1664, 1919, 1920, 2175, 1802, 2058, 1664, 1919, + 1920, 2175, 9, 32, 40, 41, 78, 80, + 110, 112, 2058, 2107, 1802, 2058, 1664, 1919, + 1920, 2175, 266, 522, 1065, -128, 9, 11, + 40, 42, 127, 10, 10, 42, 46, 64, + 92, 95, 45, 57, 65, 90, 97, 122, + 32, 42, 46, 59, 92, 95, 9, 10, + 40, 41, 45, 57, 65, 90, 97, 122, + 32, 42, 45, 59, 92, 95, 9, 10, + 40, 41, 47, 57, 65, 90, 97, 122, + 48, 57, 48, 57, 48, 57, 32, 42, + 46, 59, 92, 95, 9, 10, 40, 41, + 45, 57, 65, 90, 97, 122, 32, 59, + 9, 10, 40, 41, 32, 59, 9, 10, + 40, 41, 34, 92, 33, 58, 60, 126, + 32, 33, 59, 92, 9, 10, 35, 39, + 40, 41, 42, 126, 32, 47, 48, 57, + 58, 126, 48, 57, 48, 57, 32, 33, + 59, 92, 9, 10, 35, 39, 40, 41, + 42, 126, 9, 32, 34, 59, 92, 1546, + 33, 126, 9, 32, 34, 59, 92, 1546, + 33, 126, 32, 59, 9, 10, 40, 41, + 32, 47, 48, 57, 58, 126, 48, 57, + 48, 57, 9, 32, 34, 59, 92, 1546, + 33, 126, 9, 32, 40, 41, 2058, 2107, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 68, 72, 77, 83, + 87, 100, 104, 109, 115, 119, 1802, 1851, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 1802, 1851, 2058, 2107, 10, 9, 32, 40, + 41, 1802, 1851, 2058, 2107, 48, 57, 68, + 72, 77, 83, 87, 100, 104, 109, 115, + 119, 48, 57, 9, 32, 40, 41, 1802, + 1851, 2058, 2107, 48, 57, 2058, 1920, 2175, + 9, 32, 40, 41, 2058, 2107, 9, 32, + 40, 41, 42, 46, 92, 95, 2058, 2107, + 45, 57, 65, 90, 97, 122, 42, 46, + 92, 95, 45, 57, 65, 90, 97, 122, + 9, 32, 40, 41, 42, 45, 92, 95, + 1802, 1851, 2058, 2107, 47, 57, 65, 90, + 97, 122, 9, 32, 40, 41, 1802, 1851, + 2058, 2107, 10, 48, 57, 48, 57, 48, + 57, 42, 46, 92, 95, 45, 57, 65, + 90, 97, 122, 9, 32, 40, 41, 1802, + 1851, 2058, 2107, 2058, 1920, 2175, 9, 32, + 40, 41, 2058, 2107, 9, 32, 40, 41, + 2058, 2107, -128, 8, 11, 58, 60, 127, + 9, 32, 40, 41, 1802, 1851, 2058, 2107, + 9, 32, 40, 41, 42, 46, 92, 95, + 1802, 1851, 2058, 2107, 45, 57, 65, 90, + 97, 122, 42, 46, 92, 95, 45, 57, + 65, 90, 97, 122, 9, 32, 40, 41, + 42, 45, 92, 95, 1802, 1851, 2058, 2107, + 47, 57, 65, 90, 97, 122, 9, 32, + 40, 41, 1802, 1851, 2058, 2107, 10, 48, + 57, 48, 57, 48, 57, 42, 46, 92, + 95, 45, 57, 65, 90, 97, 122, 9, + 32, 40, 41, 1802, 1851, 2058, 2107, 1802, + 2058, 1664, 1919, 1920, 2175, 9, 32, 40, + 41, 42, 46, 92, 95, 2058, 2107, 45, + 57, 65, 90, 97, 122, 2058, 1920, 2175, + 2058, 1920, 2175, 43, 47, 57, 65, 90, + 97, 122, 43, 47, 57, 65, 90, 97, + 122, 43, 61, 47, 57, 65, 90, 97, + 122, 43, 61, 47, 57, 65, 90, 97, + 122, 9, 32, 40, 41, 43, 3082, 3131, + 3338, 3387, 3594, 3643, 47, 57, 65, 90, + 97, 122, 2058, 1920, 2175, 61, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 9, 32, 40, 41, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 79, 80, + 82, 83, 84, 85, 90, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 111, + 112, 114, 115, 116, 117, 122, 3082, 3131, + 3338, 3387, 3594, 3643, 9, 32, 40, 41, + 65, 70, 80, 97, 102, 112, 3082, 3131, + 3338, 3387, 3594, 3643, 65, 97, 65, 97, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 2058, 1920, 2175, 65, 68, 69, + 78, 83, 97, 100, 101, 110, 115, 65, + 97, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 78, 83, 110, 115, 83, + 115, 75, 107, 69, 101, 89, 121, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 82, 114, 84, 116, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 65, 97, 77, 109, 69, 101, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 89, 121, 78, 110, 67, 99, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 72, 78, 83, 104, 110, 115, 67, + 99, 73, 105, 68, 100, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 65, + 83, 97, 115, 77, 109, 69, 101, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 75, 107, 69, 101, 89, 121, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 85, 117, 73, 105, 52, + 54, 56, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 52, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 73, + 84, 105, 116, 78, 110, 70, 102, 79, + 111, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 84, 116, 80, 112, 83, + 115, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 80, 112, 83, 115, 69, + 101, 67, 99, 75, 107, 69, 101, 89, + 121, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 69, 88, 101, 120, 89, + 121, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 51, 54, 79, + 80, 111, 112, 50, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 52, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 67, 99, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 73, + 88, 105, 120, 78, 110, 70, 102, 79, + 111, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 65, 73, 83, + 97, 105, 115, 80, 112, 84, 116, 82, + 114, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 68, 100, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 9, + 32, 40, 41, 69, 101, 3082, 3131, 3338, + 3387, 3594, 3643, 67, 99, 9, 32, 40, + 41, 51, 3082, 3131, 3338, 3387, 3594, 3643, + 9, 32, 40, 41, 80, 112, 3082, 3131, + 3338, 3387, 3594, 3643, 65, 97, 82, 114, + 65, 97, 77, 109, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 80, 112, + 69, 101, 78, 110, 80, 112, 71, 103, + 80, 112, 75, 107, 69, 101, 89, 121, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 84, 116, 82, 114, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 80, 82, 84, 112, 114, 116, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 83, 115, 73, 105, 71, 103, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 77, 79, 80, 82, 83, 86, + 109, 111, 112, 114, 115, 118, 73, 105, + 77, 109, 69, 101, 65, 97, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 65, 97, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 70, 102, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 86, 118, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 72, 104, 70, 102, + 80, 112, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 67, 99, 66, 98, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 76, 88, 89, 108, 120, 121, + 83, 115, 65, 97, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 84, 116, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 80, 112, 69, 101, 48, 57, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 82, 114, 73, 105, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 79, 111, 78, 110, 69, 101, + 77, 109, 68, 100, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 83, 115, + 68, 100, 66, 98, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 76, 108, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 9, 32, 40, 41, 2058, 2107, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 65, 70, 97, 102, 48, 57, 65, 70, + 97, 102, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 48, 57, 65, 70, + 97, 102, 2058, 1920, 2175, 2058, 1920, 2175, + 2058, 1920, 2175, 9, 32, 40, 41, 2058, + 2107, 9, 32, 40, 41, 48, 2058, 2107, + 49, 57, 9, 32, 40, 41, 1802, 1851, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 65, 70, 97, 102, + 48, 57, 65, 70, 97, 102, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 48, 57, 65, 70, 97, 102, 2058, 1920, + 2175, 2058, 1920, 2175, 9, 32, 40, 41, + 2058, 2107, 48, 57, 2058, 1920, 2175, 97, + 101, 105, 107, 110, 112, 108, 112, 110, + 32, 34, 44, 59, 9, 10, 40, 41, + 99, 104, 32, 34, 44, 59, 9, 10, + 40, 41, 112, 118, 52, 54, 104, 105, + 110, 116, 32, 34, 44, 59, 9, 10, + 40, 41, 104, 105, 110, 116, 32, 34, + 44, 59, 9, 10, 40, 41, 101, 121, + 48, 57, 32, 34, 44, 59, 9, 10, + 40, 41, 48, 57, 111, 45, 100, 101, + 102, 97, 117, 108, 116, 45, 97, 108, + 112, 110, 32, 34, 44, 59, 9, 10, + 40, 41, 111, 114, 116, 32, 34, 44, + 59, 9, 10, 40, 41, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 9, + 32, 40, 41, 97, 101, 105, 107, 109, + 110, 112, 3082, 3131, 3338, 3387, 3594, 3643, + 108, 112, 110, 61, 32, 34, 59, 9, + 10, 40, 41, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 2058, 1920, 2175, + 99, 104, 61, 34, 43, 47, 57, 65, + 90, 97, 122, 43, 47, 57, 65, 90, + 97, 122, 43, 47, 57, 65, 90, 97, + 122, 43, 61, 47, 57, 65, 90, 97, + 122, 43, 61, 47, 57, 65, 90, 97, + 122, 34, 43, 47, 57, 65, 90, 97, + 122, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 61, 43, 47, 57, 65, + 90, 97, 122, 43, 61, 47, 57, 65, + 90, 97, 122, 43, 61, 47, 57, 65, + 90, 97, 122, 9, 32, 40, 41, 43, + 3082, 3131, 3338, 3387, 3594, 3643, 47, 57, + 65, 90, 97, 122, 61, 112, 118, 52, + 54, 104, 105, 110, 116, 61, 34, 46, + 48, 57, 46, 48, 57, 34, 44, 46, + 48, 57, 46, 48, 57, 9, 32, 40, + 41, 44, 46, 3082, 3131, 3338, 3387, 3594, + 3643, 48, 57, 46, 48, 57, 104, 105, + 110, 116, 61, 34, 46, 48, 58, 65, + 70, 97, 102, 46, 48, 58, 65, 70, + 97, 102, 34, 44, 46, 48, 58, 65, + 70, 97, 102, 46, 48, 58, 65, 70, + 97, 102, 9, 32, 40, 41, 44, 46, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 58, + 65, 70, 97, 102, 46, 48, 58, 65, + 70, 97, 102, 101, 121, 48, 57, 9, + 32, 40, 41, 61, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 32, 59, 9, 10, + 40, 41, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 97, 110, 100, 97, + 116, 111, 114, 121, 61, 34, 65, 90, + 97, 122, 65, 90, 97, 122, 34, 44, + 65, 90, 97, 122, 9, 32, 40, 41, + 44, 3082, 3131, 3338, 3387, 3594, 3643, 65, + 90, 97, 122, 111, 45, 100, 101, 102, + 97, 117, 108, 116, 45, 97, 108, 112, + 110, 9, 32, 40, 41, 3082, 3131, 3338, + 3387, 3594, 3643, 111, 114, 116, 61, 34, + 48, 57, 48, 57, 34, 48, 57, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 48, 57, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, -128, 8, 11, + 58, 60, 127, 34, 68, 69, 73, 80, + 82, 100, 101, 105, 112, 114, 48, 57, + 32, 59, 9, 10, 40, 41, 48, 57, + 72, 83, 104, 115, 32, 59, 9, 10, + 40, 41, 65, 97, 32, 45, 59, 9, + 10, 40, 41, 78, 110, 83, 115, 69, + 101, 67, 99, 51, 45, 83, 115, 72, + 104, 65, 97, 49, 32, 59, 9, 10, + 40, 41, 67, 68, 99, 100, 67, 68, + 99, 100, 45, 71, 103, 79, 111, 83, + 115, 84, 116, 32, 59, 9, 10, 40, + 41, 83, 115, 65, 97, 80, 112, 50, + 51, 53, 54, 83, 115, 72, 104, 65, + 97, 50, 53, 54, 32, 59, 9, 10, + 40, 41, 56, 52, 83, 115, 72, 104, + 65, 97, 51, 56, 52, 32, 59, 9, + 10, 40, 41, 50, 52, 53, 53, 49, + 57, 32, 59, 9, 10, 40, 41, 52, + 56, 32, 59, 9, 10, 40, 41, 78, + 110, 68, 100, 73, 105, 82, 114, 69, + 101, 67, 99, 84, 116, 32, 59, 9, + 10, 40, 41, 82, 114, 73, 105, 86, + 118, 65, 97, 84, 116, 69, 101, 68, + 79, 100, 111, 78, 110, 83, 115, 32, + 59, 9, 10, 40, 41, 73, 105, 68, + 100, 32, 59, 9, 10, 40, 41, 83, + 115, 65, 97, 77, 83, 109, 115, 68, + 100, 53, 32, 59, 9, 10, 40, 41, + 72, 104, 65, 97, 49, 50, 53, 32, + 45, 59, 9, 10, 40, 41, 78, 110, + 83, 115, 69, 101, 67, 99, 51, 45, + 83, 115, 72, 104, 65, 97, 49, 32, + 59, 9, 10, 40, 41, 53, 54, 32, + 59, 9, 10, 40, 41, 49, 50, 32, + 59, 9, 10, 40, 41, 65, 73, 79, + 80, 83, 85, 97, 105, 111, 112, 115, + 117, 48, 57, 32, 59, 9, 10, 40, + 41, 48, 57, 67, 99, 80, 112, 75, + 107, 73, 105, 88, 120, 32, 59, 9, + 10, 40, 41, 65, 80, 83, 97, 112, + 115, 67, 99, 80, 112, 75, 107, 73, + 105, 88, 120, 32, 59, 9, 10, 40, + 41, 71, 75, 103, 107, 80, 112, 32, + 59, 9, 10, 40, 41, 73, 105, 88, + 120, 32, 59, 9, 10, 40, 41, 80, + 112, 75, 107, 73, 105, 32, 59, 9, + 10, 40, 41, 73, 105, 68, 100, 32, + 59, 9, 10, 40, 41, 71, 75, 103, + 107, 80, 112, 32, 59, 9, 10, 40, + 41, 73, 105, 88, 120, 32, 59, 9, + 10, 40, 41, 80, 112, 75, 107, 73, + 105, 32, 59, 9, 10, 40, 41, 82, + 114, 73, 105, 32, 59, 9, 10, 40, + 41, 46, 48, 57, 32, 46, 59, 9, + 10, 40, 41, 48, 57, 42, 92, 95, + 45, 57, 64, 90, 97, 122, 32, 59, + 9, 10, 40, 41, 42, 92, 95, 45, + 57, 64, 90, 97, 122, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 42, + 92, 95, 2058, 2107, 45, 57, 64, 90, + 97, 122, 9, 32, 40, 41, 2058, 2107, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 68, 72, 77, 83, + 87, 100, 104, 109, 115, 119, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 68, 72, + 77, 83, 87, 100, 104, 109, 115, 119, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 32, 59, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 9, 10, 40, 41, 48, 57, + 32, 59, 9, 10, 40, 41, 48, 57, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 48, 57, 32, 59, 9, 10, + 40, 41, 48, 57, 2058, 1920, 2175, 9, + 32, 40, 41, 2058, 2107, 48, 57, 68, + 72, 77, 83, 87, 100, 104, 109, 115, + 119, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 2058, 1920, 2175, 9, 32, + 40, 41, 2058, 2107, 48, 57, 68, 72, + 77, 83, 87, 100, 104, 109, 115, 119, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 2058, 1920, 2175, 9, 32, 40, + 41, 2058, 2107, 48, 57, 68, 72, 77, + 83, 87, 100, 104, 109, 115, 119, 48, + 57, 9, 32, 40, 41, 2058, 2107, 48, + 57, 2058, 1920, 2175, 2058, 1920, 2175, 2058, + 1920, 2175, 32, 59, 9, 10, 40, 41, + 9, 32, 40, 41, 2058, 2107, 9, 32, + 40, 41, 2058, 2107, -128, 8, 11, 58, + 60, 127, 32, 59, 9, 10, 40, 41, + 2058, 1920, 2175, 42, 92, 95, 45, 57, + 64, 90, 97, 122, 9, 32, 40, 41, + 2058, 2107, 9, 32, 40, 41, 42, 92, + 95, 2058, 2107, 45, 57, 64, 90, 97, + 122, 32, 59, 9, 10, 40, 41, 2058, + 1920, 2175, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 42, 92, 95, 2058, 2107, 45, 57, 64, + 90, 97, 122, 32, 59, 9, 10, 40, + 41, 2058, 1920, 2175, 32, 59, 9, 10, + 40, 41, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, -128, 8, + 11, 58, 60, 127, 2058, 1920, 2175, 46, + 48, 58, 65, 70, 97, 102, 32, 46, + 59, 9, 10, 40, 41, 48, 58, 65, + 70, 97, 102, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 78, 83, 2058, 2107, 48, 57, 9, + 32, 40, 41, 2058, 2107, 48, 57, 9, + 32, 40, 41, 78, 83, 2058, 2107, 48, + 57, 9, 32, 40, 41, 46, 2058, 2107, + 48, 57, 9, 32, 40, 41, 78, 83, + 2058, 2107, 9, 32, 40, 41, 2058, 2107, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 9, 32, 40, 41, 69, 87, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 69, 87, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 46, 2058, 2107, 48, 57, 9, 32, 40, + 41, 69, 87, 2058, 2107, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 45, + 2058, 2107, 48, 57, 48, 57, 9, 32, + 40, 41, 46, 109, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 57, + 9, 32, 40, 41, 46, 109, 3082, 3131, + 3338, 3387, 3594, 3643, 48, 57, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 48, 57, 9, 32, 40, 41, 46, 109, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 57, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 9, 32, 40, 41, + 46, 109, 3082, 3131, 3338, 3387, 3594, 3643, + 48, 57, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 2058, 1920, 2175, 9, + 32, 40, 41, 109, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 9, 32, 40, 41, + 109, 3082, 3131, 3338, 3387, 3594, 3643, 48, + 57, 2058, 1920, 2175, 9, 32, 40, 41, + 109, 3082, 3131, 3338, 3387, 3594, 3643, 48, + 57, 9, 32, 40, 41, 109, 3082, 3131, + 3338, 3387, 3594, 3643, 48, 57, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 2058, 1920, 2175, 9, 32, 40, 41, 109, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 57, + 9, 32, 40, 41, 109, 3082, 3131, 3338, + 3387, 3594, 3643, 48, 57, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 2058, + 1920, 2175, 9, 32, 40, 41, 109, 3082, + 3131, 3338, 3387, 3594, 3643, 48, 57, 9, + 32, 40, 41, 109, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 2058, 1920, + 2175, 9, 32, 40, 41, 2058, 2107, 2058, + 1920, 2175, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 2058, 1920, 2175, 2058, 1920, 2175, + 2058, 1920, 2175, 9, 32, 40, 41, 2058, + 2107, 2058, 1920, 2175, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 2058, 1920, 2175, 2058, + 1920, 2175, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 42, 92, 95, 2058, 2107, 45, 57, 64, + 90, 97, 122, 32, 59, 9, 10, 40, + 41, 2058, 1920, 2175, 2058, 1920, 2175, 2058, + 1920, 2175, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, -128, 8, 11, 58, 60, 127, + 9, 32, 40, 41, 2058, 2107, 9, 32, + 40, 41, 2058, 2107, -128, 8, 11, 58, + 60, 127, 9, 32, 40, 41, 2058, 2107, + 9, 32, 40, 41, 2058, 2107, -128, 8, + 11, 58, 60, 127, 9, 32, 40, 41, + 2058, 2107, 9, 32, 40, 41, 42, 92, + 95, 2058, 2107, 45, 57, 64, 90, 97, + 122, 32, 59, 9, 10, 40, 41, 2058, + 1920, 2175, 2058, 1920, 2175, 2058, 1920, 2175, + 2058, 1920, 2175, 2058, 1920, 2175, 48, 57, + 65, 90, 97, 122, 9, 32, 40, 41, + 2058, 2107, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 65, 90, 97, 122, 9, 32, + 40, 41, 2058, 2107, 9, 32, 40, 41, + 43, 2058, 2107, 47, 57, 65, 90, 97, + 122, 2570, 2619, 2058, 1920, 2175, 2058, 1920, + 2175, 2058, 1920, 2175, 9, 32, 33, 40, + 41, 49, 50, 3082, 3131, 3338, 3387, 3594, + 3643, 49, 50, 58, 46, 48, 57, 47, + 46, 57, 48, 57, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 57, + 2058, 1920, 2175, 58, 46, 48, 58, 65, + 70, 97, 102, 47, 46, 58, 65, 70, + 97, 102, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 65, 90, 97, 122, + 9, 32, 40, 41, 2058, 2107, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 65, 70, + 97, 102, 48, 57, 65, 70, 97, 102, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 65, 70, 97, 102, + 2058, 1920, 2175, 2058, 1920, 2175, 2058, 1920, + 2175, 2058, 1920, 2175, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 65, 70, + 97, 102, 48, 57, 65, 70, 97, 102, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 48, 57, 65, 70, 97, 102, + 2058, 1920, 2175, 2058, 1920, 2175, 2058, 1920, + 2175, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 48, + 49, 50, 51, 2058, 2107, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 46, + 2058, 2107, 7177, 7200, 7208, 7209, 7433, 7456, + 7464, 7465, 7689, 7712, 7720, 7721, 10506, 10555, + 10762, 10811, 11274, 11323, 11530, 11579, 11786, 11835, + 12298, 12347, 12554, 12603, 12810, 12859, 13322, 13371, + 13578, 13627, 13834, 13883, 4105, 4128, 4136, 4137, + 4139, 5130, 5179, 4143, 4153, 4161, 4186, 4193, + 4218, 2570, 2619, 5130, 4992, 5247, 5641, 5664, + 5672, 5673, 14602, 14651, 14858, 14907, 15370, 15419, + 15626, 15675, 15882, 15931, 6666, 6528, 6783, 4139, + 7177, 7200, 7208, 7209, 7433, 7456, 7464, 7465, + 7689, 7712, 7720, 7721, 10506, 10555, 10762, 10811, + 11274, 11323, 11530, 11579, 11786, 11835, 12298, 12347, + 12554, 12603, 12810, 12859, 13322, 13371, 13578, 13627, + 13834, 13883, 4143, 4153, 4161, 4186, 4193, 4218, + 8714, 9226, 9738, 8576, 8831, 9088, 9343, 9600, + 9855, 2058, 1920, 2175, 2058, 1920, 2175, 9, + 32, 40, 41, 2058, 2107, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 46, 2058, 2107, 48, 57, 46, 7177, + 7200, 7208, 7209, 7433, 7456, 7464, 7465, 7689, + 7712, 7720, 7721, 10506, 10555, 10762, 10811, 11274, + 11323, 11530, 11579, 11786, 11835, 12298, 12347, 12554, + 12603, 12810, 12859, 13322, 13371, 13578, 13627, 13834, + 13883, 48, 57, 2058, 1920, 2175, 2058, 1920, + 2175, 9, 32, 40, 41, 2058, 2107, 9, + 32, 40, 41, 2058, 2107, 48, 57, 9, + 32, 40, 41, 2058, 2107, 48, 57, 9, + 32, 40, 41, 46, 2058, 2107, 48, 58, + 65, 70, 97, 102, 46, 7177, 7200, 7208, + 7209, 7433, 7456, 7464, 7465, 7689, 7712, 7720, + 7721, 10506, 10555, 10762, 10811, 11274, 11323, 11530, + 11579, 11786, 11835, 12298, 12347, 12554, 12603, 12810, + 12859, 13322, 13371, 13578, 13627, 13834, 13883, 48, + 58, 65, 70, 97, 102, 2058, 1920, 2175, + 2058, 1920, 2175, 9, 32, 40, 41, 2058, + 2107, 9, 32, 40, 41, 2058, 2107, 48, + 57, 9, 32, 40, 41, 2058, 2107, 48, + 57, 9, 32, 40, 41, 42, 92, 95, + 2058, 2107, 45, 57, 64, 90, 97, 122, + 7177, 7200, 7208, 7209, 7433, 7456, 7464, 7465, + 7689, 7712, 7720, 7721, 10506, 10555, 10762, 10811, + 11274, 11323, 11530, 11579, 11786, 11835, 12298, 12347, + 12554, 12603, 12810, 12859, 13322, 13371, 13578, 13627, + 13834, 13883, 2058, 1920, 2175, 2058, 1920, 2175, + 2058, 1920, 2175, 65, 67, 68, 69, 72, + 73, 75, 76, 77, 78, 79, 80, 82, + 83, 84, 85, 90, 97, 99, 100, 101, + 104, 105, 107, 108, 109, 110, 111, 112, + 114, 115, 116, 117, 122, 9, 32, 40, + 41, 65, 70, 80, 97, 102, 112, 2058, + 2107, 9, 32, 40, 41, 2058, 2107, 48, + 57, 65, 90, 97, 122, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 2058, + 2107, 48, 57, 9, 32, 40, 41, 42, + 92, 95, 2058, 2107, 45, 57, 64, 90, + 97, 122, 9, 32, 40, 41, 2058, 2107, + 9, 32, 40, 41, 43, 2058, 2107, 47, + 57, 65, 90, 97, 122, 2570, 2619, 2058, + 1920, 2175, 2058, 1920, 2175, 2058, 1920, 2175, + 2058, 1920, 2175, 2058, 1920, 2175, 2058, 1920, + 2175, 2058, 1920, 2175, 2058, 1920, 2175, 65, + 97, 65, 97, 9, 32, 40, 41, 2058, + 2107, 83, 115, 68, 100, 66, 98, 9, + 32, 40, 41, 2058, 2107, 76, 108, 9, + 32, 40, 41, 2058, 2107, 65, 68, 69, + 78, 83, 97, 100, 101, 110, 115, 65, + 97, 9, 32, 40, 41, 2058, 2107, 78, + 83, 110, 115, 83, 115, 75, 107, 69, + 101, 89, 121, 9, 32, 40, 41, 2058, + 2107, 9, 32, 40, 41, 2058, 2107, 82, + 114, 84, 116, 9, 32, 40, 41, 2058, + 2107, 65, 97, 77, 109, 69, 101, 9, + 32, 40, 41, 2058, 2107, 89, 121, 78, + 110, 67, 99, 9, 32, 40, 41, 2058, + 2107, 72, 78, 83, 104, 110, 115, 67, + 99, 73, 105, 68, 100, 9, 32, 40, + 41, 2058, 2107, 65, 83, 97, 115, 77, + 109, 69, 101, 9, 32, 40, 41, 2058, + 2107, 75, 107, 69, 101, 89, 121, 9, + 32, 40, 41, 2058, 2107, 9, 32, 40, + 41, 2058, 2107, 85, 117, 73, 105, 52, + 54, 56, 9, 32, 40, 41, 2058, 2107, + 52, 9, 32, 40, 41, 2058, 2107, 73, + 84, 105, 116, 78, 110, 70, 102, 79, + 111, 9, 32, 40, 41, 2058, 2107, 84, + 116, 80, 112, 83, 115, 9, 32, 40, + 41, 2058, 2107, 80, 112, 83, 115, 69, + 101, 67, 99, 75, 107, 69, 101, 89, + 121, 9, 32, 40, 41, 2058, 2107, 69, + 88, 101, 120, 89, 121, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 2058, + 2107, 51, 54, 79, 80, 111, 112, 50, + 9, 32, 40, 41, 2058, 2107, 52, 9, + 32, 40, 41, 2058, 2107, 67, 99, 9, + 32, 40, 41, 2058, 2107, 9, 32, 40, + 41, 2058, 2107, 73, 88, 105, 120, 78, + 110, 70, 102, 79, 111, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 2058, + 2107, 65, 73, 83, 97, 105, 115, 80, + 112, 84, 116, 82, 114, 9, 32, 40, + 41, 2058, 2107, 68, 100, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 69, + 101, 2058, 2107, 67, 99, 9, 32, 40, + 41, 51, 2058, 2107, 9, 32, 40, 41, + 80, 112, 2058, 2107, 65, 97, 82, 114, + 65, 97, 77, 109, 9, 32, 40, 41, + 2058, 2107, 80, 112, 69, 101, 78, 110, + 80, 112, 71, 103, 80, 112, 75, 107, + 69, 101, 89, 121, 9, 32, 40, 41, + 2058, 2107, 84, 116, 82, 114, 9, 32, + 40, 41, 2058, 2107, 80, 82, 84, 112, + 114, 116, 9, 32, 40, 41, 2058, 2107, + 83, 115, 73, 105, 71, 103, 9, 32, + 40, 41, 2058, 2107, 9, 32, 40, 41, + 2058, 2107, 77, 79, 80, 82, 83, 86, + 109, 111, 112, 114, 115, 118, 73, 105, + 77, 109, 69, 101, 65, 97, 9, 32, + 40, 41, 2058, 2107, 65, 97, 9, 32, + 40, 41, 2058, 2107, 70, 102, 9, 32, + 40, 41, 2058, 2107, 86, 118, 9, 32, + 40, 41, 2058, 2107, 72, 104, 70, 102, + 80, 112, 9, 32, 40, 41, 2058, 2107, + 67, 99, 66, 98, 9, 32, 40, 41, + 2058, 2107, 76, 88, 89, 108, 120, 121, + 83, 115, 65, 97, 9, 32, 40, 41, + 2058, 2107, 84, 116, 9, 32, 40, 41, + 2058, 2107, 80, 112, 69, 101, 48, 57, + 9, 32, 40, 41, 2058, 2107, 48, 57, + 82, 114, 73, 105, 9, 32, 40, 41, + 2058, 2107, 79, 111, 78, 110, 69, 101, + 77, 109, 68, 100, 9, 32, 40, 41, + 2058, 2107, 42, 92, 95, 45, 57, 64, + 90, 97, 122, 32, 59, 9, 10, 40, + 41, 32, 59, 9, 10, 40, 41, 48, + 57, 9, 32, 40, 41, 2058, 2107, 48, + 57, 9, 32, 40, 41, 2058, 2107, 48, + 57, 9, 32, 40, 41, 2058, 2107, 48, + 57, 9, 32, 40, 41, 2058, 2107, 48, + 57, 65, 90, 97, 122, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 43, + 2058, 2107, 47, 57, 65, 90, 97, 122, + 2570, 2619, 2058, 1920, 2175, 2058, 1920, 2175, + 2058, 1920, 2175, 43, 47, 57, 65, 90, + 97, 122, 2570, 2619, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 2058, 2107, 48, 57, 9, 32, + 40, 41, 45, 2058, 2107, 48, 57, 65, + 70, 97, 102, 9, 32, 40, 41, 2058, + 2107, 9, 32, 40, 41, 2058, 2107, 48, + 57, 65, 86, 97, 118, 48, 57, 65, + 86, 97, 118, 61, 48, 57, 65, 86, + 97, 118, 48, 57, 65, 86, 97, 118, + 61, 48, 57, 65, 86, 97, 118, 61, + 48, 57, 65, 86, 97, 118, 48, 57, + 65, 86, 97, 118, 61, 48, 57, 65, + 86, 97, 118, 32, 59, 9, 10, 40, + 41, 48, 57, 65, 86, 97, 118, 32, + 59, 9, 10, 40, 41, 61, 61, 61, + 61, 61, 2058, 1920, 2175, 48, 57, 65, + 70, 97, 102, 9, 32, 40, 41, 2058, + 2107, 48, 57, 65, 70, 97, 102, 2058, + 1920, 2175, 2058, 1920, 2175, 2058, 1920, 2175, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 45, 2058, + 2107, 48, 57, 65, 70, 97, 102, 32, + 59, 9, 10, 40, 41, 48, 57, 65, + 70, 97, 102, 32, 59, 9, 10, 40, + 41, 48, 57, 65, 70, 97, 102, 2058, + 1920, 2175, 2058, 1920, 2175, 2058, 1920, 2175, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 65, 70, 97, 102, 48, 57, + 65, 70, 97, 102, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 57, + 65, 70, 97, 102, 2058, 1920, 2175, 2058, + 1920, 2175, 2058, 1920, 2175, 2058, 1920, 2175, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 48, 57, 32, 59, 9, 10, 40, 41, + 48, 57, 32, 59, 9, 10, 40, 41, + 2058, 1920, 2175, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 65, 70, 97, + 102, 48, 57, 65, 70, 97, 102, 9, + 32, 40, 41, 3082, 3131, 3338, 3387, 3594, + 3643, 48, 57, 65, 70, 97, 102, 2058, + 1920, 2175, 2058, 1920, 2175, 2058, 1920, 2175, + 2058, 1920, 2175, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 46, 2058, 2107, 48, 57, 32, 46, + 59, 9, 10, 40, 41, 48, 57, 2058, + 1920, 2175, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 9, 32, 40, 41, + 2058, 2107, 48, 57, 65, 70, 97, 102, + 48, 57, 65, 70, 97, 102, 48, 57, + 65, 70, 97, 102, 48, 57, 65, 70, + 97, 102, 58, 48, 57, 65, 70, 97, + 102, 48, 57, 65, 70, 97, 102, 48, + 57, 65, 70, 97, 102, 48, 57, 65, + 70, 97, 102, 32, 58, 59, 9, 10, + 40, 41, 2058, 1920, 2175, 48, 57, 65, + 70, 97, 102, 48, 57, 65, 70, 97, + 102, 45, 48, 57, 65, 70, 97, 102, + 48, 57, 65, 70, 97, 102, 32, 45, + 59, 9, 10, 40, 41, 48, 57, 65, + 70, 97, 102, 48, 57, 65, 70, 97, + 102, 45, 48, 57, 65, 70, 97, 102, + 48, 57, 65, 70, 97, 102, 32, 45, + 59, 9, 10, 40, 41, 48, 57, 9, + 32, 40, 41, 2058, 2107, 48, 57, 9, + 32, 40, 41, 2058, 2107, 48, 57, 9, + 32, 40, 41, 2058, 2107, 48, 57, 9, + 32, 40, 41, 2058, 2107, -128, 8, 11, + 58, 60, 127, 32, 59, 9, 10, 40, + 41, 2058, 1920, 2175, 2058, 1920, 2175, 48, + 57, 9, 32, 40, 41, 2058, 2107, 48, + 57, 9, 32, 40, 41, 2058, 2107, -128, + 8, 11, 58, 60, 127, 9, 32, 40, + 41, 2058, 2107, 9, 32, 40, 41, 2058, + 2107, -128, 8, 11, 58, 60, 127, 32, + 59, 9, 10, 40, 41, 2058, 1920, 2175, + 2058, 1920, 2175, 48, 57, 9, 32, 40, + 41, 2058, 2107, 48, 57, 9, 32, 40, + 41, 42, 92, 95, 2058, 2107, 45, 57, + 64, 90, 97, 122, 32, 59, 9, 10, + 40, 41, 32, 59, 9, 10, 40, 41, + 2058, 1920, 2175, 9, 32, 36, 40, 41, + 42, 92, 95, 1802, 1851, 2058, 2107, 45, + 57, 64, 90, 97, 122, 9, 32, 36, + 40, 41, 42, 58, 92, 95, 2826, 2875, + 3082, 3131, 3338, 3387, 3594, 3643, -128, 8, + 11, 44, 45, 57, 60, 63, 64, 90, + 91, 96, 97, 122, 123, 127, 9, 32, + 36, 40, 41, 42, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 79, 80, + 82, 83, 84, 85, 90, 92, 95, 97, + 99, 100, 101, 104, 105, 107, 108, 109, + 110, 111, 112, 114, 115, 116, 117, 122, + 1802, 1851, 2058, 2107, 45, 57, 64, 89, + 98, 121, 9, 32, 36, 40, 41, 42, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 79, 80, 82, 83, 84, 85, + 90, 92, 95, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 111, 112, 114, + 115, 116, 117, 122, 1802, 1851, 2058, 2107, + 45, 47, 48, 57, 64, 89, 98, 121, + 9, 32, 36, 40, 41, 42, 92, 95, + 1802, 1851, 2058, 2107, 45, 57, 64, 90, + 97, 122, 9, 32, 36, 40, 41, 42, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 79, 80, 82, 83, 84, 85, + 90, 92, 95, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 111, 112, 114, + 115, 116, 117, 122, 1802, 1851, 2058, 2107, + 45, 47, 48, 57, 64, 89, 98, 121, + 9, 32, 36, 40, 41, 42, 92, 95, + 1802, 1851, 2058, 2107, 45, 57, 64, 90, + 97, 122, 9, 32, 36, 40, 41, 42, + 58, 92, 95, 2826, 2875, 3082, 3131, 3338, + 3387, 3594, 3643, -128, 8, 11, 44, 45, + 57, 60, 63, 64, 90, 91, 96, 97, + 122, 123, 127, 9, 32, 36, 40, 41, + 42, 58, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 79, 80, 82, 83, + 84, 85, 90, 92, 95, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 111, + 112, 114, 115, 116, 117, 122, 2826, 2875, + 3082, 3131, 3338, 3387, 3594, 3643, -128, 8, + 11, 44, 45, 47, 48, 57, 60, 63, + 64, 89, 91, 96, 98, 121, 123, 127, + 9, 32, 36, 40, 41, 42, 58, 65, + 67, 68, 69, 72, 73, 75, 76, 77, + 78, 79, 80, 82, 83, 84, 85, 90, + 92, 95, 97, 99, 100, 101, 104, 105, + 107, 108, 109, 110, 111, 112, 114, 115, + 116, 117, 122, 2826, 2875, 3082, 3131, 3338, + 3387, 3594, 3643, -128, 8, 11, 44, 45, + 47, 48, 57, 60, 63, 64, 89, 91, + 96, 98, 121, 123, 127, 32, 33, 59, + 92, 9, 10, 35, 39, 40, 41, 42, + 126, 9, 32, 40, 41, 42, 46, 92, + 95, 2058, 2107, 45, 57, 65, 90, 97, + 122, 9, 32, 40, 41, 43, 3082, 3131, + 3338, 3387, 3594, 3643, 47, 57, 65, 90, + 97, 122, 2058, 1920, 2175, 9, 32, 40, + 41, 65, 67, 68, 69, 72, 73, 75, + 76, 77, 78, 79, 80, 82, 83, 84, + 85, 90, 97, 99, 100, 101, 104, 105, + 107, 108, 109, 110, 111, 112, 114, 115, + 116, 117, 122, 3082, 3131, 3338, 3387, 3594, + 3643, 2058, 1920, 2175, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 57, + 65, 70, 97, 102, 2058, 1920, 2175, 9, + 32, 40, 41, 2058, 2107, 48, 57, 65, + 70, 97, 102, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 48, 57, 65, + 70, 97, 102, 2058, 1920, 2175, 2058, 1920, + 2175, 9, 32, 40, 41, 97, 101, 105, + 107, 109, 110, 112, 3082, 3131, 3338, 3387, + 3594, 3643, 2058, 1920, 2175, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, -128, + 8, 11, 58, 60, 127, 2058, 1920, 2175, + 9, 32, 40, 41, 3082, 3131, 3338, 3387, + 3594, 3643, 2058, 1920, 2175, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 48, + 57, 2058, 1920, 2175, 9, 32, 40, 41, + 3082, 3131, 3338, 3387, 3594, 3643, 48, 57, + 2058, 1920, 2175, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 48, 57, 2058, + 1920, 2175, 9, 32, 33, 40, 41, 49, + 50, 3082, 3131, 3338, 3387, 3594, 3643, 2058, + 1920, 2175, 9, 32, 40, 41, 3082, 3131, + 3338, 3387, 3594, 3643, 48, 57, 65, 70, + 97, 102, 2058, 1920, 2175, 9, 32, 40, + 41, 3082, 3131, 3338, 3387, 3594, 3643, 48, + 57, 65, 70, 97, 102, 2058, 1920, 2175, + 5641, 5664, 5672, 5673, 14602, 14651, 14858, 14907, + 15370, 15419, 15626, 15675, 15882, 15931, 6666, 6528, + 6783, 4105, 4128, 4136, 4137, 4139, 5130, 5179, + 4143, 4153, 4161, 4186, 4193, 4218, 5130, 4992, + 5247, 4139, 7177, 7200, 7208, 7209, 7433, 7456, + 7464, 7465, 7689, 7712, 7720, 7721, 10506, 10555, + 10762, 10811, 11274, 11323, 11530, 11579, 11786, 11835, + 12298, 12347, 12554, 12603, 12810, 12859, 13322, 13371, + 13578, 13627, 13834, 13883, 4143, 4153, 4161, 4186, + 4193, 4218, 8714, 9226, 9738, 8576, 8831, 9088, + 9343, 9600, 9855, 9, 32, 40, 41, 3082, + 3131, 3338, 3387, 3594, 3643, 48, 57, 65, + 70, 97, 102, 2058, 1920, 2175, 9, 32, + 40, 41, 3082, 3131, 3338, 3387, 3594, 3643, + 48, 57, 65, 70, 97, 102, 2058, 1920, + 2175, 0 +}; + +static const char _zone_scanner_single_lengths[] = { + 0, 42, 16, 40, 16, 11, 8, 8, + 1, 1, 1, 13, 13, 2, 48, 18, + 42, 10, 2, 10, 12, 12, 4, 2, + 2, 2, 2, 10, 10, 2, 2, 10, + 2, 2, 2, 10, 2, 2, 2, 10, + 6, 2, 2, 2, 10, 4, 2, 2, + 10, 2, 2, 2, 10, 10, 2, 2, + 2, 1, 10, 1, 10, 4, 2, 2, + 2, 10, 2, 2, 2, 10, 4, 6, + 40, 2, 2, 2, 2, 2, 2, 2, + 10, 4, 2, 10, 10, 6, 1, 10, + 1, 10, 2, 10, 10, 4, 2, 2, + 2, 10, 10, 6, 2, 2, 2, 10, + 2, 10, 12, 2, 11, 12, 2, 2, + 2, 2, 10, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 10, 2, 2, 10, + 6, 10, 2, 2, 2, 10, 10, 12, + 2, 2, 2, 2, 10, 2, 10, 2, + 10, 2, 10, 2, 2, 2, 10, 2, + 2, 10, 6, 2, 2, 10, 2, 10, + 2, 2, 0, 10, 2, 2, 10, 2, + 2, 2, 2, 2, 10, 1, 42, 4, + 6, 40, 16, 6, 10, 6, 1, 1, + 6, 2, 2, 2, 2, 2, 2, 2, + 6, 40, 1, 16, 40, 1, 6, 10, + 6, 1, 16, 46, 18, 13, 42, 2, + 8, 8, 48, 18, 14, 10, 12, 12, + 12, 14, 12, 14, 10, 10, 14, 20, + 14, 10, 10, 2, 14, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 8, 18, + 42, 2, 18, 48, 18, 14, 10, 12, + 12, 12, 14, 12, 14, 10, 10, 14, + 20, 14, 10, 10, 9, 42, 12, 12, + 12, 12, 2, 2, 10, 2, 2, 2, + 10, 2, 10, 2, 8, 8, 12, 12, + 12, 12, 1, 48, 12, 12, 16, 12, + 8, 10, 10, 10, 12, 10, 12, 8, + 8, 12, 18, 12, 8, 8, 2, 2, + 10, 2, 3, 1, 1, 5, 6, 6, + 0, 0, 0, 6, 2, 2, 2, 4, + 0, 0, 0, 4, 6, 6, 2, 0, + 0, 0, 6, 6, 6, 18, 8, 1, + 8, 10, 8, 1, 6, 10, 4, 12, + 8, 1, 0, 0, 0, 4, 8, 1, + 6, 6, 8, 12, 4, 12, 8, 1, + 0, 0, 0, 4, 8, 2, 10, 1, + 1, 1, 1, 2, 2, 11, 1, 1, + 10, 44, 16, 2, 2, 10, 1, 10, + 2, 10, 4, 2, 2, 2, 2, 10, + 10, 2, 2, 10, 2, 2, 2, 10, + 2, 2, 2, 10, 6, 2, 2, 2, + 10, 4, 2, 2, 10, 2, 2, 2, + 10, 10, 2, 2, 2, 1, 10, 1, + 10, 4, 2, 2, 2, 10, 2, 2, + 2, 10, 2, 2, 2, 2, 2, 2, + 2, 10, 4, 2, 10, 10, 6, 1, + 10, 1, 10, 2, 10, 10, 4, 2, + 2, 2, 10, 10, 6, 2, 2, 2, + 10, 2, 10, 12, 2, 11, 12, 2, + 2, 2, 2, 10, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 10, 2, 2, + 10, 6, 10, 2, 2, 2, 10, 10, + 12, 2, 2, 2, 2, 10, 2, 10, + 2, 10, 2, 10, 2, 2, 2, 10, + 2, 2, 10, 6, 2, 2, 10, 2, + 10, 2, 2, 0, 10, 2, 2, 10, + 2, 2, 2, 2, 2, 10, 2, 2, + 2, 10, 2, 10, 6, 6, 6, 6, + 0, 10, 1, 1, 1, 6, 7, 8, + 6, 0, 10, 1, 1, 6, 1, 6, + 1, 1, 1, 4, 1, 1, 4, 1, + 1, 2, 1, 1, 1, 1, 4, 1, + 1, 1, 1, 4, 1, 1, 0, 4, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 4, 1, + 1, 1, 4, 10, 17, 1, 1, 1, + 1, 3, 10, 1, 1, 1, 1, 2, + 1, 1, 2, 2, 2, 10, 1, 1, + 2, 2, 11, 1, 1, 1, 2, 1, + 1, 1, 1, 1, 2, 1, 3, 1, + 12, 1, 1, 1, 1, 1, 1, 2, + 1, 3, 1, 12, 1, 1, 1, 0, + 11, 2, 10, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 2, 0, + 11, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 10, 1, 1, 1, 1, 1, 0, 1, + 10, 10, 1, 10, 2, 4, 2, 2, + 3, 2, 2, 2, 2, 1, 1, 2, + 2, 2, 1, 2, 4, 4, 1, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 1, 1, 2, 2, 2, 1, 1, 1, + 2, 1, 1, 2, 2, 2, 1, 1, + 1, 2, 2, 1, 1, 1, 1, 2, + 1, 1, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 4, 2, 2, 2, 2, 2, 2, + 2, 2, 4, 2, 1, 2, 2, 2, + 3, 3, 2, 2, 2, 2, 1, 1, + 2, 2, 2, 1, 2, 1, 1, 2, + 1, 1, 2, 12, 2, 2, 2, 2, + 2, 2, 2, 6, 2, 2, 2, 2, + 2, 2, 4, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 4, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 1, 3, 3, 2, + 3, 6, 9, 6, 6, 6, 6, 16, + 6, 16, 6, 16, 6, 12, 2, 10, + 2, 1, 6, 10, 6, 1, 6, 10, + 6, 1, 6, 10, 6, 1, 1, 1, + 2, 6, 6, 2, 1, 3, 6, 9, + 2, 1, 0, 6, 9, 2, 1, 2, + 10, 10, 1, 1, 3, 0, 6, 8, + 6, 8, 7, 8, 6, 6, 6, 8, + 6, 8, 7, 8, 6, 7, 0, 12, + 10, 12, 10, 12, 10, 12, 10, 1, + 11, 11, 1, 11, 11, 10, 1, 11, + 11, 10, 1, 11, 11, 10, 1, 6, + 1, 6, 6, 1, 1, 1, 6, 1, + 6, 6, 1, 1, 0, 6, 6, 6, + 6, 6, 9, 2, 1, 1, 1, 0, + 6, 6, 6, 6, 6, 6, 6, 6, + 6, 9, 2, 1, 1, 1, 1, 1, + 0, 6, 6, 6, 6, 6, 7, 2, + 1, 1, 1, 13, 2, 1, 1, 1, + 0, 10, 1, 1, 1, 1, 0, 6, + 6, 6, 6, 6, 6, 0, 10, 1, + 1, 1, 1, 0, 6, 6, 6, 6, + 0, 10, 1, 1, 1, 0, 6, 10, + 6, 6, 6, 7, 34, 7, 2, 1, + 14, 1, 35, 3, 1, 1, 6, 6, + 6, 7, 35, 1, 1, 6, 6, 6, + 7, 35, 1, 1, 6, 6, 6, 9, + 34, 1, 1, 1, 34, 12, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 9, 6, 7, 2, 1, 1, + 1, 1, 1, 1, 1, 1, 2, 2, + 6, 2, 2, 2, 6, 2, 6, 10, + 2, 6, 4, 2, 2, 2, 2, 6, + 6, 2, 2, 6, 2, 2, 2, 6, + 2, 2, 2, 6, 6, 2, 2, 2, + 6, 4, 2, 2, 6, 2, 2, 2, + 6, 6, 2, 2, 2, 1, 6, 1, + 6, 4, 2, 2, 2, 6, 2, 2, + 2, 6, 2, 2, 2, 2, 2, 2, + 2, 6, 4, 2, 6, 6, 6, 1, + 6, 1, 6, 2, 6, 6, 4, 2, + 2, 2, 6, 6, 6, 2, 2, 2, + 6, 2, 6, 8, 2, 7, 8, 2, + 2, 2, 2, 6, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 6, 2, 2, + 6, 6, 6, 2, 2, 2, 6, 6, + 12, 2, 2, 2, 2, 6, 2, 6, + 2, 6, 2, 6, 2, 2, 2, 6, + 2, 2, 6, 6, 2, 2, 6, 2, + 6, 2, 2, 0, 6, 2, 2, 6, + 2, 2, 2, 2, 2, 6, 3, 2, + 2, 0, 6, 6, 6, 6, 6, 7, + 2, 1, 1, 1, 1, 2, 0, 6, + 6, 6, 6, 6, 7, 6, 6, 0, + 1, 0, 1, 1, 0, 1, 2, 2, + 1, 1, 1, 1, 1, 1, 0, 6, + 1, 1, 1, 0, 6, 6, 6, 6, + 6, 7, 2, 0, 2, 1, 1, 1, + 0, 6, 6, 6, 6, 6, 6, 0, + 10, 1, 1, 1, 1, 0, 6, 6, + 2, 2, 1, 0, 6, 6, 6, 6, + 6, 6, 0, 10, 1, 1, 1, 1, + 0, 6, 7, 3, 1, 0, 6, 6, + 0, 0, 0, 1, 0, 0, 0, 0, + 3, 1, 0, 0, 1, 0, 0, 3, + 0, 0, 1, 0, 0, 3, 0, 6, + 6, 6, 6, 2, 1, 1, 0, 6, + 6, 6, 6, 2, 1, 1, 0, 6, + 9, 2, 2, 1, 12, 17, 46, 46, + 12, 46, 12, 17, 51, 51, 0, 0, + 0, 0, 4, 0, 0, 0, 10, 0, + 11, 1, 0, 44, 1, 0, 10, 1, + 6, 0, 10, 1, 1, 0, 0, 17, + 1, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 10, 1, 0, 0, 10, 1, + 10, 1, 10, 1, 10, 1, 0, 0, + 0, 0, 13, 1, 0, 10, 1, 0, + 10, 1, 0, 14, 1, 7, 1, 35, + 3, 0, 0, 0, 0, 0, 0, 0, + 10, 1, 0, 0, 10, 1, 0, 0, + 0, 0, 0, 0, 0 +}; + +static const char _zone_scanner_range_lengths[] = { + 0, 1, 1, 0, 0, 3, 0, 0, + 0, 0, 1, 3, 3, 2, 4, 1, + 0, 0, 0, 0, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 1, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1, 1, 0, + 0, 1, 1, 1, 1, 1, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 2, + 0, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 0, 4, 0, 3, 1, 2, + 3, 3, 4, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2, 0, 0, 0, 0, + 0, 0, 2, 0, 0, 2, 0, 1, + 1, 2, 0, 4, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 3, 1, 1, 1, + 2, 2, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2, 3, 3, 2, 2, + 2, 2, 1, 4, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2, 2, + 0, 2, 3, 0, 0, 3, 5, 5, + 1, 1, 1, 5, 2, 2, 2, 4, + 3, 1, 1, 4, 1, 1, 2, 3, + 1, 1, 1, 0, 1, 1, 0, 0, + 1, 1, 1, 1, 0, 3, 3, 3, + 0, 0, 1, 1, 1, 3, 0, 1, + 0, 3, 0, 3, 3, 3, 0, 0, + 1, 1, 1, 3, 0, 2, 3, 1, + 1, 3, 3, 3, 3, 3, 1, 0, + 0, 0, 0, 0, 0, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1, 1, 3, + 3, 3, 1, 1, 1, 0, 1, 1, + 3, 3, 3, 1, 1, 1, 1, 0, + 0, 0, 0, 2, 0, 0, 2, 0, + 0, 0, 0, 0, 0, 0, 2, 0, + 0, 0, 0, 2, 0, 0, 1, 3, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2, 0, + 0, 0, 2, 0, 0, 0, 0, 0, + 0, 2, 0, 1, 0, 0, 0, 3, + 3, 3, 3, 3, 3, 0, 0, 3, + 3, 3, 3, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 1, 1, 1, + 1, 1, 0, 0, 0, 0, 0, 3, + 3, 3, 3, 3, 3, 0, 0, 1, + 1, 2, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 2, 0, 2, + 0, 2, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1, 1, 1, + 1, 3, 0, 1, 3, 0, 2, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2, 0, 0, 0, 0, + 0, 0, 0, 2, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 0, 2, 0, 0, 0, 0, 0, 2, + 0, 0, 2, 0, 0, 0, 0, 0, + 0, 0, 2, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 0, 2, + 0, 0, 0, 0, 0, 2, 0, 0, + 0, 2, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 0, 2, + 0, 0, 2, 1, 3, 0, 0, 0, + 0, 0, 2, 0, 0, 0, 0, 0, + 0, 2, 0, 0, 2, 0, 0, 2, + 0, 0, 0, 2, 0, 0, 2, 0, + 0, 2, 0, 0, 2, 0, 0, 0, + 2, 0, 0, 2, 1, 3, 3, 2, + 3, 0, 3, 0, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 3, 3, 1, + 3, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 2, 0, 3, 2, 1, 3, 0, 3, + 2, 1, 1, 1, 3, 2, 1, 2, + 0, 3, 1, 3, 5, 1, 1, 1, + 1, 1, 1, 0, 0, 1, 1, 1, + 1, 1, 1, 0, 0, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 0, 1, + 1, 1, 1, 1, 1, 0, 1, 1, + 1, 0, 1, 1, 1, 0, 1, 0, + 1, 1, 1, 1, 1, 1, 0, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 3, 2, 1, 1, 1, 1, + 1, 1, 1, 3, 0, 3, 0, 3, + 0, 3, 2, 1, 1, 1, 1, 1, + 3, 0, 1, 1, 3, 0, 3, 0, + 1, 1, 1, 0, 0, 0, 1, 1, + 1, 1, 1, 0, 3, 3, 1, 1, + 3, 0, 1, 1, 3, 3, 3, 1, + 1, 1, 1, 1, 1, 1, 1, 3, + 3, 3, 1, 1, 1, 1, 1, 0, + 0, 1, 1, 0, 0, 3, 0, 1, + 0, 1, 3, 3, 1, 1, 0, 1, + 1, 1, 1, 1, 1, 0, 1, 1, + 3, 3, 1, 1, 0, 1, 1, 3, + 0, 1, 1, 1, 0, 0, 3, 0, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 3, 0, 3, 0, 1, 1, + 1, 1, 1, 1, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 3, 2, + 2, 1, 1, 1, 1, 3, 0, 3, + 0, 1, 1, 1, 3, 0, 1, 1, + 1, 1, 1, 1, 3, 0, 3, 3, + 3, 3, 3, 3, 3, 3, 5, 2, + 0, 0, 0, 0, 0, 1, 3, 3, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 3, 2, 3, 5, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 3, 3, + 3, 1, 1, 1, 1, 1, 1, 1, + 3, 2, 1, 1, 1, 1, 1, 1, + 1, 3, 3, 3, 1, 1, 1, 1, + 1, 1, 1, 3, 1, 1, 1, 3, + 3, 3, 3, 0, 3, 3, 3, 3, + 2, 1, 3, 3, 0, 3, 3, 2, + 3, 3, 0, 3, 3, 2, 1, 1, + 1, 1, 3, 2, 1, 1, 1, 1, + 3, 0, 3, 2, 1, 1, 1, 1, + 3, 2, 2, 1, 3, 8, 3, 4, + 3, 4, 3, 8, 9, 9, 0, 0, + 0, 0, 4, 0, 0, 0, 3, 0, + 3, 1, 0, 0, 1, 0, 3, 1, + 3, 0, 3, 1, 1, 0, 0, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 3, 1, 0, 0, 0, 1, + 1, 1, 1, 1, 1, 1, 0, 0, + 0, 0, 0, 1, 0, 3, 1, 0, + 3, 1, 0, 0, 1, 3, 1, 3, + 3, 0, 0, 0, 0, 0, 0, 0, + 3, 1, 0, 0, 3, 1, 0, 0, + 0, 0, 0, 0, 0 +}; + +static const short _zone_scanner_index_offsets[] = { + 0, 0, 44, 62, 103, 120, 135, 144, + 153, 155, 157, 160, 177, 194, 199, 252, + 272, 315, 326, 329, 340, 354, 368, 373, + 376, 379, 382, 385, 396, 407, 410, 413, + 424, 427, 430, 433, 444, 447, 450, 453, + 464, 471, 474, 477, 480, 491, 496, 499, + 502, 513, 516, 519, 522, 533, 544, 547, + 550, 553, 555, 566, 568, 579, 584, 587, + 590, 593, 604, 607, 610, 613, 624, 629, + 636, 677, 680, 683, 686, 689, 692, 695, + 698, 709, 714, 717, 728, 739, 746, 748, + 759, 761, 772, 775, 786, 797, 802, 805, + 808, 811, 822, 833, 840, 843, 846, 849, + 860, 863, 874, 887, 890, 902, 915, 918, + 921, 924, 927, 938, 941, 944, 947, 950, + 953, 956, 959, 962, 965, 976, 979, 982, + 993, 1000, 1011, 1014, 1017, 1020, 1031, 1042, + 1055, 1058, 1061, 1064, 1067, 1078, 1081, 1092, + 1095, 1106, 1109, 1120, 1123, 1126, 1129, 1140, + 1143, 1146, 1157, 1164, 1167, 1170, 1181, 1184, + 1195, 1198, 1201, 1203, 1215, 1218, 1221, 1232, + 1235, 1238, 1241, 1244, 1247, 1258, 1261, 1305, + 1310, 1317, 1359, 1377, 1385, 1397, 1405, 1408, + 1410, 1417, 1420, 1423, 1426, 1429, 1432, 1435, + 1440, 1447, 1489, 1492, 1510, 1552, 1555, 1563, + 1575, 1583, 1586, 1603, 1654, 1673, 1690, 1734, + 1739, 1751, 1763, 1816, 1835, 1850, 1861, 1874, + 1887, 1900, 1915, 1928, 1943, 1954, 1965, 1980, + 2001, 2016, 2027, 2038, 2043, 2058, 2061, 2064, + 2067, 2070, 2073, 2078, 2081, 2084, 2089, 2098, + 2118, 2162, 2167, 2186, 2239, 2258, 2273, 2284, + 2297, 2310, 2323, 2338, 2351, 2366, 2377, 2388, + 2403, 2424, 2439, 2450, 2461, 2474, 2518, 2532, + 2546, 2561, 2576, 2579, 2582, 2593, 2596, 2599, + 2602, 2613, 2616, 2627, 2632, 2644, 2656, 2671, + 2686, 2701, 2716, 2719, 2772, 2786, 2800, 2817, + 2830, 2839, 2850, 2861, 2872, 2885, 2896, 2909, + 2918, 2927, 2940, 2959, 2972, 2981, 2990, 2995, + 3000, 3011, 3016, 3023, 3025, 3027, 3036, 3048, + 3060, 3062, 3064, 3066, 3078, 3083, 3088, 3093, + 3102, 3106, 3108, 3110, 3119, 3127, 3135, 3140, + 3144, 3146, 3148, 3156, 3163, 3171, 3191, 3200, + 3202, 3212, 3224, 3234, 3237, 3244, 3258, 3266, + 3282, 3291, 3293, 3295, 3297, 3299, 3307, 3316, + 3319, 3326, 3336, 3345, 3361, 3369, 3385, 3394, + 3396, 3398, 3400, 3402, 3410, 3419, 3424, 3438, + 3441, 3444, 3449, 3454, 3460, 3466, 3481, 3484, + 3486, 3497, 3542, 3559, 3562, 3565, 3576, 3579, + 3590, 3593, 3604, 3609, 3612, 3615, 3618, 3621, + 3632, 3643, 3646, 3649, 3660, 3663, 3666, 3669, + 3680, 3683, 3686, 3689, 3700, 3707, 3710, 3713, + 3716, 3727, 3732, 3735, 3738, 3749, 3752, 3755, + 3758, 3769, 3780, 3783, 3786, 3789, 3791, 3802, + 3804, 3815, 3820, 3823, 3826, 3829, 3840, 3843, + 3846, 3849, 3860, 3863, 3866, 3869, 3872, 3875, + 3878, 3881, 3892, 3897, 3900, 3911, 3922, 3929, + 3931, 3942, 3944, 3955, 3958, 3969, 3980, 3985, + 3988, 3991, 3994, 4005, 4016, 4023, 4026, 4029, + 4032, 4043, 4046, 4057, 4070, 4073, 4085, 4098, + 4101, 4104, 4107, 4110, 4121, 4124, 4127, 4130, + 4133, 4136, 4139, 4142, 4145, 4148, 4159, 4162, + 4165, 4176, 4183, 4194, 4197, 4200, 4203, 4214, + 4225, 4238, 4241, 4244, 4247, 4250, 4261, 4264, + 4275, 4278, 4289, 4292, 4303, 4306, 4309, 4312, + 4323, 4326, 4329, 4340, 4347, 4350, 4353, 4364, + 4367, 4378, 4381, 4384, 4386, 4398, 4401, 4404, + 4415, 4418, 4421, 4424, 4427, 4430, 4441, 4444, + 4447, 4450, 4461, 4464, 4475, 4482, 4490, 4498, + 4508, 4512, 4526, 4529, 4532, 4535, 4542, 4551, + 4561, 4571, 4575, 4589, 4592, 4595, 4603, 4606, + 4613, 4615, 4617, 4619, 4626, 4628, 4630, 4637, + 4639, 4641, 4644, 4646, 4648, 4650, 4652, 4659, + 4661, 4663, 4665, 4667, 4674, 4676, 4678, 4680, + 4688, 4690, 4692, 4694, 4696, 4698, 4700, 4702, + 4704, 4706, 4708, 4710, 4712, 4714, 4716, 4723, + 4725, 4727, 4729, 4736, 4747, 4765, 4767, 4769, + 4771, 4773, 4779, 4790, 4793, 4795, 4797, 4799, + 4805, 4810, 4815, 4821, 4827, 4833, 4844, 4846, + 4851, 4857, 4863, 4878, 4880, 4882, 4884, 4887, + 4889, 4891, 4893, 4895, 4897, 4901, 4904, 4909, + 4912, 4926, 4929, 4931, 4933, 4935, 4937, 4939, + 4945, 4950, 4957, 4962, 4978, 4983, 4985, 4987, + 4989, 5002, 5007, 5018, 5020, 5022, 5024, 5026, + 5028, 5030, 5032, 5034, 5036, 5040, 5043, 5046, + 5049, 5061, 5064, 5066, 5068, 5070, 5072, 5074, + 5076, 5078, 5080, 5082, 5084, 5086, 5088, 5090, + 5092, 5103, 5105, 5107, 5109, 5111, 5114, 5116, + 5119, 5131, 5145, 5147, 5159, 5165, 5170, 5175, + 5178, 5184, 5187, 5190, 5193, 5196, 5198, 5200, + 5203, 5206, 5209, 5211, 5216, 5221, 5226, 5228, + 5231, 5234, 5237, 5240, 5245, 5248, 5251, 5254, + 5257, 5259, 5261, 5264, 5267, 5270, 5272, 5274, + 5276, 5281, 5283, 5285, 5288, 5291, 5294, 5296, + 5298, 5300, 5305, 5308, 5310, 5312, 5314, 5316, + 5321, 5323, 5325, 5330, 5333, 5336, 5339, 5342, + 5345, 5348, 5351, 5356, 5359, 5362, 5365, 5368, + 5371, 5374, 5379, 5382, 5385, 5390, 5393, 5396, + 5401, 5404, 5407, 5412, 5415, 5417, 5422, 5425, + 5428, 5432, 5438, 5441, 5444, 5447, 5450, 5452, + 5454, 5457, 5460, 5463, 5465, 5470, 5472, 5474, + 5479, 5481, 5483, 5488, 5502, 5508, 5511, 5514, + 5517, 5520, 5523, 5528, 5535, 5538, 5541, 5544, + 5547, 5550, 5555, 5560, 5563, 5568, 5571, 5574, + 5579, 5582, 5585, 5588, 5593, 5596, 5599, 5604, + 5609, 5612, 5617, 5620, 5623, 5628, 5631, 5634, + 5637, 5642, 5645, 5648, 5653, 5656, 5663, 5670, + 5675, 5682, 5689, 5702, 5709, 5717, 5725, 5733, + 5751, 5759, 5777, 5785, 5803, 5811, 5827, 5833, + 5845, 5851, 5854, 5862, 5874, 5882, 5885, 5893, + 5905, 5913, 5916, 5924, 5936, 5944, 5947, 5950, + 5953, 5958, 5965, 5975, 5980, 5983, 5990, 5997, + 6010, 6015, 6018, 6020, 6028, 6041, 6046, 6049, + 6054, 6065, 6079, 6082, 6087, 6096, 6098, 6106, + 6116, 6124, 6134, 6143, 6152, 6159, 6167, 6175, + 6185, 6193, 6203, 6212, 6221, 6228, 6237, 6239, + 6253, 6265, 6279, 6291, 6305, 6317, 6331, 6342, + 6345, 6358, 6371, 6374, 6387, 6400, 6411, 6414, + 6427, 6440, 6451, 6454, 6467, 6480, 6491, 6494, + 6501, 6504, 6512, 6520, 6523, 6526, 6529, 6536, + 6539, 6547, 6555, 6558, 6561, 6563, 6571, 6579, + 6587, 6595, 6603, 6616, 6621, 6624, 6627, 6630, + 6632, 6640, 6648, 6656, 6666, 6673, 6683, 6690, + 6700, 6707, 6720, 6725, 6728, 6731, 6734, 6737, + 6740, 6744, 6751, 6759, 6767, 6777, 6784, 6795, + 6798, 6801, 6804, 6807, 6821, 6824, 6826, 6829, + 6832, 6834, 6846, 6849, 6851, 6856, 6861, 6863, + 6871, 6881, 6888, 6896, 6904, 6914, 6918, 6932, + 6935, 6938, 6941, 6944, 6946, 6954, 6962, 6970, + 6980, 6984, 6998, 7001, 7004, 7007, 7009, 7017, + 7028, 7035, 7043, 7051, 7059, 7094, 7105, 7108, + 7111, 7126, 7129, 7168, 7175, 7178, 7181, 7188, + 7196, 7204, 7213, 7250, 7253, 7256, 7263, 7271, + 7279, 7290, 7329, 7332, 7335, 7342, 7350, 7358, + 7371, 7406, 7409, 7412, 7415, 7450, 7463, 7473, + 7480, 7488, 7496, 7504, 7512, 7520, 7528, 7536, + 7544, 7552, 7560, 7573, 7580, 7591, 7594, 7597, + 7600, 7603, 7606, 7609, 7612, 7615, 7618, 7621, + 7624, 7631, 7634, 7637, 7640, 7647, 7650, 7657, + 7668, 7671, 7678, 7683, 7686, 7689, 7692, 7695, + 7702, 7709, 7712, 7715, 7722, 7725, 7728, 7731, + 7738, 7741, 7744, 7747, 7754, 7761, 7764, 7767, + 7770, 7777, 7782, 7785, 7788, 7795, 7798, 7801, + 7804, 7811, 7818, 7821, 7824, 7827, 7829, 7836, + 7838, 7845, 7850, 7853, 7856, 7859, 7866, 7869, + 7872, 7875, 7882, 7885, 7888, 7891, 7894, 7897, + 7900, 7903, 7910, 7915, 7918, 7925, 7932, 7939, + 7941, 7948, 7950, 7957, 7960, 7967, 7974, 7979, + 7982, 7985, 7988, 7995, 8002, 8009, 8012, 8015, + 8018, 8025, 8028, 8035, 8044, 8047, 8055, 8064, + 8067, 8070, 8073, 8076, 8083, 8086, 8089, 8092, + 8095, 8098, 8101, 8104, 8107, 8110, 8117, 8120, + 8123, 8130, 8137, 8144, 8147, 8150, 8153, 8160, + 8167, 8180, 8183, 8186, 8189, 8192, 8199, 8202, + 8209, 8212, 8219, 8222, 8229, 8232, 8235, 8238, + 8245, 8248, 8251, 8258, 8265, 8268, 8271, 8278, + 8281, 8288, 8291, 8294, 8296, 8304, 8307, 8310, + 8317, 8320, 8323, 8326, 8329, 8332, 8339, 8346, + 8351, 8356, 8358, 8366, 8374, 8382, 8392, 8399, + 8410, 8413, 8416, 8419, 8422, 8427, 8430, 8432, + 8440, 8448, 8456, 8464, 8472, 8483, 8490, 8500, + 8504, 8509, 8513, 8518, 8523, 8527, 8532, 8540, + 8545, 8547, 8549, 8551, 8553, 8555, 8558, 8562, + 8572, 8575, 8578, 8581, 8583, 8591, 8599, 8607, + 8615, 8623, 8634, 8639, 8643, 8651, 8654, 8657, + 8660, 8662, 8670, 8678, 8686, 8694, 8702, 8712, + 8716, 8730, 8733, 8736, 8739, 8742, 8744, 8752, + 8760, 8766, 8771, 8774, 8776, 8784, 8792, 8800, + 8808, 8816, 8826, 8830, 8844, 8847, 8850, 8853, + 8856, 8858, 8866, 8875, 8882, 8885, 8887, 8895, + 8905, 8909, 8913, 8917, 8919, 8923, 8927, 8931, + 8935, 8941, 8944, 8948, 8952, 8954, 8958, 8962, + 8968, 8972, 8976, 8978, 8982, 8986, 8992, 8994, + 9002, 9010, 9018, 9028, 9033, 9036, 9039, 9041, + 9049, 9059, 9066, 9076, 9081, 9084, 9087, 9089, + 9097, 9110, 9115, 9120, 9123, 9139, 9165, 9215, + 9266, 9282, 9333, 9349, 9375, 9436, 9497, 9498, + 9499, 9500, 9501, 9510, 9511, 9512, 9513, 9527, + 9528, 9543, 9546, 9547, 9592, 9595, 9596, 9610, + 9613, 9623, 9624, 9638, 9641, 9644, 9645, 9646, + 9664, 9667, 9668, 9669, 9670, 9671, 9672, 9673, + 9674, 9675, 9676, 9690, 9693, 9694, 9695, 9706, + 9709, 9721, 9724, 9736, 9739, 9751, 9754, 9755, + 9756, 9757, 9758, 9772, 9775, 9776, 9790, 9793, + 9794, 9808, 9811, 9812, 9827, 9830, 9841, 9844, + 9883, 9890, 9891, 9892, 9893, 9894, 9895, 9896, + 9897, 9911, 9914, 9915, 9916, 9930, 9933, 9934, + 9935, 9936, 9937, 9938, 9939 +}; + +static const short _zone_scanner_indicies[] = { + 1, 1, 2, 3, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 4, 0, 27, 27, 28, 29, + 31, 32, 33, 34, 35, 31, 32, 33, + 34, 35, 36, 37, 30, 26, 39, 39, + 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 38, 62, + 62, 63, 64, 65, 66, 67, 65, 66, + 67, 68, 69, 70, 70, 71, 72, 61, + 74, 74, 76, 77, 78, 79, 80, 73, + 73, 81, 82, 73, 73, 73, 75, 84, + 84, 85, 86, 87, 88, 87, 88, 83, + 90, 90, 91, 92, 93, 94, 93, 94, + 89, 96, 95, 98, 97, 100, 99, 75, + 101, 101, 102, 103, 78, 87, 88, 87, + 104, 105, 106, 87, 107, 73, 73, 73, + 83, 108, 108, 109, 110, 78, 93, 94, + 93, 111, 112, 113, 93, 114, 73, 73, + 73, 83, 96, 116, 95, 115, 83, 117, + 117, 119, 120, 73, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, 133, + 134, 135, 136, 137, 138, 78, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, + 132, 133, 134, 135, 136, 137, 138, 22, + 23, 139, 140, 141, 142, 143, 144, 73, + 73, 121, 73, 118, 146, 146, 147, 148, + 31, 32, 33, 34, 35, 31, 32, 33, + 34, 35, 87, 88, 149, 150, 30, 145, + 152, 152, 153, 154, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, + 53, 54, 55, 56, 57, 58, 93, 94, + 155, 156, 151, 157, 158, 159, 160, 161, + 157, 158, 159, 160, 161, 38, 162, 162, + 38, 163, 163, 164, 165, 166, 167, 168, + 168, 169, 170, 61, 84, 87, 84, 85, + 86, 88, 171, 87, 171, 172, 173, 174, + 99, 83, 90, 93, 90, 91, 92, 94, + 175, 93, 175, 176, 177, 178, 99, 83, + 179, 180, 179, 180, 38, 181, 181, 38, + 182, 182, 38, 183, 183, 38, 184, 184, + 38, 185, 185, 186, 187, 188, 189, 190, + 190, 191, 192, 61, 193, 193, 194, 195, + 196, 197, 198, 198, 199, 200, 61, 201, + 201, 38, 202, 202, 38, 203, 203, 204, + 205, 206, 207, 208, 208, 209, 210, 61, + 211, 211, 38, 212, 212, 38, 213, 213, + 38, 214, 214, 215, 216, 217, 218, 219, + 219, 220, 221, 61, 222, 222, 38, 223, + 223, 38, 224, 224, 38, 225, 225, 226, + 227, 228, 229, 230, 230, 231, 232, 61, + 233, 234, 235, 233, 234, 235, 38, 236, + 236, 38, 237, 237, 38, 238, 238, 38, + 239, 239, 240, 241, 242, 243, 244, 244, + 245, 246, 61, 247, 248, 247, 248, 38, + 249, 249, 38, 250, 250, 38, 251, 251, + 252, 253, 254, 255, 256, 256, 257, 258, + 61, 259, 259, 38, 260, 260, 38, 261, + 261, 38, 262, 262, 263, 264, 265, 266, + 267, 267, 268, 269, 61, 270, 270, 271, + 272, 273, 274, 275, 275, 276, 277, 61, + 278, 278, 38, 279, 279, 38, 280, 281, + 38, 282, 38, 283, 283, 284, 285, 286, + 287, 288, 288, 289, 290, 61, 291, 38, + 292, 292, 293, 294, 295, 296, 297, 297, + 298, 299, 61, 300, 301, 300, 301, 38, + 302, 302, 38, 303, 303, 38, 304, 304, + 38, 305, 305, 306, 307, 308, 309, 310, + 310, 311, 312, 61, 313, 313, 38, 314, + 314, 38, 315, 315, 38, 316, 316, 317, + 318, 319, 320, 321, 321, 322, 323, 61, + 324, 325, 324, 325, 38, 326, 326, 327, + 328, 329, 330, 38, 331, 331, 332, 333, + 334, 335, 336, 337, 338, 339, 340, 341, + 342, 343, 344, 345, 346, 347, 348, 349, + 350, 334, 335, 336, 337, 338, 339, 340, + 341, 342, 343, 344, 345, 346, 347, 348, + 349, 350, 351, 352, 38, 325, 325, 38, + 353, 353, 38, 354, 354, 38, 355, 355, + 38, 356, 356, 38, 357, 357, 38, 358, + 358, 38, 359, 359, 360, 361, 362, 363, + 364, 364, 365, 366, 61, 367, 368, 367, + 368, 38, 369, 369, 38, 370, 370, 371, + 372, 373, 374, 375, 375, 376, 377, 61, + 378, 378, 379, 380, 381, 382, 383, 383, + 384, 385, 61, 386, 387, 388, 389, 388, + 389, 38, 390, 38, 391, 391, 392, 393, + 394, 395, 396, 396, 397, 398, 61, 399, + 38, 400, 400, 401, 402, 403, 404, 405, + 405, 406, 407, 61, 408, 408, 38, 409, + 409, 410, 411, 412, 413, 414, 414, 415, + 416, 61, 417, 417, 418, 419, 420, 421, + 422, 422, 423, 424, 61, 425, 426, 425, + 426, 38, 427, 427, 38, 428, 428, 38, + 429, 429, 38, 430, 430, 431, 432, 433, + 434, 435, 435, 436, 437, 61, 438, 438, + 439, 440, 441, 442, 443, 443, 444, 445, + 61, 446, 447, 448, 446, 447, 448, 38, + 449, 449, 38, 450, 450, 38, 451, 451, + 38, 452, 452, 453, 454, 455, 456, 457, + 457, 458, 459, 61, 460, 460, 38, 461, + 461, 462, 463, 464, 465, 466, 466, 467, + 468, 61, 469, 469, 470, 471, 472, 472, + 473, 474, 475, 475, 476, 477, 61, 478, + 478, 38, 479, 479, 480, 481, 482, 483, + 484, 485, 485, 486, 487, 61, 488, 488, + 489, 490, 491, 491, 492, 493, 494, 494, + 495, 496, 61, 497, 497, 38, 498, 498, + 38, 499, 499, 38, 500, 500, 38, 501, + 501, 502, 503, 504, 505, 506, 506, 507, + 508, 61, 509, 509, 38, 510, 510, 38, + 511, 511, 38, 512, 512, 38, 513, 513, + 38, 514, 514, 38, 515, 515, 38, 516, + 516, 38, 517, 517, 38, 518, 518, 519, + 520, 521, 522, 523, 523, 524, 525, 61, + 526, 526, 38, 527, 527, 38, 528, 528, + 529, 530, 531, 532, 533, 533, 534, 535, + 61, 536, 537, 538, 536, 537, 538, 38, + 539, 539, 540, 541, 542, 543, 544, 544, + 545, 546, 61, 547, 547, 38, 548, 548, + 38, 549, 549, 38, 550, 550, 551, 552, + 553, 554, 555, 555, 556, 557, 61, 558, + 558, 559, 560, 561, 562, 563, 563, 564, + 565, 61, 566, 567, 568, 569, 570, 571, + 566, 567, 568, 569, 570, 571, 38, 572, + 572, 38, 573, 573, 38, 574, 574, 38, + 575, 575, 38, 576, 576, 577, 578, 579, + 580, 581, 581, 582, 583, 61, 584, 584, + 38, 585, 585, 586, 587, 588, 589, 590, + 590, 591, 592, 61, 593, 593, 38, 594, + 594, 595, 596, 597, 598, 599, 599, 600, + 601, 61, 602, 602, 38, 603, 603, 604, + 605, 606, 607, 608, 608, 609, 610, 61, + 611, 611, 38, 612, 612, 38, 613, 613, + 38, 614, 614, 615, 616, 617, 618, 619, + 619, 620, 621, 61, 622, 622, 38, 623, + 623, 38, 624, 624, 625, 626, 627, 628, + 629, 629, 630, 631, 61, 632, 633, 634, + 632, 633, 634, 38, 635, 635, 38, 636, + 636, 38, 637, 637, 638, 639, 640, 641, + 642, 642, 643, 644, 61, 645, 645, 38, + 646, 646, 647, 648, 649, 650, 651, 651, + 652, 653, 61, 654, 654, 38, 655, 655, + 38, 657, 656, 659, 659, 660, 661, 663, + 664, 665, 665, 666, 667, 662, 658, 668, + 668, 38, 669, 669, 38, 670, 670, 671, + 672, 673, 674, 675, 675, 676, 677, 61, + 678, 678, 38, 679, 679, 38, 680, 680, + 38, 681, 681, 38, 682, 682, 38, 683, + 683, 684, 685, 686, 687, 688, 688, 689, + 690, 61, 692, 691, 38, 693, 693, 694, + 695, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 696, 697, 4, + 0, 698, 325, 698, 325, 38, 699, 699, + 700, 701, 702, 703, 38, 704, 704, 705, + 706, 708, 709, 710, 711, 712, 713, 714, + 715, 716, 717, 718, 719, 720, 721, 722, + 723, 724, 708, 709, 710, 711, 712, 713, + 714, 715, 716, 717, 718, 719, 720, 721, + 722, 723, 724, 725, 726, 707, 656, 727, + 727, 728, 729, 731, 732, 733, 734, 735, + 731, 732, 733, 734, 735, 736, 737, 730, + 26, 727, 727, 728, 729, 736, 737, 738, + 26, 740, 741, 742, 743, 744, 740, 741, + 742, 743, 744, 739, 26, 745, 745, 746, + 747, 749, 750, 748, 26, 752, 751, 38, + 754, 753, 756, 757, 758, 756, 757, 758, + 755, 759, 759, 755, 760, 760, 755, 761, + 761, 755, 762, 762, 755, 763, 763, 755, + 764, 764, 755, 765, 765, 765, 765, 755, + 767, 767, 768, 769, 770, 771, 766, 772, + 772, 773, 774, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 775, 776, 4, + 656, 779, 777, 778, 781, 781, 782, 783, + 31, 32, 33, 34, 35, 31, 32, 33, + 34, 35, 784, 785, 30, 780, 786, 786, + 787, 788, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 789, 790, 4, 656, + 792, 791, 38, 27, 27, 28, 29, 36, + 37, 793, 26, 795, 796, 797, 798, 799, + 795, 796, 797, 798, 799, 794, 26, 800, + 800, 801, 802, 804, 805, 803, 26, 807, + 806, 38, 809, 809, 810, 811, 65, 66, + 67, 65, 66, 67, 812, 813, 70, 70, + 814, 815, 808, 816, 816, 817, 818, 73, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 133, 134, 135, 136, 137, + 138, 78, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 819, 820, 73, 73, 821, + 822, 73, 73, 121, 73, 658, 824, 824, + 825, 826, 65, 66, 67, 65, 66, 67, + 87, 88, 827, 828, 829, 830, 831, 832, + 823, 833, 833, 834, 835, 78, 93, 94, + 836, 111, 112, 113, 837, 114, 73, 73, + 73, 83, 838, 838, 839, 840, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 5, + 6, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, + 93, 94, 841, 842, 4, 0, 96, 844, + 95, 843, 89, 845, 845, 846, 847, 848, + 849, 848, 849, 95, 95, 95, 83, 850, + 850, 851, 852, 96, 853, 96, 853, 95, + 95, 95, 89, 854, 854, 855, 856, 73, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 133, 134, 135, 136, 137, + 138, 78, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 93, 94, 841, 857, 112, + 113, 841, 858, 73, 73, 121, 73, 118, + 84, 84, 85, 86, 157, 158, 159, 160, + 161, 157, 158, 159, 160, 161, 87, 88, + 87, 88, 823, 84, 84, 85, 86, 233, + 234, 235, 233, 234, 235, 87, 88, 87, + 88, 823, 84, 84, 85, 86, 278, 278, + 87, 88, 87, 88, 823, 84, 84, 85, + 86, 300, 301, 300, 301, 87, 88, 87, + 88, 823, 84, 84, 85, 86, 698, 325, + 698, 325, 87, 88, 87, 88, 823, 84, + 84, 85, 86, 367, 368, 367, 368, 87, + 88, 87, 88, 823, 84, 84, 85, 86, + 386, 387, 388, 389, 388, 389, 87, 88, + 87, 88, 823, 84, 84, 85, 86, 425, + 426, 425, 426, 87, 88, 87, 88, 823, + 84, 84, 85, 86, 446, 447, 448, 446, + 447, 448, 87, 88, 87, 88, 823, 84, + 84, 85, 86, 509, 509, 87, 88, 87, + 88, 823, 84, 84, 85, 86, 526, 526, + 87, 88, 87, 88, 823, 84, 84, 85, + 86, 536, 537, 538, 536, 537, 538, 87, + 88, 87, 88, 823, 84, 84, 85, 86, + 566, 567, 568, 569, 570, 571, 566, 567, + 568, 569, 570, 571, 87, 88, 87, 88, + 823, 84, 84, 85, 86, 632, 633, 634, + 632, 633, 634, 87, 88, 87, 88, 823, + 84, 84, 85, 86, 668, 668, 87, 88, + 87, 88, 823, 84, 84, 85, 86, 678, + 678, 87, 88, 87, 88, 823, 96, 860, + 95, 859, 83, 84, 84, 85, 86, 756, + 757, 758, 756, 757, 758, 87, 88, 87, + 88, 861, 862, 862, 755, 863, 863, 755, + 864, 864, 755, 865, 865, 755, 866, 866, + 755, 867, 867, 867, 867, 755, 868, 868, + 755, 869, 869, 755, 870, 870, 870, 870, + 755, 872, 872, 873, 874, 87, 88, 875, + 876, 871, 878, 878, 879, 880, 31, 32, + 33, 34, 35, 31, 32, 33, 34, 35, + 87, 88, 881, 882, 30, 877, 883, 883, + 884, 885, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 93, 94, 886, 887, + 4, 0, 96, 889, 95, 888, 151, 891, + 891, 892, 893, 65, 66, 67, 65, 66, + 67, 87, 88, 894, 895, 829, 830, 896, + 897, 890, 898, 898, 899, 900, 73, 122, + 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, 133, 134, 135, 136, 137, 138, + 78, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 133, 134, 135, 136, + 137, 138, 93, 94, 901, 857, 112, 113, + 902, 858, 73, 73, 121, 73, 118, 872, + 872, 873, 874, 157, 158, 159, 160, 161, + 157, 158, 159, 160, 161, 87, 88, 875, + 876, 890, 872, 872, 873, 874, 233, 234, + 235, 233, 234, 235, 87, 88, 875, 876, + 890, 872, 872, 873, 874, 278, 278, 87, + 88, 875, 876, 890, 872, 872, 873, 874, + 300, 301, 300, 301, 87, 88, 875, 876, + 890, 872, 872, 873, 874, 698, 325, 698, + 325, 87, 88, 875, 876, 890, 872, 872, + 873, 874, 367, 368, 367, 368, 87, 88, + 875, 876, 890, 872, 872, 873, 874, 386, + 387, 388, 389, 388, 389, 87, 88, 875, + 876, 890, 872, 872, 873, 874, 425, 426, + 425, 426, 87, 88, 875, 876, 890, 872, + 872, 873, 874, 446, 447, 448, 446, 447, + 448, 87, 88, 875, 876, 890, 872, 872, + 873, 874, 509, 509, 87, 88, 875, 876, + 890, 872, 872, 873, 874, 526, 526, 87, + 88, 875, 876, 890, 872, 872, 873, 874, + 536, 537, 538, 536, 537, 538, 87, 88, + 875, 876, 890, 872, 872, 873, 874, 566, + 567, 568, 569, 570, 571, 566, 567, 568, + 569, 570, 571, 87, 88, 875, 876, 890, + 872, 872, 873, 874, 632, 633, 634, 632, + 633, 634, 87, 88, 875, 876, 890, 872, + 872, 873, 874, 668, 668, 87, 88, 875, + 876, 890, 872, 872, 873, 874, 678, 678, + 87, 88, 875, 876, 890, 903, 903, 98, + 905, 906, 97, 97, 907, 908, 97, 97, + 97, 904, 909, 909, 910, 911, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 5, + 6, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, + 87, 88, 912, 913, 4, 118, 84, 87, + 84, 85, 86, 88, 914, 915, 914, 916, + 917, 918, 777, 83, 90, 93, 90, 91, + 92, 94, 919, 844, 919, 920, 921, 922, + 777, 89, 845, 848, 845, 846, 847, 849, + 923, 915, 923, 924, 925, 926, 95, 859, + 83, 850, 96, 850, 851, 852, 853, 927, + 844, 927, 928, 929, 930, 95, 859, 83, + 931, 931, 38, 932, 932, 38, 933, 933, + 934, 935, 936, 937, 938, 938, 939, 940, + 61, 941, 941, 38, 942, 942, 38, 943, + 943, 38, 944, 944, 945, 946, 947, 948, + 949, 949, 950, 951, 61, 952, 952, 38, + 953, 953, 954, 955, 956, 957, 958, 958, + 959, 960, 61, 754, 962, 753, 961, 83, + 963, 963, 964, 965, 966, 849, 966, 849, + 753, 753, 753, 83, 967, 967, 968, 969, + 970, 853, 970, 853, 753, 753, 753, 89, + 963, 966, 963, 964, 965, 849, 971, 915, + 971, 972, 973, 926, 753, 961, 83, 967, + 970, 967, 968, 969, 853, 974, 844, 974, + 975, 976, 930, 753, 961, 83, 845, 848, + 845, 846, 847, 849, 977, 848, 977, 978, + 979, 174, 95, 115, 83, 850, 96, 850, + 851, 852, 853, 980, 96, 980, 981, 982, + 178, 95, 115, 83, 984, 983, 75, 985, + 985, 986, 987, 73, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, 133, + 134, 135, 136, 137, 138, 78, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, + 132, 133, 134, 135, 136, 137, 138, 87, + 88, 912, 988, 105, 106, 912, 989, 73, + 73, 121, 73, 118, 84, 87, 84, 85, + 86, 88, 990, 915, 990, 991, 992, 926, + 983, 83, 90, 93, 90, 91, 92, 94, + 993, 844, 993, 994, 995, 930, 983, 83, + 767, 767, 768, 769, 157, 158, 159, 160, + 161, 157, 158, 159, 160, 161, 770, 771, + 996, 767, 767, 768, 769, 233, 234, 235, + 233, 234, 235, 770, 771, 996, 767, 767, + 768, 769, 278, 278, 770, 771, 996, 767, + 767, 768, 769, 300, 301, 300, 301, 770, + 771, 996, 767, 767, 768, 769, 698, 325, + 698, 325, 770, 771, 996, 767, 767, 768, + 769, 367, 368, 367, 368, 770, 771, 996, + 767, 767, 768, 769, 386, 387, 388, 389, + 388, 389, 770, 771, 996, 767, 767, 768, + 769, 425, 426, 425, 426, 770, 771, 996, + 767, 767, 768, 769, 446, 447, 448, 446, + 447, 448, 770, 771, 996, 767, 767, 768, + 769, 509, 509, 770, 771, 996, 767, 767, + 768, 769, 526, 526, 770, 771, 996, 767, + 767, 768, 769, 536, 537, 538, 536, 537, + 538, 770, 771, 996, 767, 767, 768, 769, + 566, 567, 568, 569, 570, 571, 566, 567, + 568, 569, 570, 571, 770, 771, 996, 767, + 767, 768, 769, 632, 633, 634, 632, 633, + 634, 770, 771, 996, 767, 767, 768, 769, + 668, 668, 770, 771, 996, 767, 767, 768, + 769, 678, 678, 770, 771, 996, 754, 998, + 753, 997, 89, 754, 1000, 753, 999, 151, + 767, 767, 768, 769, 324, 325, 324, 325, + 770, 771, 996, 96, 1002, 95, 1001, 151, + 1004, 1005, 1006, 1003, 1003, 1003, 778, 1008, + 1007, 1010, 1009, 1012, 1013, 1014, 1015, 1012, + 1012, 1012, 1012, 1011, 1016, 1017, 1018, 1016, + 1019, 1017, 1016, 1016, 1017, 1017, 1017, 1011, + 1020, 1021, 1021, 1020, 1022, 1021, 1020, 1020, + 1021, 1021, 1021, 1011, 1023, 1017, 1025, 1024, + 1026, 1024, 1027, 1028, 1029, 1027, 1030, 1028, + 1027, 1027, 1028, 1028, 1028, 1024, 1020, 1020, + 1020, 1020, 1011, 1031, 1031, 1031, 1031, 1011, + 1034, 1035, 1033, 1033, 1032, 1036, 1037, 1036, + 1039, 1036, 1037, 1038, 1037, 1032, 1033, 1041, + 1033, 1040, 1042, 1040, 1043, 1040, 1044, 1045, + 1044, 1047, 1044, 1045, 1046, 1045, 1040, 1048, + 1048, 1050, 1048, 1051, 1048, 1049, 1032, 1052, + 1052, 1054, 1052, 1055, 1052, 1053, 1032, 1057, + 1057, 1057, 1057, 1056, 1049, 1058, 1049, 1040, + 1059, 1040, 1060, 1040, 1061, 1061, 1063, 1061, + 1064, 1061, 1062, 1040, 1066, 1066, 1067, 1068, + 1069, 1070, 1065, 1066, 1066, 1067, 1068, 1069, + 1070, 1072, 1071, 1074, 1074, 1075, 1076, 1078, + 1079, 1080, 1081, 1082, 1078, 1079, 1080, 1081, + 1082, 1083, 1084, 1083, 1084, 1077, 1073, 1086, + 1086, 1087, 1088, 1089, 1090, 1089, 1090, 1085, + 1092, 1091, 1074, 1074, 1075, 1076, 1083, 1084, + 1083, 1084, 1093, 1073, 1096, 1097, 1098, 1099, + 1100, 1096, 1097, 1098, 1099, 1100, 1095, 1094, + 1101, 1101, 1102, 1103, 1105, 1106, 1105, 1106, + 1104, 1073, 1108, 1107, 1065, 1110, 1110, 1111, + 1112, 1113, 1114, 1109, 1110, 1110, 1111, 1112, + 1115, 1116, 1117, 1115, 1113, 1114, 1115, 1115, + 1115, 1109, 1118, 1119, 1120, 1118, 1118, 1118, + 1118, 1109, 1122, 1122, 1123, 1124, 1125, 1125, + 1126, 1125, 1127, 1128, 1127, 1128, 1125, 1125, + 1125, 1121, 1129, 1129, 1130, 1131, 1132, 1133, + 1132, 1133, 1121, 1135, 1134, 1136, 1118, 1138, + 1137, 1139, 1137, 1140, 1141, 1142, 1140, 1140, + 1140, 1140, 1137, 1122, 1122, 1123, 1124, 1127, + 1128, 1127, 1128, 1121, 1144, 1143, 1109, 1145, + 1145, 1146, 1147, 1148, 1149, 778, 1145, 1145, + 1146, 1147, 1148, 1149, 1150, 1150, 1150, 1151, + 1153, 1153, 1154, 1155, 1156, 1157, 1156, 1158, + 1152, 1160, 1160, 1161, 1162, 1163, 1164, 1165, + 1163, 1166, 1167, 1166, 1168, 1163, 1163, 1163, + 1159, 1170, 1171, 1172, 1170, 1170, 1170, 1170, + 1169, 1173, 1173, 1174, 1175, 1176, 1176, 1177, + 1176, 1178, 1179, 1178, 1179, 1176, 1176, 1176, + 1159, 1180, 1180, 1181, 1182, 1166, 1167, 1166, + 1167, 89, 1184, 1183, 1185, 1170, 1187, 1186, + 1188, 1186, 1189, 1190, 1191, 1189, 1189, 1189, + 1189, 1186, 1173, 1173, 1174, 1175, 1178, 1179, + 1178, 1179, 1159, 1184, 1193, 1183, 1192, 89, + 1194, 1194, 1195, 1196, 1163, 1164, 1165, 1163, + 1197, 1198, 1163, 1163, 1163, 1169, 1200, 1199, + 778, 1202, 1201, 778, 1204, 1204, 1204, 1204, + 1203, 1205, 1205, 1205, 1205, 1203, 1206, 1207, + 1206, 1206, 1206, 1203, 1208, 1209, 1208, 1208, + 1208, 1203, 1209, 1209, 1210, 1211, 1204, 1212, + 1213, 1214, 1214, 1215, 1216, 1204, 1204, 1204, + 1203, 1218, 1217, 1203, 1209, 1203, 1220, 1220, + 1221, 1222, 1223, 1224, 1225, 1225, 1226, 1227, + 1219, 1228, 1228, 1229, 1230, 1231, 1232, 1233, + 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, + 1242, 1243, 1244, 1245, 1246, 1247, 1231, 1232, + 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, + 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, + 1249, 1250, 1250, 1251, 1252, 1219, 1253, 1253, + 1254, 1255, 1256, 1257, 1258, 1256, 1257, 1258, + 1259, 1260, 1261, 1261, 1262, 1263, 1219, 1264, + 1264, 1219, 1265, 1265, 1219, 1266, 1266, 1267, + 1268, 1269, 1270, 1271, 1271, 1272, 1273, 1219, + 1275, 1274, 1219, 1276, 1277, 1278, 1279, 1280, + 1276, 1277, 1278, 1279, 1280, 1219, 1281, 1281, + 1219, 1282, 1282, 1283, 1284, 1285, 1286, 1287, + 1287, 1288, 1289, 1219, 1290, 1291, 1290, 1291, + 1219, 1292, 1292, 1219, 1293, 1293, 1219, 1294, + 1294, 1219, 1295, 1295, 1219, 1296, 1296, 1297, + 1298, 1299, 1300, 1301, 1301, 1302, 1303, 1219, + 1304, 1304, 1305, 1306, 1307, 1308, 1309, 1309, + 1310, 1311, 1219, 1312, 1312, 1219, 1313, 1313, + 1219, 1314, 1314, 1315, 1316, 1317, 1318, 1319, + 1319, 1320, 1321, 1219, 1322, 1322, 1219, 1323, + 1323, 1219, 1324, 1324, 1219, 1325, 1325, 1326, + 1327, 1328, 1329, 1330, 1330, 1331, 1332, 1219, + 1333, 1333, 1219, 1334, 1334, 1219, 1335, 1335, + 1219, 1336, 1336, 1337, 1338, 1339, 1340, 1341, + 1341, 1342, 1343, 1219, 1344, 1345, 1346, 1344, + 1345, 1346, 1219, 1347, 1347, 1219, 1348, 1348, + 1219, 1349, 1349, 1219, 1350, 1350, 1351, 1352, + 1353, 1354, 1355, 1355, 1356, 1357, 1219, 1358, + 1359, 1358, 1359, 1219, 1360, 1360, 1219, 1361, + 1361, 1219, 1362, 1362, 1363, 1364, 1365, 1366, + 1367, 1367, 1368, 1369, 1219, 1370, 1370, 1219, + 1371, 1371, 1219, 1372, 1372, 1219, 1373, 1373, + 1374, 1375, 1376, 1377, 1378, 1378, 1379, 1380, + 1219, 1381, 1381, 1382, 1383, 1384, 1385, 1386, + 1386, 1387, 1388, 1219, 1389, 1389, 1219, 1390, + 1390, 1219, 1391, 1392, 1219, 1393, 1219, 1394, + 1394, 1395, 1396, 1397, 1398, 1399, 1399, 1400, + 1401, 1219, 1402, 1219, 1403, 1403, 1404, 1405, + 1406, 1407, 1408, 1408, 1409, 1410, 1219, 1411, + 1412, 1411, 1412, 1219, 1413, 1413, 1219, 1414, + 1414, 1219, 1415, 1415, 1219, 1416, 1416, 1417, + 1418, 1419, 1420, 1421, 1421, 1422, 1423, 1219, + 1424, 1424, 1219, 1425, 1425, 1219, 1426, 1426, + 1219, 1427, 1427, 1428, 1429, 1430, 1431, 1432, + 1432, 1433, 1434, 1219, 1435, 1435, 1219, 1436, + 1436, 1219, 1437, 1437, 1219, 1438, 1438, 1219, + 1439, 1439, 1219, 1440, 1440, 1219, 1441, 1441, + 1219, 1442, 1442, 1443, 1444, 1445, 1446, 1447, + 1447, 1448, 1449, 1219, 1450, 1451, 1450, 1451, + 1219, 1452, 1452, 1219, 1453, 1453, 1454, 1455, + 1456, 1457, 1458, 1458, 1459, 1460, 1219, 1461, + 1461, 1462, 1463, 1464, 1465, 1466, 1466, 1467, + 1468, 1219, 1469, 1470, 1471, 1472, 1471, 1472, + 1219, 1473, 1219, 1474, 1474, 1475, 1476, 1477, + 1478, 1479, 1479, 1480, 1481, 1219, 1482, 1219, + 1483, 1483, 1484, 1485, 1486, 1487, 1488, 1488, + 1489, 1490, 1219, 1491, 1491, 1219, 1492, 1492, + 1493, 1494, 1495, 1496, 1497, 1497, 1498, 1499, + 1219, 1500, 1500, 1501, 1502, 1503, 1504, 1505, + 1505, 1506, 1507, 1219, 1508, 1509, 1508, 1509, + 1219, 1510, 1510, 1219, 1511, 1511, 1219, 1512, + 1512, 1219, 1513, 1513, 1514, 1515, 1516, 1517, + 1518, 1518, 1519, 1520, 1219, 1521, 1521, 1522, + 1523, 1524, 1525, 1526, 1526, 1527, 1528, 1219, + 1529, 1530, 1531, 1529, 1530, 1531, 1219, 1532, + 1532, 1219, 1533, 1533, 1219, 1534, 1534, 1219, + 1535, 1535, 1536, 1537, 1538, 1539, 1540, 1540, + 1541, 1542, 1219, 1543, 1543, 1219, 1544, 1544, + 1545, 1546, 1547, 1548, 1549, 1549, 1550, 1551, + 1219, 1552, 1552, 1553, 1554, 1555, 1555, 1556, + 1557, 1558, 1558, 1559, 1560, 1219, 1561, 1561, + 1219, 1562, 1562, 1563, 1564, 1565, 1566, 1567, + 1568, 1568, 1569, 1570, 1219, 1571, 1571, 1572, + 1573, 1574, 1574, 1575, 1576, 1577, 1577, 1578, + 1579, 1219, 1580, 1580, 1219, 1581, 1581, 1219, + 1582, 1582, 1219, 1583, 1583, 1219, 1584, 1584, + 1585, 1586, 1587, 1588, 1589, 1589, 1590, 1591, + 1219, 1592, 1592, 1219, 1593, 1593, 1219, 1594, + 1594, 1219, 1595, 1595, 1219, 1596, 1596, 1219, + 1597, 1597, 1219, 1598, 1598, 1219, 1599, 1599, + 1219, 1600, 1600, 1219, 1601, 1601, 1602, 1603, + 1604, 1605, 1606, 1606, 1607, 1608, 1219, 1609, + 1609, 1219, 1610, 1610, 1219, 1611, 1611, 1612, + 1613, 1614, 1615, 1616, 1616, 1617, 1618, 1219, + 1619, 1620, 1621, 1619, 1620, 1621, 1219, 1622, + 1622, 1623, 1624, 1625, 1626, 1627, 1627, 1628, + 1629, 1219, 1630, 1630, 1219, 1631, 1631, 1219, + 1632, 1632, 1219, 1633, 1633, 1634, 1635, 1636, + 1637, 1638, 1638, 1639, 1640, 1219, 1641, 1641, + 1642, 1643, 1644, 1645, 1646, 1646, 1647, 1648, + 1219, 1649, 1650, 1651, 1652, 1653, 1654, 1649, + 1650, 1651, 1652, 1653, 1654, 1219, 1655, 1655, + 1219, 1656, 1656, 1219, 1657, 1657, 1219, 1658, + 1658, 1219, 1659, 1659, 1660, 1661, 1662, 1663, + 1664, 1664, 1665, 1666, 1219, 1667, 1667, 1219, + 1668, 1668, 1669, 1670, 1671, 1672, 1673, 1673, + 1674, 1675, 1219, 1676, 1676, 1219, 1677, 1677, + 1678, 1679, 1680, 1681, 1682, 1682, 1683, 1684, + 1219, 1685, 1685, 1219, 1686, 1686, 1687, 1688, + 1689, 1690, 1691, 1691, 1692, 1693, 1219, 1694, + 1694, 1219, 1695, 1695, 1219, 1696, 1696, 1219, + 1697, 1697, 1698, 1699, 1700, 1701, 1702, 1702, + 1703, 1704, 1219, 1705, 1705, 1219, 1706, 1706, + 1219, 1707, 1707, 1708, 1709, 1710, 1711, 1712, + 1712, 1713, 1714, 1219, 1715, 1716, 1717, 1715, + 1716, 1717, 1219, 1718, 1718, 1219, 1719, 1719, + 1219, 1720, 1720, 1721, 1722, 1723, 1724, 1725, + 1725, 1726, 1727, 1219, 1728, 1728, 1219, 1729, + 1729, 1730, 1731, 1732, 1733, 1734, 1734, 1735, + 1736, 1219, 1737, 1737, 1219, 1738, 1738, 1219, + 1739, 1219, 1740, 1740, 1741, 1742, 1744, 1745, + 1746, 1746, 1747, 1748, 1743, 1219, 1749, 1749, + 1219, 1750, 1750, 1219, 1751, 1751, 1752, 1753, + 1754, 1755, 1756, 1756, 1757, 1758, 1219, 1759, + 1759, 1219, 1760, 1760, 1219, 1761, 1761, 1219, + 1762, 1762, 1219, 1763, 1763, 1219, 1764, 1764, + 1765, 1766, 1767, 1768, 1769, 1769, 1770, 1771, + 1219, 1772, 1772, 1219, 1773, 1773, 1219, 1774, + 1774, 1219, 1775, 1775, 1776, 1777, 1778, 1779, + 1780, 1780, 1781, 1782, 1219, 1783, 1783, 1219, + 1784, 1784, 1785, 1786, 1787, 1788, 1789, 1789, + 1790, 1791, 1219, 1793, 1793, 1794, 1795, 1796, + 1797, 1792, 1793, 1793, 1794, 1795, 1796, 1797, + 1799, 1798, 1800, 1800, 1801, 1802, 1804, 1805, + 1803, 1798, 1807, 1807, 1808, 1809, 1811, 1812, + 1810, 1810, 1810, 1806, 1813, 1813, 1813, 1806, + 1814, 1814, 1815, 1816, 1817, 1818, 1819, 1819, + 1820, 1821, 1810, 1810, 1810, 1806, 1823, 1822, + 1806, 1825, 1824, 1792, 1827, 1826, 1792, 1828, + 1828, 1829, 1830, 1831, 1832, 1792, 1828, 1828, + 1829, 1830, 1833, 1831, 1832, 1834, 1798, 1835, + 1835, 1836, 1837, 1839, 1839, 1840, 1841, 1838, + 1798, 1842, 1842, 1843, 1844, 1846, 1847, 1845, + 1845, 1845, 1806, 1848, 1848, 1848, 1806, 1849, + 1849, 1850, 1851, 1852, 1853, 1854, 1854, 1855, + 1856, 1845, 1845, 1845, 1806, 1858, 1857, 1806, + 1860, 1859, 1792, 1861, 1861, 1862, 1863, 1864, + 1865, 1838, 1798, 1867, 1866, 1792, 1869, 1870, + 1871, 1872, 1873, 1874, 1868, 1875, 1868, 1876, + 1868, 1877, 1868, 1878, 1878, 1878, 1878, 1878, + 1878, 1868, 1879, 1868, 1880, 1868, 1881, 1881, + 1881, 1881, 1881, 1881, 1868, 1882, 1868, 1883, + 1868, 1884, 1885, 1868, 1886, 1868, 1887, 1868, + 1888, 1868, 1889, 1868, 1890, 1890, 1890, 1890, + 1890, 1890, 1868, 1891, 1868, 1892, 1868, 1893, + 1868, 1894, 1868, 1895, 1895, 1895, 1895, 1895, + 1895, 1868, 1896, 1868, 1897, 1868, 1899, 1898, + 1900, 1900, 1900, 1900, 1900, 1900, 1901, 1898, + 1902, 1868, 1903, 1868, 1904, 1868, 1905, 1868, + 1906, 1868, 1907, 1868, 1908, 1868, 1909, 1868, + 1910, 1868, 1911, 1868, 1912, 1868, 1913, 1868, + 1914, 1868, 1915, 1868, 1916, 1916, 1916, 1916, + 1916, 1916, 1868, 1917, 1868, 1918, 1868, 1919, + 1868, 1920, 1920, 1920, 1920, 1920, 1920, 1868, + 1922, 1922, 1923, 1924, 1925, 1926, 1927, 1927, + 1928, 1929, 1921, 1930, 1930, 1931, 1932, 1933, + 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, + 1942, 1942, 1943, 1944, 1921, 1945, 1921, 1946, + 1921, 1947, 1921, 1948, 1921, 1921, 1950, 1921, + 1921, 1921, 1949, 1951, 1951, 1952, 1953, 1954, + 1955, 1956, 1956, 1957, 1958, 1921, 1960, 1959, + 1921, 1961, 1921, 1962, 1921, 1963, 1921, 1964, + 1965, 1965, 1965, 1965, 1921, 1966, 1966, 1966, + 1966, 1921, 1967, 1967, 1967, 1967, 1921, 1968, + 1969, 1968, 1968, 1968, 1921, 1970, 1971, 1970, + 1970, 1970, 1921, 1972, 1973, 1973, 1973, 1973, + 1921, 1974, 1974, 1975, 1976, 1977, 1978, 1979, + 1979, 1980, 1981, 1921, 1971, 1921, 1982, 1982, + 1982, 1982, 1921, 1983, 1984, 1983, 1983, 1983, + 1921, 1985, 1986, 1985, 1985, 1985, 1921, 1987, + 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1993, + 1994, 1995, 1990, 1990, 1990, 1921, 1986, 1921, + 1996, 1921, 1997, 1921, 1998, 1999, 1921, 2000, + 1921, 2001, 1921, 2002, 1921, 2003, 1921, 2004, + 1921, 2006, 2007, 2007, 2005, 2008, 2008, 2005, + 2009, 2010, 2011, 2011, 2005, 2012, 2012, 2005, + 2013, 2013, 2014, 2015, 2016, 2017, 2018, 2019, + 2020, 2020, 2021, 2022, 2017, 2005, 2023, 2023, + 2005, 2024, 1921, 2025, 1921, 2026, 1921, 2027, + 1921, 2028, 1921, 2029, 2030, 2030, 2030, 2030, + 2005, 2031, 2031, 2031, 2031, 2005, 2032, 2033, + 2034, 2034, 2034, 2034, 2005, 2035, 2035, 2035, + 2035, 2005, 2036, 2036, 2037, 2038, 2039, 2040, + 2041, 2042, 2043, 2043, 2044, 2045, 2040, 2040, + 2040, 2005, 2046, 2046, 2046, 2046, 2005, 2047, + 1921, 2048, 1921, 2050, 2049, 2051, 2051, 2052, + 2053, 2055, 2056, 2057, 2058, 2058, 2059, 2060, + 2054, 2049, 1921, 1921, 1921, 1921, 2061, 1987, + 1987, 1988, 1989, 1991, 1992, 1993, 1993, 1994, + 1995, 1921, 2062, 1921, 2063, 1921, 2064, 1921, + 2065, 1921, 2066, 1921, 2067, 1921, 2068, 1921, + 2069, 1921, 2070, 1921, 2071, 2072, 2072, 1921, + 2073, 2073, 1921, 2074, 2075, 1921, 2076, 2076, + 1921, 2077, 2077, 2078, 2079, 2080, 2081, 2082, + 2083, 2083, 2084, 2085, 1921, 2086, 2086, 1921, + 2087, 1921, 2088, 1921, 2089, 1921, 2090, 1921, + 2091, 1921, 2092, 1921, 2093, 1921, 2094, 1921, + 2095, 1921, 2096, 1921, 2097, 1921, 2098, 1921, + 2099, 1921, 2100, 1921, 2101, 2101, 2102, 2103, + 2104, 2105, 2106, 2106, 2107, 2108, 1921, 2109, + 1921, 2110, 1921, 2111, 1921, 2112, 1921, 2113, + 2114, 2049, 2115, 2049, 2116, 2117, 2049, 2118, + 2118, 2119, 2120, 2122, 2123, 2124, 2124, 2125, + 2126, 2121, 2049, 1951, 1951, 1952, 1953, 1954, + 1955, 1956, 1956, 1957, 1958, 2127, 2127, 2127, + 1921, 2128, 1921, 2131, 2132, 2133, 2134, 2135, + 2131, 2132, 2133, 2134, 2135, 2130, 2129, 2136, + 2136, 2136, 2136, 2137, 2129, 2138, 2139, 2138, + 2139, 2129, 2140, 2140, 2140, 2140, 2129, 2141, + 2141, 2129, 2142, 2143, 2142, 2142, 2142, 2129, + 2144, 2144, 2129, 2145, 2145, 2129, 2146, 2146, + 2129, 2147, 2147, 2129, 2148, 2129, 2149, 2129, + 2150, 2150, 2129, 2151, 2151, 2129, 2152, 2152, + 2129, 2153, 2129, 2154, 2154, 2154, 2154, 2129, + 2155, 2156, 2155, 2156, 2129, 2157, 2158, 2157, + 2158, 2129, 2159, 2129, 2160, 2160, 2129, 2161, + 2161, 2129, 2162, 2162, 2129, 2163, 2163, 2129, + 2164, 2164, 2164, 2164, 2129, 2165, 2165, 2129, + 2166, 2166, 2129, 2167, 2167, 2129, 2168, 2169, + 2129, 2170, 2129, 2171, 2129, 2172, 2172, 2129, + 2173, 2173, 2129, 2174, 2174, 2129, 2175, 2129, + 2176, 2129, 2177, 2129, 2178, 2178, 2178, 2178, + 2129, 2179, 2129, 2180, 2129, 2181, 2181, 2129, + 2182, 2182, 2129, 2183, 2183, 2129, 2184, 2129, + 2185, 2129, 2186, 2129, 2187, 2187, 2187, 2187, + 2129, 2188, 2189, 2129, 2190, 2129, 2191, 2129, + 2192, 2129, 2193, 2129, 2194, 2194, 2194, 2194, + 2129, 2195, 2129, 2196, 2129, 2197, 2197, 2197, + 2197, 2129, 2198, 2198, 2129, 2199, 2199, 2129, + 2200, 2200, 2129, 2201, 2201, 2129, 2202, 2202, + 2129, 2203, 2203, 2129, 2204, 2204, 2129, 2205, + 2205, 2205, 2205, 2129, 2206, 2206, 2129, 2207, + 2207, 2129, 2208, 2208, 2129, 2209, 2209, 2129, + 2210, 2210, 2129, 2211, 2211, 2129, 2212, 2213, + 2212, 2213, 2129, 2214, 2214, 2129, 2215, 2215, + 2129, 2216, 2216, 2216, 2216, 2129, 2217, 2217, + 2129, 2218, 2218, 2129, 2219, 2219, 2219, 2219, + 2129, 2220, 2220, 2129, 2221, 2221, 2129, 2222, + 2223, 2222, 2223, 2129, 2224, 2224, 2129, 2225, + 2129, 2226, 2226, 2226, 2226, 2129, 2227, 2227, + 2129, 2228, 2228, 2129, 2229, 2230, 2231, 2129, + 2232, 2233, 2232, 2232, 2232, 2129, 2234, 2234, + 2129, 2235, 2235, 2129, 2236, 2236, 2129, 2237, + 2237, 2129, 2238, 2129, 2239, 2129, 2240, 2240, + 2129, 2241, 2241, 2129, 2242, 2242, 2129, 2243, + 2129, 2244, 2244, 2244, 2244, 2129, 2245, 2129, + 2246, 2129, 2247, 2247, 2247, 2247, 2129, 2248, + 2129, 2249, 2129, 2250, 2250, 2250, 2250, 2129, + 2253, 2254, 2255, 2256, 2257, 2258, 2253, 2254, + 2255, 2256, 2257, 2258, 2252, 2251, 2259, 2259, + 2259, 2259, 2260, 2251, 2261, 2261, 2251, 2262, + 2262, 2251, 2263, 2263, 2251, 2264, 2264, 2251, + 2265, 2265, 2251, 2266, 2266, 2266, 2266, 2251, + 2267, 2268, 2269, 2267, 2268, 2269, 2251, 2270, + 2270, 2251, 2271, 2271, 2251, 2272, 2272, 2251, + 2273, 2273, 2251, 2274, 2274, 2251, 2275, 2275, + 2275, 2275, 2251, 2276, 2277, 2276, 2277, 2251, + 2278, 2278, 2251, 2279, 2279, 2279, 2279, 2251, + 2280, 2280, 2251, 2281, 2281, 2251, 2282, 2282, + 2282, 2282, 2251, 2283, 2283, 2251, 2284, 2284, + 2251, 2285, 2285, 2251, 2286, 2286, 2286, 2286, + 2251, 2287, 2287, 2251, 2288, 2288, 2251, 2289, + 2289, 2289, 2289, 2251, 2290, 2291, 2290, 2291, + 2251, 2292, 2292, 2251, 2293, 2293, 2293, 2293, + 2251, 2294, 2294, 2251, 2295, 2295, 2251, 2296, + 2296, 2296, 2296, 2251, 2297, 2297, 2251, 2298, + 2298, 2251, 2299, 2299, 2251, 2300, 2300, 2300, + 2300, 2251, 2301, 2301, 2251, 2302, 2302, 2251, + 2303, 2303, 2303, 2303, 2251, 2305, 2305, 2304, + 2306, 2307, 2306, 2306, 2306, 2307, 2304, 2308, + 2308, 2308, 2308, 2308, 2308, 75, 2309, 2309, + 2309, 2309, 75, 2310, 2310, 2310, 2310, 2310, + 2310, 75, 2311, 2311, 2312, 2313, 2314, 2315, + 75, 2316, 2316, 2317, 2318, 2319, 2319, 2319, + 2320, 2321, 2319, 2319, 2319, 75, 2322, 2322, + 2323, 2324, 2325, 2326, 75, 2328, 2328, 2329, + 2330, 2332, 2333, 2331, 2327, 2334, 2334, 2335, + 2336, 2338, 2339, 2337, 2327, 2340, 2340, 2341, + 2342, 2344, 2345, 2343, 2327, 2347, 2347, 2348, + 2349, 2351, 2352, 2353, 2354, 2355, 2351, 2352, + 2353, 2354, 2355, 2356, 2357, 2350, 2346, 2358, + 2358, 2359, 2360, 2362, 2363, 2361, 2327, 2364, + 2364, 2365, 2366, 2368, 2369, 2370, 2371, 2372, + 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2367, + 2346, 2375, 2375, 2376, 2377, 2379, 2380, 2378, + 2327, 2381, 2381, 2382, 2383, 2385, 2386, 2387, + 2388, 2389, 2385, 2386, 2387, 2388, 2389, 2390, + 2391, 2384, 2346, 2392, 2392, 2393, 2394, 2396, + 2397, 2395, 2327, 2398, 2398, 2400, 2401, 2402, + 2403, 2404, 2400, 2401, 2402, 2403, 2404, 2398, + 2398, 2399, 2346, 2398, 2398, 2398, 2398, 2405, + 2346, 2407, 2408, 2409, 2410, 2411, 2407, 2408, + 2409, 2410, 2411, 2406, 2346, 2412, 2412, 2412, + 2412, 2413, 2346, 2415, 2414, 75, 2381, 2381, + 2382, 2383, 2390, 2391, 2416, 2346, 2418, 2419, + 2420, 2421, 2422, 2418, 2419, 2420, 2421, 2422, + 2417, 2346, 2423, 2423, 2424, 2425, 2427, 2428, + 2426, 2346, 2430, 2429, 75, 2364, 2364, 2365, + 2366, 2373, 2374, 2431, 2346, 2433, 2434, 2435, + 2436, 2437, 2433, 2434, 2435, 2436, 2437, 2432, + 2346, 2438, 2438, 2439, 2440, 2442, 2443, 2441, + 2346, 2445, 2444, 75, 2347, 2347, 2348, 2349, + 2356, 2357, 2446, 2346, 2448, 2449, 2450, 2451, + 2452, 2448, 2449, 2450, 2451, 2452, 2447, 2346, + 2453, 2453, 2454, 2455, 2457, 2458, 2456, 2346, + 2460, 2459, 75, 2462, 2461, 75, 2464, 2463, + 75, 75, 75, 75, 75, 2465, 2466, 2466, + 2467, 2468, 2469, 2470, 75, 2472, 2472, 2473, + 2474, 2475, 2476, 2471, 2471, 2471, 75, 2477, + 2477, 2477, 2477, 75, 2479, 2478, 75, 2480, + 2480, 2480, 2480, 2480, 2480, 75, 2481, 2481, + 2482, 2483, 2484, 2485, 75, 2486, 2486, 2487, + 2488, 2489, 2489, 2489, 2490, 2491, 2489, 2489, + 2489, 75, 2492, 2492, 2492, 2492, 75, 2494, + 2493, 75, 2495, 2327, 2496, 2496, 2497, 2498, + 2500, 2501, 2499, 2327, 2502, 2502, 2503, 2504, + 2505, 2505, 2505, 2506, 2507, 2505, 2505, 2505, + 75, 2508, 2508, 2508, 2508, 75, 2510, 2509, + 75, 2512, 2512, 2512, 2512, 2511, 2513, 2513, + 2514, 2515, 2516, 2517, 2518, 2518, 2519, 2520, + 2512, 2522, 2522, 2523, 2524, 2525, 2526, 2527, + 2527, 2528, 2529, 2521, 2521, 2521, 2512, 2531, + 2530, 2512, 2532, 2532, 2532, 2532, 2304, 2533, + 2534, 2533, 2533, 2533, 2534, 2534, 2534, 2304, + 2536, 2535, 2537, 2537, 2538, 2539, 2541, 2542, + 2540, 2535, 2543, 2543, 2544, 2545, 2547, 2548, + 2549, 2550, 2546, 2535, 2551, 2551, 2552, 2553, + 2555, 2556, 2554, 2535, 2557, 2557, 2558, 2559, + 2547, 2548, 2561, 2562, 2560, 2535, 2563, 2563, + 2564, 2565, 2566, 2568, 2569, 2567, 2535, 2570, + 2570, 2571, 2572, 2547, 2548, 2573, 2574, 2535, + 2575, 2575, 2576, 2577, 2578, 2579, 2535, 2575, + 2575, 2576, 2577, 2578, 2579, 2580, 2535, 2581, + 2581, 2582, 2583, 2585, 2586, 2584, 2535, 2587, + 2587, 2588, 2589, 2591, 2592, 2593, 2594, 2590, + 2535, 2595, 2595, 2596, 2597, 2599, 2600, 2598, + 2535, 2601, 2601, 2602, 2603, 2591, 2592, 2605, + 2606, 2604, 2535, 2607, 2607, 2608, 2609, 2610, + 2612, 2613, 2611, 2535, 2614, 2614, 2615, 2616, + 2591, 2592, 2617, 2618, 2535, 2619, 2619, 2620, + 2621, 2622, 2623, 2535, 2619, 2619, 2620, 2621, + 2624, 2622, 2623, 2625, 2535, 2626, 2535, 2627, + 2627, 2628, 2629, 2630, 2632, 2633, 2634, 2635, + 2635, 2636, 2637, 2631, 2535, 2638, 2638, 2639, + 2640, 2642, 2643, 2644, 2644, 2645, 2646, 2641, + 2535, 2647, 2647, 2648, 2649, 2650, 2652, 2653, + 2654, 2655, 2655, 2656, 2657, 2651, 2535, 2658, + 2658, 2659, 2660, 2662, 2663, 2644, 2644, 2664, + 2665, 2661, 2535, 2666, 2666, 2667, 2668, 2669, + 2671, 2672, 2673, 2674, 2674, 2675, 2676, 2670, + 2535, 2677, 2677, 2678, 2679, 2681, 2682, 2644, + 2644, 2683, 2684, 2680, 2535, 2685, 2685, 2686, + 2687, 2688, 2685, 2690, 2691, 2692, 2692, 2693, + 2694, 2689, 2535, 2695, 2695, 2696, 2697, 2698, + 2699, 2644, 2644, 2700, 2701, 2535, 2703, 2702, + 2535, 2704, 2704, 2705, 2706, 2704, 2708, 2709, + 2710, 2710, 2711, 2712, 2707, 2535, 2685, 2685, + 2686, 2687, 2685, 2690, 2691, 2692, 2692, 2693, + 2694, 2713, 2535, 2715, 2714, 2535, 2716, 2716, + 2717, 2718, 2720, 2721, 2722, 2723, 2723, 2724, + 2725, 2719, 2535, 2666, 2666, 2667, 2668, 2671, + 2672, 2673, 2674, 2674, 2675, 2676, 2726, 2535, + 2677, 2677, 2678, 2679, 2681, 2682, 2644, 2644, + 2683, 2684, 2535, 2728, 2727, 2535, 2729, 2729, + 2730, 2731, 2733, 2734, 2735, 2736, 2736, 2737, + 2738, 2732, 2535, 2647, 2647, 2648, 2649, 2652, + 2653, 2654, 2655, 2655, 2656, 2657, 2739, 2535, + 2658, 2658, 2659, 2660, 2662, 2663, 2644, 2644, + 2664, 2665, 2535, 2741, 2740, 2535, 2742, 2742, + 2743, 2744, 2746, 2747, 2748, 2749, 2749, 2750, + 2751, 2745, 2535, 2627, 2627, 2628, 2629, 2632, + 2633, 2634, 2635, 2635, 2636, 2637, 2752, 2535, + 2638, 2638, 2639, 2640, 2642, 2643, 2644, 2644, + 2645, 2646, 2535, 2754, 2753, 2535, 2755, 2755, + 2756, 2757, 2758, 2759, 2535, 2761, 2760, 2535, + 2762, 2762, 2763, 2764, 2766, 2767, 2765, 2535, + 2607, 2607, 2608, 2609, 2612, 2613, 2768, 2535, + 2770, 2769, 2535, 2772, 2771, 2535, 2774, 2773, + 2535, 2775, 2775, 2776, 2777, 2778, 2779, 2535, + 2781, 2780, 2535, 2782, 2782, 2783, 2784, 2786, + 2787, 2785, 2535, 2563, 2563, 2564, 2565, 2568, + 2569, 2788, 2535, 2790, 2789, 2535, 2792, 2791, + 2535, 2793, 2327, 2794, 2794, 2795, 2796, 2798, + 2799, 2797, 2327, 2800, 2800, 2801, 2802, 2804, + 2805, 2803, 2327, 2806, 2806, 2807, 2808, 2810, + 2811, 2809, 2327, 2812, 2812, 2813, 2814, 2816, + 2817, 2815, 2327, 2818, 2818, 2819, 2820, 2822, + 2823, 2821, 2327, 2824, 2824, 2825, 2826, 2827, + 2827, 2827, 2828, 2829, 2827, 2827, 2827, 75, + 2830, 2830, 2830, 2830, 75, 2832, 2831, 75, + 2834, 2833, 75, 2836, 2835, 75, 2837, 2327, + 2838, 2838, 2839, 2840, 2842, 2843, 2841, 2327, + 2844, 2844, 2845, 2846, 2848, 2849, 2847, 2327, + 2850, 2850, 2851, 2852, 2854, 2855, 2853, 2327, + 2857, 2857, 2858, 2859, 2860, 2861, 2856, 2856, + 2856, 75, 2862, 2862, 2863, 2864, 2865, 2866, + 75, 2868, 2868, 2869, 2870, 2871, 2872, 2867, + 2867, 2867, 75, 2873, 2873, 2874, 2875, 2876, + 2877, 75, 2879, 2879, 2880, 2881, 2882, 2883, + 2878, 2878, 2878, 75, 2884, 2884, 2885, 2886, + 2887, 2888, 75, 2889, 2889, 2890, 2891, 2892, + 2892, 2892, 2893, 2894, 2892, 2892, 2892, 75, + 2895, 2895, 2895, 2895, 75, 2897, 2896, 75, + 2899, 2898, 75, 2901, 2900, 75, 2903, 2902, + 75, 2905, 2904, 75, 2906, 2906, 2906, 75, + 2907, 2907, 2908, 2909, 2910, 2911, 75, 2907, + 2907, 2908, 2909, 2910, 2911, 2912, 2327, 2913, + 2913, 2914, 2915, 2917, 2918, 2916, 2327, 2919, + 2919, 2920, 2921, 2923, 2924, 2922, 2922, 2922, + 75, 2925, 2925, 2926, 2927, 2928, 2929, 75, + 2925, 2925, 2926, 2927, 2930, 2928, 2929, 2930, + 2930, 2930, 75, 2931, 2931, 75, 2933, 2932, + 75, 2935, 2934, 75, 2937, 2936, 75, 2939, + 2939, 2940, 2941, 2942, 2943, 2944, 2945, 2946, + 2947, 2947, 2948, 2949, 2938, 2950, 2951, 2938, + 2952, 2938, 2954, 2954, 2953, 2956, 2955, 2953, + 2957, 2938, 2958, 2958, 2959, 2960, 2962, 2963, + 2964, 2964, 2965, 2966, 2961, 2938, 2968, 2967, + 75, 2969, 2938, 2970, 2970, 2970, 2970, 2953, + 2972, 2971, 2971, 2971, 2953, 2973, 2327, 2974, + 2974, 2975, 2976, 2978, 2979, 2977, 2327, 2980, + 2980, 2981, 2982, 2984, 2985, 2983, 2983, 2983, + 75, 2986, 2986, 2987, 2988, 2989, 2990, 75, + 2986, 2986, 2987, 2988, 2989, 2990, 2991, 2327, + 2992, 2992, 2993, 2994, 2996, 2997, 2995, 2327, + 2999, 2999, 3000, 3001, 3003, 3004, 3002, 3002, + 3002, 2998, 3005, 3005, 3005, 2998, 3006, 3006, + 3007, 3008, 3009, 3010, 3011, 3011, 3012, 3013, + 3002, 3002, 3002, 2998, 3015, 3014, 2998, 3017, + 3016, 75, 3019, 3018, 75, 3021, 3020, 75, + 3022, 2327, 3023, 3023, 3024, 3025, 3027, 3028, + 3026, 2327, 3029, 3029, 3030, 3031, 3033, 3034, + 3032, 2327, 3035, 3035, 3036, 3037, 3039, 3040, + 3038, 2327, 3041, 3041, 3042, 3043, 3045, 3046, + 3044, 3044, 3044, 2998, 3047, 3047, 3047, 2998, + 3048, 3048, 3049, 3050, 3051, 3052, 3053, 3053, + 3054, 3055, 3044, 3044, 3044, 2998, 3057, 3056, + 2998, 3059, 3058, 75, 3061, 3060, 75, 3062, + 2327, 3063, 3063, 3064, 3065, 3067, 3068, 3066, + 2327, 3070, 3070, 3071, 3072, 3073, 3074, 3075, + 3076, 3077, 3078, 3069, 3079, 3079, 3080, 3081, + 3082, 3083, 3069, 3079, 3079, 3080, 3081, 3082, + 3083, 3085, 3084, 3086, 3086, 3087, 3088, 3090, + 3091, 3089, 3084, 3092, 3092, 3093, 3094, 3095, + 3096, 3097, 3069, 3099, 3099, 3100, 3101, 3102, + 3102, 3103, 3104, 3105, 3105, 3106, 3107, 3108, + 3108, 3108, 3108, 3109, 3110, 3108, 3108, 3111, + 3112, 3113, 3114, 3108, 3108, 3115, 3116, 3117, + 3118, 3108, 3108, 3119, 3120, 3098, 3099, 3099, + 3100, 3101, 3122, 3109, 3110, 3122, 3122, 3122, + 3121, 3108, 3108, 3121, 3124, 3123, 3121, 3102, + 3102, 3103, 3104, 3108, 3108, 3108, 3108, 3113, + 3114, 3108, 3108, 3115, 3116, 3121, 3126, 3125, + 3121, 3122, 3099, 3099, 3100, 3101, 3102, 3102, + 3103, 3104, 3105, 3105, 3106, 3107, 3108, 3108, + 3108, 3108, 3109, 3110, 3108, 3108, 3111, 3112, + 3113, 3114, 3108, 3108, 3115, 3116, 3117, 3118, + 3108, 3108, 3119, 3120, 3122, 3122, 3122, 3121, + 3124, 3126, 3128, 3123, 3125, 3127, 3121, 3130, + 3129, 3069, 3132, 3131, 3069, 3133, 3133, 3134, + 3135, 3136, 3137, 3069, 3133, 3133, 3134, 3135, + 3136, 3137, 3138, 3084, 3139, 3139, 3140, 3141, + 3143, 3144, 3142, 3084, 3146, 3146, 3147, 3148, + 3149, 3150, 3151, 3149, 3145, 3153, 3154, 3154, + 3155, 3156, 3157, 3157, 3158, 3159, 3160, 3160, + 3161, 3162, 3163, 3163, 3163, 3163, 3164, 3165, + 3163, 3163, 3166, 3167, 3168, 3169, 3163, 3163, + 3170, 3171, 3172, 3173, 3163, 3163, 3174, 3175, + 3153, 3152, 3177, 3176, 3069, 3179, 3178, 3069, + 3180, 3180, 3181, 3182, 3183, 3184, 3069, 3180, + 3180, 3181, 3182, 3183, 3184, 3185, 3084, 3186, + 3186, 3187, 3188, 3190, 3191, 3189, 3084, 3192, + 3192, 3193, 3194, 3195, 3196, 3197, 3195, 3195, + 3195, 3145, 3198, 3199, 3199, 3200, 3201, 3202, + 3202, 3203, 3204, 3205, 3205, 3206, 3207, 3208, + 3208, 3208, 3208, 3209, 3210, 3208, 3208, 3211, + 3212, 3213, 3214, 3208, 3208, 3215, 3216, 3217, + 3218, 3208, 3208, 3219, 3220, 3198, 3198, 3198, + 3152, 3222, 3221, 3069, 3224, 3223, 3069, 3225, + 3225, 3226, 3227, 3228, 3229, 3069, 3225, 3225, + 3226, 3227, 3228, 3229, 3230, 3084, 3231, 3231, + 3232, 3233, 3235, 3236, 3234, 3084, 3237, 3237, + 3238, 3239, 3240, 3240, 3240, 3241, 3242, 3240, + 3240, 3240, 3069, 3243, 3243, 3244, 3245, 3246, + 3246, 3247, 3248, 3249, 3249, 3250, 3251, 3252, + 3252, 3252, 3252, 3253, 3254, 3252, 3252, 3255, + 3256, 3257, 3258, 3252, 3252, 3259, 3260, 3261, + 3262, 3252, 3252, 3263, 3264, 3098, 3266, 3265, + 3069, 3268, 3267, 3069, 3270, 3269, 75, 3272, + 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280, + 3281, 3282, 3283, 3284, 3285, 3286, 3287, 3288, + 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, + 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3287, + 3288, 3271, 3289, 3289, 3290, 3291, 3292, 3293, + 3294, 3292, 3293, 3294, 3295, 3296, 3271, 3297, + 3297, 3298, 3299, 3301, 3302, 3300, 3300, 3300, + 75, 3303, 3303, 3304, 3305, 3306, 3307, 75, + 3303, 3303, 3304, 3305, 3306, 3307, 3308, 2327, + 3309, 3309, 3310, 3311, 3313, 3314, 3312, 2327, + 3315, 3315, 3316, 3317, 3319, 3320, 3318, 2327, + 3321, 3321, 3322, 3323, 3325, 3326, 3324, 2327, + 3328, 3328, 3329, 3330, 3332, 3333, 3331, 3327, + 3334, 3334, 3335, 3336, 3338, 3339, 3337, 3327, + 3340, 3340, 3341, 3342, 3344, 3345, 3343, 3327, + 3346, 3346, 3347, 3348, 3350, 3351, 3349, 3327, + 3352, 3352, 3353, 3354, 3356, 3357, 3355, 2327, + 3358, 3358, 3359, 3360, 3362, 3363, 3361, 2327, + 3364, 3364, 3365, 3366, 3367, 3367, 3367, 3368, + 3369, 3367, 3367, 3367, 75, 3370, 3370, 3371, + 3372, 3373, 3374, 75, 3375, 3375, 3376, 3377, + 3378, 3379, 3380, 3378, 3378, 3378, 75, 3381, + 3381, 75, 3383, 3382, 75, 3385, 3384, 75, + 3387, 3386, 75, 3389, 3388, 75, 3391, 3390, + 75, 3393, 3392, 75, 3395, 3394, 75, 3397, + 3396, 75, 3398, 3398, 3271, 3399, 3399, 3271, + 3400, 3400, 3401, 3402, 3403, 3404, 3271, 3405, + 3405, 3271, 3406, 3406, 3271, 3407, 3407, 3271, + 3408, 3408, 3409, 3410, 3411, 3412, 3271, 3413, + 3413, 3271, 3414, 3414, 3415, 3416, 3417, 3418, + 3271, 3419, 3420, 3421, 3422, 3423, 3419, 3420, + 3421, 3422, 3423, 3271, 3424, 3424, 3271, 3425, + 3425, 3426, 3427, 3428, 3429, 3271, 3430, 3431, + 3430, 3431, 3271, 3432, 3432, 3271, 3433, 3433, + 3271, 3434, 3434, 3271, 3435, 3435, 3271, 3436, + 3436, 3437, 3438, 3439, 3440, 3271, 3441, 3441, + 3442, 3443, 3444, 3445, 3271, 3446, 3446, 3271, + 3447, 3447, 3271, 3448, 3448, 3449, 3450, 3451, + 3452, 3271, 3453, 3453, 3271, 3454, 3454, 3271, + 3455, 3455, 3271, 3456, 3456, 3457, 3458, 3459, + 3460, 3271, 3461, 3461, 3271, 3462, 3462, 3271, + 3463, 3463, 3271, 3464, 3464, 3465, 3466, 3467, + 3468, 3271, 3469, 3470, 3471, 3469, 3470, 3471, + 3271, 3472, 3472, 3271, 3473, 3473, 3271, 3474, + 3474, 3271, 3475, 3475, 3476, 3477, 3478, 3479, + 3271, 3480, 3481, 3480, 3481, 3271, 3482, 3482, + 3271, 3483, 3483, 3271, 3484, 3484, 3485, 3486, + 3487, 3488, 3271, 3489, 3489, 3271, 3490, 3490, + 3271, 3491, 3491, 3271, 3492, 3492, 3493, 3494, + 3495, 3496, 3271, 3497, 3497, 3498, 3499, 3500, + 3501, 3271, 3502, 3502, 3271, 3503, 3503, 3271, + 3504, 3505, 3271, 3506, 3271, 3507, 3507, 3508, + 3509, 3510, 3511, 3271, 3512, 3271, 3513, 3513, + 3514, 3515, 3516, 3517, 3271, 3518, 3519, 3518, + 3519, 3271, 3520, 3520, 3271, 3521, 3521, 3271, + 3522, 3522, 3271, 3523, 3523, 3524, 3525, 3526, + 3527, 3271, 3528, 3528, 3271, 3529, 3529, 3271, + 3530, 3530, 3271, 3531, 3531, 3532, 3533, 3534, + 3535, 3271, 3536, 3536, 3271, 3537, 3537, 3271, + 3538, 3538, 3271, 3539, 3539, 3271, 3540, 3540, + 3271, 3541, 3541, 3271, 3542, 3542, 3271, 3543, + 3543, 3544, 3545, 3546, 3547, 3271, 3548, 3549, + 3548, 3549, 3271, 3550, 3550, 3271, 3551, 3551, + 3552, 3553, 3554, 3555, 3271, 3556, 3556, 3557, + 3558, 3559, 3560, 3271, 3561, 3562, 3563, 3564, + 3563, 3564, 3271, 3565, 3271, 3566, 3566, 3567, + 3568, 3569, 3570, 3271, 3571, 3271, 3572, 3572, + 3573, 3574, 3575, 3576, 3271, 3577, 3577, 3271, + 3578, 3578, 3579, 3580, 3581, 3582, 3271, 3583, + 3583, 3584, 3585, 3586, 3587, 3271, 3588, 3589, + 3588, 3589, 3271, 3590, 3590, 3271, 3591, 3591, + 3271, 3592, 3592, 3271, 3593, 3593, 3594, 3595, + 3596, 3597, 3271, 3598, 3598, 3599, 3600, 3601, + 3602, 3271, 3603, 3604, 3605, 3603, 3604, 3605, + 3271, 3606, 3606, 3271, 3607, 3607, 3271, 3608, + 3608, 3271, 3609, 3609, 3610, 3611, 3612, 3613, + 3271, 3614, 3614, 3271, 3615, 3615, 3616, 3617, + 3618, 3619, 3271, 3620, 3620, 3621, 3622, 3623, + 3623, 3624, 3625, 3271, 3626, 3626, 3271, 3627, + 3627, 3628, 3629, 3630, 3631, 3632, 3271, 3633, + 3633, 3634, 3635, 3636, 3636, 3637, 3638, 3271, + 3639, 3639, 3271, 3640, 3640, 3271, 3641, 3641, + 3271, 3642, 3642, 3271, 3643, 3643, 3644, 3645, + 3646, 3647, 3271, 3648, 3648, 3271, 3649, 3649, + 3271, 3650, 3650, 3271, 3651, 3651, 3271, 3652, + 3652, 3271, 3653, 3653, 3271, 3654, 3654, 3271, + 3655, 3655, 3271, 3656, 3656, 3271, 3657, 3657, + 3658, 3659, 3660, 3661, 3271, 3662, 3662, 3271, + 3663, 3663, 3271, 3664, 3664, 3665, 3666, 3667, + 3668, 3271, 3669, 3670, 3671, 3669, 3670, 3671, + 3271, 3672, 3672, 3673, 3674, 3675, 3676, 3271, + 3677, 3677, 3271, 3678, 3678, 3271, 3679, 3679, + 3271, 3680, 3680, 3681, 3682, 3683, 3684, 3271, + 3685, 3685, 3686, 3687, 3688, 3689, 3271, 3690, + 3691, 3692, 3693, 3694, 3695, 3690, 3691, 3692, + 3693, 3694, 3695, 3271, 3696, 3696, 3271, 3697, + 3697, 3271, 3698, 3698, 3271, 3699, 3699, 3271, + 3700, 3700, 3701, 3702, 3703, 3704, 3271, 3705, + 3705, 3271, 3706, 3706, 3707, 3708, 3709, 3710, + 3271, 3711, 3711, 3271, 3712, 3712, 3713, 3714, + 3715, 3716, 3271, 3717, 3717, 3271, 3718, 3718, + 3719, 3720, 3721, 3722, 3271, 3723, 3723, 3271, + 3724, 3724, 3271, 3725, 3725, 3271, 3726, 3726, + 3727, 3728, 3729, 3730, 3271, 3731, 3731, 3271, + 3732, 3732, 3271, 3733, 3733, 3734, 3735, 3736, + 3737, 3271, 3738, 3739, 3740, 3738, 3739, 3740, + 3271, 3741, 3741, 3271, 3742, 3742, 3271, 3743, + 3743, 3744, 3745, 3746, 3747, 3271, 3748, 3748, + 3271, 3749, 3749, 3750, 3751, 3752, 3753, 3271, + 3754, 3754, 3271, 3755, 3755, 3271, 3757, 3756, + 3758, 3758, 3759, 3760, 3762, 3763, 3761, 3756, + 3764, 3764, 3271, 3765, 3765, 3271, 3766, 3766, + 3767, 3768, 3769, 3770, 3271, 3771, 3771, 3271, + 3772, 3772, 3271, 3773, 3773, 3271, 3774, 3774, + 3271, 3775, 3775, 3271, 3776, 3776, 3777, 3778, + 3779, 3780, 3271, 3781, 3781, 3781, 3781, 3781, + 3781, 75, 3782, 3782, 3782, 3782, 75, 3783, + 3783, 3783, 3783, 75, 3784, 2327, 3785, 3785, + 3786, 3787, 3789, 3790, 3788, 2327, 3791, 3791, + 3792, 3793, 3795, 3796, 3794, 2327, 3797, 3797, + 3798, 3799, 3801, 3802, 3800, 2327, 3803, 3803, + 3804, 3805, 3807, 3808, 3806, 3806, 3806, 75, + 3809, 3809, 3810, 3811, 3812, 3813, 75, 3809, + 3809, 3810, 3811, 3814, 3812, 3813, 3814, 3814, + 3814, 75, 3815, 3815, 75, 3817, 3816, 75, + 3819, 3818, 75, 3821, 3820, 75, 3822, 3822, + 3822, 3822, 75, 3823, 3823, 75, 3824, 2327, + 3825, 3825, 3826, 3827, 3829, 3830, 3828, 2327, + 3831, 3831, 3832, 3833, 3835, 3836, 3834, 2327, + 3837, 3837, 3838, 3839, 3841, 3842, 3840, 2327, + 3843, 3843, 3844, 3845, 3847, 3848, 3846, 2327, + 3849, 3849, 3850, 3851, 3853, 3854, 3852, 2327, + 3855, 3855, 3856, 3857, 3858, 3860, 3861, 3859, + 3859, 3859, 2998, 3862, 3862, 3863, 3864, 3865, + 3866, 2998, 3868, 3868, 3869, 3870, 3872, 3873, + 3871, 3871, 3871, 3867, 3874, 3874, 3874, 3867, + 3876, 3875, 3875, 3875, 3867, 3877, 3877, 3877, + 3867, 3879, 3878, 3878, 3878, 3867, 3881, 3880, + 3880, 3880, 3867, 3882, 3882, 3882, 3867, 3884, + 3883, 3883, 3883, 3867, 3885, 3885, 3885, 3885, + 3886, 3886, 3886, 3867, 3887, 3887, 3887, 3887, + 75, 3888, 3867, 3884, 3867, 3881, 3867, 3889, + 3867, 3879, 3867, 3891, 3890, 75, 3892, 3892, + 3892, 2998, 3862, 3862, 3863, 3864, 3865, 3866, + 3893, 3893, 3893, 2998, 3895, 3894, 75, 3897, + 3896, 75, 3899, 3898, 75, 3900, 2327, 3901, + 3901, 3902, 3903, 3905, 3906, 3904, 2327, 3907, + 3907, 3908, 3909, 3911, 3912, 3910, 2327, 3913, + 3913, 3914, 3915, 3917, 3918, 3916, 2327, 3919, + 3919, 3920, 3921, 3923, 3924, 3922, 2327, 3925, + 3925, 3926, 3927, 3929, 3930, 3928, 2327, 3931, + 3931, 3932, 3933, 3934, 3936, 3937, 3935, 3935, + 3935, 2998, 3938, 3938, 3938, 3938, 2998, 3939, + 3939, 3939, 2998, 3938, 3938, 3938, 3938, 3940, + 3940, 3940, 2998, 3942, 3941, 75, 3944, 3943, + 75, 3946, 3945, 75, 3947, 2327, 3948, 3948, + 3949, 3950, 3952, 3953, 3951, 2327, 3954, 3954, + 3955, 3956, 3958, 3959, 3957, 2327, 3960, 3960, + 3961, 3962, 3964, 3965, 3963, 2327, 3966, 3966, + 3967, 3968, 3970, 3971, 3969, 2327, 3972, 3972, + 3973, 3974, 3976, 3977, 3975, 2327, 3978, 3978, + 3979, 3980, 3982, 3983, 3981, 3981, 3981, 2998, + 3984, 3984, 3984, 2998, 3985, 3985, 3986, 3987, + 3988, 3989, 3990, 3990, 3991, 3992, 3981, 3981, + 3981, 2998, 3994, 3993, 2998, 3996, 3995, 75, + 3998, 3997, 75, 4000, 3999, 75, 4001, 2327, + 4002, 4002, 4003, 4004, 4006, 4007, 4005, 2327, + 4008, 4008, 4009, 4010, 4012, 4013, 4011, 2327, + 4014, 4014, 4014, 4014, 4015, 2327, 4016, 4016, + 4016, 4016, 75, 4018, 4017, 75, 4019, 2327, + 4020, 4020, 4021, 4022, 4024, 4025, 4023, 2327, + 4026, 4026, 4027, 4028, 4030, 4031, 4029, 2327, + 4032, 4032, 4033, 4034, 4036, 4037, 4035, 2327, + 4038, 4038, 4039, 4040, 4042, 4043, 4041, 2327, + 4044, 4044, 4045, 4046, 4048, 4049, 4047, 2327, + 4050, 4050, 4051, 4052, 4054, 4055, 4053, 4053, + 4053, 2998, 4056, 4056, 4056, 2998, 4057, 4057, + 4058, 4059, 4060, 4061, 4062, 4062, 4063, 4064, + 4053, 4053, 4053, 2998, 4066, 4065, 2998, 4068, + 4067, 75, 4070, 4069, 75, 4072, 4071, 75, + 4073, 2327, 4074, 4074, 4075, 4076, 4078, 4079, + 4077, 2327, 4080, 4080, 4081, 4082, 4083, 4084, + 4085, 4083, 2304, 4086, 4087, 4086, 4086, 4086, + 4087, 2304, 4089, 4088, 75, 4090, 2327, 4091, + 4091, 4092, 4093, 4095, 4096, 4094, 2327, 4097, + 4097, 4098, 4099, 4101, 4102, 4100, 4100, 4100, + 2998, 4103, 4103, 4103, 2998, 4104, 4104, 4104, + 2998, 4105, 4105, 4105, 2998, 4107, 4106, 4108, + 4108, 4108, 2998, 4109, 4109, 4109, 2998, 4110, + 4110, 4110, 2998, 4111, 4111, 4111, 2998, 4113, + 4107, 4113, 4113, 4113, 4112, 4115, 4114, 75, + 4116, 4116, 4116, 2998, 4117, 4117, 4117, 2998, + 4119, 4118, 4120, 4120, 4120, 2998, 4121, 4121, + 4121, 2998, 4122, 4119, 4122, 4122, 4122, 4118, + 4123, 4123, 4123, 2998, 4124, 4124, 4124, 2998, + 4125, 4118, 4126, 4126, 4126, 2998, 4127, 4127, + 4127, 2998, 4128, 4125, 4128, 4128, 4128, 4118, + 4129, 2327, 4130, 4130, 4131, 4132, 4134, 4135, + 4133, 2327, 4136, 4136, 4137, 4138, 4140, 4141, + 4139, 2327, 4142, 4142, 4143, 4144, 4146, 4147, + 4145, 2327, 4149, 4149, 4150, 4151, 4152, 4153, + 4148, 4148, 4148, 75, 4154, 4154, 4154, 4154, + 75, 4156, 4155, 75, 4158, 4157, 75, 4159, + 2327, 4160, 4160, 4161, 4162, 4164, 4165, 4163, + 2327, 4167, 4167, 4168, 4169, 4170, 4171, 4166, + 4166, 4166, 75, 4172, 4172, 4173, 4174, 4175, + 4176, 75, 4178, 4178, 4179, 4180, 4181, 4182, + 4177, 4177, 4177, 75, 4183, 4183, 4183, 4183, + 75, 4185, 4184, 75, 4187, 4186, 75, 4188, + 2327, 4189, 4189, 4190, 4191, 4193, 4194, 4192, + 2327, 4195, 4195, 4196, 4197, 4198, 4198, 4198, + 4199, 4200, 4198, 4198, 4198, 75, 4201, 4201, + 4201, 4201, 75, 4202, 4202, 4202, 4202, 75, + 4204, 4203, 75, 4206, 4206, 4207, 4208, 4209, + 4210, 4210, 4210, 4211, 4212, 4213, 4214, 4210, + 4210, 4210, 4205, 4215, 4215, 4216, 4217, 4218, + 4219, 73, 4220, 4219, 4211, 4212, 4221, 4222, + 4223, 4224, 4225, 4226, 73, 73, 4219, 73, + 4219, 73, 4219, 73, 871, 4228, 4228, 4207, + 4229, 4230, 4210, 4231, 4232, 4233, 4234, 4235, + 4236, 4237, 4238, 4239, 4240, 4241, 4242, 4243, + 4244, 4245, 4246, 4247, 4210, 4210, 4231, 4232, + 4233, 4234, 4235, 4236, 4237, 4238, 4239, 4240, + 4241, 4242, 4243, 4244, 4245, 4246, 4247, 4211, + 4212, 4248, 4249, 4210, 4210, 4210, 4227, 4228, + 4228, 4207, 4229, 4230, 4210, 4252, 4253, 4254, + 4255, 4256, 4257, 4258, 4259, 4260, 4261, 4262, + 4263, 4264, 4265, 4266, 4267, 4268, 4210, 4210, + 4252, 4253, 4254, 4255, 4256, 4257, 4258, 4259, + 4260, 4261, 4262, 4263, 4264, 4265, 4266, 4267, + 4268, 4211, 4212, 4248, 4249, 4210, 4251, 4210, + 4210, 4250, 4270, 4270, 4271, 4272, 4273, 4274, + 4274, 4274, 4275, 4276, 4277, 4278, 4274, 4274, + 4274, 4269, 4206, 4206, 4207, 4279, 4280, 4210, + 4252, 4253, 4254, 4255, 4256, 4257, 4258, 4259, + 4260, 4261, 4262, 4263, 4264, 4265, 4266, 4267, + 4268, 4210, 4210, 4252, 4253, 4254, 4255, 4256, + 4257, 4258, 4259, 4260, 4261, 4262, 4263, 4264, + 4265, 4266, 4267, 4268, 4211, 4212, 4281, 4282, + 4210, 4251, 4210, 4210, 4250, 4283, 4283, 4207, + 4284, 4285, 4210, 4210, 4210, 87, 88, 4286, + 4287, 4210, 4210, 4210, 871, 4288, 4288, 4216, + 4289, 4290, 4219, 73, 4220, 4219, 87, 88, + 4286, 4291, 105, 106, 4286, 4292, 73, 73, + 4219, 73, 4219, 73, 4219, 73, 871, 4215, + 4215, 4216, 4217, 4218, 4219, 73, 4295, 4296, + 4297, 4298, 4299, 4300, 4301, 4302, 4303, 4304, + 4305, 4306, 4307, 4308, 4309, 4310, 4311, 4220, + 4219, 4295, 4296, 4297, 4298, 4299, 4300, 4301, + 4302, 4303, 4304, 4305, 4306, 4307, 4308, 4309, + 4310, 4311, 4211, 4212, 4221, 4222, 4223, 4224, + 4225, 4226, 73, 73, 4219, 4294, 73, 4219, + 73, 4219, 73, 4293, 4288, 4288, 4216, 4289, + 4290, 4219, 73, 4295, 4296, 4297, 4298, 4299, + 4300, 4301, 4302, 4303, 4304, 4305, 4306, 4307, + 4308, 4309, 4310, 4311, 4220, 4219, 4295, 4296, + 4297, 4298, 4299, 4300, 4301, 4302, 4303, 4304, + 4305, 4306, 4307, 4308, 4309, 4310, 4311, 87, + 88, 4312, 4291, 105, 106, 4312, 4292, 73, + 73, 4219, 4294, 73, 4219, 73, 4219, 73, + 4293, 778, 778, 778, 778, 1036, 1037, 1036, + 1039, 1036, 1037, 1038, 1037, 1032, 778, 778, + 778, 1194, 1194, 1195, 1196, 1163, 1164, 1165, + 1163, 1197, 1198, 1163, 1163, 1163, 1169, 778, + 1209, 1209, 1210, 1211, 1204, 1212, 1213, 1214, + 1214, 1215, 1216, 1204, 1204, 1204, 1203, 1218, + 1217, 1203, 778, 1228, 1228, 1229, 1230, 1231, + 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, + 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, + 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, + 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, + 1247, 1248, 1249, 1250, 1250, 1251, 1252, 1219, + 1275, 1274, 1219, 778, 1814, 1814, 1815, 1816, + 1817, 1818, 1819, 1819, 1820, 1821, 1810, 1810, + 1810, 1806, 1823, 1822, 1806, 1842, 1842, 1843, + 1844, 1846, 1847, 1845, 1845, 1845, 1806, 1792, + 1849, 1849, 1850, 1851, 1852, 1853, 1854, 1854, + 1855, 1856, 1845, 1845, 1845, 1806, 1858, 1857, + 1806, 1860, 1859, 1792, 778, 778, 1930, 1930, + 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, + 1939, 1940, 1941, 1942, 1942, 1943, 1944, 1921, + 1960, 1959, 1921, 778, 778, 778, 778, 778, + 778, 778, 778, 778, 2522, 2522, 2523, 2524, + 2525, 2526, 2527, 2527, 2528, 2529, 2521, 2521, + 2521, 2512, 2531, 2530, 2512, 778, 778, 2695, + 2695, 2696, 2697, 2698, 2699, 2644, 2644, 2700, + 2701, 2535, 2703, 2702, 2535, 2677, 2677, 2678, + 2679, 2681, 2682, 2644, 2644, 2683, 2684, 2680, + 2535, 2715, 2714, 2535, 2658, 2658, 2659, 2660, + 2662, 2663, 2644, 2644, 2664, 2665, 2661, 2535, + 2728, 2727, 2535, 2638, 2638, 2639, 2640, 2642, + 2643, 2644, 2644, 2645, 2646, 2641, 2535, 2741, + 2740, 2535, 778, 778, 778, 778, 2939, 2939, + 2940, 2941, 2942, 2943, 2944, 2945, 2946, 2947, + 2947, 2948, 2949, 2938, 2968, 2967, 75, 778, + 3006, 3006, 3007, 3008, 3009, 3010, 3011, 3011, + 3012, 3013, 3002, 3002, 3002, 2998, 3015, 3014, + 2998, 778, 3048, 3048, 3049, 3050, 3051, 3052, + 3053, 3053, 3054, 3055, 3044, 3044, 3044, 2998, + 3057, 3056, 2998, 778, 3102, 3102, 3103, 3104, + 3108, 3108, 3108, 3108, 3113, 3114, 3108, 3108, + 3115, 3116, 3121, 3126, 3125, 3121, 3099, 3099, + 3100, 3101, 3122, 3109, 3110, 3122, 3122, 3122, + 3121, 3124, 3123, 3121, 3122, 3099, 3099, 3100, + 3101, 3102, 3102, 3103, 3104, 3105, 3105, 3106, + 3107, 3108, 3108, 3108, 3108, 3109, 3110, 3108, + 3108, 3111, 3112, 3113, 3114, 3108, 3108, 3115, + 3116, 3117, 3118, 3108, 3108, 3119, 3120, 3122, + 3122, 3122, 3121, 3124, 3126, 3128, 3123, 3125, + 3127, 3121, 778, 778, 778, 778, 778, 778, + 778, 3985, 3985, 3986, 3987, 3988, 3989, 3990, + 3990, 3991, 3992, 3981, 3981, 3981, 2998, 3994, + 3993, 2998, 778, 778, 4057, 4057, 4058, 4059, + 4060, 4061, 4062, 4062, 4063, 4064, 4053, 4053, + 4053, 2998, 4066, 4065, 2998, 778, 778, 778, + 778, 778, 778, 778, 0 +}; + +static const short _zone_scanner_trans_targs[] = { + 0, 1, 1, 1, 2, 4, 17, 40, + 54, 61, 175, 81, 85, 93, 99, 115, + 125, 128, 135, 154, 164, 167, 1396, 183, + 1401, 302, 0, 3, 3, 3, 2, 198, + 198, 198, 198, 198, 3, 201, 0, 3, + 3, 3, 4, 17, 40, 54, 61, 70, + 81, 85, 93, 99, 115, 125, 128, 135, + 154, 164, 167, 3, 201, 0, 5, 5, + 5, 266, 269, 273, 5, 10, 6, 11, + 20, 6, 5, 0, 5, 5, 9, 5, + 10, 11, 20, 0, 7, 7, 7, 1396, + 8, 0, 7, 7, 7, 1396, 8, 8, + 1396, 6, 6, 10, 5, 12, 12, 12, + 13, 1402, 208, 280, 12, 12, 12, 13, + 1402, 208, 280, 13, 1397, 14, 0, 14, + 14, 15, 204, 211, 212, 213, 214, 215, + 216, 217, 218, 219, 220, 221, 222, 223, + 224, 225, 226, 1404, 275, 1402, 276, 1405, + 278, 0, 16, 16, 16, 1398, 305, 0, + 16, 16, 16, 1398, 305, 18, 22, 29, + 32, 36, 19, 5, 5, 5, 5, 10, + 6, 11, 20, 21, 21, 21, 13, 21, + 21, 21, 13, 23, 28, 24, 25, 26, + 27, 5, 5, 5, 5, 10, 6, 11, + 20, 5, 5, 5, 5, 10, 6, 11, + 20, 30, 31, 5, 5, 5, 5, 10, + 6, 11, 20, 33, 34, 35, 5, 5, + 5, 5, 10, 6, 11, 20, 37, 38, + 39, 5, 5, 5, 5, 10, 6, 11, + 20, 41, 45, 53, 42, 43, 44, 5, + 5, 5, 5, 10, 6, 11, 20, 46, + 49, 47, 48, 5, 5, 5, 5, 10, + 6, 11, 20, 50, 51, 52, 5, 5, + 5, 5, 10, 6, 11, 20, 5, 5, + 5, 5, 10, 6, 11, 20, 55, 56, + 57, 59, 58, 5, 5, 5, 5, 10, + 6, 11, 20, 60, 5, 5, 5, 5, + 10, 6, 11, 20, 62, 66, 63, 64, + 65, 5, 5, 5, 5, 10, 6, 11, + 20, 67, 68, 69, 5, 5, 5, 5, + 10, 6, 11, 20, 71, 74, 72, 72, + 72, 72, 173, 72, 72, 72, 4, 17, + 40, 54, 61, 73, 81, 85, 93, 99, + 115, 125, 128, 135, 154, 164, 167, 72, + 173, 75, 76, 77, 78, 79, 80, 5, + 5, 5, 5, 10, 6, 11, 20, 82, + 84, 83, 5, 5, 5, 5, 10, 6, + 11, 20, 5, 5, 5, 5, 10, 6, + 11, 20, 86, 88, 90, 92, 87, 5, + 5, 5, 5, 10, 6, 11, 20, 89, + 5, 5, 5, 5, 10, 6, 11, 20, + 91, 5, 5, 5, 5, 10, 6, 11, + 20, 5, 5, 5, 5, 10, 6, 11, + 20, 94, 98, 95, 96, 97, 5, 5, + 5, 5, 10, 6, 11, 20, 5, 5, + 5, 5, 10, 6, 11, 20, 100, 104, + 106, 101, 102, 103, 5, 5, 5, 5, + 10, 6, 11, 20, 105, 5, 5, 5, + 5, 10, 6, 11, 20, 5, 5, 5, + 107, 5, 10, 6, 11, 20, 108, 5, + 5, 5, 109, 5, 10, 6, 11, 20, + 5, 5, 5, 110, 5, 10, 6, 11, + 20, 111, 112, 113, 114, 5, 5, 5, + 5, 10, 6, 11, 20, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 5, 5, + 5, 5, 10, 6, 11, 20, 126, 127, + 5, 5, 5, 5, 10, 6, 11, 20, + 129, 130, 134, 5, 5, 5, 5, 10, + 6, 11, 20, 131, 132, 133, 5, 5, + 5, 5, 10, 6, 11, 20, 5, 5, + 5, 5, 10, 6, 11, 20, 136, 141, + 143, 145, 147, 151, 137, 138, 139, 140, + 5, 5, 5, 5, 10, 6, 11, 20, + 142, 5, 5, 5, 5, 10, 6, 11, + 20, 144, 5, 5, 5, 5, 10, 6, + 11, 20, 146, 5, 5, 5, 5, 10, + 6, 11, 20, 148, 149, 150, 5, 5, + 5, 5, 10, 6, 11, 20, 152, 153, + 5, 5, 5, 5, 10, 6, 11, 20, + 155, 158, 160, 156, 157, 5, 5, 5, + 5, 10, 6, 11, 20, 159, 5, 5, + 5, 5, 10, 6, 11, 20, 161, 162, + 0, 163, 0, 5, 5, 5, 163, 5, + 10, 6, 11, 20, 165, 166, 5, 5, + 5, 5, 10, 6, 11, 20, 168, 169, + 170, 171, 172, 5, 5, 5, 5, 10, + 6, 11, 20, 173, 72, 174, 174, 174, + 1399, 303, 176, 177, 177, 177, 177, 182, + 177, 177, 177, 178, 4, 17, 40, 54, + 61, 73, 81, 85, 93, 99, 115, 125, + 128, 135, 154, 164, 167, 177, 182, 72, + 72, 72, 178, 179, 179, 179, 179, 179, + 72, 173, 180, 180, 181, 181, 181, 181, + 181, 72, 72, 72, 180, 72, 173, 182, + 177, 183, 1396, 0, 185, 229, 235, 186, + 187, 188, 189, 190, 191, 1400, 0, 193, + 193, 193, 193, 194, 193, 193, 193, 193, + 194, 194, 0, 193, 0, 196, 196, 196, + 196, 197, 196, 196, 196, 196, 197, 197, + 196, 199, 199, 200, 200, 200, 200, 200, + 3, 3, 3, 199, 3, 201, 201, 3, + 0, 203, 203, 203, 203, 282, 283, 284, + 203, 203, 203, 203, 282, 283, 284, 0, + 205, 205, 205, 1397, 13, 1402, 208, 1403, + 280, 205, 205, 205, 1397, 1403, 206, 206, + 206, 1401, 207, 207, 1401, 209, 209, 209, + 1396, 8, 209, 209, 209, 8, 210, 210, + 210, 227, 264, 227, 1404, 0, 230, 231, + 232, 233, 234, 1400, 236, 237, 1400, 0, + 206, 206, 206, 1401, 207, 0, 240, 240, + 240, 1399, 241, 240, 240, 240, 1399, 241, + 241, 1399, 0, 243, 243, 243, 1404, 227, + 1405, 264, 243, 243, 243, 1404, 1405, 261, + 0, 261, 261, 261, 262, 206, 206, 206, + 1401, 207, 263, 1401, 263, 263, 207, 263, + 263, 263, 207, 265, 265, 265, 227, 265, + 265, 265, 227, 267, 268, 5, 5, 5, + 5, 10, 6, 11, 20, 270, 271, 272, + 5, 5, 5, 5, 10, 6, 11, 20, + 274, 5, 5, 5, 5, 10, 6, 11, + 20, 275, 1404, 277, 277, 277, 1396, 277, + 277, 277, 1396, 279, 279, 279, 279, 279, + 279, 281, 281, 281, 281, 281, 281, 282, + 203, 210, 210, 210, 227, 264, 285, 285, + 285, 285, 285, 285, 0, 302, 1401, 303, + 1399, 305, 1398, 306, 1406, 306, 306, 308, + 1407, 308, 1407, 0, 310, 316, 317, 312, + 1408, 310, 311, 312, 1408, 310, 312, 313, + 0, 314, 315, 1408, 310, 311, 312, 1408, + 0, 319, 324, 320, 1409, 319, 1410, 320, + 0, 321, 322, 323, 1409, 319, 1410, 320, + 324, 325, 326, 327, 324, 325, 326, 327, + 0, 1409, 328, 329, 330, 324, 325, 326, + 327, 0, 332, 332, 332, 332, 339, 0, + 333, 0, 334, 334, 334, 333, 336, 336, + 336, 336, 336, 1411, 335, 0, 334, 334, + 334, 1411, 335, 335, 1411, 337, 0, 337, + 338, 338, 338, 338, 338, 334, 334, 334, + 337, 1411, 335, 339, 332, 0, 341, 341, + 341, 341, 351, 342, 350, 346, 342, 343, + 346, 0, 344, 344, 344, 342, 346, 1412, + 345, 344, 344, 344, 1412, 345, 345, 1412, + 347, 0, 348, 349, 342, 343, 346, 351, + 341, 353, 353, 353, 353, 368, 354, 0, + 0, 355, 355, 355, 1413, 359, 365, 0, + 355, 355, 355, 356, 364, 360, 1413, 359, + 365, 0, 356, 357, 360, 358, 358, 358, + 356, 360, 1413, 359, 358, 358, 358, 359, + 1413, 361, 0, 362, 363, 356, 357, 360, + 365, 1414, 366, 366, 366, 366, 367, 367, + 366, 368, 353, 0, 370, 371, 372, 375, + 373, 373, 373, 373, 373, 374, 1415, 1416, + 1417, 374, 373, 0, 377, 377, 377, 377, + 382, 1418, 1419, 1420, 377, 377, 377, 378, + 383, 404, 418, 425, 434, 442, 446, 454, + 460, 476, 486, 489, 496, 515, 525, 528, + 377, 382, 1418, 1419, 1420, 377, 377, 377, + 379, 534, 538, 377, 382, 1418, 1419, 1420, + 380, 381, 377, 377, 377, 377, 382, 1418, + 1419, 1420, 382, 377, 384, 386, 393, 396, + 400, 385, 377, 377, 377, 377, 382, 1418, + 1419, 1420, 387, 392, 388, 389, 390, 391, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 394, 395, 377, 377, 377, 377, 382, 1418, + 1419, 1420, 397, 398, 399, 377, 377, 377, + 377, 382, 1418, 1419, 1420, 401, 402, 403, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 405, 409, 417, 406, 407, 408, 377, 377, + 377, 377, 382, 1418, 1419, 1420, 410, 413, + 411, 412, 377, 377, 377, 377, 382, 1418, + 1419, 1420, 414, 415, 416, 377, 377, 377, + 377, 382, 1418, 1419, 1420, 377, 377, 377, + 377, 382, 1418, 1419, 1420, 419, 420, 421, + 423, 422, 377, 377, 377, 377, 382, 1418, + 1419, 1420, 424, 377, 377, 377, 377, 382, + 1418, 1419, 1420, 426, 430, 427, 428, 429, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 431, 432, 433, 377, 377, 377, 377, 382, + 1418, 1419, 1420, 435, 436, 437, 438, 439, + 440, 441, 377, 377, 377, 377, 382, 1418, + 1419, 1420, 443, 445, 444, 377, 377, 377, + 377, 382, 1418, 1419, 1420, 377, 377, 377, + 377, 382, 1418, 1419, 1420, 447, 449, 451, + 453, 448, 377, 377, 377, 377, 382, 1418, + 1419, 1420, 450, 377, 377, 377, 377, 382, + 1418, 1419, 1420, 452, 377, 377, 377, 377, + 382, 1418, 1419, 1420, 377, 377, 377, 377, + 382, 1418, 1419, 1420, 455, 459, 456, 457, + 458, 377, 377, 377, 377, 382, 1418, 1419, + 1420, 377, 377, 377, 377, 382, 1418, 1419, + 1420, 461, 465, 467, 462, 463, 464, 377, + 377, 377, 377, 382, 1418, 1419, 1420, 466, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 377, 377, 377, 468, 377, 382, 1418, 1419, + 1420, 469, 377, 377, 377, 470, 377, 382, + 1418, 1419, 1420, 377, 377, 377, 471, 377, + 382, 1418, 1419, 1420, 472, 473, 474, 475, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 477, 478, 479, 480, 481, 482, 483, 484, + 485, 377, 377, 377, 377, 382, 1418, 1419, + 1420, 487, 488, 377, 377, 377, 377, 382, + 1418, 1419, 1420, 490, 491, 495, 377, 377, + 377, 377, 382, 1418, 1419, 1420, 492, 493, + 494, 377, 377, 377, 377, 382, 1418, 1419, + 1420, 377, 377, 377, 377, 382, 1418, 1419, + 1420, 497, 502, 504, 506, 508, 512, 498, + 499, 500, 501, 377, 377, 377, 377, 382, + 1418, 1419, 1420, 503, 377, 377, 377, 377, + 382, 1418, 1419, 1420, 505, 377, 377, 377, + 377, 382, 1418, 1419, 1420, 507, 377, 377, + 377, 377, 382, 1418, 1419, 1420, 509, 510, + 511, 377, 377, 377, 377, 382, 1418, 1419, + 1420, 513, 514, 377, 377, 377, 377, 382, + 1418, 1419, 1420, 516, 519, 521, 517, 518, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 520, 377, 377, 377, 377, 382, 1418, 1419, + 1420, 522, 523, 524, 377, 377, 377, 524, + 377, 382, 1418, 1419, 1420, 526, 527, 377, + 377, 377, 377, 382, 1418, 1419, 1420, 529, + 530, 531, 532, 533, 377, 377, 377, 377, + 382, 1418, 1419, 1420, 535, 536, 537, 377, + 377, 377, 377, 382, 1418, 1419, 1420, 539, + 377, 377, 377, 377, 382, 1418, 1419, 1420, + 0, 541, 541, 541, 541, 548, 0, 542, + 543, 543, 543, 542, 543, 547, 0, 543, + 543, 543, 544, 543, 547, 545, 545, 545, + 545, 545, 546, 1421, 1422, 1423, 546, 545, + 547, 543, 548, 541, 550, 550, 550, 550, + 558, 551, 557, 1424, 1424, 1424, 557, 1425, + 1424, 1428, 552, 552, 552, 553, 552, 556, + 554, 554, 554, 554, 554, 555, 1425, 1426, + 1427, 555, 554, 556, 552, 552, 552, 552, + 552, 556, 558, 550, 0, 560, 564, 567, + 580, 584, 599, 561, 562, 563, 1429, 565, + 566, 1429, 568, 569, 570, 575, 571, 572, + 573, 574, 1429, 576, 577, 578, 579, 1429, + 581, 582, 0, 583, 1429, 583, 585, 586, + 587, 588, 589, 590, 591, 592, 593, 594, + 595, 596, 597, 598, 1429, 600, 601, 602, + 1429, 0, 604, 604, 604, 604, 611, 1430, + 1431, 1432, 604, 604, 604, 605, 612, 628, + 653, 659, 674, 689, 604, 611, 1430, 1431, + 1432, 606, 607, 608, 609, 610, 697, 604, + 604, 604, 604, 611, 1430, 1431, 1432, 611, + 604, 613, 614, 615, 616, 623, 617, 618, + 619, 622, 620, 620, 621, 617, 604, 604, + 604, 604, 611, 1430, 1431, 1432, 624, 625, + 627, 626, 626, 604, 604, 604, 623, 604, + 611, 1430, 1431, 1432, 629, 630, 631, 642, + 632, 633, 634, 635, 636, 0, 637, 640, + 638, 621, 639, 638, 638, 604, 604, 604, + 641, 640, 604, 611, 1430, 1431, 1432, 640, + 643, 644, 645, 646, 647, 648, 651, 649, + 621, 650, 649, 649, 604, 604, 604, 652, + 651, 604, 611, 1430, 1431, 1432, 651, 654, + 655, 0, 656, 604, 604, 604, 656, 657, + 604, 611, 1430, 1431, 1432, 658, 660, 661, + 662, 663, 664, 665, 666, 667, 668, 669, + 672, 670, 621, 671, 670, 604, 604, 604, + 673, 604, 611, 1430, 1431, 1432, 672, 675, + 676, 677, 678, 679, 680, 681, 682, 683, + 684, 685, 686, 687, 688, 604, 604, 604, + 604, 611, 1430, 1431, 1432, 690, 691, 692, + 693, 694, 696, 695, 621, 695, 604, 604, + 604, 696, 604, 611, 1430, 1431, 1432, 698, + 621, 0, 700, 701, 716, 755, 763, 776, + 1433, 700, 702, 703, 1433, 704, 1433, 705, + 706, 707, 708, 709, 710, 711, 712, 713, + 714, 715, 1433, 717, 746, 718, 724, 719, + 720, 721, 722, 723, 1433, 725, 726, 727, + 728, 737, 729, 730, 731, 732, 733, 734, + 735, 736, 1433, 738, 739, 740, 741, 742, + 743, 744, 745, 1433, 747, 752, 748, 749, + 750, 751, 1433, 753, 754, 1433, 756, 757, + 758, 759, 760, 761, 762, 1433, 764, 765, + 766, 767, 768, 769, 770, 773, 771, 772, + 1433, 774, 775, 1433, 777, 778, 779, 782, + 780, 781, 1433, 783, 784, 785, 797, 800, + 1433, 786, 787, 788, 789, 790, 791, 792, + 793, 794, 795, 796, 1433, 798, 799, 1433, + 801, 802, 1433, 0, 804, 805, 811, 828, + 831, 837, 841, 1434, 804, 806, 807, 808, + 809, 810, 1434, 812, 818, 824, 813, 814, + 815, 816, 817, 1434, 819, 821, 820, 1434, + 822, 823, 1434, 825, 826, 827, 1434, 829, + 830, 1434, 832, 834, 833, 1434, 835, 836, + 1434, 838, 839, 840, 1434, 842, 843, 1434, + 0, 845, 1435, 845, 847, 1436, 849, 850, + 850, 850, 850, 879, 850, 850, 850, 851, + 850, 879, 852, 852, 852, 852, 878, 0, + 852, 852, 852, 853, 852, 878, 854, 854, + 854, 853, 854, 877, 854, 854, 854, 855, + 854, 877, 0, 856, 856, 856, 855, 874, + 874, 874, 874, 874, 856, 873, 856, 856, + 856, 857, 856, 873, 858, 858, 858, 857, + 870, 870, 870, 870, 870, 858, 869, 858, + 858, 858, 859, 858, 869, 860, 860, 860, + 859, 866, 866, 866, 866, 866, 860, 865, + 860, 860, 860, 861, 860, 865, 1437, 861, + 862, 862, 862, 862, 862, 863, 863, 864, + 864, 864, 864, 864, 1437, 863, 865, 860, + 867, 867, 868, 868, 868, 868, 868, 860, + 860, 860, 867, 860, 865, 869, 858, 871, + 871, 872, 872, 872, 872, 872, 858, 858, + 858, 871, 858, 869, 873, 856, 875, 875, + 876, 876, 876, 876, 876, 856, 856, 856, + 875, 856, 873, 877, 854, 878, 852, 879, + 850, 881, 882, 882, 882, 882, 884, 883, + 882, 882, 882, 882, 884, 1438, 884, 882, + 886, 887, 887, 887, 887, 889, 887, 887, + 887, 888, 887, 889, 1439, 889, 887, 891, + 892, 892, 892, 891, 892, 894, 892, 892, + 892, 893, 892, 894, 1440, 894, 892, 896, + 0, 897, 897, 897, 897, 898, 1441, 1442, + 1443, 896, 897, 897, 897, 897, 898, 1441, + 1442, 1443, 898, 897, 900, 1444, 900, 0, + 902, 903, 903, 903, 902, 903, 955, 903, + 903, 903, 904, 908, 950, 903, 955, 905, + 905, 905, 904, 905, 954, 905, 905, 905, + 906, 905, 954, 907, 907, 907, 952, 906, + 907, 951, 907, 907, 907, 907, 951, 909, + 909, 909, 909, 949, 910, 911, 911, 911, + 910, 911, 948, 911, 911, 911, 912, 916, + 943, 911, 948, 913, 913, 913, 912, 913, + 947, 913, 913, 913, 914, 913, 947, 915, + 915, 915, 945, 914, 915, 944, 915, 915, + 915, 915, 944, 917, 917, 917, 917, 942, + 918, 919, 919, 920, 920, 920, 939, 919, + 941, 920, 938, 1445, 1452, 1453, 920, 920, + 920, 921, 920, 938, 1445, 1452, 1453, 922, + 922, 922, 935, 921, 937, 922, 934, 1445, + 1450, 1451, 922, 922, 922, 923, 922, 934, + 1450, 1451, 924, 924, 924, 931, 923, 933, + 924, 930, 1445, 1448, 1449, 924, 924, 924, + 925, 924, 930, 1448, 1449, 926, 926, 926, + 928, 925, 926, 927, 1445, 1446, 1447, 926, + 926, 926, 926, 927, 1446, 1447, 927, 926, + 926, 926, 926, 929, 926, 927, 1445, 1446, + 1447, 929, 930, 924, 924, 924, 924, 932, + 933, 924, 930, 1445, 1448, 1449, 932, 934, + 922, 922, 922, 922, 936, 937, 922, 934, + 1445, 1450, 1451, 936, 938, 920, 920, 920, + 920, 940, 941, 920, 938, 1445, 1452, 1453, + 940, 942, 917, 917, 917, 917, 917, 942, + 944, 915, 915, 915, 915, 946, 915, 944, + 946, 947, 913, 948, 911, 949, 909, 909, + 909, 909, 909, 949, 951, 907, 907, 907, + 907, 953, 907, 951, 953, 954, 905, 955, + 903, 957, 958, 958, 958, 957, 958, 966, + 958, 958, 958, 959, 958, 966, 960, 960, + 960, 959, 960, 965, 960, 960, 960, 961, + 960, 965, 962, 962, 962, 961, 962, 964, + 962, 962, 962, 963, 962, 964, 1454, 964, + 962, 965, 960, 966, 958, 968, 969, 969, + 969, 968, 969, 983, 969, 969, 969, 970, + 969, 983, 971, 971, 971, 970, 971, 982, + 972, 971, 971, 971, 971, 982, 973, 973, + 973, 973, 981, 974, 973, 973, 973, 973, + 981, 975, 975, 975, 975, 980, 976, 975, + 975, 975, 975, 980, 977, 977, 977, 977, + 979, 977, 977, 977, 978, 977, 979, 1455, + 979, 977, 980, 975, 981, 973, 982, 971, + 983, 969, 985, 986, 986, 986, 986, 994, + 987, 988, 988, 988, 987, 988, 993, 988, + 988, 988, 989, 988, 993, 990, 990, 990, + 990, 992, 991, 1456, 992, 990, 993, 988, + 994, 986, 0, 995, 996, 995, 995, 997, + 1003, 995, 1002, 1457, 1458, 1459, 997, 1003, + 998, 0, 999, 999, 1000, 1001, 995, 995, + 995, 1001, 995, 1002, 1457, 1458, 1459, 1002, + 995, 1004, 1005, 1005, 1000, 1007, 1008, 1008, + 1008, 1007, 1008, 1018, 1008, 1008, 1008, 1009, + 1008, 1018, 1010, 1010, 1010, 1010, 1017, 1011, + 1012, 1012, 1012, 1011, 1012, 1016, 0, 1012, + 1012, 1012, 1013, 1012, 1016, 1014, 1014, 1014, + 1014, 1014, 1015, 1460, 1461, 1462, 1015, 1014, + 1016, 1012, 1017, 1010, 1018, 1008, 1020, 1021, + 1021, 1021, 1020, 1021, 1028, 1021, 1021, 1021, + 1022, 1021, 1028, 1023, 1023, 1023, 1022, 1023, + 1027, 1023, 1023, 1023, 1024, 1023, 1027, 1025, + 1025, 1025, 1025, 1025, 1026, 1463, 1464, 1465, + 1026, 1025, 1027, 1023, 1028, 1021, 1030, 1031, + 1031, 1031, 1030, 1031, 1067, 0, 1031, 1031, + 1031, 1032, 1046, 1053, 1060, 1031, 1067, 1033, + 1033, 1033, 1033, 1045, 0, 1034, 1035, 1035, + 1035, 1034, 1035, 1044, 1035, 1035, 1035, 1036, + 1035, 1044, 0, 1037, 1037, 1037, 1040, 1040, + 1040, 1042, 1042, 1042, 1466, 1037, 1039, 1469, + 1470, 1040, 1041, 1467, 1468, 1042, 1043, 1471, + 1472, 0, 1038, 1039, 1037, 1041, 1040, 1043, + 1042, 1044, 1035, 1045, 1033, 1047, 1047, 1047, + 1047, 1052, 1048, 1049, 1049, 1049, 1048, 1049, + 1051, 0, 1049, 1049, 1049, 1050, 1049, 1051, + 0, 1050, 1037, 1037, 1037, 1040, 1040, 1040, + 1042, 1042, 1042, 1466, 1037, 1039, 1469, 1470, + 1040, 1041, 1467, 1468, 1042, 1043, 1471, 1472, + 1051, 1049, 1052, 1047, 1054, 1054, 1054, 1054, + 1059, 1055, 1056, 1056, 1056, 1055, 1056, 1058, + 1056, 1056, 1056, 1057, 1056, 1058, 1057, 1037, + 1037, 1037, 1040, 1040, 1040, 1042, 1042, 1042, + 1466, 1037, 1039, 1469, 1470, 1040, 1041, 1467, + 1468, 1042, 1043, 1471, 1472, 1058, 1056, 1059, + 1054, 1061, 1061, 1061, 1061, 1066, 1062, 1063, + 1063, 1063, 1062, 1063, 1065, 1063, 1063, 1063, + 1064, 1063, 1065, 1037, 1037, 1037, 1040, 1040, + 1040, 1042, 1042, 1042, 1466, 1037, 1039, 1469, + 1470, 1040, 1041, 1467, 1468, 1042, 1043, 1471, + 1472, 1065, 1063, 1066, 1061, 1067, 1031, 0, + 1069, 1103, 1124, 1138, 1145, 1154, 1162, 1166, + 1174, 1180, 1196, 1206, 1209, 1216, 1235, 1245, + 1248, 1070, 1070, 1070, 1094, 1097, 1101, 1070, + 1093, 1070, 1070, 1070, 1071, 1070, 1093, 1072, + 1072, 1072, 1072, 1092, 1073, 1074, 1074, 1074, + 1073, 1074, 1091, 1074, 1074, 1074, 1075, 1074, + 1091, 1076, 1076, 1076, 1075, 1076, 1090, 0, + 1076, 1076, 1076, 1077, 1076, 1090, 1078, 1078, + 1078, 1077, 1078, 1089, 1078, 1078, 1078, 1079, + 1078, 1089, 1080, 1080, 1080, 1079, 1080, 1088, + 1080, 1080, 1080, 1081, 1080, 1088, 1082, 1082, + 1082, 1081, 1082, 1087, 1082, 1082, 1082, 1083, + 1082, 1087, 1084, 1084, 1084, 1084, 1086, 1084, + 1084, 1084, 1085, 1084, 1086, 1473, 1086, 1084, + 1087, 1082, 1088, 1080, 1089, 1078, 1090, 1076, + 1091, 1074, 1092, 1072, 1093, 1070, 1095, 1096, + 1070, 1070, 1070, 1070, 1093, 1098, 1099, 1100, + 1070, 1070, 1070, 1070, 1093, 1102, 1070, 1070, + 1070, 1070, 1093, 1104, 1106, 1113, 1116, 1120, + 1105, 1070, 1070, 1070, 1070, 1093, 1107, 1112, + 1108, 1109, 1110, 1111, 1070, 1070, 1070, 1070, + 1093, 1070, 1070, 1070, 1070, 1093, 1114, 1115, + 1070, 1070, 1070, 1070, 1093, 1117, 1118, 1119, + 1070, 1070, 1070, 1070, 1093, 1121, 1122, 1123, + 1070, 1070, 1070, 1070, 1093, 1125, 1129, 1137, + 1126, 1127, 1128, 1070, 1070, 1070, 1070, 1093, + 1130, 1133, 1131, 1132, 1070, 1070, 1070, 1070, + 1093, 1134, 1135, 1136, 1070, 1070, 1070, 1070, + 1093, 1070, 1070, 1070, 1070, 1093, 1139, 1140, + 1141, 1143, 1142, 1070, 1070, 1070, 1070, 1093, + 1144, 1070, 1070, 1070, 1070, 1093, 1146, 1150, + 1147, 1148, 1149, 1070, 1070, 1070, 1070, 1093, + 1151, 1152, 1153, 1070, 1070, 1070, 1070, 1093, + 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1070, + 1070, 1070, 1070, 1093, 1163, 1165, 1164, 1070, + 1070, 1070, 1070, 1093, 1070, 1070, 1070, 1070, + 1093, 1167, 1169, 1171, 1173, 1168, 1070, 1070, + 1070, 1070, 1093, 1170, 1070, 1070, 1070, 1070, + 1093, 1172, 1070, 1070, 1070, 1070, 1093, 1070, + 1070, 1070, 1070, 1093, 1175, 1179, 1176, 1177, + 1178, 1070, 1070, 1070, 1070, 1093, 1070, 1070, + 1070, 1070, 1093, 1181, 1185, 1187, 1182, 1183, + 1184, 1070, 1070, 1070, 1070, 1093, 1186, 1070, + 1070, 1070, 1070, 1093, 1070, 1070, 1070, 1188, + 1070, 1093, 1189, 1070, 1070, 1070, 1190, 1070, + 1093, 1070, 1070, 1070, 1191, 1070, 1093, 1192, + 1193, 1194, 1195, 1070, 1070, 1070, 1070, 1093, + 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, + 1205, 1070, 1070, 1070, 1070, 1093, 1207, 1208, + 1070, 1070, 1070, 1070, 1093, 1210, 1211, 1215, + 1070, 1070, 1070, 1070, 1093, 1212, 1213, 1214, + 1070, 1070, 1070, 1070, 1093, 1070, 1070, 1070, + 1070, 1093, 1217, 1222, 1224, 1226, 1228, 1232, + 1218, 1219, 1220, 1221, 1070, 1070, 1070, 1070, + 1093, 1223, 1070, 1070, 1070, 1070, 1093, 1225, + 1070, 1070, 1070, 1070, 1093, 1227, 1070, 1070, + 1070, 1070, 1093, 1229, 1230, 1231, 1070, 1070, + 1070, 1070, 1093, 1233, 1234, 1070, 1070, 1070, + 1070, 1093, 1236, 1239, 1241, 1237, 1238, 1070, + 1070, 1070, 1070, 1093, 1240, 1070, 1070, 1070, + 1070, 1093, 1242, 1243, 0, 1244, 1070, 1070, + 1070, 1244, 1070, 1093, 1246, 1247, 1070, 1070, + 1070, 1070, 1093, 1249, 1250, 1251, 1252, 1253, + 1070, 1070, 1070, 1070, 1093, 1255, 1256, 1474, + 1258, 1259, 1259, 1259, 1258, 1259, 1267, 1259, + 1259, 1259, 1260, 1259, 1267, 1261, 1261, 1261, + 1260, 1261, 1266, 1261, 1261, 1261, 1262, 1261, + 1266, 1263, 1263, 1263, 1263, 1265, 1264, 1475, + 1265, 1263, 1266, 1261, 1267, 1259, 1269, 1476, + 1271, 1272, 1272, 1272, 1271, 1272, 1298, 1272, + 1272, 1272, 1273, 1272, 1298, 1274, 1274, 1274, + 1273, 1274, 1297, 1274, 1274, 1274, 1275, 1274, + 1297, 1276, 1276, 1276, 1275, 1276, 1296, 1276, + 1276, 1276, 1277, 1294, 1276, 1296, 1278, 1278, + 1278, 1278, 1293, 0, 1278, 1278, 1278, 1279, + 1278, 1293, 1280, 1281, 1291, 1282, 1283, 1290, + 1284, 1288, 1285, 1286, 1286, 1287, 1279, 1477, + 1289, 1292, 1293, 1278, 1295, 1294, 1296, 1276, + 1297, 1274, 1298, 1272, 1300, 1301, 1301, 1301, + 1300, 1301, 1311, 1301, 1301, 1301, 1302, 1301, + 1311, 1303, 1303, 1303, 1302, 1303, 1310, 1303, + 1303, 1303, 1304, 1303, 1310, 1305, 1305, 1305, + 1304, 1305, 1309, 1305, 1305, 1305, 1306, 1307, + 1305, 1309, 1478, 1308, 1307, 1309, 1305, 1310, + 1303, 1311, 1301, 1313, 1314, 1314, 1314, 1313, + 1314, 1324, 1314, 1314, 1314, 1315, 1314, 1324, + 1316, 1316, 1316, 1315, 1316, 1323, 1316, 1316, + 1316, 1317, 1316, 1323, 1318, 1318, 1318, 1317, + 1318, 1322, 1318, 1318, 1318, 1319, 1318, 1322, + 1320, 1320, 1320, 1320, 1320, 1321, 1479, 1480, + 1481, 1321, 1320, 1322, 1318, 1323, 1316, 1324, + 1314, 1326, 1327, 1327, 1327, 1326, 1327, 1330, + 1327, 1327, 1327, 1328, 1327, 1330, 1329, 1328, + 1482, 1330, 1327, 1332, 1333, 1333, 1333, 1332, + 1333, 1343, 1333, 1333, 1333, 1334, 1333, 1343, + 1335, 1335, 1335, 1334, 1335, 1342, 1335, 1335, + 1335, 1336, 1335, 1342, 1337, 1337, 1337, 1336, + 1337, 1341, 1337, 1337, 1337, 1338, 1337, 1341, + 1339, 1339, 1339, 1339, 1339, 1340, 1483, 1484, + 1485, 1340, 1339, 1341, 1337, 1342, 1335, 1343, + 1333, 1345, 1346, 1346, 1346, 1345, 1346, 1348, + 1346, 1346, 1346, 1347, 1346, 1348, 1486, 1347, + 1348, 1346, 1350, 1351, 1351, 1351, 1350, 1351, + 1361, 1351, 1351, 1351, 1352, 1351, 1361, 1353, + 1354, 1355, 0, 1356, 1357, 1358, 1359, 1360, + 0, 1487, 1361, 1351, 1363, 1364, 0, 1365, + 1366, 1367, 1488, 1369, 1370, 1371, 1372, 1373, + 1489, 1375, 1376, 1376, 1376, 1375, 1376, 1381, + 1376, 1376, 1376, 1377, 1376, 1381, 1378, 1378, + 1378, 1377, 1378, 1380, 1379, 1378, 1378, 1378, + 1378, 1380, 1490, 1380, 1378, 1381, 1376, 1383, + 1384, 1384, 1384, 1383, 1384, 1389, 1385, 1384, + 1384, 1384, 1384, 1389, 1386, 1386, 1386, 1386, + 1388, 1387, 1386, 1386, 1386, 1386, 1388, 1491, + 1388, 1386, 1389, 1384, 1391, 1392, 1392, 1392, + 1391, 1392, 1395, 1392, 1392, 1392, 1393, 1392, + 1395, 1394, 1492, 1395, 1392, 0, 1, 184, + 1, 1, 192, 1396, 183, 1401, 302, 14, + 228, 14, 14, 238, 260, 1404, 275, 1402, + 276, 1405, 278, 0, 174, 174, 174, 202, + 286, 287, 288, 289, 304, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 301, + 1399, 303, 0, 195, 202, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 301, 0, 1, 184, + 1, 1, 192, 1396, 183, 1401, 302, 1, + 1, 1401, 302, 206, 206, 206, 1401, 207, + 210, 210, 210, 227, 264, 0, 239, 242, + 244, 245, 246, 247, 248, 249, 250, 251, + 252, 253, 254, 255, 256, 257, 258, 259, + 1401 +}; + +static const short _zone_scanner_trans_actions[] = { + 2709, 0, 5, 7, 631, 802, 802, 802, + 802, 802, 802, 802, 802, 802, 802, 802, + 802, 802, 802, 802, 802, 802, 3, 9, + 3, 9, 2885, 103, 820, 823, 45, 59, + 57, 55, 0, 61, 817, 826, 413, 0, + 5, 7, 97, 97, 97, 97, 97, 97, + 97, 97, 97, 97, 97, 97, 97, 97, + 97, 97, 97, 3, 9, 2263, 2266, 3393, + 3397, 0, 0, 0, 3389, 3401, 3409, 5417, + 5437, 407, 0, 405, 5, 7, 411, 3, + 9, 421, 448, 2248, 13, 469, 472, 2553, + 475, 15, 0, 5, 7, 2410, 9, 11, + 2525, 2257, 409, 11, 463, 13, 430, 436, + 445, 5412, 3369, 2505, 0, 5, 7, 9, + 3377, 2254, 448, 11, 2521, 0, 4567, 5, + 7, 2697, 3017, 3017, 3017, 3017, 3017, 3017, + 3017, 3017, 3017, 3017, 3017, 3017, 3017, 3017, + 3017, 3017, 3017, 3, 9, 2251, 2254, 421, + 448, 6098, 829, 3021, 3025, 4812, 3029, 2260, + 0, 5, 7, 424, 9, 0, 0, 0, + 0, 0, 0, 2401, 4297, 4301, 4293, 4305, + 4309, 5882, 5887, 460, 2509, 2513, 2517, 11, + 451, 454, 457, 0, 0, 0, 0, 0, + 0, 2365, 4057, 4061, 4053, 4065, 4069, 5762, + 5767, 2362, 4037, 4041, 4033, 4045, 4049, 5752, + 5757, 0, 0, 2320, 3757, 3761, 3753, 3765, + 3769, 5612, 5617, 0, 0, 0, 2272, 3437, + 3441, 3433, 3445, 3449, 5452, 5457, 0, 0, + 0, 2371, 4097, 4101, 4093, 4105, 4109, 5782, + 5787, 0, 0, 0, 0, 0, 0, 2347, + 3937, 3941, 3933, 3945, 3949, 5702, 5707, 0, + 0, 0, 0, 2323, 3777, 3781, 3773, 3785, + 3789, 5622, 5627, 0, 0, 0, 2344, 3917, + 3921, 3913, 3925, 3929, 5692, 5697, 2329, 3817, + 3821, 3813, 3825, 3829, 5642, 5647, 0, 0, + 0, 0, 0, 2392, 4237, 4241, 4233, 4245, + 4249, 5852, 5857, 0, 2395, 4257, 4261, 4253, + 4265, 4269, 5862, 5867, 0, 0, 0, 0, + 0, 2281, 3497, 3501, 3493, 3505, 3509, 5482, + 5487, 0, 0, 0, 2407, 4337, 4341, 4333, + 4345, 4349, 5902, 5907, 0, 0, 101, 808, + 811, 805, 814, 0, 5, 7, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 3, + 9, 0, 0, 0, 0, 0, 0, 2335, + 3857, 3861, 3853, 3865, 3869, 5662, 5667, 0, + 0, 0, 2302, 3637, 3641, 3633, 3645, 3649, + 5552, 5557, 2317, 3737, 3741, 3733, 3745, 3749, + 5602, 5607, 0, 0, 0, 0, 0, 2383, + 4177, 4181, 4173, 4185, 4189, 5822, 5827, 0, + 2386, 4197, 4201, 4193, 4205, 4209, 5832, 5837, + 0, 2308, 3677, 3681, 3673, 3685, 3689, 5572, + 5577, 2389, 4217, 4221, 4213, 4225, 4229, 5842, + 5847, 0, 0, 0, 0, 0, 2284, 3517, + 3521, 3513, 3525, 3529, 5492, 5497, 2287, 3537, + 3541, 3533, 3545, 3549, 5502, 5507, 0, 0, + 0, 0, 0, 0, 2314, 3717, 3721, 3713, + 3725, 3729, 5592, 5597, 0, 2380, 4157, 4161, + 4153, 4165, 4169, 5812, 5817, 2269, 3417, 3421, + 0, 3413, 3425, 3429, 5442, 5447, 0, 2341, + 3897, 3901, 0, 3893, 3905, 3909, 5682, 5687, + 2350, 3957, 3961, 0, 3953, 3965, 3969, 5712, + 5717, 0, 0, 0, 0, 2353, 3977, 3981, + 3973, 3985, 3989, 5722, 5727, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2368, 4077, + 4081, 4073, 4085, 4089, 5772, 5777, 0, 0, + 2278, 3477, 3481, 3473, 3485, 3489, 5472, 5477, + 0, 0, 0, 2293, 3577, 3581, 3573, 3585, + 3589, 5522, 5527, 0, 0, 0, 2338, 3877, + 3881, 3873, 3885, 3889, 5672, 5677, 2299, 3617, + 3621, 3613, 3625, 3629, 5542, 5547, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 2359, 4017, 4021, 4013, 4025, 4029, 5742, 5747, + 0, 2275, 3457, 3461, 3453, 3465, 3469, 5462, + 5467, 0, 2377, 4137, 4141, 4133, 4145, 4149, + 5802, 5807, 0, 2311, 3697, 3701, 3693, 3705, + 3709, 5582, 5587, 0, 0, 0, 2332, 3837, + 3841, 3833, 3845, 3849, 5652, 5657, 0, 0, + 2404, 4317, 4321, 4313, 4325, 4329, 5892, 5897, + 0, 0, 0, 0, 0, 2356, 3997, 4001, + 3993, 4005, 4009, 5732, 5737, 0, 2290, 3557, + 3561, 3553, 3565, 3569, 5512, 5517, 0, 0, + 649, 631, 2713, 721, 2861, 2865, 45, 2857, + 2869, 2873, 4752, 4757, 0, 0, 2398, 4277, + 4281, 4273, 4285, 4289, 5872, 5877, 0, 0, + 0, 0, 0, 2374, 4117, 4121, 4113, 4125, + 4129, 5792, 5797, 11, 463, 0, 5, 7, + 3, 9, 0, 101, 808, 811, 805, 814, + 0, 5, 7, 631, 99, 99, 99, 99, + 99, 99, 99, 99, 99, 99, 99, 99, + 99, 99, 99, 99, 99, 3, 9, 103, + 820, 823, 45, 59, 57, 55, 0, 61, + 817, 826, 2889, 45, 59, 57, 55, 0, + 61, 742, 2929, 2933, 4767, 2925, 2937, 11, + 463, 11, 463, 95, 91, 91, 91, 0, + 0, 0, 0, 0, 0, 89, 41, 39, + 577, 580, 574, 583, 0, 5, 7, 3, + 9, 11, 0, 463, 4552, 589, 2625, 2633, + 2617, 2641, 0, 5, 7, 3, 9, 11, + 463, 2889, 45, 59, 57, 55, 0, 61, + 742, 2929, 2933, 4767, 2925, 2937, 11, 463, + 2685, 2653, 4507, 4522, 4492, 4537, 5966, 5990, + 0, 5, 7, 3, 9, 421, 448, 3385, + 3405, 5422, 5427, 6182, 5432, 6354, 6194, 6347, + 6188, 0, 5, 7, 424, 2457, 0, 5, + 7, 424, 9, 11, 2521, 478, 2529, 2537, + 4402, 2545, 11, 427, 433, 442, 0, 5, + 7, 9, 448, 11, 2521, 3361, 0, 0, + 0, 0, 0, 83, 0, 0, 79, 2677, + 586, 2621, 2629, 4482, 2637, 6242, 2645, 4497, + 4512, 5960, 4527, 0, 5, 7, 424, 9, + 11, 2521, 4557, 4542, 5972, 5978, 6228, 5984, + 6377, 6235, 0, 5, 7, 424, 2457, 2649, + 598, 4502, 4517, 4487, 4532, 13, 430, 436, + 2429, 445, 460, 4377, 2509, 2513, 2517, 11, + 451, 454, 457, 460, 2509, 2513, 2517, 11, + 451, 454, 457, 0, 0, 2305, 3657, 3661, + 3653, 3665, 3669, 5562, 5567, 0, 0, 0, + 2296, 3597, 3601, 3593, 3605, 3609, 5532, 5537, + 0, 2326, 3797, 3801, 3793, 3805, 3809, 5632, + 5637, 11, 463, 478, 2529, 2537, 4412, 11, + 427, 433, 4353, 460, 2509, 2513, 11, 451, + 454, 460, 2509, 2513, 11, 451, 454, 11, + 463, 13, 430, 436, 445, 2505, 460, 2509, + 2513, 11, 451, 454, 601, 11, 463, 11, + 463, 11, 2521, 0, 496, 3, 7, 490, + 2557, 17, 493, 31, 2581, 29, 0, 529, + 2561, 21, 23, 0, 520, 499, 19, 502, + 511, 25, 25, 4422, 505, 508, 27, 526, + 763, 67, 0, 0, 772, 775, 2953, 73, + 2949, 766, 71, 71, 2941, 2945, 4772, 769, + 67, 67, 0, 0, 775, 775, 73, 73, + 69, 1, 766, 71, 71, 2945, 2945, 769, + 769, 77, 0, 5, 7, 3, 9, 634, + 631, 4762, 13, 469, 472, 45, 59, 57, + 55, 0, 61, 4407, 475, 484, 0, 5, + 7, 2961, 9, 11, 4387, 2889, 2877, 45, + 59, 57, 55, 0, 61, 736, 2893, 2897, + 4767, 6104, 2901, 11, 463, 81, 0, 5, + 7, 3, 9, 4777, 784, 2965, 21, 23, + 0, 487, 523, 2565, 2569, 499, 19, 5912, + 2573, 0, 5, 7, 2969, 9, 11, 4392, + 502, 514, 25, 25, 505, 508, 27, 11, + 463, 0, 5, 7, 3, 9, 787, 85, + 793, 790, 2973, 2977, 6110, 2985, 2981, 799, + 0, 5, 7, 4782, 796, 2989, 2993, 9, + 9, 87, 21, 23, 0, 2577, 4427, 4432, + 499, 19, 6200, 4437, 0, 5, 7, 11, + 4397, 502, 517, 25, 25, 505, 508, 27, + 11, 4382, 0, 5, 7, 3, 9, 11, + 463, 11, 463, 127, 119, 121, 123, 0, + 125, 0, 5, 7, 3, 9, 1, 418, + 439, 11, 463, 363, 361, 2125, 2128, 2122, + 2131, 3321, 5377, 5382, 0, 5, 7, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 3, 9, 2134, 2445, 2493, 265, 1549, 1552, + 0, 0, 0, 1546, 1555, 3129, 4897, 4902, + 0, 0, 291, 1705, 1708, 1702, 1711, 3181, + 5027, 5032, 11, 463, 0, 0, 0, 0, + 0, 0, 355, 2089, 2092, 2086, 2095, 3309, + 5347, 5352, 0, 0, 0, 0, 0, 0, + 331, 1945, 1948, 1942, 1951, 3261, 5227, 5232, + 329, 1933, 1936, 1930, 1939, 3257, 5217, 5222, + 0, 0, 301, 1765, 1768, 1762, 1771, 3201, + 5077, 5082, 0, 0, 0, 269, 1573, 1576, + 1570, 1579, 3137, 4917, 4922, 0, 0, 0, + 335, 1969, 1972, 1966, 1975, 3269, 5247, 5252, + 0, 0, 0, 0, 0, 0, 319, 1873, + 1876, 1870, 1879, 3237, 5167, 5172, 0, 0, + 0, 0, 303, 1777, 1780, 1774, 1783, 3205, + 5087, 5092, 0, 0, 0, 317, 1861, 1864, + 1858, 1867, 3233, 5157, 5162, 307, 1801, 1804, + 1798, 1807, 3213, 5107, 5112, 0, 0, 0, + 0, 0, 349, 2053, 2056, 2050, 2059, 3297, + 5317, 5322, 0, 351, 2065, 2068, 2062, 2071, + 3301, 5327, 5332, 0, 0, 0, 0, 0, + 275, 1609, 1612, 1606, 1615, 3149, 4947, 4952, + 0, 0, 0, 359, 2113, 2116, 2110, 2119, + 3317, 5367, 5372, 0, 0, 0, 0, 0, + 0, 0, 311, 1825, 1828, 1822, 1831, 3221, + 5127, 5132, 0, 0, 0, 289, 1693, 1696, + 1690, 1699, 3177, 5017, 5022, 299, 1753, 1756, + 1750, 1759, 3197, 5067, 5072, 0, 0, 0, + 0, 0, 343, 2017, 2020, 2014, 2023, 3285, + 5287, 5292, 0, 345, 2029, 2032, 2026, 2035, + 3289, 5297, 5302, 0, 293, 1717, 1720, 1714, + 1723, 3185, 5037, 5042, 347, 2041, 2044, 2038, + 2047, 3293, 5307, 5312, 0, 0, 0, 0, + 0, 277, 1621, 1624, 1618, 1627, 3153, 4957, + 4962, 279, 1633, 1636, 1630, 1639, 3157, 4967, + 4972, 0, 0, 0, 0, 0, 0, 297, + 1741, 1744, 1738, 1747, 3193, 5057, 5062, 0, + 341, 2005, 2008, 2002, 2011, 3281, 5277, 5282, + 267, 1561, 1564, 0, 1558, 1567, 3133, 4907, + 4912, 0, 315, 1849, 1852, 0, 1846, 1855, + 3229, 5147, 5152, 321, 1885, 1888, 0, 1882, + 1891, 3241, 5177, 5182, 0, 0, 0, 0, + 323, 1897, 1900, 1894, 1903, 3245, 5187, 5192, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 333, 1957, 1960, 1954, 1963, 3265, 5237, + 5242, 0, 0, 273, 1597, 1600, 1594, 1603, + 3145, 4937, 4942, 0, 0, 0, 283, 1657, + 1660, 1654, 1663, 3165, 4987, 4992, 0, 0, + 0, 313, 1837, 1840, 1834, 1843, 3225, 5137, + 5142, 287, 1681, 1684, 1678, 1687, 3173, 5007, + 5012, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 327, 1921, 1924, 1918, 1927, + 3253, 5207, 5212, 0, 271, 1585, 1588, 1582, + 1591, 3141, 4927, 4932, 0, 339, 1993, 1996, + 1990, 1999, 3277, 5267, 5272, 0, 295, 1729, + 1732, 1726, 1735, 3189, 5047, 5052, 0, 0, + 0, 309, 1813, 1816, 1810, 1819, 3217, 5117, + 5122, 0, 0, 357, 2101, 2104, 2098, 2107, + 3313, 5357, 5362, 0, 0, 0, 0, 0, + 325, 1909, 1912, 1906, 1915, 3249, 5197, 5202, + 0, 281, 1645, 1648, 1642, 1651, 3161, 4977, + 4982, 0, 0, 631, 263, 1537, 1540, 45, + 1534, 1543, 3125, 4887, 4892, 0, 0, 353, + 2077, 2080, 2074, 2083, 3305, 5337, 5342, 0, + 0, 0, 0, 0, 337, 1981, 1984, 1978, + 1987, 3273, 5257, 5262, 0, 0, 0, 285, + 1669, 1672, 1666, 1675, 3169, 4997, 5002, 0, + 305, 1789, 1792, 1786, 1795, 3209, 5097, 5102, + 377, 0, 5, 7, 3, 9, 637, 631, + 53, 727, 730, 45, 724, 733, 3109, 0, + 5, 7, 115, 3, 9, 117, 0, 5, + 7, 3, 9, 865, 2441, 2489, 11, 463, + 11, 463, 11, 463, 0, 5, 7, 3, + 9, 631, 631, 415, 2417, 2421, 45, 1, + 2413, 2425, 0, 5, 7, 115, 3, 9, + 117, 0, 5, 7, 3, 9, 865, 2441, + 2489, 11, 463, 11, 463, 53, 727, 730, + 724, 733, 11, 463, 387, 393, 393, 393, + 393, 393, 393, 0, 0, 0, 919, 0, + 0, 931, 0, 0, 0, 0, 0, 0, + 0, 0, 928, 0, 0, 0, 0, 934, + 0, 0, 643, 631, 685, 45, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 922, 0, 0, 0, + 925, 385, 383, 2224, 2227, 2221, 2230, 3349, + 5387, 5392, 0, 5, 7, 389, 389, 389, + 389, 389, 389, 389, 3, 9, 2233, 2453, + 2501, 0, 0, 0, 157, 5407, 5407, 4452, + 5924, 5930, 5918, 5936, 6207, 6361, 6369, 11, + 463, 0, 0, 163, 0, 562, 562, 121, + 123, 0, 125, 0, 37, 119, 391, 2239, + 2242, 2236, 2245, 3353, 5397, 5402, 121, 123, + 0, 125, 0, 565, 2601, 2605, 119, 2597, + 2609, 4457, 5942, 5948, 0, 0, 0, 0, + 0, 0, 0, 0, 161, 835, 0, 2593, + 2593, 3061, 841, 105, 832, 4832, 6128, 6134, + 841, 105, 6122, 6140, 6319, 6385, 6393, 832, + 0, 0, 0, 0, 165, 0, 2593, 2593, + 3085, 844, 105, 832, 4847, 6152, 6158, 844, + 105, 6146, 6164, 6326, 6401, 6409, 832, 0, + 0, 640, 631, 2837, 4732, 4737, 45, 49, + 4727, 4742, 6080, 6305, 6312, 559, 0, 0, + 0, 0, 0, 0, 0, 0, 155, 0, + 3357, 3357, 568, 0, 395, 2613, 4467, 4472, + 0, 4462, 4477, 5954, 6214, 6221, 395, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 3117, 4867, 4872, + 4862, 4877, 6170, 6333, 6340, 0, 0, 0, + 159, 0, 4882, 4882, 49, 45, 703, 2845, + 2849, 45, 2841, 2853, 4747, 6086, 6092, 5407, + 2589, 397, 631, 0, 0, 0, 0, 0, + 670, 45, 0, 0, 874, 0, 877, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 883, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 895, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 898, 0, 0, 0, 0, 0, + 0, 0, 0, 901, 0, 0, 0, 0, + 0, 0, 904, 0, 0, 907, 0, 0, + 0, 0, 0, 0, 0, 910, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 913, 0, 0, 916, 0, 0, 0, 0, + 0, 0, 871, 0, 0, 0, 0, 0, + 880, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 886, 0, 0, 889, + 0, 0, 892, 399, 631, 0, 0, 0, + 0, 0, 0, 685, 45, 0, 0, 0, + 0, 0, 937, 0, 0, 0, 0, 0, + 0, 0, 0, 940, 0, 0, 0, 934, + 0, 0, 928, 0, 0, 0, 931, 0, + 0, 946, 0, 0, 0, 925, 0, 0, + 919, 0, 0, 0, 922, 0, 0, 943, + 838, 832, 3041, 105, 604, 607, 604, 43, + 613, 616, 610, 619, 0, 5, 7, 604, + 3, 9, 43, 613, 616, 610, 619, 646, + 0, 5, 7, 631, 3, 9, 51, 712, + 715, 45, 709, 718, 0, 5, 7, 631, + 3, 9, 2881, 51, 712, 715, 45, 59, + 57, 55, 0, 61, 709, 718, 0, 5, + 7, 631, 3, 9, 51, 712, 715, 45, + 59, 57, 55, 0, 61, 709, 718, 0, + 5, 7, 631, 3, 9, 51, 712, 715, + 45, 59, 57, 55, 0, 61, 709, 718, + 0, 5, 7, 631, 3, 9, 706, 45, + 59, 57, 55, 0, 61, 2889, 45, 59, + 57, 55, 0, 61, 2905, 4767, 11, 463, + 2889, 45, 59, 57, 55, 0, 61, 739, + 2913, 2917, 4767, 2909, 2921, 11, 463, 2889, + 45, 59, 57, 55, 0, 61, 739, 2913, + 2917, 4767, 2909, 2921, 11, 463, 2889, 45, + 59, 57, 55, 0, 61, 739, 2913, 2917, + 4767, 2909, 2921, 11, 463, 11, 463, 11, + 463, 532, 35, 547, 550, 544, 553, 532, + 0, 5, 7, 3, 9, 541, 11, 463, + 604, 43, 613, 616, 610, 619, 0, 5, + 7, 604, 3, 9, 607, 11, 463, 631, + 49, 691, 694, 45, 688, 697, 0, 5, + 7, 604, 3, 9, 607, 11, 463, 2957, + 781, 35, 547, 550, 544, 553, 2585, 4442, + 4447, 532, 0, 5, 7, 3, 9, 778, + 2437, 2485, 11, 463, 832, 3065, 105, 2212, + 3325, 365, 2140, 2143, 45, 2137, 2146, 0, + 5, 7, 631, 0, 0, 3, 9, 369, + 2164, 2167, 45, 2161, 2170, 0, 5, 7, + 4722, 3, 9, 652, 2745, 2749, 0, 45, + 2741, 2753, 0, 5, 7, 3, 9, 0, + 5, 7, 3, 9, 631, 367, 2152, 2155, + 45, 2149, 2158, 0, 5, 7, 631, 0, + 0, 3, 9, 371, 2176, 2179, 45, 2173, + 2182, 0, 5, 7, 4722, 3, 9, 655, + 2761, 2765, 0, 45, 2757, 2769, 0, 5, + 7, 3, 9, 0, 5, 7, 3, 9, + 0, 4717, 6176, 658, 2777, 2781, 0, 45, + 658, 2773, 2785, 4697, 6032, 6038, 0, 5, + 7, 4717, 3, 9, 2209, 2449, 2497, 661, + 2793, 2797, 0, 45, 661, 2789, 2801, 4702, + 6044, 6050, 0, 5, 7, 4717, 3, 9, + 2449, 2497, 664, 2809, 2813, 0, 45, 664, + 2805, 2817, 4707, 6056, 6062, 0, 5, 7, + 4717, 3, 9, 2449, 2497, 667, 2825, 2829, + 0, 45, 2821, 2833, 4712, 6068, 6074, 0, + 5, 7, 3, 9, 2449, 2497, 11, 463, + 2737, 4682, 4687, 4572, 4677, 4692, 6026, 6291, + 6298, 628, 11, 463, 2733, 4662, 4667, 4572, + 2733, 4657, 4672, 6020, 6277, 6284, 628, 11, + 463, 2729, 4642, 4647, 4572, 2729, 4637, 4652, + 6014, 6263, 6270, 628, 11, 463, 2725, 4622, + 4627, 4572, 2725, 4617, 4632, 6008, 6249, 6256, + 628, 11, 463, 375, 2200, 2203, 2197, 2206, + 11, 463, 2721, 4602, 4607, 4572, 4597, 4612, + 628, 11, 463, 11, 463, 11, 463, 373, + 2188, 2191, 2185, 2194, 11, 463, 2717, 4582, + 4587, 4572, 4577, 4592, 628, 11, 463, 11, + 463, 631, 49, 691, 694, 45, 688, 697, + 0, 5, 7, 631, 3, 9, 49, 691, + 694, 45, 688, 697, 0, 5, 7, 631, + 3, 9, 49, 691, 694, 45, 688, 697, + 0, 5, 7, 604, 3, 9, 607, 11, + 463, 11, 463, 11, 463, 631, 49, 691, + 694, 45, 688, 697, 0, 5, 7, 631, + 3, 9, 49, 691, 694, 45, 688, 697, + 532, 0, 5, 7, 3, 9, 35, 547, + 550, 544, 553, 532, 0, 5, 7, 3, + 9, 35, 547, 550, 544, 553, 532, 0, + 5, 7, 3, 9, 35, 547, 550, 544, + 553, 0, 5, 7, 604, 3, 9, 607, + 11, 463, 11, 463, 11, 463, 11, 463, + 11, 463, 403, 0, 5, 7, 3, 9, + 631, 49, 691, 694, 45, 688, 697, 0, + 5, 7, 401, 3, 9, 0, 5, 7, + 3, 9, 129, 1, 11, 463, 11, 463, + 11, 463, 859, 0, 847, 5, 7, 850, + 853, 3, 9, 1, 418, 439, 111, 113, + 0, 3033, 832, 105, 107, 631, 856, 3097, + 3101, 45, 3093, 3105, 3089, 4852, 4857, 11, + 463, 0, 832, 105, 109, 631, 49, 691, + 694, 45, 688, 697, 0, 5, 7, 401, + 3, 9, 0, 5, 7, 3, 9, 631, + 47, 676, 679, 45, 673, 682, 862, 0, + 5, 7, 115, 3, 9, 117, 0, 5, + 7, 3, 9, 1, 418, 439, 11, 463, + 11, 463, 11, 463, 11, 463, 631, 47, + 676, 679, 45, 673, 682, 0, 5, 7, + 631, 3, 9, 47, 676, 679, 45, 673, + 682, 0, 5, 7, 115, 3, 9, 117, + 0, 5, 7, 3, 9, 1, 418, 439, + 11, 463, 11, 463, 11, 463, 631, 47, + 676, 679, 45, 673, 682, 949, 0, 5, + 7, 147, 149, 151, 153, 3, 9, 0, + 5, 7, 3, 9, 2701, 631, 47, 676, + 679, 45, 673, 682, 0, 5, 7, 0, + 3, 9, 3121, 0, 5, 7, 0, 5, + 7, 0, 5, 7, 1, 3, 9, 418, + 439, 3, 9, 418, 439, 3, 9, 418, + 439, 952, 129, 11, 463, 11, 463, 11, + 463, 11, 463, 11, 463, 0, 5, 7, + 3, 9, 631, 47, 676, 679, 45, 673, + 682, 3037, 0, 5, 7, 832, 3, 9, + 4817, 105, 841, 3049, 3053, 841, 3049, 3053, + 841, 3049, 3053, 3041, 3045, 3057, 4822, 4827, + 3045, 3057, 4822, 4827, 3045, 3057, 4822, 4827, + 11, 463, 11, 463, 0, 5, 7, 3, + 9, 631, 47, 676, 679, 45, 673, 682, + 0, 5, 7, 832, 3, 9, 105, 844, + 3073, 3077, 844, 3073, 3077, 844, 3073, 3077, + 3065, 3069, 3081, 4837, 4842, 3069, 3081, 4837, + 4842, 3069, 3081, 4837, 4842, 11, 463, 11, + 463, 0, 5, 7, 3, 9, 631, 47, + 676, 679, 45, 673, 682, 0, 5, 7, + 604, 3, 9, 43, 613, 616, 43, 613, + 616, 43, 613, 616, 607, 610, 619, 2689, + 2693, 610, 619, 2689, 2693, 610, 619, 2689, + 2693, 11, 463, 11, 463, 11, 463, 955, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 167, 961, 964, 0, 0, 0, 958, + 967, 0, 5, 7, 401, 3, 9, 0, + 5, 7, 3, 9, 631, 47, 676, 679, + 45, 673, 682, 0, 5, 7, 631, 3, + 9, 51, 712, 715, 45, 709, 718, 760, + 0, 5, 7, 745, 3, 9, 65, 751, + 754, 63, 748, 757, 0, 5, 7, 745, + 3, 9, 65, 751, 754, 63, 748, 757, + 0, 5, 7, 631, 3, 9, 49, 691, + 694, 45, 688, 697, 0, 5, 7, 604, + 3, 9, 43, 613, 616, 610, 619, 0, + 5, 7, 129, 3, 9, 1, 11, 463, + 11, 463, 11, 463, 11, 463, 11, 463, + 11, 463, 11, 463, 11, 463, 0, 0, + 193, 1117, 1120, 1114, 1123, 0, 0, 0, + 187, 1081, 1084, 1078, 1087, 0, 207, 1201, + 1204, 1198, 1207, 0, 0, 0, 0, 0, + 0, 257, 1501, 1504, 1498, 1507, 0, 0, + 0, 0, 0, 0, 233, 1357, 1360, 1354, + 1363, 231, 1345, 1348, 1342, 1351, 0, 0, + 203, 1177, 1180, 1174, 1183, 0, 0, 0, + 171, 985, 988, 982, 991, 0, 0, 0, + 237, 1381, 1384, 1378, 1387, 0, 0, 0, + 0, 0, 0, 221, 1285, 1288, 1282, 1291, + 0, 0, 0, 0, 205, 1189, 1192, 1186, + 1195, 0, 0, 0, 219, 1273, 1276, 1270, + 1279, 209, 1213, 1216, 1210, 1219, 0, 0, + 0, 0, 0, 251, 1465, 1468, 1462, 1471, + 0, 253, 1477, 1480, 1474, 1483, 0, 0, + 0, 0, 0, 177, 1021, 1024, 1018, 1027, + 0, 0, 0, 261, 1525, 1528, 1522, 1531, + 0, 0, 0, 0, 0, 0, 0, 213, + 1237, 1240, 1234, 1243, 0, 0, 0, 191, + 1105, 1108, 1102, 1111, 201, 1165, 1168, 1162, + 1171, 0, 0, 0, 0, 0, 245, 1429, + 1432, 1426, 1435, 0, 247, 1441, 1444, 1438, + 1447, 0, 195, 1129, 1132, 1126, 1135, 249, + 1453, 1456, 1450, 1459, 0, 0, 0, 0, + 0, 179, 1033, 1036, 1030, 1039, 181, 1045, + 1048, 1042, 1051, 0, 0, 0, 0, 0, + 0, 199, 1153, 1156, 1150, 1159, 0, 243, + 1417, 1420, 1414, 1423, 169, 973, 976, 0, + 970, 979, 0, 217, 1261, 1264, 0, 1258, + 1267, 223, 1297, 1300, 0, 1294, 1303, 0, + 0, 0, 0, 225, 1309, 1312, 1306, 1315, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 235, 1369, 1372, 1366, 1375, 0, 0, + 175, 1009, 1012, 1006, 1015, 0, 0, 0, + 185, 1069, 1072, 1066, 1075, 0, 0, 0, + 215, 1249, 1252, 1246, 1255, 189, 1093, 1096, + 1090, 1099, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 229, 1333, 1336, 1330, + 1339, 0, 173, 997, 1000, 994, 1003, 0, + 241, 1405, 1408, 1402, 1411, 0, 197, 1141, + 1144, 1138, 1147, 0, 0, 0, 211, 1225, + 1228, 1222, 1231, 0, 0, 259, 1513, 1516, + 1510, 1519, 0, 0, 0, 0, 0, 227, + 1321, 1324, 1318, 1327, 0, 183, 1057, 1060, + 1054, 1063, 0, 0, 2705, 631, 49, 691, + 694, 45, 688, 697, 0, 0, 255, 1489, + 1492, 1486, 1495, 0, 0, 0, 0, 0, + 239, 1393, 1396, 1390, 1399, 604, 622, 1, + 631, 49, 691, 694, 45, 688, 697, 0, + 5, 7, 631, 3, 9, 47, 676, 679, + 45, 673, 682, 0, 5, 7, 401, 3, + 9, 0, 5, 7, 3, 9, 129, 1, + 11, 463, 11, 463, 11, 463, 129, 1, + 631, 47, 676, 679, 45, 673, 682, 0, + 5, 7, 631, 3, 9, 47, 676, 679, + 45, 673, 682, 0, 5, 7, 631, 3, + 9, 49, 691, 694, 45, 688, 697, 0, + 5, 7, 33, 535, 3, 9, 35, 547, + 550, 544, 553, 868, 0, 5, 7, 538, + 3, 9, 133, 135, 0, 137, 139, 0, + 141, 0, 143, 145, 0, 556, 131, 1, + 0, 0, 11, 463, 117, 115, 11, 463, + 11, 463, 11, 463, 631, 47, 676, 679, + 45, 673, 682, 0, 5, 7, 631, 3, + 9, 47, 676, 679, 45, 673, 682, 0, + 5, 7, 631, 3, 9, 49, 691, 694, + 45, 688, 697, 0, 5, 7, 33, 535, + 3, 9, 541, 117, 115, 11, 463, 11, + 463, 11, 463, 631, 47, 676, 679, 45, + 673, 682, 0, 5, 7, 631, 3, 9, + 47, 676, 679, 45, 673, 682, 0, 5, + 7, 631, 3, 9, 47, 676, 679, 45, + 673, 682, 0, 5, 7, 115, 3, 9, + 117, 0, 5, 7, 3, 9, 1, 418, + 439, 11, 463, 11, 463, 11, 463, 11, + 463, 631, 51, 712, 715, 45, 709, 718, + 0, 5, 7, 631, 3, 9, 700, 45, + 1, 11, 463, 631, 51, 712, 715, 45, + 709, 718, 0, 5, 7, 631, 3, 9, + 47, 676, 679, 45, 673, 682, 0, 5, + 7, 631, 3, 9, 47, 676, 679, 45, + 673, 682, 0, 5, 7, 115, 3, 9, + 117, 0, 5, 7, 3, 9, 1, 418, + 439, 11, 463, 11, 463, 11, 463, 11, + 463, 631, 49, 691, 694, 45, 688, 697, + 0, 5, 7, 832, 3, 9, 3041, 105, + 11, 463, 631, 49, 691, 694, 45, 688, + 697, 0, 5, 7, 2218, 3, 9, 117, + 115, 117, 3113, 381, 115, 117, 115, 117, + 3345, 3341, 11, 463, 2215, 117, 3337, 379, + 115, 117, 3329, 2215, 117, 379, 115, 117, + 3333, 631, 49, 691, 694, 45, 688, 697, + 0, 5, 7, 631, 3, 9, 49, 691, + 694, 45, 688, 697, 75, 0, 5, 7, + 3, 9, 1, 11, 463, 11, 463, 631, + 47, 676, 679, 45, 673, 682, 532, 0, + 5, 7, 3, 9, 35, 547, 550, 544, + 553, 75, 0, 5, 7, 3, 9, 1, + 11, 463, 11, 463, 631, 49, 691, 694, + 45, 688, 697, 0, 5, 7, 604, 3, + 9, 625, 1, 11, 463, 595, 592, 0, + 2661, 2665, 571, 466, 475, 2657, 2669, 592, + 407, 2465, 2473, 3373, 3381, 2433, 2481, 3365, + 3369, 4362, 4372, 2681, 592, 2465, 2473, 3013, + 3013, 3013, 3013, 3013, 3013, 3013, 3013, 3013, + 3013, 3013, 3013, 3013, 3013, 3013, 3013, 3013, + 2433, 2481, 4547, 4562, 4807, 4807, 4807, 4807, + 4807, 4807, 4807, 4807, 4807, 4807, 4807, 4807, + 4807, 4807, 4807, 4807, 4807, 2673, 3009, 93, + 4792, 4797, 3005, 2997, 3001, 4787, 4802, 2465, + 2473, 2433, 2481, 481, 2533, 2541, 4417, 2549, + 481, 2461, 2469, 2477, 4367, 5996, 6002, 6116, + 6116, 6116, 6116, 6116, 6116, 6116, 6116, 6116, + 6116, 6116, 6116, 6116, 6116, 6116, 6116, 6116, + 4357 +}; + +static const short _zone_scanner_eof_actions[] = { + 0, 2709, 2885, 413, 2263, 405, 2248, 15, + 15, 405, 405, 2248, 2248, 2248, 4567, 6098, + 2260, 413, 413, 2263, 2248, 2248, 413, 413, + 413, 413, 413, 2263, 2263, 413, 413, 2263, + 413, 413, 413, 2263, 413, 413, 413, 2263, + 413, 413, 413, 413, 2263, 413, 413, 413, + 2263, 413, 413, 413, 2263, 2263, 413, 413, + 413, 413, 2263, 413, 2263, 413, 413, 413, + 413, 2263, 413, 413, 413, 2263, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, + 2263, 413, 413, 2263, 2263, 413, 413, 2263, + 413, 2263, 413, 2263, 2263, 413, 413, 413, + 413, 2263, 2263, 413, 413, 413, 413, 2263, + 413, 2263, 2263, 413, 2263, 2263, 413, 413, + 413, 413, 2263, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 2263, 413, 413, 2263, + 413, 2263, 413, 413, 413, 2263, 2263, 413, + 413, 413, 413, 413, 2263, 413, 2263, 413, + 2263, 413, 2263, 413, 413, 413, 2263, 413, + 413, 2263, 413, 413, 413, 2263, 413, 2263, + 413, 413, 649, 2713, 413, 413, 2263, 413, + 413, 413, 413, 413, 2263, 413, 2709, 413, + 413, 649, 2885, 2885, 2885, 2885, 413, 15, + 95, 95, 95, 95, 95, 95, 95, 95, + 41, 649, 0, 4552, 649, 413, 2885, 2885, + 2885, 413, 2685, 2713, 3385, 2248, 2709, 15, + 2248, 15, 4567, 3385, 3385, 3385, 3385, 3385, + 3385, 3385, 3385, 3385, 3385, 3385, 3385, 3385, + 3385, 3385, 3385, 2248, 3361, 95, 95, 95, + 95, 95, 95, 95, 95, 95, 2677, 6242, + 2709, 2260, 4557, 4567, 4557, 4557, 4557, 4557, + 4557, 4557, 4557, 4557, 4557, 4557, 4557, 4557, + 4557, 4557, 4557, 4557, 598, 4567, 2248, 15, + 2248, 2248, 413, 413, 2263, 413, 413, 413, + 2263, 413, 2263, 2248, 2248, 15, 2248, 2248, + 2248, 2248, 405, 4567, 2248, 2248, 601, 601, + 601, 601, 601, 601, 601, 601, 601, 601, + 601, 601, 601, 601, 601, 601, 15, 2260, + 601, 2260, 0, 0, 0, 31, 31, 31, + 511, 511, 511, 511, 31, 31, 763, 763, + 2949, 2949, 2949, 2949, 763, 763, 69, 2949, + 2949, 2949, 2949, 77, 634, 4762, 484, 484, + 4762, 2877, 4762, 77, 81, 81, 81, 487, + 487, 487, 514, 514, 514, 514, 487, 81, + 0, 85, 793, 799, 87, 799, 15, 15, + 517, 517, 517, 517, 799, 15, 87, 0, + 0, 127, 127, 127, 127, 127, 127, 127, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 363, 363, 363, 363, + 363, 363, 363, 363, 377, 637, 637, 3109, + 3109, 3109, 3109, 377, 377, 377, 637, 637, + 3109, 3109, 3109, 3109, 377, 637, 377, 387, + 387, 387, 387, 387, 387, 387, 387, 387, + 387, 387, 387, 387, 387, 387, 387, 387, + 387, 387, 387, 387, 387, 387, 643, 643, + 387, 387, 387, 387, 387, 387, 387, 387, + 387, 387, 387, 387, 387, 387, 387, 387, + 387, 387, 387, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 835, 835, 835, 835, + 835, 835, 385, 385, 385, 385, 385, 835, + 835, 835, 835, 835, 835, 385, 385, 640, + 640, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 640, 640, 640, + 640, 385, 385, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 838, 838, 405, 405, + 405, 405, 405, 405, 646, 646, 646, 2881, + 646, 2881, 646, 2881, 646, 2881, 2881, 2881, + 2881, 405, 2881, 2881, 2881, 405, 2881, 2881, + 2881, 405, 2881, 2881, 2881, 405, 405, 405, + 405, 405, 405, 405, 405, 405, 405, 405, + 405, 405, 646, 646, 405, 405, 405, 781, + 781, 781, 781, 838, 838, 2212, 2212, 2212, + 2212, 2212, 2212, 2212, 2212, 2212, 2212, 2212, + 2212, 2212, 2212, 2212, 2212, 2212, 2212, 2212, + 2212, 2212, 2212, 2212, 2212, 2212, 2212, 2212, + 2212, 2212, 2212, 2212, 2212, 2212, 2212, 2212, + 2212, 2212, 2212, 2212, 2212, 2212, 2212, 2212, + 2212, 2212, 2212, 2212, 2212, 2212, 2212, 2212, + 2212, 2212, 2212, 2212, 646, 646, 646, 646, + 646, 646, 405, 405, 405, 405, 405, 646, + 646, 646, 646, 405, 405, 405, 405, 405, + 405, 405, 405, 405, 405, 405, 405, 405, + 405, 405, 646, 646, 405, 405, 405, 405, + 405, 405, 405, 859, 859, 859, 3033, 3033, + 859, 859, 405, 859, 3033, 3033, 646, 646, + 405, 405, 646, 646, 862, 862, 862, 862, + 405, 405, 405, 646, 646, 646, 646, 862, + 862, 862, 862, 405, 405, 646, 646, 949, + 949, 2701, 2701, 949, 3121, 952, 952, 952, + 952, 952, 952, 952, 949, 949, 949, 2701, + 2701, 3037, 4817, 949, 949, 949, 2701, 2701, + 3037, 4817, 949, 949, 949, 2701, 2701, 949, + 3121, 949, 949, 405, 955, 955, 405, 405, + 646, 646, 646, 646, 760, 760, 760, 760, + 646, 646, 405, 405, 405, 405, 405, 405, + 405, 405, 405, 405, 405, 405, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 2705, 2705, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 405, 405, + 405, 646, 646, 646, 646, 405, 405, 405, + 405, 405, 405, 405, 405, 405, 646, 646, + 646, 646, 646, 646, 862, 862, 868, 868, + 868, 868, 868, 868, 868, 868, 868, 405, + 868, 868, 868, 868, 868, 405, 862, 862, + 405, 405, 405, 646, 646, 646, 646, 646, + 646, 862, 862, 862, 862, 405, 405, 405, + 646, 646, 646, 646, 646, 646, 862, 862, + 862, 862, 405, 405, 405, 646, 646, 646, + 646, 405, 405, 646, 646, 646, 646, 646, + 646, 862, 862, 862, 862, 405, 405, 405, + 646, 646, 838, 838, 405, 646, 646, 862, + 862, 862, 862, 3113, 862, 862, 862, 862, + 3345, 405, 862, 862, 3337, 862, 862, 3337, + 862, 862, 3337, 862, 862, 3337, 646, 646, + 646, 646, 405, 405, 405, 405, 646, 646, + 405, 405, 405, 405, 405, 405, 646, 646, + 405, 405, 405, 405, 0, 0, 0, 0, + 93, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0 +}; + + + + + + +__attribute__((visibility("default"))) +int zs_init( + zs_scanner_t *s, + const char *origin, + const uint16_t rclass, + const uint32_t ttl) +{ + if (s == NULL) { + return -1; + } + + memset(s, 0, sizeof(*s)); + + // Nonzero initial scanner state. + s->cs = 1396; + + // Reset the file descriptor. + s->file.descriptor = -1; + + // Use the root zone as origin if not specified. + if (origin == NULL || strlen(origin) == 0) { + origin = "."; + } + size_t origin_len = strlen(origin); + + // Prepare a zone settings header. + const char *format; + if (origin[origin_len - 1] != '.') { + format = "$ORIGIN %s.\n"; + } else { + format = "$ORIGIN %s\n"; + } + + char settings[1024]; + int ret = snprintf(settings, sizeof(settings), format, origin); + if (ret <= 0 || ret >= sizeof(settings)) { + ERR(ZS_ENOMEM); + return -1; + } + + // Parse the settings to set up the scanner origin. + if (zs_set_input_string(s, settings, ret) != 0 || + zs_parse_all(s) != 0) { + return -1; + } + + // Set scanner defaults. + s->path = strdup("."); + if (s->path == NULL) { + ERR(ZS_ENOMEM); + return -1; + } + s->default_class = rclass; + s->default_ttl = ttl; + s->line_counter = 1; + + s->state = ZS_STATE_NONE; + s->process.automatic = false; + + return 0; +} + +static void input_deinit( + zs_scanner_t *s, + bool keep_filename) +{ + // Deinit the file input. + if (s->file.descriptor != -1) { + // Unmap the file content. + if (s->input.start != NULL) { + if (s->input.mmaped) { + munmap((void *)s->input.start, + s->input.end - s->input.start); + } else { + free((void *)s->input.start); + } + } + + // Close the opened file. + close(s->file.descriptor); + s->file.descriptor = -1; + } + + // Keep file name for possible trailing error report. + if (!keep_filename) { + free(s->file.name); + s->file.name = NULL; + } + + // Unset the input limits. + s->input.start = NULL; + s->input.current = NULL; + s->input.end = NULL; + s->input.eof = false; +} + +__attribute__((visibility("default"))) +void zs_deinit( + zs_scanner_t *s) +{ + if (s == NULL) { + return; + } + + input_deinit(s, false); + free(s->path); +} + +static int set_input_string( + zs_scanner_t *s, + const char *input, + size_t size, + bool final_block) +{ + if (s == NULL) { + return -1; + } + + if (input == NULL) { + ERR(ZS_EINVAL); + return -1; + } + + // Deinit possibly opened file. + input_deinit(s, final_block); + + // Set the scanner input limits. + s->input.start = input; + s->input.current = input; + s->input.end = input + size; + s->input.eof = final_block; + + return 0; +} + +static char *read_file_to_buf( + int fd, + size_t *bufsize) +{ + size_t bufs = 0, newbufs = 8192; + char *buf = malloc(bufs + newbufs); + int ret = 0; + + while (buf != NULL && (ret = read(fd, buf + bufs, newbufs)) == newbufs) { + bufs += newbufs; + newbufs = bufs; + char *newbuf = realloc(buf, bufs + newbufs); + if (newbuf == NULL) { + free(buf); + } + buf = newbuf; + } + if (ret < 0) { + free(buf); + return NULL; + } + + *bufsize = bufs + ret; + return buf; +} + +__attribute__((visibility("default"))) +int zs_set_input_string( + zs_scanner_t *s, + const char *input, + size_t size) +{ + s->state = ZS_STATE_NONE; + + return set_input_string(s, input, size, false); +} + +__attribute__((visibility("default"))) +int zs_set_input_file( + zs_scanner_t *s, + const char *file_name) +{ + if (s == NULL) { + return -1; + } + + if (file_name == NULL) { + ERR(ZS_EINVAL); + return -1; + } + + // Deinit possibly opened file. + input_deinit(s, false); + + // Try to open the file. + s->file.descriptor = open(file_name, O_RDONLY); + if (s->file.descriptor == -1) { + ERR(errno == EACCES ? ZS_FILE_ACCESS : ZS_FILE_OPEN); + return -1; + } + + char *start = NULL; + size_t size = 0; + + // Check the input. + struct stat file_stat; + if (fstat(s->file.descriptor, &file_stat) == -1) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } else if (S_ISCHR(file_stat.st_mode) || + S_ISBLK(file_stat.st_mode) || + S_ISFIFO(file_stat.st_mode)) { + // Workaround if cannot mmap, read to memory. + start = read_file_to_buf(s->file.descriptor, &size); + if (start == NULL) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } + } else if (!S_ISREG(file_stat.st_mode)) { // Require regular file. + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } else if (file_stat.st_size > 0) { // Mmap non-empty file. + start = mmap(0, file_stat.st_size, PROT_READ, MAP_SHARED, + s->file.descriptor, 0); + if (start == MAP_FAILED) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } + + size = file_stat.st_size; + s->input.mmaped = true; + + // Try to set the mapped memory advise to sequential. +#if defined(MADV_SEQUENTIAL) && !defined(__sun) + (void)madvise(start, size, MADV_SEQUENTIAL); +#else +#ifdef POSIX_MADV_SEQUENTIAL + (void)posix_madvise(start, size, POSIX_MADV_SEQUENTIAL); +#endif /* POSIX_MADV_SEQUENTIAL */ +#endif /* MADV_SEQUENTIAL && !__sun */ + } + + // Set the scanner input limits. + s->input.start = start; + s->input.current = start; + s->input.end = (start != NULL) ? start + size : start; + + // Get absolute path of the zone file if possible. + char *full_name = realpath(file_name, NULL); + if (full_name != NULL) { + free(s->path); + s->path = strdup(dirname(full_name)); + free(full_name); + if (s->path == NULL) { + ERR(ZS_ENOMEM); + input_deinit(s, false); + return -1; + } + } + + s->file.name = strdup(file_name); + if (s->file.name == NULL) { + ERR(ZS_ENOMEM); + input_deinit(s, false); + return -1; + } + + s->state = ZS_STATE_NONE; + + return 0; +} + +__attribute__((visibility("default"))) +int zs_set_processing( + zs_scanner_t *s, + void (*process_record)(zs_scanner_t *), + void (*process_error)(zs_scanner_t *), + void *data) +{ + if (s == NULL) { + return -1; + } + + s->process.record = process_record; + s->process.error = process_error; + s->process.data = data; + + return 0; +} + +__attribute__((visibility("default"))) +int zs_set_processing_comment( + zs_scanner_t *s, + void (*process_comment)(zs_scanner_t *)) +{ + if (s == NULL) { + return -1; + } + + s->process.comment = process_comment; + + return 0; +} + +typedef enum { + WRAP_NONE, // Initial state. + WRAP_DETECTED, // Input block end is a first '\' in rdata. + WRAP_PROCESS // Parsing of auxiliary block = "\". +} wrap_t; + +static void parse( + zs_scanner_t *s, + wrap_t *wrap) +{ + // Restore scanner input limits (Ragel internals). + const char *p = s->input.current; + const char *pe = s->input.end; + const char *eof = s->input.eof ? pe : NULL; + + // Restore state variables (Ragel internals). + int cs = s->cs; + int top = s->top; + int stack[ZS_RAGEL_STACK_SIZE]; + memcpy(stack, s->stack, sizeof(stack)); + + // Next 2 variables are for better performance. + // Restoring r_data pointer to next free space. + uint8_t *rdata_tail = s->r_data + s->r_data_tail; + // Initialization of the last r_data byte. + uint8_t *rdata_stop = s->r_data + ZS_MAX_RDATA_LENGTH - 1; + + // Write scanner body (in C). + + { + int _klen; + unsigned int _trans; + short _widec; + const short *_acts; + unsigned int _nacts; + const short *_keys; + + if ( p == pe ) + goto _test_eof; + if ( cs == 0 ) + goto _out; +_resume: + _widec = (*p); + _klen = _zone_scanner_cond_lengths[cs]; + _keys = _zone_scanner_cond_keys + (_zone_scanner_cond_offsets[cs]*2); + if ( _klen > 0 ) { + const short *_lower = _keys; + const short *_mid; + const short *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( _widec < _mid[0] ) + _upper = _mid - 2; + else if ( _widec > _mid[1] ) + _lower = _mid + 2; + else { + switch ( _zone_scanner_cond_spaces[_zone_scanner_cond_offsets[cs] + ((_mid - _keys)>>1)] ) { + case 0: { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + break; + } + case 1: { + _widec = (short)(2176 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + break; + } + case 2: { + _widec = (short)(128 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + break; + } + case 3: { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + break; + } + case 4: { + _widec = (short)(1152 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + break; + } + case 5: { + _widec = (short)(3712 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + break; + } + case 6: { + _widec = (short)(5248 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + break; + } + case 7: { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + break; + } + case 8: { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + break; + } + case 9: { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + break; + } + case 10: { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + break; + } + case 11: { + _widec = (short)(13952 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + break; + } + case 12: { + _widec = (short)(7808 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + break; + } + case 13: { + _widec = (short)(9856 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 != 0 ) _widec += 1024; + if ( + s->number64 == 0 ) _widec += 2048; + break; + } + } + break; + } + } + } + + _keys = _zone_scanner_trans_keys + _zone_scanner_key_offsets[cs]; + _trans = _zone_scanner_index_offsets[cs]; + + _klen = _zone_scanner_single_lengths[cs]; + if ( _klen > 0 ) { + const short *_lower = _keys; + const short *_mid; + const short *_upper = _keys + _klen - 1; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + ((_upper-_lower) >> 1); + if ( _widec < *_mid ) + _upper = _mid - 1; + else if ( _widec > *_mid ) + _lower = _mid + 1; + else { + _trans += (unsigned int)(_mid - _keys); + goto _match; + } + } + _keys += _klen; + _trans += _klen; + } + + _klen = _zone_scanner_range_lengths[cs]; + if ( _klen > 0 ) { + const short *_lower = _keys; + const short *_mid; + const short *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( _widec < _mid[0] ) + _upper = _mid - 2; + else if ( _widec > _mid[1] ) + _lower = _mid + 2; + else { + _trans += (unsigned int)((_mid - _keys)>>1); + goto _match; + } + } + _trans += _klen; + } + +_match: + _trans = _zone_scanner_indicies[_trans]; + cs = _zone_scanner_trans_targs[_trans]; + + if ( _zone_scanner_trans_actions[_trans] == 0 ) + goto _again; + + _acts = _zone_scanner_actions + _zone_scanner_trans_actions[_trans]; + _nacts = (unsigned int) *_acts++; + while ( _nacts-- > 0 ) + { + switch ( *_acts++ ) + { + case 0: + { + p--; {cs = stack[--top]; goto _again;} + } + break; + case 1: + { + s->line_counter++; + } + break; + case 2: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {cs = 307;goto _again;} + } + s->multiline = true; + } + break; + case 3: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {cs = 307;goto _again;} + } + s->multiline = false; + } + break; + case 4: + { + s->buffer_length = 0; + } + break; + case 5: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + break; + case 6: + { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; goto _out; } + } + } + } + break; + case 7: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + break; + case 8: + { + WARN(ZS_BAD_REST); + p--; {cs = 307;goto _again;} + } + break; + case 9: + { + s->buffer_length = 0; + } + break; + case 10: + { + if ((*p) == '\r') { + ERR(ZS_DOS_NEWLINE); + } + + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + break; + case 11: + { + // Terminate the error context string. + s->buffer[s->buffer_length++] = 0; + + // Error counter incrementation. + s->error.counter++; + + // Initialize the fcall stack. + top = 0; + + // Reset per-record contexts. + s->long_string = false; + s->comma_list = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + p--; + if (s->process.error != NULL) { + s->process.error(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; goto _out; } + } + } + + // Stop the scanner if fatal error. + if (s->error.fatal) { + {p++; goto _out; } + } + {cs = 306;goto _again;} + } else { + // Return if external processing. + p--; cs = 306; {p++; goto _out; } + } + } + break; + case 12: + { p--; {stack[top++] = cs; cs = 1396;goto _again;} } + break; + case 13: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + break; + case 14: + { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = (*p); + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 15: + { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 16: + { + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length] = 0; + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 17: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + break; + case 18: + { + s->dname_tmp_length++; + } + break; + case 19: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + break; + case 20: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + break; + case 21: + { + // Check for (relative + origin) dname length overflow. + if (s->dname_tmp_length + s->zone_origin_length <= ZS_MAX_DNAME_LENGTH) { + memcpy(s->dname + s->dname_tmp_length, + s->zone_origin, + s->zone_origin_length); + + s->dname_tmp_length += s->zone_origin_length; + } else { + WARN(ZS_DNAME_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 22: + { + // Copy already verified zone origin. + memcpy(s->dname, + s->zone_origin, + s->zone_origin_length); + + s->dname_tmp_length = s->zone_origin_length; + } + break; + case 23: + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + break; + case 24: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {cs = 307;goto _again;} + } + break; + case 25: + { p--; {stack[top++] = cs; cs = 309;goto _again;} } + break; + case 26: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 27: + { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {cs = 307;goto _again;} + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 28: + { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 29: + { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 30: + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + break; + case 31: + { + s->r_owner_length = s->dname_tmp_length; + } + break; + case 32: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {cs = 307;goto _again;} + } + } + break; + case 33: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {cs = 307;goto _again;} + } + break; + case 34: + { + s->dname = rdata_tail; + } + break; + case 35: + { + rdata_tail += s->dname_tmp_length; + } + break; + case 36: + { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)(*p) <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 37: + { + s->number64 = 0; + } + break; + case 38: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + break; + case 39: + { + s->decimal_counter = 0; + } + break; + case 40: + { + s->number64_tmp = s->number64; + } + break; + case 41: + { + s->decimal_counter++; + } + break; + case 42: + { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 43: + { + s->decimals = 2; + } + break; + case 44: + { + s->decimals = 3; + } + break; + case 45: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 46: + { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 47: + { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 48: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 49: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 50: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {cs = 307;goto _again;} + } + break; + case 51: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 52: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 53: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 54: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 55: + { + s->number64_tmp = s->number64; + } + break; + case 56: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 57: + { + s->buffer_length = 0; + } + break; + case 58: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 59: + { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + p--; {cs = 307;goto _again;} + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + p--; {cs = 307;goto _again;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {cs = 307;goto _again;} + } + } + break; + case 60: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; {cs = 307;goto _again;} + } + break; + case 61: + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 62: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {cs = 307;goto _again;} + } + break; + case 63: + { + WARN(ZS_BAD_TEXT); + p--; {cs = 307;goto _again;} + } + break; + case 64: + { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + + *rdata_tail = 0; + s->item_length++; + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 65: + { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + ((*p) <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 66: + { + rdata_tail++; + } + break; + case 67: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + break; + case 68: + { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + p--; {cs = 307;goto _again;} + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + break; + case 69: + { p--; {stack[top++] = cs; cs = 318;goto _again;} } + break; + case 70: + { + s->long_string = true; + } + break; + case 71: + { + s->long_string = false; + } + break; + case 72: + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 73: + { + ERR(ZS_BAD_TTL); + p--; {cs = 307;goto _again;} + } + break; + case 74: + { p--; {stack[top++] = cs; cs = 331;goto _again;} } + break; + case 75: + { + s->dname = s->zone_origin; + } + break; + case 76: + { + s->zone_origin_length = s->dname_tmp_length; + } + break; + case 77: + { + ERR(ZS_BAD_ORIGIN); + p--; {cs = 307;goto _again;} + } + break; + case 78: + { p--; {stack[top++] = cs; cs = 340;goto _again;} } + break; + case 79: + { + rdata_tail = s->r_data; + } + break; + case 80: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {cs = 307;goto _again;} + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + break; + case 81: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {cs = 307;goto _again;} + } + break; + case 82: + { + s->dname = s->r_data; + } + break; + case 83: + { + s->r_data_length = s->dname_tmp_length; + } + break; + case 84: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {cs = 307;goto _again;} + } + break; + case 85: + { + // Extend relative file path. + if (s->include_filename[0] != '/') { + int ret = snprintf((char *)(s->buffer), sizeof(s->buffer), + "%s/%s", s->path, s->include_filename); + if (ret <= 0 || ret >= sizeof(s->buffer)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {cs = 307;goto _again;} + } + memcpy(s->include_filename, s->buffer, ret + 1); + } + + // Origin conversion from wire to text form in \DDD notation. + if (s->dname == NULL) { // Use current origin. + wire_dname_to_str(s->zone_origin, + s->zone_origin_length, + (char *)s->buffer); + } else { // Use specified origin. + wire_dname_to_str(s->r_data, + s->r_data_length, + (char *)s->buffer); + } + + // Let the caller to solve the include. + if (s->process.automatic) { + // Create new scanner for included zone file. + zs_scanner_t *ss = malloc(sizeof(zs_scanner_t)); + if (ss == NULL) { + ERR(ZS_UNPROCESSED_INCLUDE); + p--; {cs = 307;goto _again;} + } + + // Parse included zone file. + if (zs_init(ss, (char *)s->buffer, s->default_class, + s->default_ttl) != 0 || + zs_set_input_file(ss, (char *)(s->include_filename)) != 0 || + zs_set_processing(ss, s->process.record, s->process.error, + s->process.data) != 0 || + zs_parse_all(ss) != 0) { + // File internal errors are handled by error callback. + if (ss->error.counter > 0) { + s->error.counter += ss->error.counter; + ERR(ZS_UNPROCESSED_INCLUDE); + // General include file error. + } else { + ERR(ss->error.code); + } + zs_deinit(ss); + free(ss); + p--; {cs = 307;goto _again;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1396; {p++; goto _out; } + } + } + break; + case 86: + { p--; {stack[top++] = cs; cs = 352;goto _again;} } + break; + case 87: + { + ERR(ZS_OK); + } + break; + case 88: + { + NOERR; + } + break; + case 89: + { + ERR(ZS_BAD_DIRECTIVE); + p--; {cs = 307;goto _again;} + } + break; + case 90: + { + s->r_class = s->default_class; + } + break; + case 91: + { + s->r_ttl = s->default_ttl; + } + break; + case 92: + { + s->r_class = KNOT_CLASS_IN; + } + break; + case 93: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 94: + { + s->buffer_length = 0; + } + break; + case 95: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 96: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {cs = 307;goto _again;} + } + break; + case 97: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {cs = 307;goto _again;} + } + } + break; + case 98: + { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + break; + case 99: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {cs = 307;goto _again;} + } + } + break; + case 100: + { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + break; + case 101: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + break; + case 102: + { + s->apl.excl_flag = 128; // dec 128 = bin 10000000. + } + break; + case 103: + { + s->apl.addr_family = 1; + } + break; + case 104: + { + s->apl.addr_family = 2; + } + break; + case 105: + { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + p--; {cs = 307;goto _again;} + } + } + break; + case 106: + { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + p--; {cs = 307;goto _again;} + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + break; + case 107: + { + WARN(ZS_BAD_APL); + p--; {cs = 307;goto _again;} + } + break; + case 108: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 109: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + break; + case 110: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {cs = 307;goto _again;} + } + break; + case 111: + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {cs = 307;goto _again;} + } + } + break; + case 112: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 307;goto _again;} + } + break; + case 113: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 114: + { + *(rdata_tail++) += second_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 115: + { + *(rdata_tail++) += third_left_base64_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = third_right_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 116: + { + *(rdata_tail++) += fourth_base64_to_num[(uint8_t)(*p)]; + } + break; + case 117: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; {cs = 307;goto _again;} + } + break; + case 118: + { p--; {stack[top++] = cs; cs = 369;goto _again;} } + break; + case 119: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 120: + { + *(rdata_tail++) += second_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 121: + { + *rdata_tail += third_base32hex_to_num[(uint8_t)(*p)]; + } + break; + case 122: + { + *(rdata_tail++) += fourth_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = fourth_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 123: + { + *(rdata_tail++) += fifth_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = fifth_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 124: + { + *rdata_tail += sixth_base32hex_to_num[(uint8_t)(*p)]; + } + break; + case 125: + { + *(rdata_tail++) += seventh_left_base32hex_to_num[(uint8_t)(*p)]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = seventh_right_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 126: + { + *(rdata_tail++) += eighth_base32hex_to_num[(uint8_t)(*p)]; + } + break; + case 127: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; {cs = 307;goto _again;} + } + break; + case 128: + { + *(rdata_tail++) = 0; + } + break; + case 129: + { + *(rdata_tail++) = 1; + } + break; + case 130: + { + *(rdata_tail++) = 2; + } + break; + case 131: + { + *(rdata_tail++) = 3; + } + break; + case 132: + { + *(rdata_tail++) = 5; + } + break; + case 133: + { + *(rdata_tail++) = 6; + } + break; + case 134: + { + *(rdata_tail++) = 7; + } + break; + case 135: + { + *(rdata_tail++) = 8; + } + break; + case 136: + { + *(rdata_tail++) = 10; + } + break; + case 137: + { + *(rdata_tail++) = 12; + } + break; + case 138: + { + *(rdata_tail++) = 13; + } + break; + case 139: + { + *(rdata_tail++) = 14; + } + break; + case 140: + { + *(rdata_tail++) = 15; + } + break; + case 141: + { + *(rdata_tail++) = 16; + } + break; + case 142: + { + *(rdata_tail++) = 252; + } + break; + case 143: + { + *(rdata_tail++) = 253; + } + break; + case 144: + { + *(rdata_tail++) = 254; + } + break; + case 145: + { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 146: + { + uint16_t val = htons(1); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 147: + { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 148: + { + uint16_t val = htons(3); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 149: + { + uint16_t val = htons(4); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 150: + { + uint16_t val = htons(5); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 151: + { + uint16_t val = htons(6); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 152: + { + uint16_t val = htons(7); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 153: + { + uint16_t val = htons(8); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 154: + { + uint16_t val = htons(253); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 155: + { + uint16_t val = htons(254); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + break; + case 156: + { + WARN(ZS_BAD_GATEWAY); + p--; {cs = 307;goto _again;} + } + break; + case 157: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {cs = 307;goto _again;} + } + break; + case 158: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 307;goto _again;} + } + break; + case 159: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + break; + case 160: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + break; + case 161: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + break; + case 162: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + break; + case 163: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + break; + case 164: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + break; + case 165: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + break; + case 166: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + break; + case 167: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + break; + case 168: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + break; + case 169: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + break; + case 170: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + break; + case 171: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + break; + case 172: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + break; + case 173: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + break; + case 174: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + break; + case 175: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + break; + case 176: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + break; + case 177: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + break; + case 178: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + break; + case 179: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + break; + case 180: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + break; + case 181: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + break; + case 182: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + break; + case 183: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + break; + case 184: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + break; + case 185: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + break; + case 186: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + break; + case 187: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + break; + case 188: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + break; + case 189: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + break; + case 190: + { type_num(KNOT_RRTYPE_SMIMEA, &rdata_tail); } + break; + case 191: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + break; + case 192: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + break; + case 193: + { type_num(KNOT_RRTYPE_OPENPGPKEY, &rdata_tail); } + break; + case 194: + { type_num(KNOT_RRTYPE_CSYNC, &rdata_tail); } + break; + case 195: + { type_num(KNOT_RRTYPE_ZONEMD, &rdata_tail); } + break; + case 196: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + break; + case 197: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + break; + case 198: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + break; + case 199: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + break; + case 200: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + break; + case 201: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + break; + case 202: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + break; + case 203: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + break; + case 204: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + break; + case 205: + { type_num(KNOT_RRTYPE_SVCB, &rdata_tail); } + break; + case 206: + { type_num(KNOT_RRTYPE_HTTPS, &rdata_tail); } + break; + case 207: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 208: + { window_add_bit(KNOT_RRTYPE_A, s); } + break; + case 209: + { window_add_bit(KNOT_RRTYPE_NS, s); } + break; + case 210: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + break; + case 211: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + break; + case 212: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + break; + case 213: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + break; + case 214: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + break; + case 215: + { window_add_bit(KNOT_RRTYPE_MX, s); } + break; + case 216: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + break; + case 217: + { window_add_bit(KNOT_RRTYPE_RP, s); } + break; + case 218: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + break; + case 219: + { window_add_bit(KNOT_RRTYPE_RT, s); } + break; + case 220: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + break; + case 221: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + break; + case 222: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + break; + case 223: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + break; + case 224: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + break; + case 225: + { window_add_bit(KNOT_RRTYPE_KX, s); } + break; + case 226: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + break; + case 227: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + break; + case 228: + { window_add_bit(KNOT_RRTYPE_APL, s); } + break; + case 229: + { window_add_bit(KNOT_RRTYPE_DS, s); } + break; + case 230: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + break; + case 231: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + break; + case 232: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + break; + case 233: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + break; + case 234: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + break; + case 235: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + break; + case 236: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + break; + case 237: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + break; + case 238: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + break; + case 239: + { window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + break; + case 240: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + break; + case 241: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + break; + case 242: + { window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + break; + case 243: + { window_add_bit(KNOT_RRTYPE_CSYNC, s); } + break; + case 244: + { window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + break; + case 245: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + break; + case 246: + { window_add_bit(KNOT_RRTYPE_NID, s); } + break; + case 247: + { window_add_bit(KNOT_RRTYPE_L32, s); } + break; + case 248: + { window_add_bit(KNOT_RRTYPE_L64, s); } + break; + case 249: + { window_add_bit(KNOT_RRTYPE_LP, s); } + break; + case 250: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + break; + case 251: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + break; + case 252: + { window_add_bit(KNOT_RRTYPE_URI, s); } + break; + case 253: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + break; + case 254: + { window_add_bit(KNOT_RRTYPE_SVCB, s); } + break; + case 255: + { window_add_bit(KNOT_RRTYPE_HTTPS, s); } + break; + case 256: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + break; + case 257: + { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + } + } + break; + case 258: + { + WARN(ZS_BAD_BITMAP); + p--; {cs = 307;goto _again;} + } + break; + case 259: + { p--; {stack[top++] = cs; cs = 376;goto _again;} } + break; + case 260: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 261: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 262: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 263: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 264: + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 265: + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 266: + { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 267: + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 268: + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 269: + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307;goto _again;} + } + } + break; + case 270: + { + s->loc.lat_sign = -1; + } + break; + case 271: + { + s->loc.long_sign = -1; + } + break; + case 272: + { + s->loc.alt_sign = -1; + } + break; + case 273: + { + memset(&(s->loc), 0, sizeof(s->loc)); + // Defaults. + s->loc.siz = 100; + s->loc.vp = 1000; + s->loc.hp = 1000000; + s->loc.lat_sign = 1; + s->loc.long_sign = 1; + s->loc.alt_sign = 1; + } + break; + case 274: + { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + break; + case 275: + { + WARN(ZS_BAD_LOC_DATA); + p--; {cs = 307;goto _again;} + } + break; + case 276: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 307;goto _again;} + } + break; + case 277: + { + s->item_length = 0; + } + break; + case 278: + { + s->item_length++; + } + break; + case 279: + { + if (s->item_length != 6) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {cs = 307;goto _again;} + } + } + break; + case 280: + { + if (s->item_length != 8) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {cs = 307;goto _again;} + } + } + break; + case 281: + { + WARN(ZS_BAD_CHAR_DASH); + p--; {cs = 307;goto _again;} + } + break; + case 282: + { + s->item_length = 0; + } + break; + case 283: + { + s->item_length++; + } + break; + case 284: + { + if (s->item_length != 4) { + WARN(ZS_BAD_L64_LENGTH); + p--; {cs = 307;goto _again;} + } + } + break; + case 285: + { + WARN(ZS_BAD_CHAR_COLON); + p--; {cs = 307;goto _again;} + } + break; + case 286: + { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + break; + case 287: + { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {cs = 307;goto _again;} + } + } + break; + case 288: + { + WARN(ZS_BAD_SVCB_PARAM); + p--; {cs = 307;goto _again;} + } + break; + case 289: + { + WARN(ZS_BAD_SVCB_MANDATORY); + p--; {cs = 307;goto _again;} + } + break; + case 290: + { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + s->svcb.param_position = rdata_tail; + } + break; + case 291: + { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + p--; {cs = 307;goto _again;} + } + } + break; + case 292: + { + s->comma_list = true; + } + break; + case 293: + { + s->comma_list = false; + } + break; + case 294: + { + s->svcb.mandatory_position = rdata_tail + 2; // Skip 2-B prefix. + } + break; + case 295: + { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + break; + case 296: + { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + } + break; + case 297: + { p--; {stack[top++] = cs; cs = 559;goto _again;} } + break; + case 298: + { p--; {stack[top++] = cs; cs = 603;goto _again;} } + break; + case 299: + { + WARN(ZS_BAD_ALGORITHM); + p--; {cs = 307;goto _again;} + } + break; + case 300: + { + WARN(ZS_BAD_CERT_TYPE); + p--; {cs = 307;goto _again;} + } + break; + case 301: + { p--; {stack[top++] = cs; cs = 699;goto _again;} } + break; + case 302: + { p--; {stack[top++] = cs; cs = 803;goto _again;} } + break; + case 303: + { + rdata_tail = s->r_data; + } + break; + case 304: + { + WARN(ZS_BAD_RDATA); + p--; {cs = 307;goto _again;} + } + break; + case 305: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = cs; cs = 844;goto _again;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = cs; cs = 846;goto _again;} + case KNOT_RRTYPE_SOA: + {stack[top++] = cs; cs = 848;goto _again;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = cs; cs = 880;goto _again;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = cs; cs = 885;goto _again;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = cs; cs = 890;goto _again;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = cs; cs = 895;goto _again;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = cs; cs = 899;goto _again;} + case KNOT_RRTYPE_LOC: + {stack[top++] = cs; cs = 901;goto _again;} + case KNOT_RRTYPE_SRV: + {stack[top++] = cs; cs = 956;goto _again;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = cs; cs = 967;goto _again;} + case KNOT_RRTYPE_CERT: + {stack[top++] = cs; cs = 984;goto _again;} + case KNOT_RRTYPE_APL: + {stack[top++] = cs; cs = 995;goto _again;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = cs; cs = 1006;goto _again;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = cs; cs = 1019;goto _again;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = cs; cs = 1029;goto _again;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = cs; cs = 1068;goto _again;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = cs; cs = 1254;goto _again;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = cs; cs = 1257;goto _again;} + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + {stack[top++] = cs; cs = 1268;goto _again;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = cs; cs = 1270;goto _again;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = cs; cs = 1299;goto _again;} + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + {stack[top++] = cs; cs = 1312;goto _again;} + case KNOT_RRTYPE_CSYNC: + {stack[top++] = cs; cs = 1325;goto _again;} + case KNOT_RRTYPE_ZONEMD: + {stack[top++] = cs; cs = 1331;goto _again;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = cs; cs = 1349;goto _again;} + case KNOT_RRTYPE_L32: + {stack[top++] = cs; cs = 1344;goto _again;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = cs; cs = 1362;goto _again;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = cs; cs = 1368;goto _again;} + case KNOT_RRTYPE_URI: + {stack[top++] = cs; cs = 1374;goto _again;} + case KNOT_RRTYPE_CAA: + {stack[top++] = cs; cs = 1382;goto _again;} + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = cs; cs = 1390;goto _again;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {cs = 307;goto _again;} + } + } + break; + case 306: + { + switch (s->r_type) { + // Next types must not have empty rdata. + case KNOT_RRTYPE_A: + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + case KNOT_RRTYPE_SOA: + case KNOT_RRTYPE_HINFO: + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + case KNOT_RRTYPE_RP: + case KNOT_RRTYPE_AAAA: + case KNOT_RRTYPE_LOC: + case KNOT_RRTYPE_SRV: + case KNOT_RRTYPE_NAPTR: + case KNOT_RRTYPE_CERT: + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_SSHFP: + case KNOT_RRTYPE_IPSECKEY: + case KNOT_RRTYPE_RRSIG: + case KNOT_RRTYPE_NSEC: + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_NSEC3: + case KNOT_RRTYPE_NSEC3PARAM: + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + case KNOT_RRTYPE_CDS: + case KNOT_RRTYPE_CDNSKEY: + case KNOT_RRTYPE_OPENPGPKEY: + case KNOT_RRTYPE_CSYNC: + case KNOT_RRTYPE_ZONEMD: + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L32: + case KNOT_RRTYPE_L64: + case KNOT_RRTYPE_LP: + case KNOT_RRTYPE_EUI48: + case KNOT_RRTYPE_EUI64: + case KNOT_RRTYPE_URI: + case KNOT_RRTYPE_CAA: + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + {stack[top++] = cs; cs = 540;goto _again;} + // Next types can have empty rdata. + case KNOT_RRTYPE_APL: + default: + {stack[top++] = cs; cs = 549;goto _again;} + } + } + break; + case 307: + { + if (pe - p == 1) { + *wrap = WRAP_DETECTED; + } + } + break; + case 308: + { + if (*wrap == WRAP_NONE) { + p--; + } + } + break; + case 309: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 307;goto _again;} + } + break; + case 310: + { s->r_type = KNOT_RRTYPE_A; } + break; + case 311: + { s->r_type = KNOT_RRTYPE_NS; } + break; + case 312: + { s->r_type = KNOT_RRTYPE_CNAME; } + break; + case 313: + { s->r_type = KNOT_RRTYPE_SOA; } + break; + case 314: + { s->r_type = KNOT_RRTYPE_PTR; } + break; + case 315: + { s->r_type = KNOT_RRTYPE_HINFO; } + break; + case 316: + { s->r_type = KNOT_RRTYPE_MINFO; } + break; + case 317: + { s->r_type = KNOT_RRTYPE_MX; } + break; + case 318: + { s->r_type = KNOT_RRTYPE_TXT; } + break; + case 319: + { s->r_type = KNOT_RRTYPE_RP; } + break; + case 320: + { s->r_type = KNOT_RRTYPE_AFSDB; } + break; + case 321: + { s->r_type = KNOT_RRTYPE_RT; } + break; + case 322: + { s->r_type = KNOT_RRTYPE_KEY; } + break; + case 323: + { s->r_type = KNOT_RRTYPE_AAAA; } + break; + case 324: + { s->r_type = KNOT_RRTYPE_LOC; } + break; + case 325: + { s->r_type = KNOT_RRTYPE_SRV; } + break; + case 326: + { s->r_type = KNOT_RRTYPE_NAPTR; } + break; + case 327: + { s->r_type = KNOT_RRTYPE_KX; } + break; + case 328: + { s->r_type = KNOT_RRTYPE_CERT; } + break; + case 329: + { s->r_type = KNOT_RRTYPE_DNAME; } + break; + case 330: + { s->r_type = KNOT_RRTYPE_APL; } + break; + case 331: + { s->r_type = KNOT_RRTYPE_DS; } + break; + case 332: + { s->r_type = KNOT_RRTYPE_SSHFP; } + break; + case 333: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + break; + case 334: + { s->r_type = KNOT_RRTYPE_RRSIG; } + break; + case 335: + { s->r_type = KNOT_RRTYPE_NSEC; } + break; + case 336: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + break; + case 337: + { s->r_type = KNOT_RRTYPE_DHCID; } + break; + case 338: + { s->r_type = KNOT_RRTYPE_NSEC3; } + break; + case 339: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + break; + case 340: + { s->r_type = KNOT_RRTYPE_TLSA; } + break; + case 341: + { s->r_type = KNOT_RRTYPE_SMIMEA; } + break; + case 342: + { s->r_type = KNOT_RRTYPE_CDS; } + break; + case 343: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + break; + case 344: + { s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + break; + case 345: + { s->r_type = KNOT_RRTYPE_CSYNC; } + break; + case 346: + { s->r_type = KNOT_RRTYPE_ZONEMD; } + break; + case 347: + { s->r_type = KNOT_RRTYPE_SPF; } + break; + case 348: + { s->r_type = KNOT_RRTYPE_NID; } + break; + case 349: + { s->r_type = KNOT_RRTYPE_L32; } + break; + case 350: + { s->r_type = KNOT_RRTYPE_L64; } + break; + case 351: + { s->r_type = KNOT_RRTYPE_LP; } + break; + case 352: + { s->r_type = KNOT_RRTYPE_EUI48; } + break; + case 353: + { s->r_type = KNOT_RRTYPE_EUI64; } + break; + case 354: + { s->r_type = KNOT_RRTYPE_URI; } + break; + case 355: + { s->r_type = KNOT_RRTYPE_CAA; } + break; + case 356: + { s->r_type = KNOT_RRTYPE_SVCB; } + break; + case 357: + { s->r_type = KNOT_RRTYPE_HTTPS; } + break; + case 358: + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 307;goto _again;} + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + {p++; goto _out; } + } + } + } else { + // Return if external processing. + p--; {p++; goto _out; } + } + } + break; + } + } + +_again: + if ( cs == 0 ) + goto _out; + if ( ++p != pe ) + goto _resume; + _test_eof: {} + if ( p == eof ) + { + const short *__acts = _zone_scanner_actions + _zone_scanner_eof_actions[cs]; + unsigned int __nacts = (unsigned int) *__acts++; + while ( __nacts-- > 0 ) { + switch ( *__acts++ ) { + case 8: + { + WARN(ZS_BAD_REST); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 19: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 24: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 33: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 38: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 50: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 60: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 62: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 63: + { + WARN(ZS_BAD_TEXT); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 67: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 71: + { + s->long_string = false; + } + break; + case 73: + { + ERR(ZS_BAD_TTL); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 77: + { + ERR(ZS_BAD_ORIGIN); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 81: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 84: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 88: + { + NOERR; + } + break; + case 89: + { + ERR(ZS_BAD_DIRECTIVE); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 96: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 107: + { + WARN(ZS_BAD_APL); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 110: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 112: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 117: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 127: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 156: + { + WARN(ZS_BAD_GATEWAY); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 157: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 158: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 258: + { + WARN(ZS_BAD_BITMAP); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 275: + { + WARN(ZS_BAD_LOC_DATA); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 276: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 281: + { + WARN(ZS_BAD_CHAR_DASH); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 285: + { + WARN(ZS_BAD_CHAR_COLON); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 288: + { + WARN(ZS_BAD_SVCB_PARAM); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 289: + { + WARN(ZS_BAD_SVCB_MANDATORY); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 299: + { + WARN(ZS_BAD_ALGORITHM); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 300: + { + WARN(ZS_BAD_CERT_TYPE); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 304: + { + WARN(ZS_BAD_RDATA); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 309: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 307; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + } + } + } + + _out: {} + } + + + // Check if the scanner state machine is in an uncovered state. + bool extra_error = false; + if (cs == 0) { + ERR(ZS_UNCOVERED_STATE); + extra_error = true; + // Check for an unclosed multiline record. + } else if (s->input.eof && s->multiline) { + ERR(ZS_UNCLOSED_MULTILINE); + extra_error = true; + s->line_counter--; + } + + // Treat the extra error. + if (extra_error) { + s->error.counter++; + s->state = ZS_STATE_ERROR; + + // Copy the error context just for the part of the current line. + s->buffer_length = 0; + while (p < pe && *p != '\n' && s->buffer_length < 50) { + s->buffer[s->buffer_length++] = *p++; + } + s->buffer[s->buffer_length++] = 0; + + // Execute the error callback. + if (s->process.automatic && s->process.error != NULL) { + s->process.error(s); + } + + return; + } + + // Storing scanner states. + s->cs = cs; + s->top = top; + memcpy(s->stack, stack, sizeof(stack)); + + // Store the current parser position. + s->input.current = p; + + // Storing r_data pointer. + s->r_data_tail = rdata_tail - s->r_data; + + if (*wrap == WRAP_DETECTED) { + if (set_input_string(s, "\\", 1, true) != 0) { + return; + } + + *wrap = WRAP_PROCESS; + parse(s, wrap); + } else { + *wrap = WRAP_NONE; + } +} + +__attribute__((visibility("default"))) +int zs_parse_record( + zs_scanner_t *s) +{ + if (s == NULL) { + return -1; + } + + // Check if parsing is possible. + switch (s->state) { + case ZS_STATE_NONE: + case ZS_STATE_DATA: + case ZS_STATE_INCLUDE: + break; + case ZS_STATE_ERROR: + if (s->error.fatal) { + return -1; + } + break; + default: + // Return if stop or end of file. + return 0; + } + + // Check for the end of the input. + if (s->input.current != s->input.end) { + // Try to parse another item. + s->state = ZS_STATE_NONE; + wrap_t wrap = WRAP_NONE; + parse(s, &wrap); + + // Finish if nothing was parsed. + if (s->state == ZS_STATE_NONE) { + // Parse the final block. + if (set_input_string(s, "\n", 1, true) != 0) { + return -1; + } + parse(s, &wrap); + if (s->state == ZS_STATE_NONE) { + s->state = ZS_STATE_EOF; + } + } + } else { + s->state = ZS_STATE_EOF; + } + + return 0; +} + +__attribute__((visibility("default"))) +int zs_parse_all( + zs_scanner_t *s) +{ + if (s == NULL) { + return -1; + } + + s->process.automatic = true; + + // Parse input block. + wrap_t wrap = WRAP_NONE; + parse(s, &wrap); + + // Parse trailing newline-char block if it makes sense. + if (s->state != ZS_STATE_STOP && !s->error.fatal) { + if (set_input_string(s, "\n", 1, true) != 0) { + return -1; + } + parse(s, &wrap); + } + + // Check if any errors have occurred. + if (s->error.counter > 0) { + return -1; + } + + return 0; +} diff --git a/src/libzscanner/scanner.h b/src/libzscanner/scanner.h new file mode 100644 index 0000000..b45ca48 --- /dev/null +++ b/src/libzscanner/scanner.h @@ -0,0 +1,405 @@ +/* Copyright (C) 2021 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +/*! + * \file + * + * \brief Zone scanner core interface. + * + * \addtogroup zscanner + * @{ + */ + +#pragma once + +#include <stdbool.h> +#include <stddef.h> +#include <stdint.h> + +#include "libzscanner/error.h" + +/*! \brief Maximal length of rdata. */ +#define ZS_MAX_RDATA_LENGTH 65535 +/*! \brief Maximal length of domain name. */ +#define ZS_MAX_DNAME_LENGTH 255 +/*! \brief Maximal length of domain name label. */ +#define ZS_MAX_LABEL_LENGTH 63 + +/*! \brief Length of ipv4 address in the wire format. */ +#define ZS_INET4_ADDR_LENGTH 4 +/*! \brief Length of ipv6 address in the wire format. */ +#define ZS_INET6_ADDR_LENGTH 16 + +/*! \brief Number of bitmap windows. */ +#define ZS_BITMAP_WINDOWS 256 + +/*! \brief Ragel call stack size (see Ragel internals). */ +#define ZS_RAGEL_STACK_SIZE 16 + +/*! \brief Auxiliary structure for storing bitmap window items (see RFC4034). */ +typedef struct { + uint8_t bitmap[32]; + uint8_t length; +} zs_win_t; + +/*! \brief Auxiliary structure for storing one APL record (see RFC3123). */ +typedef struct { + uint8_t excl_flag; + uint16_t addr_family; + uint8_t prefix_length; +} zs_apl_t; + +/*! \brief Auxiliary structure for storing LOC information (see RFC1876). */ +typedef struct { + uint32_t d1, d2; + uint32_t m1, m2; + uint32_t s1, s2; + uint32_t alt; + uint64_t siz, hp, vp; + int8_t lat_sign, long_sign, alt_sign; +} zs_loc_t; + +/*! \brief Auxiliary structure for storing SVCB information. */ +typedef struct { + uint8_t *params_position; + uint8_t *mandatory_position; + uint8_t *param_position; + int32_t last_key; +} zs_svcb_t; + +/*! \brief Scanner states describing the result. */ +typedef enum { + ZS_STATE_NONE, /*!< Initial state (no data). */ + ZS_STATE_DATA, /*!< A record parsed. */ + ZS_STATE_ERROR, /*!< An error occurred. */ + ZS_STATE_INCLUDE, /*!< An include directive (see include_filename, buffer). */ + ZS_STATE_EOF, /*!< The end of the current input reached. */ + ZS_STATE_STOP /*!< Early stop (possibly set from a callback). */ +} zs_state_t; + +/*! + * \brief Context structure for zone scanner. + * + * This structure contains following items: + * - Copies of Ragel internal variables. The scanner can be called many times + * on smaller parts of zone file/memory. So it is necessary to preserve + * internal values between subsequent scanner callings. + * - Auxiliary variables which are used during processing zone data. + * - Pointers to callback functions and pointer to any arbitrary data which + * can be used in callback functions. + * - Zone file and error information. + * - Output variables (r_ prefix) containing all parts of zone record. These + * data are useful during processing via callback function. + */ +typedef struct zs_scanner zs_scanner_t; // Forward declaration due to arguments. +struct zs_scanner { + /*! Current state (Ragel internals). */ + int cs; + /*! Stack top (Ragel internals). */ + int top; + /*! Call stack (Ragel internals). */ + int stack[ZS_RAGEL_STACK_SIZE]; + + /*! Indicates whether current record is multiline. */ + bool multiline; + /*! Auxiliary number for all numeric operations. */ + uint64_t number64; + /*! Auxiliary variable for time and other numeric operations. */ + uint64_t number64_tmp; + /*! Auxiliary variable for float numeric operations. */ + uint32_t decimals; + /*! Auxiliary variable for float numeric operations. */ + uint32_t decimal_counter; + + /*! Auxiliary variable for item length (label, base64, ...). */ + uint32_t item_length; + /*! Auxiliary index for item length position in array. */ + uint32_t item_length_position; + /*! Auxiliary pointer to item length. */ + uint8_t *item_length_location; + /*! Auxiliary 2-byte length locator. */ + uint8_t *item_length2_location; + /*! Auxiliary buffer length. Is zero if no comment after a valid record. */ + uint32_t buffer_length; + /*! Auxiliary buffer. Contains a comment after a valid record. */ + uint8_t buffer[ZS_MAX_RDATA_LENGTH]; + /*! Auxiliary buffer for current included file name. */ + char include_filename[ZS_MAX_RDATA_LENGTH]; + /*! Absolute path for relative includes. */ + char *path; + + /*! Auxiliary array of bitmap window blocks. */ + zs_win_t windows[ZS_BITMAP_WINDOWS]; + /*! Last window block which is used (-1 means no window). */ + int16_t last_window; + /*! Auxiliary apl structure. */ + zs_apl_t apl; + /*! Auxiliary loc structure. */ + zs_loc_t loc; + /*! Auxiliary svcb structure. */ + zs_svcb_t svcb; + /*! Auxiliary IP address storage. */ + uint8_t addr[ZS_INET6_ADDR_LENGTH]; + /*! Allow text strings longer than 255 characters. */ + bool long_string; + /*! Comma separated string list indication (svcb parsing). */ + bool comma_list; + + /*! Pointer to the actual dname storage (origin/owner/rdata). */ + uint8_t *dname; + /*! Pointer to the actual dname length storage. */ + uint32_t *dname_length; + /*! + * Temporary dname length which is copied to dname_length after + * dname processing. + */ + uint32_t dname_tmp_length; + /*! Position of the last free r_data byte. */ + uint32_t r_data_tail; + + /*! Length of the current origin. */ + uint32_t zone_origin_length; + /*! + * Wire format of the current origin (ORIGIN directive sets this). + * + * \note Maximal dname length check is after each valid label. + */ + uint8_t zone_origin[ZS_MAX_DNAME_LENGTH + ZS_MAX_LABEL_LENGTH]; + /*! Value of the default class. */ + uint16_t default_class; + /*! Value of the current default ttl (TTL directive sets this). */ + uint32_t default_ttl; + + /*! The current processing state. */ + zs_state_t state; + + /*! Processing callbacks and auxiliary data. */ + struct { + /*! Automatic zone processing using record/error callbacks. */ + bool automatic; + /*! Callback function for correct zone record. */ + void (*record)(zs_scanner_t *); + /*! Callback function for wrong situations. */ + void (*error)(zs_scanner_t *); + /*! Callback function for pure comment line. */ + void (*comment)(zs_scanner_t *); + /*! Arbitrary data useful inside callback functions. */ + void *data; + } process; + + /*! Input parameters. */ + struct { + /*! Start of the block. */ + const char *start; + /*! Current parser position. */ + const char *current; + /*! End of the block. */ + const char *end; + /*! Indication for the final block parsing. */ + bool eof; + /*! Indication of being mmap()-ed (malloc()-ed otherwise). */ + bool mmaped; + } input; + + /*! File input parameters. */ + struct { + /*! Zone file name. */ + char *name; + /*!< File descriptor. */ + int descriptor; + } file; + + struct { + /*! Last occurred error/warning code. */ + int code; + /*! Error/warning counter. */ + uint64_t counter; + /*! Indicates serious error - parsing cannot continue. */ + bool fatal; + } error; + + /*! Zone data line counter. */ + uint64_t line_counter; + + /*! Length of the current record owner. */ + uint32_t r_owner_length; + /*! + * Owner of the current record. + * + * \note Maximal dname length check is after each valid label. + */ + uint8_t r_owner[ZS_MAX_DNAME_LENGTH + ZS_MAX_LABEL_LENGTH]; + /*! Class of the current record. */ + uint16_t r_class; + /*! TTL of the current record. */ + uint32_t r_ttl; + /*! Type of the current record data. */ + uint16_t r_type; + /*! Length of the current rdata. */ + uint32_t r_data_length; + /*! Current rdata. */ + uint8_t r_data[ZS_MAX_RDATA_LENGTH]; + + /* + * Example: a. IN 60 MX 1 b. ; A comment + * + * r_owner_length = 3 + * r_owner = 016100 + * r_class = 1 + * r_ttl = 60 + * r_type = 15 + * r_data_length = 5 + * r_data = 0001016200 + * buffer_length = 11 + * buffer = " A comment" + */ +}; + +/*! + * \brief Initializes the scanner context. + * + * \note Error code is stored in the scanner context. + * + * \param scanner Scanner context. + * \param origin Initial zone origin. + * \param rclass Zone class value. + * \param ttl Initial ttl value. + * + * \retval 0 if success. + * \retval -1 if error. + */ +int zs_init( + zs_scanner_t *scanner, + const char *origin, + const uint16_t rclass, + const uint32_t ttl +); + +/*! + * \brief Deinitializes the scanner context. + * + * \param scanner Scanner context. + */ +void zs_deinit( + zs_scanner_t *scanner +); + +/*! + * \brief Sets the scanner to parse a zone data string. + * + * \note Error code is stored in the scanner context. + * + * \param scanner Scanner context. + * \param input Input zone data string to parse. + * \param size Size of the input string. + * + * \retval 0 if success. + * \retval -1 if error. + */ +int zs_set_input_string( + zs_scanner_t *scanner, + const char *input, + size_t size +); + +/*! + * \brief Sets the scanner to parse a zone file. + * + * \note Error code is stored in the scanner context. + * + * \param scanner Scanner context. + * \param file_name Name of the file to parse. + * + * \retval 0 if success. + * \retval -1 if error. + */ +int zs_set_input_file( + zs_scanner_t *scanner, + const char *file_name +); + +/*! + * \brief Sets the scanner processing callbacks for automatic processing. + * + * \note Error code is stored in the scanner context. + * + * \param scanner Scanner context. + * \param process_record Processing callback function (may be NULL). + * \param process_error Error callback function (may be NULL). + * \param data Arbitrary data useful in callback functions. + * + * \retval 0 if success. + * \retval -1 if error. + */ +int zs_set_processing( + zs_scanner_t *scanner, + void (*process_record)(zs_scanner_t *), + void (*process_error)(zs_scanner_t *), + void *data +); + +/*! + * \brief Sets the scanner comment processing callback for automatic processing. + * + * \note If the comment is after a valid resource record, the callback is + * executed before a record processing callback! + * \note Optional data must be set via zs_set_processing. + * + * \param scanner Scanner context. + * \param process_comment Processing callback function (may be NULL). + * + * \retval 0 if success. + * \retval -1 if error. + */ +int zs_set_processing_comment( + zs_scanner_t *scanner, + void (*process_comment)(zs_scanner_t *) +); + +/*! + * \brief Parses one record from the input. + * + * The following processing should be based on the scanner->state. + * + * \note Error code and other information are stored in the scanner context. + * + * \param scanner Scanner context. + * + * \retval 0 if success. + * \retval -1 if error. + */ +int zs_parse_record( + zs_scanner_t *scanner +); + +/*! + * \brief Launches automatic parsing of the whole input. + * + * For each correctly recognized record, the record callback is executed. + * If any syntax error occurs, the error callback is executed. + * + * \note Error code and other information are stored in the scanner context. + * + * \param scanner Scanner context. + * + * \retval 0 if success. + * \retval -1 if error. + */ +int zs_parse_all( + zs_scanner_t *scanner +); + +/*! @} */ diff --git a/src/libzscanner/scanner.rl b/src/libzscanner/scanner.rl new file mode 100644 index 0000000..2776bad --- /dev/null +++ b/src/libzscanner/scanner.rl @@ -0,0 +1,564 @@ +/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +#include <arpa/inet.h> +#include <errno.h> +#include <fcntl.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <libgen.h> +#include <math.h> +#include <netinet/in.h> +#include <sys/socket.h> +#include <sys/mman.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> + +#include "libzscanner/scanner.h" +#include "libzscanner/functions.h" +#include "libknot/descriptor.h" + +/*! \brief Maximal length of rdata item. */ +#define MAX_ITEM_LENGTH 255 +#define MAX_ITEM_LENGTH2 65535 + +/*! \brief Latitude value for equator (2^31). */ +#define LOC_LAT_ZERO (uint32_t)2147483648 +/*! \brief Longitude value for meridian (2^31). */ +#define LOC_LONG_ZERO (uint32_t)2147483648 +/*! \brief Zero level altitude value. */ +#define LOC_ALT_ZERO (uint32_t)10000000 + +/*! \brief Shorthand for setting warning data. */ +#define WARN(err_code) { s->error.code = err_code; } +/*! \brief Shorthand for setting error data. */ +#define ERR(err_code) { WARN(err_code); s->error.fatal = true; } +/*! \brief Shorthand for error reset. */ +#define NOERR { WARN(ZS_OK); s->error.fatal = false; } + +/*! + * \brief Writes record type number to r_data. + * + * \param type Type number. + * \param rdata_tail Position where to write type number to. + */ +static inline void type_num(const uint16_t type, uint8_t **rdata_tail) +{ + *((uint16_t *)*rdata_tail) = htons(type); + *rdata_tail += 2; +} + +/*! + * \brief Sets bit to bitmap window. + * + * \param type Type number. + * \param s Scanner context. + */ +static inline void window_add_bit(const uint16_t type, zs_scanner_t *s) { + uint8_t win = type / 256; + uint8_t bit_pos = type % 256; + uint8_t byte_pos = bit_pos / 8; + + ((s->windows[win]).bitmap)[byte_pos] |= 128 >> (bit_pos % 8); + + if ((s->windows[win]).length < byte_pos + 1) { + (s->windows[win]).length = byte_pos + 1; + } + + if (s->last_window < win) { + s->last_window = win; + } +} + +// Include scanner file (in Ragel). +%%{ + machine zone_scanner; + + include "scanner_body.rl"; + + write data; +}%% + +__attribute__((visibility("default"))) +int zs_init( + zs_scanner_t *s, + const char *origin, + const uint16_t rclass, + const uint32_t ttl) +{ + if (s == NULL) { + return -1; + } + + memset(s, 0, sizeof(*s)); + + // Nonzero initial scanner state. + s->cs = %%{ write start; }%%; + + // Reset the file descriptor. + s->file.descriptor = -1; + + // Use the root zone as origin if not specified. + if (origin == NULL || strlen(origin) == 0) { + origin = "."; + } + size_t origin_len = strlen(origin); + + // Prepare a zone settings header. + const char *format; + if (origin[origin_len - 1] != '.') { + format = "$ORIGIN %s.\n"; + } else { + format = "$ORIGIN %s\n"; + } + + char settings[1024]; + int ret = snprintf(settings, sizeof(settings), format, origin); + if (ret <= 0 || ret >= sizeof(settings)) { + ERR(ZS_ENOMEM); + return -1; + } + + // Parse the settings to set up the scanner origin. + if (zs_set_input_string(s, settings, ret) != 0 || + zs_parse_all(s) != 0) { + return -1; + } + + // Set scanner defaults. + s->path = strdup("."); + if (s->path == NULL) { + ERR(ZS_ENOMEM); + return -1; + } + s->default_class = rclass; + s->default_ttl = ttl; + s->line_counter = 1; + + s->state = ZS_STATE_NONE; + s->process.automatic = false; + + return 0; +} + +static void input_deinit( + zs_scanner_t *s, + bool keep_filename) +{ + // Deinit the file input. + if (s->file.descriptor != -1) { + // Unmap the file content. + if (s->input.start != NULL) { + if (s->input.mmaped) { + munmap((void *)s->input.start, + s->input.end - s->input.start); + } else { + free((void *)s->input.start); + } + } + + // Close the opened file. + close(s->file.descriptor); + s->file.descriptor = -1; + } + + // Keep file name for possible trailing error report. + if (!keep_filename) { + free(s->file.name); + s->file.name = NULL; + } + + // Unset the input limits. + s->input.start = NULL; + s->input.current = NULL; + s->input.end = NULL; + s->input.eof = false; +} + +__attribute__((visibility("default"))) +void zs_deinit( + zs_scanner_t *s) +{ + if (s == NULL) { + return; + } + + input_deinit(s, false); + free(s->path); +} + +static int set_input_string( + zs_scanner_t *s, + const char *input, + size_t size, + bool final_block) +{ + if (s == NULL) { + return -1; + } + + if (input == NULL) { + ERR(ZS_EINVAL); + return -1; + } + + // Deinit possibly opened file. + input_deinit(s, final_block); + + // Set the scanner input limits. + s->input.start = input; + s->input.current = input; + s->input.end = input + size; + s->input.eof = final_block; + + return 0; +} + +static char *read_file_to_buf( + int fd, + size_t *bufsize) +{ + size_t bufs = 0, newbufs = 8192; + char *buf = malloc(bufs + newbufs); + int ret = 0; + + while (buf != NULL && (ret = read(fd, buf + bufs, newbufs)) == newbufs) { + bufs += newbufs; + newbufs = bufs; + char *newbuf = realloc(buf, bufs + newbufs); + if (newbuf == NULL) { + free(buf); + } + buf = newbuf; + } + if (ret < 0) { + free(buf); + return NULL; + } + + *bufsize = bufs + ret; + return buf; +} + +__attribute__((visibility("default"))) +int zs_set_input_string( + zs_scanner_t *s, + const char *input, + size_t size) +{ + s->state = ZS_STATE_NONE; + + return set_input_string(s, input, size, false); +} + +__attribute__((visibility("default"))) +int zs_set_input_file( + zs_scanner_t *s, + const char *file_name) +{ + if (s == NULL) { + return -1; + } + + if (file_name == NULL) { + ERR(ZS_EINVAL); + return -1; + } + + // Deinit possibly opened file. + input_deinit(s, false); + + // Try to open the file. + s->file.descriptor = open(file_name, O_RDONLY); + if (s->file.descriptor == -1) { + ERR(errno == EACCES ? ZS_FILE_ACCESS : ZS_FILE_OPEN); + return -1; + } + + char *start = NULL; + size_t size = 0; + + // Check the input. + struct stat file_stat; + if (fstat(s->file.descriptor, &file_stat) == -1) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } else if (S_ISCHR(file_stat.st_mode) || + S_ISBLK(file_stat.st_mode) || + S_ISFIFO(file_stat.st_mode)) { + // Workaround if cannot mmap, read to memory. + start = read_file_to_buf(s->file.descriptor, &size); + if (start == NULL) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } + } else if (!S_ISREG(file_stat.st_mode)) { // Require regular file. + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } else if (file_stat.st_size > 0) { // Mmap non-empty file. + start = mmap(0, file_stat.st_size, PROT_READ, MAP_SHARED, + s->file.descriptor, 0); + if (start == MAP_FAILED) { + ERR(ZS_FILE_INVALID); + input_deinit(s, false); + return -1; + } + + size = file_stat.st_size; + s->input.mmaped = true; + + // Try to set the mapped memory advise to sequential. +#if defined(MADV_SEQUENTIAL) && !defined(__sun) + (void)madvise(start, size, MADV_SEQUENTIAL); +#else +#ifdef POSIX_MADV_SEQUENTIAL + (void)posix_madvise(start, size, POSIX_MADV_SEQUENTIAL); +#endif /* POSIX_MADV_SEQUENTIAL */ +#endif /* MADV_SEQUENTIAL && !__sun */ + } + + // Set the scanner input limits. + s->input.start = start; + s->input.current = start; + s->input.end = (start != NULL) ? start + size : start; + + // Get absolute path of the zone file if possible. + char *full_name = realpath(file_name, NULL); + if (full_name != NULL) { + free(s->path); + s->path = strdup(dirname(full_name)); + free(full_name); + if (s->path == NULL) { + ERR(ZS_ENOMEM); + input_deinit(s, false); + return -1; + } + } + + s->file.name = strdup(file_name); + if (s->file.name == NULL) { + ERR(ZS_ENOMEM); + input_deinit(s, false); + return -1; + } + + s->state = ZS_STATE_NONE; + + return 0; +} + +__attribute__((visibility("default"))) +int zs_set_processing( + zs_scanner_t *s, + void (*process_record)(zs_scanner_t *), + void (*process_error)(zs_scanner_t *), + void *data) +{ + if (s == NULL) { + return -1; + } + + s->process.record = process_record; + s->process.error = process_error; + s->process.data = data; + + return 0; +} + +__attribute__((visibility("default"))) +int zs_set_processing_comment( + zs_scanner_t *s, + void (*process_comment)(zs_scanner_t *)) +{ + if (s == NULL) { + return -1; + } + + s->process.comment = process_comment; + + return 0; +} + +typedef enum { + WRAP_NONE, // Initial state. + WRAP_DETECTED, // Input block end is a first '\' in rdata. + WRAP_PROCESS // Parsing of auxiliary block = "\". +} wrap_t; + +static void parse( + zs_scanner_t *s, + wrap_t *wrap) +{ + // Restore scanner input limits (Ragel internals). + const char *p = s->input.current; + const char *pe = s->input.end; + const char *eof = s->input.eof ? pe : NULL; + + // Restore state variables (Ragel internals). + int cs = s->cs; + int top = s->top; + int stack[ZS_RAGEL_STACK_SIZE]; + memcpy(stack, s->stack, sizeof(stack)); + + // Next 2 variables are for better performance. + // Restoring r_data pointer to next free space. + uint8_t *rdata_tail = s->r_data + s->r_data_tail; + // Initialization of the last r_data byte. + uint8_t *rdata_stop = s->r_data + ZS_MAX_RDATA_LENGTH - 1; + + // Write scanner body (in C). + %% write exec; + + // Check if the scanner state machine is in an uncovered state. + bool extra_error = false; + if (cs == %%{ write error; }%%) { + ERR(ZS_UNCOVERED_STATE); + extra_error = true; + // Check for an unclosed multiline record. + } else if (s->input.eof && s->multiline) { + ERR(ZS_UNCLOSED_MULTILINE); + extra_error = true; + s->line_counter--; + } + + // Treat the extra error. + if (extra_error) { + s->error.counter++; + s->state = ZS_STATE_ERROR; + + // Copy the error context just for the part of the current line. + s->buffer_length = 0; + while (p < pe && *p != '\n' && s->buffer_length < 50) { + s->buffer[s->buffer_length++] = *p++; + } + s->buffer[s->buffer_length++] = 0; + + // Execute the error callback. + if (s->process.automatic && s->process.error != NULL) { + s->process.error(s); + } + + return; + } + + // Storing scanner states. + s->cs = cs; + s->top = top; + memcpy(s->stack, stack, sizeof(stack)); + + // Store the current parser position. + s->input.current = p; + + // Storing r_data pointer. + s->r_data_tail = rdata_tail - s->r_data; + + if (*wrap == WRAP_DETECTED) { + if (set_input_string(s, "\\", 1, true) != 0) { + return; + } + + *wrap = WRAP_PROCESS; + parse(s, wrap); + } else { + *wrap = WRAP_NONE; + } +} + +__attribute__((visibility("default"))) +int zs_parse_record( + zs_scanner_t *s) +{ + if (s == NULL) { + return -1; + } + + // Check if parsing is possible. + switch (s->state) { + case ZS_STATE_NONE: + case ZS_STATE_DATA: + case ZS_STATE_INCLUDE: + break; + case ZS_STATE_ERROR: + if (s->error.fatal) { + return -1; + } + break; + default: + // Return if stop or end of file. + return 0; + } + + // Check for the end of the input. + if (s->input.current != s->input.end) { + // Try to parse another item. + s->state = ZS_STATE_NONE; + wrap_t wrap = WRAP_NONE; + parse(s, &wrap); + + // Finish if nothing was parsed. + if (s->state == ZS_STATE_NONE) { + // Parse the final block. + if (set_input_string(s, "\n", 1, true) != 0) { + return -1; + } + parse(s, &wrap); + if (s->state == ZS_STATE_NONE) { + s->state = ZS_STATE_EOF; + } + } + } else { + s->state = ZS_STATE_EOF; + } + + return 0; +} + +__attribute__((visibility("default"))) +int zs_parse_all( + zs_scanner_t *s) +{ + if (s == NULL) { + return -1; + } + + s->process.automatic = true; + + // Parse input block. + wrap_t wrap = WRAP_NONE; + parse(s, &wrap); + + // Parse trailing newline-char block if it makes sense. + if (s->state != ZS_STATE_STOP && !s->error.fatal) { + if (set_input_string(s, "\n", 1, true) != 0) { + return -1; + } + parse(s, &wrap); + } + + // Check if any errors have occurred. + if (s->error.counter > 0) { + return -1; + } + + return 0; +} diff --git a/src/libzscanner/scanner_body.rl b/src/libzscanner/scanner_body.rl new file mode 100644 index 0000000..34d51cd --- /dev/null +++ b/src/libzscanner/scanner_body.rl @@ -0,0 +1,2326 @@ +/* Copyright (C) 2021 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +%%{ + machine zone_scanner; + + # Comeback function to calling state machine. + action _ret { + fhold; fret; + } + + # BEGIN - Blank space processing + action _newline { + s->line_counter++; + } + + action _check_multiline_begin { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + fhold; fgoto err_line; + } + s->multiline = true; + } + action _check_multiline_end { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + fhold; fgoto err_line; + } + s->multiline = false; + } + + action _comment_init { + s->buffer_length = 0; + } + action _comment { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = fc; + } + } + action _comment_exit { + s->buffer[s->buffer_length++] = 0; + + // Execute the comment callback. + if (s->process.automatic && s->process.comment != NULL) { + s->process.comment(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + fbreak; + } + } + } + + action _rest_init { + s->buffer[0] = 0; + s->buffer_length = 0; + } + action _rest_error { + WARN(ZS_BAD_REST); + fhold; fgoto err_line; + } + + newline = '\n' $_newline; + comment = (';' . (^newline)* $_comment) >_comment_init %_comment_exit; + + # White space separation. With respect to parentheses and included comments. + sep = ( [ \t] # Blank characters. + | (comment? . newline) when { s->multiline } # Comment in multiline. + | '(' $_check_multiline_begin # Start of multiline. + | ')' $_check_multiline_end # End of multiline. + )+; # Apply more times. + + rest = (sep? :> comment?) >_rest_init $!_rest_error; # Comments. + + # Artificial machines which are used for next state transition only! + all_wchar = [ \t\n;()]; + end_wchar = [\n;] when { !s->multiline }; # For noncontinuous ending tokens. + # END + + # BEGIN - Error line processing + action _err_line_init { + s->buffer_length = 0; + } + action _err_line { + if (fc == '\r') { + ERR(ZS_DOS_NEWLINE); + } + + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = fc; + } + } + action _err_line_exit { + // Terminate the error context string. + s->buffer[s->buffer_length++] = 0; + + // Error counter incrementation. + s->error.counter++; + + // Initialize the fcall stack. + top = 0; + + // Reset per-record contexts. + s->long_string = false; + s->comma_list = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + fhold; + if (s->process.error != NULL) { + s->process.error(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + fbreak; + } + } + + // Stop the scanner if fatal error. + if (s->error.fatal) { + fbreak; + } + fgoto err_rest; + } else { + // Return if external processing. + fhold; fnext err_rest; fbreak; + } + } + + # Consume rest lines of defective multiline record. + err_rest := ( (any - newline - ')') + | newline when { s->multiline } + | ')' when { s->multiline } $_check_multiline_end + )* %{ fhold; fcall main; } <: newline; + + # Fill rest of the line to buffer and skip to main loop. + err_line := (^newline $_err_line)* >_err_line_init + %_err_line_exit . newline; + # END + + # BEGIN - Domain name labels processing + action _label_init { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + action _label_char { + // Check for maximum dname label length. + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length++] = fc; + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + fhold; fgoto err_line; + } + } + action _label_exit { + // Check for maximum dname length overflow after each label. + // (at least the next label length must follow). + if (s->dname_tmp_length < ZS_MAX_DNAME_LENGTH) { + (s->dname)[s->item_length_position] = + (uint8_t)(s->item_length); + } else { + WARN(ZS_DNAME_OVERFLOW); + fhold; fgoto err_line; + } + } + + action _label_dec_init { + if (s->item_length < ZS_MAX_LABEL_LENGTH) { + (s->dname)[s->dname_tmp_length] = 0; + s->item_length++; + } else { + WARN(ZS_LABEL_OVERFLOW); + fhold; fgoto err_line; + } + } + action _label_dec { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)fc]; + } + action _label_dec_exit { + s->dname_tmp_length++; + } + action _label_dec_error { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + + label_char = + ( (alnum | [*\-_/]) $_label_char # One common char. + | ('\\' . ^digit) @_label_char # One "\x" char. + | ('\\' %_label_dec_init # Initial "\" char. + . digit {3} $_label_dec %_label_dec_exit # "DDD" rest. + $!_label_dec_error + ) + ); + + label = label_char+ >_label_init %_label_exit; + labels = (label . '.')* . label; + # END + + # BEGIN - Domain name processing. + action _absolute_dname_exit { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + action _relative_dname_exit { + // Check for (relative + origin) dname length overflow. + if (s->dname_tmp_length + s->zone_origin_length <= ZS_MAX_DNAME_LENGTH) { + memcpy(s->dname + s->dname_tmp_length, + s->zone_origin, + s->zone_origin_length); + + s->dname_tmp_length += s->zone_origin_length; + } else { + WARN(ZS_DNAME_OVERFLOW); + fhold; fgoto err_line; + } + } + action _origin_dname_exit { + // Copy already verified zone origin. + memcpy(s->dname, + s->zone_origin, + s->zone_origin_length); + + s->dname_tmp_length = s->zone_origin_length; + } + + action _dname_init { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + action _dname_error { + WARN(ZS_BAD_DNAME_CHAR); + fhold; fgoto err_line; + } + + relative_dname = (labels ) >_dname_init %_relative_dname_exit; + absolute_dname = (labels? . '.') >_dname_init %_absolute_dname_exit; + + dname_ := ( relative_dname + | absolute_dname + | '@' %_origin_dname_exit + ) $!_dname_error %_ret . all_wchar; + dname = (alnum | [\-_/\\] | [*.@]) ${ fhold; fcall dname_; }; + # END + + # BEGIN - Common r_data item processing + action _item_length_init { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _item_length_exit { + s->item_length = rdata_tail - s->item_length_location - 1; + if (s->comma_list && s->item_length == 0) { + WARN(ZS_EMPTY_LIST_ITEM); + fhold; fgoto err_line; + } + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + fhold; fgoto err_line; + } + } + action _item_length2_init { + if (rdata_tail < rdata_stop) { + s->item_length2_location = rdata_tail; + rdata_tail += 2; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _item_length2_exit { + s->item_length = rdata_tail - s->item_length2_location - 2; + + if (s->item_length <= MAX_ITEM_LENGTH2) { + uint16_t val = htons((uint16_t)(s->item_length)); + memcpy(s->item_length2_location, &val, 2); + } else { + WARN(ZS_ITEM_OVERFLOW); + fhold; fgoto err_line; + } + } + # END + + # BEGIN - Owner processing + action _r_owner_init { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + action _r_owner_exit { + s->r_owner_length = s->dname_tmp_length; + } + action _r_owner_empty_exit { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + fhold; fgoto err_line; + } + } + action _r_owner_error { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + fhold; fgoto err_line; + } + + r_owner = ( dname >_r_owner_init %_r_owner_exit + | zlen %_r_owner_empty_exit # Empty owner - use the previous one. + ) $!_r_owner_error; + # END + + # BEGIN - domain name in record data processing + action _r_dname_init { + s->dname = rdata_tail; + } + action _r_dname_exit { + rdata_tail += s->dname_tmp_length; + } + + r_dname = dname >_r_dname_init %_r_dname_exit; + # END + + # BEGIN - Number processing + action _number_digit { + // Overflow check: 10*(s->number64) + fc - '0' <= UINT64_MAX + if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. + ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. + ((uint8_t)fc <= (UINT64_MAX % 10) + '0') + ) + ) { + s->number64 *= 10; + s->number64 += digit_to_num[(uint8_t)fc]; + } else { + WARN(ZS_NUMBER64_OVERFLOW); + fhold; fgoto err_line; + } + } + + number_digit = [0-9] $_number_digit; + + action _number_init { + s->number64 = 0; + } + action _number_error { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + + # General integer number that cover all necessary integer ranges. + number = number_digit+ >_number_init; + + action _float_init { + s->decimal_counter = 0; + } + action _decimal_init { + s->number64_tmp = s->number64; + } + action _decimal_digit { + s->decimal_counter++; + } + + action _float_exit { + if (s->decimal_counter == 0 && s->number64 < UINT32_MAX) { + s->number64 *= pow(10, s->decimals); + } else if (s->decimal_counter <= s->decimals && + s->number64_tmp < UINT32_MAX) { + s->number64 *= pow(10, s->decimals - s->decimal_counter); + s->number64 += s->number64_tmp * pow(10, s->decimals); + } else { + WARN(ZS_FLOAT_OVERFLOW); + fhold; fgoto err_line; + } + } + + # Next float can't be used directly (doesn't contain decimals init)! + float = (number . ('.' . number? >_decimal_init $_decimal_digit)?) + >_float_init %_float_exit; + + action _float2_init { + s->decimals = 2; + } + action _float3_init { + s->decimals = 3; + } + + # Float number (in hundredths)with 2 possible decimal digits. + float2 = float >_float2_init; + # Float number (in thousandths) with 3 possible decimal digits. + float3 = float >_float3_init; + + action _num8_write { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + fhold; fgoto err_line; + } + } + action _num16_write { + if (s->number64 <= UINT16_MAX) { + uint16_t num16 = htons((uint16_t)s->number64); + memcpy(rdata_tail, &num16, 2); + rdata_tail += 2; + } else { + WARN(ZS_NUMBER16_OVERFLOW); + fhold; fgoto err_line; + } + } + action _num32_write { + if (s->number64 <= UINT32_MAX) { + uint32_t num32 = htonl((uint32_t)s->number64); + memcpy(rdata_tail, &num32, 4); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + + action _type_number_exit { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + fhold; fgoto err_line; + } + } + + action _length_number_exit { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + fhold; fgoto err_line; + } + } + num8 = number %_num8_write $!_number_error; + num16 = number %_num16_write $!_number_error; + num32 = number %_num32_write $!_number_error; + + type_number = number %_type_number_exit $!_number_error; + length_number = number %_length_number_exit $!_number_error; + # END + + # BEGIN - Time processing + action _time_unit_error { + WARN(ZS_BAD_TIME_UNIT); + fhold; fgoto err_line; + } + + time_unit = + ( 's'i + | 'm'i ${ if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + | 'h'i ${ if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + | 'd'i ${ if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + | 'w'i ${ if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + ) $!_time_unit_error; + + + action _time_block_init { + s->number64_tmp = s->number64; + } + action _time_block_exit { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + + time_block = (number . time_unit) >_time_block_init %_time_block_exit; + + # Time is either a number or a sequence of time blocks (1w1h1m). + time = (number . (time_unit . (time_block)*)?) $!_number_error; + + time32 = time %_num32_write; + # END + + # BEGIN - Timestamp processing + action _timestamp_init { + s->buffer_length = 0; + } + action _timestamp { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = fc; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _timestamp_exit { + s->buffer[s->buffer_length] = 0; + + if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). + uint32_t timestamp; + int ret = date_to_timestamp(s->buffer, ×tamp); + + if (ret == ZS_OK) { + *((uint32_t *)rdata_tail) = htonl(timestamp); + rdata_tail += 4; + } else { + WARN(ret); + fhold; fgoto err_line; + } + } else if (s->buffer_length <= 10) { // Timestamp format. + char *end; + + s->number64 = strtoull((char *)(s->buffer), &end, 10); + + if (end == (char *)(s->buffer) || *end != '\0') { + WARN(ZS_BAD_TIMESTAMP); + fhold; fgoto err_line; + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + fhold; fgoto err_line; + } + } + action _timestamp_error { + WARN(ZS_BAD_TIMESTAMP_CHAR); + fhold; fgoto err_line; + } + + timestamp = digit+ >_timestamp_init $_timestamp + %_timestamp_exit $!_timestamp_error; + # END + + # BEGIN - Text processing + action _text_char { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + fhold; fgoto err_line; + } + } + + *(rdata_tail++) = fc; + } else { + WARN(ZS_TEXT_OVERFLOW); + fhold; fgoto err_line; + } + } + action _text_char_error { + WARN(ZS_BAD_TEXT_CHAR); + fhold; fgoto err_line; + } + action _text_error { + WARN(ZS_BAD_TEXT); + fhold; fgoto err_line; + } + + action _text_dec_init { + if (rdata_tail <= rdata_stop) { + // Split long string. + if (s->long_string && + rdata_tail - s->item_length_location == 1 + MAX_ITEM_LENGTH) { + // _item_length_exit equivalent. + *(s->item_length_location) = MAX_ITEM_LENGTH; + // _item_length_init equivalent. + s->item_length_location = rdata_tail++; + + if (rdata_tail > rdata_stop) { + WARN(ZS_TEXT_OVERFLOW); + fhold; fgoto err_line; + } + } + + *rdata_tail = 0; + s->item_length++; + } else { + WARN(ZS_TEXT_OVERFLOW); + fhold; fgoto err_line; + } + } + action _text_dec { + if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. + ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. + (fc <= (UINT8_MAX % 10) + '0') + ) + ) { + *rdata_tail *= 10; + *rdata_tail += digit_to_num[(uint8_t)fc]; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + fhold; fgoto err_line; + } + } + action _text_dec_exit { + rdata_tail++; + } + action _text_dec_error { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + + action _comma_list { + uint8_t *last_two = rdata_tail - 2; + uint16_t current_len = rdata_tail - s->item_length_location - 2; + if (s->comma_list) { + if (last_two[1] == ',') { + if (current_len <= 1) { + WARN(ZS_EMPTY_LIST_ITEM); + fhold; fgoto err_line; + } else if (last_two[0] != '\\') { // Start a new item. + *(s->item_length_location) = current_len; + s->item_length_location = rdata_tail - 1; + } else { // Remove backslash. + last_two[0] = ','; + rdata_tail--; + } + } else if (current_len > 1 && last_two[1] == '\\') { + if (last_two[0] == '\\') { // Remove backslash. + rdata_tail--; + } + } + } + } + + text_char = + ( (33..126 - [\\;\"]) $_text_char # One printable char. + | ('\\' . (32..126 - digit)) @_text_char # One "\x" char. + | ('\\' %_text_dec_init # Initial "\" char. + . digit {3} $_text_dec %_text_dec_exit # "DDD" rest. + $!_text_dec_error + ) + ) %_comma_list $!_text_char_error; + + quoted_text_char = + ( text_char + | ([ \t;] | [\n] when { s->multiline }) $_text_char + ) $!_text_char_error; + + # Text string machine instantiation (for smaller code). + text_ := (('\"' . quoted_text_char* . '\"') | text_char+) + $!_text_error %_ret . all_wchar; + text = ^all_wchar ${ fhold; fcall text_; }; + + # Text string with forward 1-byte length. + text_string = text >_item_length_init %_item_length_exit; + + action _text_array_init { + s->long_string = true; + } + action _text_array_exit { + s->long_string = false; + } + + # Text string array as one rdata item. + text_array = + ( (text_string . (sep . text_string)* . sep?) + ) >_text_array_init %_text_array_exit $!_text_array_exit; + # END + + # BEGIN - TTL directive processing + action _default_ttl_exit { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + action _default_ttl_error { + ERR(ZS_BAD_TTL); + fhold; fgoto err_line; + } + + default_ttl_ := (sep . time . rest) $!_default_ttl_error + %_default_ttl_exit %_ret . newline; + default_ttl = all_wchar ${ fhold; fcall default_ttl_; }; + # END + + # BEGIN - ORIGIN directive processing + action _zone_origin_init { + s->dname = s->zone_origin; + } + action _zone_origin_exit { + s->zone_origin_length = s->dname_tmp_length; + } + action _zone_origin_error { + ERR(ZS_BAD_ORIGIN); + fhold; fgoto err_line; + } + + zone_origin_ := (sep . absolute_dname >_zone_origin_init . rest) + $!_zone_origin_error %_zone_origin_exit %_ret . newline; + zone_origin = all_wchar ${ fhold; fcall zone_origin_; }; + # END + + # BEGIN - INCLUDE directive processing + action _incl_filename_init { + rdata_tail = s->r_data; + } + action _incl_filename_exit { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + fhold; fgoto err_line; + } + + // Store zero terminated include filename. + memcpy(s->include_filename, s->r_data, len); + s->include_filename[len] = '\0'; + + // For detection whether origin is not present. + s->dname = NULL; + } + action _incl_filename_error { + ERR(ZS_BAD_INCLUDE_FILENAME); + fhold; fgoto err_line; + } + + action _incl_origin_init { + s->dname = s->r_data; + } + action _incl_origin_exit { + s->r_data_length = s->dname_tmp_length; + } + action _incl_origin_error { + ERR(ZS_BAD_INCLUDE_ORIGIN); + fhold; fgoto err_line; + } + + action _include_exit { + // Extend relative file path. + if (s->include_filename[0] != '/') { + int ret = snprintf((char *)(s->buffer), sizeof(s->buffer), + "%s/%s", s->path, s->include_filename); + if (ret <= 0 || ret >= sizeof(s->buffer)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + fhold; fgoto err_line; + } + memcpy(s->include_filename, s->buffer, ret + 1); + } + + // Origin conversion from wire to text form in \DDD notation. + if (s->dname == NULL) { // Use current origin. + wire_dname_to_str(s->zone_origin, + s->zone_origin_length, + (char *)s->buffer); + } else { // Use specified origin. + wire_dname_to_str(s->r_data, + s->r_data_length, + (char *)s->buffer); + } + + // Let the caller to solve the include. + if (s->process.automatic) { + // Create new scanner for included zone file. + zs_scanner_t *ss = malloc(sizeof(zs_scanner_t)); + if (ss == NULL) { + ERR(ZS_UNPROCESSED_INCLUDE); + fhold; fgoto err_line; + } + + // Parse included zone file. + if (zs_init(ss, (char *)s->buffer, s->default_class, + s->default_ttl) != 0 || + zs_set_input_file(ss, (char *)(s->include_filename)) != 0 || + zs_set_processing(ss, s->process.record, s->process.error, + s->process.data) != 0 || + zs_parse_all(ss) != 0) { + // File internal errors are handled by error callback. + if (ss->error.counter > 0) { + s->error.counter += ss->error.counter; + ERR(ZS_UNPROCESSED_INCLUDE); + // General include file error. + } else { + ERR(ss->error.code); + } + zs_deinit(ss); + free(ss); + fhold; fgoto err_line; + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + fhold; fnext main; fbreak; + } + } + + include_file_ := + (sep . text >_incl_filename_init %_incl_filename_exit + $!_incl_filename_error . + (sep . absolute_dname >_incl_origin_init %_incl_origin_exit + $!_incl_origin_error + )? . rest + ) %_include_exit %_ret newline; + include_file = all_wchar ${ fhold; fcall include_file_; }; + # END + + # BEGIN - Directive switch + # Each error/warning in directive should stop processing. + # Some internal errors cause warning only. This causes stop processing. + action _directive_init { + ERR(ZS_OK); + } + # Remove stop processing flag. + action _directive_exit { + NOERR; + } + action _directive_error { + ERR(ZS_BAD_DIRECTIVE); + fhold; fgoto err_line; + } + + directive = '$' . ( ("TTL"i . default_ttl) + | ("ORIGIN"i . zone_origin) + | ("INCLUDE"i . include_file) + ) >_directive_init %_directive_exit $!_directive_error; + # END + + # BEGIN - RRecord class and ttl processing + action _default_r_class_exit { + s->r_class = s->default_class; + } + + action _default_r_ttl_exit { + s->r_ttl = s->default_ttl; + } + + action _r_class_in_exit { + s->r_class = KNOT_CLASS_IN; + } + + action _r_ttl_exit { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + fhold; fgoto err_line; + } + } + + r_class = "IN"i %_r_class_in_exit; + + r_ttl = time %_r_ttl_exit; + # END + + # BEGIN - IPv4 and IPv6 address processing + action _addr_init { + s->buffer_length = 0; + } + action _addr { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = fc; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _addr_error { + WARN(ZS_BAD_ADDRESS_CHAR); + fhold; fgoto err_line; + } + + action _ipv4_addr_exit { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + fhold; fgoto err_line; + } + } + action _ipv4_addr_write { + if (rdata_tail + ZS_INET4_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + + action _ipv6_addr_exit { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + fhold; fgoto err_line; + } + } + action _ipv6_addr_write { + if (rdata_tail + ZS_INET6_ADDR_LENGTH > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + + # Address parsers only. + ipv4_addr = (digit | '.')+ >_addr_init $_addr %_ipv4_addr_exit + $!_addr_error; + ipv6_addr = (xdigit | [.:])+ >_addr_init $_addr %_ipv6_addr_exit + $!_addr_error; + + # Write parsed address to r_data. + ipv4_addr_write = ipv4_addr %_ipv4_addr_write; + ipv6_addr_write = ipv6_addr %_ipv6_addr_write; + # END + + # BEGIN - apl record processing + action _apl_init { + memset(&(s->apl), 0, sizeof(s->apl)); + } + action _apl_excl_flag { + s->apl.excl_flag = 128; // dec 128 = bin 10000000. + } + action _apl_addr_1 { + s->apl.addr_family = 1; + } + action _apl_addr_2 { + s->apl.addr_family = 2; + } + action _apl_prefix_length { + if ((s->apl.addr_family == 1 && s->number64 <= 32) || + (s->apl.addr_family == 2 && s->number64 <= 128)) { + s->apl.prefix_length = (uint8_t)(s->number64); + } else { + WARN(ZS_BAD_APL); + fhold; fgoto err_line; + } + } + action _apl_exit { + // Copy address to buffer. + uint8_t len; + switch (s->apl.addr_family) { + case 1: + len = ZS_INET4_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + case 2: + len = ZS_INET6_ADDR_LENGTH; + memcpy(s->buffer, s->addr, len); + break; + default: + WARN(ZS_BAD_APL); + fhold; fgoto err_line; + } + // Find prefix without trailing zeroes. + while (len > 0) { + if ((s->buffer[len - 1] & 255) != 0) { + break; + } + len--; + } + // Check for rdata overflow. + if (rdata_tail + 4 + len > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + // Write address family. + uint16_t af = htons(s->apl.addr_family); + memcpy(rdata_tail, &af, sizeof(af)); + rdata_tail += 2; + // Write prefix length in bits. + *(rdata_tail) = s->apl.prefix_length; + rdata_tail += 1; + // Write negation flag + prefix length in bytes. + *(rdata_tail) = len + s->apl.excl_flag; + rdata_tail += 1; + // Write address prefix non-null data. + memcpy(rdata_tail, s->buffer, len); + rdata_tail += len; + } + action _apl_error { + WARN(ZS_BAD_APL); + fhold; fgoto err_line; + } + + apl = ('!'? $_apl_excl_flag . + ( ('1' $_apl_addr_1 . ':' . ipv4_addr . '/' . number + %_apl_prefix_length) + | ('2' $_apl_addr_2 . ':' . ipv6_addr . '/' . number + %_apl_prefix_length) + ) + ) >_apl_init %_apl_exit $!_apl_error; + + # Array of APL records (can be empty). + apl_array = apl? . (sep . apl)* . sep?; + # END + + # BEGIN - Hexadecimal string array processing + action _first_hex_char { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _second_hex_char { + *rdata_tail += second_hex_to_num[(uint8_t)fc]; + rdata_tail++; + } + action _hex_char_error { + WARN(ZS_BAD_HEX_CHAR); + fhold; fgoto err_line; + } + + hex_char = (xdigit $_first_hex_char . xdigit $_second_hex_char); + + # Hex array with possibility of inside white spaces and multiline. + hex_array = (hex_char+ . sep?)+ $!_hex_char_error; + + # Continuous hex array (or "-") with forward length processing. + salt = (hex_char+ | '-') >_item_length_init %_item_length_exit + $!_hex_char_error; + + action _type_data_exit { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + fhold; fgoto err_line; + } + } + + action _type_data_error { + WARN(ZS_BAD_HEX_RDATA); + fhold; fgoto err_line; + } + + # Hex array with control to forward length statement. + type_data = hex_array %_type_data_exit $!_type_data_error; + # END + + # BEGIN - Base64 processing (RFC 4648) + action _first_base64_char { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _second_base64_char { + *(rdata_tail++) += second_left_base64_to_num[(uint8_t)fc]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base64_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _third_base64_char { + *(rdata_tail++) += third_left_base64_to_num[(uint8_t)fc]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = third_right_base64_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _fourth_base64_char { + *(rdata_tail++) += fourth_base64_to_num[(uint8_t)fc]; + } + + action _base64_char_error { + WARN(ZS_BAD_BASE64_CHAR); + fhold; fgoto err_line; + } + + base64_char = alnum | [+/]; + base64_padd = '='; + base64_quartet = + ( base64_char $_first_base64_char . # A + base64_char $_second_base64_char . # AB + ( ( base64_char $_third_base64_char . # ABC + ( base64_char $_fourth_base64_char # ABCD + | base64_padd{1} # ABC= + ) + ) + | base64_padd{2} # AB== + ) + ); + + # Base64 array with possibility of inside white spaces and multiline. + base64_ := (base64_quartet+ . sep?)+ $!_base64_char_error + %_ret . end_wchar; + base64 = base64_char ${ fhold; fcall base64_; }; + # END + + # BEGIN - Base32hex processing (RFC 4648) + action _first_base32hex_char { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base32hex_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _second_base32hex_char { + *(rdata_tail++) += second_left_base32hex_to_num[(uint8_t)fc]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = second_right_base32hex_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _third_base32hex_char { + *rdata_tail += third_base32hex_to_num[(uint8_t)fc]; + } + action _fourth_base32hex_char { + *(rdata_tail++) += fourth_left_base32hex_to_num[(uint8_t)fc]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = fourth_right_base32hex_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _fifth_base32hex_char { + *(rdata_tail++) += fifth_left_base32hex_to_num[(uint8_t)fc]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = fifth_right_base32hex_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _sixth_base32hex_char { + *rdata_tail += sixth_base32hex_to_num[(uint8_t)fc]; + } + action _seventh_base32hex_char { + *(rdata_tail++) += seventh_left_base32hex_to_num[(uint8_t)fc]; + + if (rdata_tail <= rdata_stop) { + *rdata_tail = seventh_right_base32hex_to_num[(uint8_t)fc]; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + action _eighth_base32hex_char { + *(rdata_tail++) += eighth_base32hex_to_num[(uint8_t)fc]; + } + + action _base32hex_char_error { + WARN(ZS_BAD_BASE32HEX_CHAR); + fhold; fgoto err_line; + } + + base32hex_char = [0-9a-vA-V]; + base32hex_padd = '='; + base32hex_octet = + ( base32hex_char $_first_base32hex_char . # A + base32hex_char $_second_base32hex_char . # AB + ( ( base32hex_char $_third_base32hex_char . # ABC + base32hex_char $_fourth_base32hex_char . # ABCD + ( ( base32hex_char $_fifth_base32hex_char . # ABCDE + ( ( base32hex_char $_sixth_base32hex_char . # ABCDEF + base32hex_char $_seventh_base32hex_char . # ABCDEFG + ( base32hex_char $_eighth_base32hex_char # ABCDEFGH + | base32hex_padd{1} # ABCDEFG= + ) + ) + | base32hex_padd{3} # ABCDE=== + ) + ) + | base32hex_padd{4} # ABCD==== + ) + ) + | base32hex_padd{6} # AB====== + ) + ); + + # Continuous base32hex (with padding!) array with forward length processing. + hash = base32hex_octet+ >_item_length_init %_item_length_exit + $!_base32hex_char_error; + # END + + # BEGIN - Simple number write functions. + action _write8_0 { + *(rdata_tail++) = 0; + } + action _write8_1 { + *(rdata_tail++) = 1; + } + action _write8_2 { + *(rdata_tail++) = 2; + } + action _write8_3 { + *(rdata_tail++) = 3; + } + action _write8_5 { + *(rdata_tail++) = 5; + } + action _write8_6 { + *(rdata_tail++) = 6; + } + action _write8_7 { + *(rdata_tail++) = 7; + } + action _write8_8 { + *(rdata_tail++) = 8; + } + action _write8_10 { + *(rdata_tail++) = 10; + } + action _write8_12 { + *(rdata_tail++) = 12; + } + action _write8_13 { + *(rdata_tail++) = 13; + } + action _write8_14 { + *(rdata_tail++) = 14; + } + action _write8_15 { + *(rdata_tail++) = 15; + } + action _write8_16 { + *(rdata_tail++) = 16; + } + action _write8_252 { + *(rdata_tail++) = 252; + } + action _write8_253 { + *(rdata_tail++) = 253; + } + action _write8_254 { + *(rdata_tail++) = 254; + } + + action _write16_0 { + uint16_t val = htons(0); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_1 { + uint16_t val = htons(1); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_2 { + uint16_t val = htons(2); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_3 { + uint16_t val = htons(3); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_4 { + uint16_t val = htons(4); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_5 { + uint16_t val = htons(5); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_6 { + uint16_t val = htons(6); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_7 { + uint16_t val = htons(7); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_8 { + uint16_t val = htons(8); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_253 { + uint16_t val = htons(253); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + action _write16_254 { + uint16_t val = htons(254); + memcpy(rdata_tail, &val, 2); + rdata_tail += 2; + } + # END + + # BEGIN - Gateway + action _gateway_error { + WARN(ZS_BAD_GATEWAY); + fhold; fgoto err_line; + } + action _gateway_key_error { + WARN(ZS_BAD_GATEWAY_KEY); + fhold; fgoto err_line; + } + + gateway = (( ('0' $_write8_0 . sep . num8 . sep . '.') + | ('1' $_write8_1 . sep . num8 . sep . ipv4_addr_write) + | ('2' $_write8_2 . sep . num8 . sep . ipv6_addr_write) + | ('3' $_write8_3 . sep . num8 . sep . r_dname) + ) $!_gateway_error . + # If algorithm is 0 then key isn't present and vice versa. + ( ((sep . base64) when { s->number64 != 0 }) + | ((sep?) when { s->number64 == 0 }) # remove blank space + ) $!_gateway_key_error + ); + # END + + # BEGIN - Type processing + action _type_error { + WARN(ZS_UNSUPPORTED_TYPE); + fhold; fgoto err_line; + } + + type_num = + ( "A"i %{ type_num(KNOT_RRTYPE_A, &rdata_tail); } + | "NS"i %{ type_num(KNOT_RRTYPE_NS, &rdata_tail); } + | "CNAME"i %{ type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + | "SOA"i %{ type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + | "PTR"i %{ type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + | "HINFO"i %{ type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + | "MINFO"i %{ type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + | "MX"i %{ type_num(KNOT_RRTYPE_MX, &rdata_tail); } + | "TXT"i %{ type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + | "RP"i %{ type_num(KNOT_RRTYPE_RP, &rdata_tail); } + | "AFSDB"i %{ type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + | "RT"i %{ type_num(KNOT_RRTYPE_RT, &rdata_tail); } + | "KEY"i %{ type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + | "AAAA"i %{ type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + | "LOC"i %{ type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + | "SRV"i %{ type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + | "NAPTR"i %{ type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + | "KX"i %{ type_num(KNOT_RRTYPE_KX, &rdata_tail); } + | "CERT"i %{ type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + | "DNAME"i %{ type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + | "APL"i %{ type_num(KNOT_RRTYPE_APL, &rdata_tail); } + | "DS"i %{ type_num(KNOT_RRTYPE_DS, &rdata_tail); } + | "SSHFP"i %{ type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + | "IPSECKEY"i %{ type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + | "RRSIG"i %{ type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + | "NSEC"i %{ type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + | "DNSKEY"i %{ type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + | "DHCID"i %{ type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + | "NSEC3"i %{ type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + | "NSEC3PARAM"i %{ type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + | "TLSA"i %{ type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + | "SMIMEA"i %{ type_num(KNOT_RRTYPE_SMIMEA, &rdata_tail); } + | "CDS"i %{ type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + | "CDNSKEY"i %{ type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + | "OPENPGPKEY"i %{ type_num(KNOT_RRTYPE_OPENPGPKEY, &rdata_tail); } + | "CSYNC"i %{ type_num(KNOT_RRTYPE_CSYNC, &rdata_tail); } + | "ZONEMD"i %{ type_num(KNOT_RRTYPE_ZONEMD, &rdata_tail); } + | "SPF"i %{ type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + | "NID"i %{ type_num(KNOT_RRTYPE_NID, &rdata_tail); } + | "L32"i %{ type_num(KNOT_RRTYPE_L32, &rdata_tail); } + | "L64"i %{ type_num(KNOT_RRTYPE_L64, &rdata_tail); } + | "LP"i %{ type_num(KNOT_RRTYPE_LP, &rdata_tail); } + | "EUI48"i %{ type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + | "EUI64"i %{ type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + | "URI"i %{ type_num(KNOT_RRTYPE_URI, &rdata_tail); } + | "CAA"i %{ type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + | "SVCB"i %{ type_num(KNOT_RRTYPE_SVCB, &rdata_tail); } + | "HTTPS"i %{ type_num(KNOT_RRTYPE_HTTPS, &rdata_tail); } + | "TYPE"i . num16 # TYPE0-TYPE65535. + ) $!_type_error; + # END + + # BEGIN - Bitmap processing + action _type_bitmap_exit { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + fhold; fgoto err_line; + } + } + + # TYPE0-TYPE65535. + type_bitmap = number %_type_bitmap_exit; + + type_bit = + ( "A"i %{ window_add_bit(KNOT_RRTYPE_A, s); } + | "NS"i %{ window_add_bit(KNOT_RRTYPE_NS, s); } + | "CNAME"i %{ window_add_bit(KNOT_RRTYPE_CNAME, s); } + | "SOA"i %{ window_add_bit(KNOT_RRTYPE_SOA, s); } + | "PTR"i %{ window_add_bit(KNOT_RRTYPE_PTR, s); } + | "HINFO"i %{ window_add_bit(KNOT_RRTYPE_HINFO, s); } + | "MINFO"i %{ window_add_bit(KNOT_RRTYPE_MINFO, s); } + | "MX"i %{ window_add_bit(KNOT_RRTYPE_MX, s); } + | "TXT"i %{ window_add_bit(KNOT_RRTYPE_TXT, s); } + | "RP"i %{ window_add_bit(KNOT_RRTYPE_RP, s); } + | "AFSDB"i %{ window_add_bit(KNOT_RRTYPE_AFSDB, s); } + | "RT"i %{ window_add_bit(KNOT_RRTYPE_RT, s); } + | "KEY"i %{ window_add_bit(KNOT_RRTYPE_KEY, s); } + | "AAAA"i %{ window_add_bit(KNOT_RRTYPE_AAAA, s); } + | "LOC"i %{ window_add_bit(KNOT_RRTYPE_LOC, s); } + | "SRV"i %{ window_add_bit(KNOT_RRTYPE_SRV, s); } + | "NAPTR"i %{ window_add_bit(KNOT_RRTYPE_NAPTR, s); } + | "KX"i %{ window_add_bit(KNOT_RRTYPE_KX, s); } + | "CERT"i %{ window_add_bit(KNOT_RRTYPE_CERT, s); } + | "DNAME"i %{ window_add_bit(KNOT_RRTYPE_DNAME, s); } + | "APL"i %{ window_add_bit(KNOT_RRTYPE_APL, s); } + | "DS"i %{ window_add_bit(KNOT_RRTYPE_DS, s); } + | "SSHFP"i %{ window_add_bit(KNOT_RRTYPE_SSHFP, s); } + | "IPSECKEY"i %{ window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + | "RRSIG"i %{ window_add_bit(KNOT_RRTYPE_RRSIG, s); } + | "NSEC"i %{ window_add_bit(KNOT_RRTYPE_NSEC, s); } + | "DNSKEY"i %{ window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + | "DHCID"i %{ window_add_bit(KNOT_RRTYPE_DHCID, s); } + | "NSEC3"i %{ window_add_bit(KNOT_RRTYPE_NSEC3, s); } + | "NSEC3PARAM"i %{ window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + | "TLSA"i %{ window_add_bit(KNOT_RRTYPE_TLSA, s); } + | "SMIMEA"i %{ window_add_bit(KNOT_RRTYPE_SMIMEA, s); } + | "CDS"i %{ window_add_bit(KNOT_RRTYPE_CDS, s); } + | "CDNSKEY"i %{ window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + | "OPENPGPKEY"i %{ window_add_bit(KNOT_RRTYPE_OPENPGPKEY, s); } + | "CSYNC"i %{ window_add_bit(KNOT_RRTYPE_CSYNC, s); } + | "ZONEMD"i %{ window_add_bit(KNOT_RRTYPE_ZONEMD, s); } + | "SPF"i %{ window_add_bit(KNOT_RRTYPE_SPF, s); } + | "NID"i %{ window_add_bit(KNOT_RRTYPE_NID, s); } + | "L32"i %{ window_add_bit(KNOT_RRTYPE_L32, s); } + | "L64"i %{ window_add_bit(KNOT_RRTYPE_L64, s); } + | "LP"i %{ window_add_bit(KNOT_RRTYPE_LP, s); } + | "EUI48"i %{ window_add_bit(KNOT_RRTYPE_EUI48, s); } + | "EUI64"i %{ window_add_bit(KNOT_RRTYPE_EUI64, s); } + | "URI"i %{ window_add_bit(KNOT_RRTYPE_URI, s); } + | "CAA"i %{ window_add_bit(KNOT_RRTYPE_CAA, s); } + | "SVCB"i %{ window_add_bit(KNOT_RRTYPE_SVCB, s); } + | "HTTPS"i %{ window_add_bit(KNOT_RRTYPE_HTTPS, s); } + | "TYPE"i . type_bitmap # TYPE0-TYPE65535. + ); + + action _bitmap_init { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + action _bitmap_exit { + for (uint16_t window = 0; window <= s->last_window; window++) { + if ((s->windows[window]).length > 0) { + if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) + { + // Window number. + *rdata_tail = (uint8_t)window; + rdata_tail += 1; + // Bitmap length. + *rdata_tail = (s->windows[window]).length; + rdata_tail += 1; + // Copying bitmap. + memcpy(rdata_tail, + (s->windows[window]).bitmap, + (s->windows[window]).length); + rdata_tail += (s->windows[window]).length; + } else { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + } + } + action _bitmap_error { + WARN(ZS_BAD_BITMAP); + fhold; fgoto err_line; + } + + # Blank bitmap is allowed too. + bitmap_ := ((sep . type_bit)* . sep?) >_bitmap_init + %_bitmap_exit %_ret $!_bitmap_error . end_wchar; + bitmap = all_wchar ${ fhold; fcall bitmap_; }; + # END + + # BEGIN - Location processing + action _d1_exit { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _d2_exit { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _m1_exit { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _m2_exit { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _s1_exit { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _s2_exit { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _alt_exit { + if ((s->loc.alt_sign == 1 && s->number64 <= 4284967295) || + (s->loc.alt_sign == -1 && s->number64 <= 10000000)) + { + s->loc.alt = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _siz_exit { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _hp_exit { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _vp_exit { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + fhold; fgoto err_line; + } + } + action _lat_sign { + s->loc.lat_sign = -1; + } + action _long_sign { + s->loc.long_sign = -1; + } + action _alt_sign { + s->loc.alt_sign = -1; + } + + d1 = number %_d1_exit; + d2 = number %_d2_exit; + m1 = number %_m1_exit; + m2 = number %_m2_exit; + s1 = float3 %_s1_exit; + s2 = float3 %_s2_exit; + siz = float2 %_siz_exit; + hp = float2 %_hp_exit; + vp = float2 %_vp_exit; + alt = ('-' %_alt_sign)? . float2 %_alt_exit; + lat_sign = 'N' | 'S' %_lat_sign; + long_sign = 'E' | 'W' %_long_sign; + + action _loc_init { + memset(&(s->loc), 0, sizeof(s->loc)); + // Defaults. + s->loc.siz = 100; + s->loc.vp = 1000; + s->loc.hp = 1000000; + s->loc.lat_sign = 1; + s->loc.long_sign = 1; + s->loc.alt_sign = 1; + } + action _loc_exit { + // Write version. + *(rdata_tail) = 0; + rdata_tail += 1; + // Write size. + *(rdata_tail) = loc64to8(s->loc.siz); + rdata_tail += 1; + // Write horizontal precision. + *(rdata_tail) = loc64to8(s->loc.hp); + rdata_tail += 1; + // Write vertical precision. + *(rdata_tail) = loc64to8(s->loc.vp); + rdata_tail += 1; + // Write latitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LAT_ZERO + s->loc.lat_sign * + (3600000 * s->loc.d1 + 60000 * s->loc.m1 + s->loc.s1)); + rdata_tail += 4; + // Write longitude. + *((uint32_t *)rdata_tail) = htonl(LOC_LONG_ZERO + s->loc.long_sign * + (3600000 * s->loc.d2 + 60000 * s->loc.m2 + s->loc.s2)); + rdata_tail += 4; + // Write altitude. + *((uint32_t *)rdata_tail) = htonl(LOC_ALT_ZERO + s->loc.alt_sign * + (s->loc.alt)); + rdata_tail += 4; + } + action _loc_error { + WARN(ZS_BAD_LOC_DATA); + fhold; fgoto err_line; + } + + loc = (d1 . sep . (m1 . sep . (s1 . sep)?)? . lat_sign . sep . + d2 . sep . (m2 . sep . (s2 . sep)?)? . long_sign . sep . + alt 'm'? . (sep . siz 'm'? . (sep . hp 'm'? . (sep . vp 'm'?)?)?)? . + sep? + ) >_loc_init %_loc_exit $!_loc_error; + # END + + # BEGIN - Hexadecimal rdata processing + action _hex_r_data_error { + WARN(ZS_BAD_HEX_RDATA); + fhold; fgoto err_line; + } + + nonempty_hex_r_data := + (sep . length_number . sep . type_data) + $!_hex_r_data_error %_ret . end_wchar; + + hex_r_data := + (sep . + ( ('0' %_ret . all_wchar) + | (length_number . sep . type_data %_ret . end_wchar) + ) + ) $!_hex_r_data_error; + # END + + # BEGIN - EUI processing + action _eui_init { + s->item_length = 0; + } + action _eui_count { + s->item_length++; + } + action _eui48_exit { + if (s->item_length != 6) { + WARN(ZS_BAD_EUI_LENGTH); + fhold; fgoto err_line; + } + } + action _eui64_exit { + if (s->item_length != 8) { + WARN(ZS_BAD_EUI_LENGTH); + fhold; fgoto err_line; + } + } + action _eui_sep_error { + WARN(ZS_BAD_CHAR_DASH); + fhold; fgoto err_line; + } + + eui48 = (hex_char %_eui_count . + ('-' >!_eui_sep_error . hex_char %_eui_count)+ + ) $!_hex_char_error >_eui_init %_eui48_exit; + + eui64 = (hex_char %_eui_count . + ('-' >!_eui_sep_error . hex_char %_eui_count)+ + ) $!_hex_char_error >_eui_init %_eui64_exit; + # END + + # BEGIN - ILNP processing + action _l64_init { + s->item_length = 0; + } + action _l64_count { + s->item_length++; + } + action _l64_exit { + if (s->item_length != 4) { + WARN(ZS_BAD_L64_LENGTH); + fhold; fgoto err_line; + } + } + action _l64_sep_error { + WARN(ZS_BAD_CHAR_COLON); + fhold; fgoto err_line; + } + + l64_label = (hex_char . hex_char) $!_hex_char_error %_l64_count; + l64 = (l64_label . (':' >!_l64_sep_error . l64_label)+ + ) $!_hex_char_error >_l64_init %_l64_exit; + + l32 = ipv4_addr %_ipv4_addr_write; + # END + + # BEGIN - SvcParams processing (SVCB/HTTPS records) + action _svcb_params_init { + s->svcb.params_position = rdata_tail; + s->svcb.last_key = -1; + } + action _svcb_params_exit { + int ret = svcb_check(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + fhold; fgoto err_line; + } + } + action _svcb_params_error { + WARN(ZS_BAD_SVCB_PARAM); + fhold; fgoto err_line; + } + + action _mandat_value_error { + WARN(ZS_BAD_SVCB_MANDATORY); + fhold; fgoto err_line; + } + + action _svcb_param_init { + if (rdata_tail + 4 > rdata_stop + 1) { // key_len + val_len + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + s->svcb.param_position = rdata_tail; + } + action _svcb_param_exit { + int ret = svcb_sort(s, rdata_tail); + if (ret != ZS_OK) { + WARN(ret); + fhold; fgoto err_line; + } + } + + action _alpnl_init { + s->comma_list = true; + } + action _alpnl_exit { + s->comma_list = false; + } + + action _mandatory_init { + s->svcb.mandatory_position = rdata_tail + 2; // Skip 2-B prefix. + } + action _mandatory_exit { + svcb_mandatory_sort(s->svcb.mandatory_position, rdata_tail); + } + + action _rdata_2B_check { + if (rdata_tail + 2 > rdata_stop + 1) { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + } + + svcb_key_generic = ("key" . num16); + svcb_key_mandatory = ("mandatory" %_write16_0); + svcb_key_alpn = ("alpn" %_write16_1); + svcb_key_ndalpn = ("no-default-alpn" %_write16_2); + svcb_key_port = ("port" %_write16_3); + svcb_key_ipv4hint = ("ipv4hint" %_write16_4); + svcb_key_ech = ("ech" %_write16_5); + svcb_key_ipv6hint = ("ipv6hint" %_write16_6); + + mandat_value_ := + (svcb_key_generic | svcb_key_alpn | svcb_key_ndalpn | svcb_key_port | + svcb_key_ipv4hint | svcb_key_ech | svcb_key_ipv6hint + ) >_rdata_2B_check $!_mandat_value_error %_ret . ([,\"] | all_wchar); + mandat_value = alpha ${ fhold; fcall mandat_value_; }; + + svcb_empty = zlen %_write16_0; + svcb_generic_ = (text >_item_length2_init %_item_length2_exit); + svcb_generic = ("=" . svcb_generic_) | svcb_empty; + svcb_mandat_ = ((mandat_value . ("," . mandat_value)*) >_item_length2_init %_item_length2_exit); + svcb_mandat = svcb_mandat_ >_mandatory_init %_mandatory_exit; + svcb_alpn = (text_string >_alpnl_init %_alpnl_exit >_item_length2_init %_item_length2_exit); + svcb_port = num16 >_write16_2 >_rdata_2B_check; + svcb_ipv4 = ((ipv4_addr_write . ("," . ipv4_addr_write)*) >_item_length2_init %_item_length2_exit); + svcb_ech = (base64_quartet+ >_item_length2_init %_item_length2_exit); + svcb_ipv6 = ((ipv6_addr_write . ("," . ipv6_addr_write)*) >_item_length2_init %_item_length2_exit); + + svcb_param_generic = (svcb_key_generic . svcb_generic); + svcb_param_mandatory = (svcb_key_mandatory . "=" . (svcb_mandat | ('\"' . svcb_mandat . '\"'))); + svcb_param_alpn = (svcb_key_alpn . "=" . (svcb_alpn | ('\"' . svcb_alpn . '\"'))); + svcb_param_ndalpn = (svcb_key_ndalpn . svcb_empty); + svcb_param_port = (svcb_key_port . "=" . (svcb_port | ('\"' . svcb_port . '\"'))); + svcb_param_ipv4hint = (svcb_key_ipv4hint . "=" . (svcb_ipv4 | ('\"' . svcb_ipv4 . '\"'))); + svcb_param_ech = (svcb_key_ech . "=" . (svcb_ech | ('\"' . svcb_ech . '\"'))); + svcb_param_ipv6hint = (svcb_key_ipv6hint . "=" . (svcb_ipv6 | ('\"' . svcb_ipv6 . '\"'))); + + svcb_param_any = + (svcb_param_generic | svcb_param_mandatory | svcb_param_alpn | + svcb_param_ndalpn | svcb_param_port | svcb_param_ipv4hint | + svcb_param_ech | svcb_param_ipv6hint + ) >_svcb_param_init %_svcb_param_exit; + svcb_params_ := + ((sep . svcb_param_any)* . sep?) >_svcb_params_init + %_svcb_params_exit $!_svcb_params_error %_ret . end_wchar; + svcb_params = all_wchar ${ fhold; fcall svcb_params_; }; + # END + + # BEGIN - Mnemonic names processing + action _dns_alg_error { + WARN(ZS_BAD_ALGORITHM); + fhold; fgoto err_line; + } + action _cert_type_error { + WARN(ZS_BAD_CERT_TYPE); + fhold; fgoto err_line; + } + + dns_alg_ := + ( number %_num8_write + | "RSAMD5"i %_write8_1 + | "DH"i %_write8_2 + | "DSA"i %_write8_3 + | "RSASHA1"i %_write8_5 + | "DSA-NSEC3-SHA1"i %_write8_6 + | "RSASHA1-NSEC3-SHA1"i %_write8_7 + | "RSASHA256"i %_write8_8 + | "RSASHA512"i %_write8_10 + | "ECC-GOST"i %_write8_12 + | "ECDSAP256SHA256"i %_write8_13 + | "ECDSAP384SHA384"i %_write8_14 + | "ED25519"i %_write8_15 + | "ED448"i %_write8_16 + | "INDIRECT"i %_write8_252 + | "PRIVATEDNS"i %_write8_253 + | "PRIVATEOID"i %_write8_254 + ) $!_dns_alg_error %_ret . all_wchar; + dns_alg = alnum ${ fhold; fcall dns_alg_; }; + + cert_type_ := + ( number %_num16_write + | "PKIX"i %_write16_1 + | "SPKI"i %_write16_2 + | "PGP"i %_write16_3 + | "IPKIX"i %_write16_4 + | "ISPKI"i %_write16_5 + | "IPGP"i %_write16_6 + | "ACPKIX"i %_write16_7 + | "IACPKIX"i %_write16_8 + | "URI"i %_write16_253 + | "OID"i %_write16_254 + ) $!_cert_type_error %_ret . all_wchar; + cert_type = alnum ${ fhold; fcall cert_type_; }; + # END + + # BEGIN - Rdata processing + action _r_data_init { + rdata_tail = s->r_data; + } + action _r_data_error { + WARN(ZS_BAD_RDATA); + fhold; fgoto err_line; + } + + r_data_a := + (ipv4_addr_write) + $!_r_data_error %_ret . all_wchar; + + r_data_ns := + (r_dname) + $!_r_data_error %_ret . all_wchar; + + r_data_soa := + (r_dname . sep . r_dname . sep . num32 . sep . time32 . + sep . time32 . sep . time32 . sep . time32) + $!_r_data_error %_ret . all_wchar; + + r_data_hinfo := + (text_string . sep . text_string) + $!_r_data_error %_ret . all_wchar; + + r_data_minfo := + (r_dname . sep . r_dname) + $!_r_data_error %_ret . all_wchar; + + r_data_mx := + (num16 . sep . r_dname) + $!_r_data_error %_ret . all_wchar; + + r_data_txt := + (text_array) + $!_r_data_error %_ret . end_wchar; + + r_data_aaaa := + (ipv6_addr_write) + $!_r_data_error %_ret . all_wchar; + + r_data_loc := + (loc) + $!_r_data_error %_ret . end_wchar; + + r_data_srv := + (num16 . sep . num16 . sep . num16 . sep . r_dname) + $!_r_data_error %_ret . all_wchar; + + r_data_naptr := + (num16 . sep . num16 . sep . text_string . sep . text_string . + sep . text_string . sep . r_dname) + $!_r_data_error %_ret . all_wchar; + + r_data_cert := + (cert_type . sep . num16 . sep . dns_alg . sep . base64) + $!_r_data_error %_ret . end_wchar; + + r_data_apl := + (apl_array) + $!_r_data_error %_ret . end_wchar; + + r_data_ds := + (num16 . sep . dns_alg . sep . num8 . sep . hex_array) + $!_r_data_error %_ret . end_wchar; + + r_data_sshfp := + (num8 . sep . num8 . sep . hex_array) + $!_r_data_error %_ret . end_wchar; + + r_data_ipseckey := + (num8 . sep . gateway) + $!_r_data_error %_ret . end_wchar; + + r_data_rrsig := + (type_num . sep . dns_alg . sep . num8 . sep . num32 . sep . + timestamp . sep . timestamp . sep . num16 . sep . r_dname . + sep . base64) + $!_r_data_error %_ret . end_wchar; + + r_data_nsec := + (r_dname . bitmap) + $!_r_data_error %_ret . all_wchar; + + r_data_dnskey := + (num16 . sep . num8 . sep . dns_alg . sep . base64) + $!_r_data_error %_ret . end_wchar; + + r_data_dhcid := + (base64) + $!_r_data_error %_ret . end_wchar; + + r_data_nsec3 := + (num8 . sep . num8 . sep . num16 . sep . salt . sep . + hash . bitmap) + $!_r_data_error %_ret . all_wchar; + + r_data_nsec3param := + (num8 . sep . num8 . sep . num16 . sep . salt) + $!_r_data_error %_ret . all_wchar; + + r_data_tlsa := + (num8 . sep . num8 . sep . num8 . sep . hex_array) + $!_r_data_error %_ret . end_wchar; + + r_data_csync := + (num32 . sep . num16 . bitmap) + $!_r_data_error %_ret . all_wchar; + + r_data_zonemd := + (num32 . sep . num8 . sep . num8 . sep . hex_array) + $!_r_data_error %_ret . end_wchar; + + r_data_l32 := + (num16 . sep . l32) + $!_r_data_error %_ret . all_wchar; + + r_data_l64 := + (num16 . sep . l64) + $!_r_data_error %_ret . all_wchar; + + r_data_eui48 := + (eui48) + $!_r_data_error %_ret . all_wchar; + + r_data_eui64 := + (eui64) + $!_r_data_error %_ret . all_wchar; + + r_data_uri := + (num16 . sep . num16 . sep . text) + $!_r_data_error %_ret . all_wchar; + + r_data_caa := + (num8 . sep . text_string . sep . text) + $!_r_data_error %_ret . all_wchar; + + r_data_svcb := + (num16 . sep . r_dname . svcb_params) + $!_r_data_error %_ret . all_wchar; + + action _text_r_data { + fhold; + switch (s->r_type) { + case KNOT_RRTYPE_A: + fcall r_data_a; + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + fcall r_data_ns; + case KNOT_RRTYPE_SOA: + fcall r_data_soa; + case KNOT_RRTYPE_HINFO: + fcall r_data_hinfo; + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + fcall r_data_minfo; + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + fcall r_data_mx; + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + fcall r_data_txt; + case KNOT_RRTYPE_AAAA: + fcall r_data_aaaa; + case KNOT_RRTYPE_LOC: + fcall r_data_loc; + case KNOT_RRTYPE_SRV: + fcall r_data_srv; + case KNOT_RRTYPE_NAPTR: + fcall r_data_naptr; + case KNOT_RRTYPE_CERT: + fcall r_data_cert; + case KNOT_RRTYPE_APL: + fcall r_data_apl; + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + fcall r_data_ds; + case KNOT_RRTYPE_SSHFP: + fcall r_data_sshfp; + case KNOT_RRTYPE_IPSECKEY: + fcall r_data_ipseckey; + case KNOT_RRTYPE_RRSIG: + fcall r_data_rrsig; + case KNOT_RRTYPE_NSEC: + fcall r_data_nsec; + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + fcall r_data_dnskey; + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_OPENPGPKEY: + fcall r_data_dhcid; + case KNOT_RRTYPE_NSEC3: + fcall r_data_nsec3; + case KNOT_RRTYPE_NSEC3PARAM: + fcall r_data_nsec3param; + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + fcall r_data_tlsa; + case KNOT_RRTYPE_CSYNC: + fcall r_data_csync; + case KNOT_RRTYPE_ZONEMD: + fcall r_data_zonemd; + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + fcall r_data_l64; + case KNOT_RRTYPE_L32: + fcall r_data_l32; + case KNOT_RRTYPE_EUI48: + fcall r_data_eui48; + case KNOT_RRTYPE_EUI64: + fcall r_data_eui64; + case KNOT_RRTYPE_URI: + fcall r_data_uri; + case KNOT_RRTYPE_CAA: + fcall r_data_caa; + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + fcall r_data_svcb; + default: + WARN(ZS_CANNOT_TEXT_DATA); + fgoto err_line; + } + } + action _hex_r_data { + switch (s->r_type) { + // Next types must not have empty rdata. + case KNOT_RRTYPE_A: + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + case KNOT_RRTYPE_SOA: + case KNOT_RRTYPE_HINFO: + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + case KNOT_RRTYPE_RP: + case KNOT_RRTYPE_AAAA: + case KNOT_RRTYPE_LOC: + case KNOT_RRTYPE_SRV: + case KNOT_RRTYPE_NAPTR: + case KNOT_RRTYPE_CERT: + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_SSHFP: + case KNOT_RRTYPE_IPSECKEY: + case KNOT_RRTYPE_RRSIG: + case KNOT_RRTYPE_NSEC: + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_DHCID: + case KNOT_RRTYPE_NSEC3: + case KNOT_RRTYPE_NSEC3PARAM: + case KNOT_RRTYPE_TLSA: + case KNOT_RRTYPE_SMIMEA: + case KNOT_RRTYPE_CDS: + case KNOT_RRTYPE_CDNSKEY: + case KNOT_RRTYPE_OPENPGPKEY: + case KNOT_RRTYPE_CSYNC: + case KNOT_RRTYPE_ZONEMD: + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L32: + case KNOT_RRTYPE_L64: + case KNOT_RRTYPE_LP: + case KNOT_RRTYPE_EUI48: + case KNOT_RRTYPE_EUI64: + case KNOT_RRTYPE_URI: + case KNOT_RRTYPE_CAA: + case KNOT_RRTYPE_SVCB: + case KNOT_RRTYPE_HTTPS: + fcall nonempty_hex_r_data; + // Next types can have empty rdata. + case KNOT_RRTYPE_APL: + default: + fcall hex_r_data; + } + } + + # Avoidance of multiple fhold at the input block end. + action _wrap_in { + if (pe - p == 1) { + *wrap = WRAP_DETECTED; + } + } + action _wrap_out { + if (*wrap == WRAP_NONE) { + fhold; + } + } + + # rdata can be in text or hex format with leading "\#" string. + r_data = + ( sep . ^('\\' | all_wchar) $_text_r_data + | sep . '\\' $_wrap_in . ^'#' $_wrap_out $_text_r_data + | sep . '\\' . '#' $_hex_r_data # Hex format. + | sep? . end_wchar $_text_r_data # Empty rdata. + ) >_r_data_init $!_r_data_error; + # END + + # BEGIN - Record type processing + action _r_type_error { + WARN(ZS_UNSUPPORTED_TYPE); + fhold; fgoto err_line; + } + + r_type = + ( "A"i %{ s->r_type = KNOT_RRTYPE_A; } + | "NS"i %{ s->r_type = KNOT_RRTYPE_NS; } + | "CNAME"i %{ s->r_type = KNOT_RRTYPE_CNAME; } + | "SOA"i %{ s->r_type = KNOT_RRTYPE_SOA; } + | "PTR"i %{ s->r_type = KNOT_RRTYPE_PTR; } + | "HINFO"i %{ s->r_type = KNOT_RRTYPE_HINFO; } + | "MINFO"i %{ s->r_type = KNOT_RRTYPE_MINFO; } + | "MX"i %{ s->r_type = KNOT_RRTYPE_MX; } + | "TXT"i %{ s->r_type = KNOT_RRTYPE_TXT; } + | "RP"i %{ s->r_type = KNOT_RRTYPE_RP; } + | "AFSDB"i %{ s->r_type = KNOT_RRTYPE_AFSDB; } + | "RT"i %{ s->r_type = KNOT_RRTYPE_RT; } + | "KEY"i %{ s->r_type = KNOT_RRTYPE_KEY; } + | "AAAA"i %{ s->r_type = KNOT_RRTYPE_AAAA; } + | "LOC"i %{ s->r_type = KNOT_RRTYPE_LOC; } + | "SRV"i %{ s->r_type = KNOT_RRTYPE_SRV; } + | "NAPTR"i %{ s->r_type = KNOT_RRTYPE_NAPTR; } + | "KX"i %{ s->r_type = KNOT_RRTYPE_KX; } + | "CERT"i %{ s->r_type = KNOT_RRTYPE_CERT; } + | "DNAME"i %{ s->r_type = KNOT_RRTYPE_DNAME; } + | "APL"i %{ s->r_type = KNOT_RRTYPE_APL; } + | "DS"i %{ s->r_type = KNOT_RRTYPE_DS; } + | "SSHFP"i %{ s->r_type = KNOT_RRTYPE_SSHFP; } + | "IPSECKEY"i %{ s->r_type = KNOT_RRTYPE_IPSECKEY; } + | "RRSIG"i %{ s->r_type = KNOT_RRTYPE_RRSIG; } + | "NSEC"i %{ s->r_type = KNOT_RRTYPE_NSEC; } + | "DNSKEY"i %{ s->r_type = KNOT_RRTYPE_DNSKEY; } + | "DHCID"i %{ s->r_type = KNOT_RRTYPE_DHCID; } + | "NSEC3"i %{ s->r_type = KNOT_RRTYPE_NSEC3; } + | "NSEC3PARAM"i %{ s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + | "TLSA"i %{ s->r_type = KNOT_RRTYPE_TLSA; } + | "SMIMEA"i %{ s->r_type = KNOT_RRTYPE_SMIMEA; } + | "CDS"i %{ s->r_type = KNOT_RRTYPE_CDS; } + | "CDNSKEY"i %{ s->r_type = KNOT_RRTYPE_CDNSKEY; } + | "OPENPGPKEY"i %{ s->r_type = KNOT_RRTYPE_OPENPGPKEY; } + | "CSYNC"i %{ s->r_type = KNOT_RRTYPE_CSYNC; } + | "ZONEMD"i %{ s->r_type = KNOT_RRTYPE_ZONEMD; } + | "SPF"i %{ s->r_type = KNOT_RRTYPE_SPF; } + | "NID"i %{ s->r_type = KNOT_RRTYPE_NID; } + | "L32"i %{ s->r_type = KNOT_RRTYPE_L32; } + | "L64"i %{ s->r_type = KNOT_RRTYPE_L64; } + | "LP"i %{ s->r_type = KNOT_RRTYPE_LP; } + | "EUI48"i %{ s->r_type = KNOT_RRTYPE_EUI48; } + | "EUI64"i %{ s->r_type = KNOT_RRTYPE_EUI64; } + | "URI"i %{ s->r_type = KNOT_RRTYPE_URI; } + | "CAA"i %{ s->r_type = KNOT_RRTYPE_CAA; } + | "SVCB"i %{ s->r_type = KNOT_RRTYPE_SVCB; } + | "HTTPS"i %{ s->r_type = KNOT_RRTYPE_HTTPS; } + | "TYPE"i . type_number + ) $!_r_type_error; + # END + + # BEGIN - The highest level processing + action _record_exit { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + s->r_data_length = rdata_tail - s->r_data; + + s->state = ZS_STATE_DATA; + + // Execute the record callback. + if (s->process.automatic) { + if (s->process.record != NULL) { + s->process.record(s); + + // Stop if required from the callback. + if (s->state == ZS_STATE_STOP) { + fbreak; + } + } + } else { + // Return if external processing. + fhold; fbreak; + } + } + + # Resource record. + record = + r_owner . sep . + ( (r_class . sep . ((r_ttl . sep) | (zlen %_default_r_ttl_exit ))) + | (r_ttl . sep . ((r_class . sep) | (zlen %_default_r_class_exit))) + | zlen %_default_r_class_exit %_default_r_ttl_exit + ) $!_r_type_error . + r_type . r_data . + rest %_record_exit . + newline; + + # Blank spaces with comments. + blank = rest . newline; + + # Main processing loop. + main := (record | directive | blank)*; + # END +}%% diff --git a/src/libzscanner/version.h b/src/libzscanner/version.h new file mode 100644 index 0000000..54762bf --- /dev/null +++ b/src/libzscanner/version.h @@ -0,0 +1,25 @@ +/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +#pragma once + +#define ZSCANNER_VERSION_MAJOR 3 +#define ZSCANNER_VERSION_MINOR 2 +#define ZSCANNER_VERSION_PATCH 0x06 + +#define ZSCANNER_VERSION_HEX ((ZSCANNER_VERSION_MAJOR << 16) | \ + (ZSCANNER_VERSION_MINOR << 8) | \ + (ZSCANNER_VERSION_PATCH)) diff --git a/src/libzscanner/version.h.in b/src/libzscanner/version.h.in new file mode 100644 index 0000000..72eaf31 --- /dev/null +++ b/src/libzscanner/version.h.in @@ -0,0 +1,25 @@ +/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +#pragma once + +#define ZSCANNER_VERSION_MAJOR @KNOT_VERSION_MAJOR@ +#define ZSCANNER_VERSION_MINOR @KNOT_VERSION_MINOR@ +#define ZSCANNER_VERSION_PATCH 0x0@KNOT_VERSION_PATCH@ + +#define ZSCANNER_VERSION_HEX ((ZSCANNER_VERSION_MAJOR << 16) | \ + (ZSCANNER_VERSION_MINOR << 8) | \ + (ZSCANNER_VERSION_PATCH)) |