diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:53:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:53:35 +0000 |
commit | 69c6a41ffb878ef98c9378ed4b1634a404cfaa7f (patch) | |
tree | b2a4f704565d62fbb129ab9dc3b35977c50e6e7f /src/libzscanner | |
parent | Initial commit. (diff) | |
download | knot-69c6a41ffb878ef98c9378ed4b1634a404cfaa7f.tar.xz knot-69c6a41ffb878ef98c9378ed4b1634a404cfaa7f.zip |
Adding upstream version 2.7.6.upstream/2.7.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 | 39 | ||||
-rw-r--r-- | src/libzscanner/error.c | 188 | ||||
-rw-r--r-- | src/libzscanner/error.h | 111 | ||||
-rw-r--r-- | src/libzscanner/functions.c | 821 | ||||
-rw-r--r-- | src/libzscanner/functions.h | 110 | ||||
-rw-r--r-- | src/libzscanner/scanner.c.g2 | 85519 | ||||
-rw-r--r-- | src/libzscanner/scanner.c.t0 | 8509 | ||||
-rw-r--r-- | src/libzscanner/scanner.h | 370 | ||||
-rw-r--r-- | src/libzscanner/scanner.rl | 541 | ||||
-rw-r--r-- | src/libzscanner/scanner_body.rl | 2088 | ||||
-rw-r--r-- | src/libzscanner/version.h | 25 | ||||
-rw-r--r-- | src/libzscanner/version.h.in | 25 |
13 files changed, 98359 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..1a03536 --- /dev/null +++ b/src/libzscanner/Makefile.inc @@ -0,0 +1,39 @@ +lib_LTLIBRARIES += libzscanner.la +pkgconfig_DATA += libzscanner.pc + +libzscanner_la_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAG_VISIBILITY) +libzscanner_la_LDFLAGS = $(AM_LDFLAGS) $(libzscanner_VERSION_INFO) $(LDFLAG_EXCLUDE_LIBS) +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..da487fb --- /dev/null +++ b/src/libzscanner/error.c @@ -0,0 +1,188 @@ +/* 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 <http://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( 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..c547127 --- /dev/null +++ b/src/libzscanner/error.h @@ -0,0 +1,111 @@ +/* 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 <http://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 +}; + +/*! + * \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..d9a1477 --- /dev/null +++ b/src/libzscanner/functions.c @@ -0,0 +1,821 @@ +/* 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 <http://www.gnu.org/licenses/>. + */ + +#include <stdint.h> +#include <stdlib.h> + +#include "libzscanner/error.h" +#include "libzscanner/functions.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 +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, +}; + +// 0 ~ 1970 ... 135 ~ 2105 +static const uint16_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, +}; + +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 > 2105 || 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); +} diff --git a/src/libzscanner/functions.h b/src/libzscanner/functions.h new file mode 100644 index 0000000..ba1bc16 --- /dev/null +++ b/src/libzscanner/functions.h @@ -0,0 +1,110 @@ +/* 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 <http://www.gnu.org/licenses/>. + */ +/*! + * \file + * + * \brief Zone scanner auxiliary functions. + * + * \addtogroup zone_scanner + * @{ + */ + +#pragma once + +#include <stdint.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 containg 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 mantisa*10^(exponent). + * + * Given number is encoded as two 4-bit numbers. First part is mantisa [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); + +/*! @} */ diff --git a/src/libzscanner/scanner.c.g2 b/src/libzscanner/scanner.c.g2 new file mode 100644 index 0000000..ad1d774 --- /dev/null +++ b/src/libzscanner/scanner.c.g2 @@ -0,0 +1,85519 @@ + +/* 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 <http://www.gnu.org/licenses/>. + */ + +#include <arpa/inet.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 + +/*! \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 = 1127; + + // 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(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-emtpy 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. + (void)madvise(start, size, MADV_SEQUENTIAL); + } + + // Set the scanner input limits. + s->input.start = start; + s->input.current = start; + s->input.end = start + size; + + // 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; +} + +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 1127: goto st1127; + 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 1128: goto st1128; + 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 1129: goto st1129; + 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 1130: goto st1130; + 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 1131: goto st1131; + case 160: goto st160; + case 161: goto st161; + case 162: goto st162; + case 1132: goto st1132; + 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 1133: goto st1133; + case 174: goto st174; + case 175: goto st175; + case 176: goto st176; + case 177: goto st177; + case 1134: goto st1134; + 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 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 192: goto st192; + case 193: goto st193; + case 1135: goto st1135; + case 194: goto st194; + 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 206: goto st206; + case 207: goto st207; + case 208: goto st208; + case 209: goto st209; + case 1136: goto st1136; + 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 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 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 1137: goto st1137; + case 270: goto st270; + case 271: goto st271; + case 1138: goto st1138; + 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 1139: goto st1139; + case 1140: goto st1140; + 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 1141: goto st1141; + 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 1142: goto st1142; + case 305: goto st305; + case 306: goto st306; + case 307: goto st307; + case 308: goto st308; + case 309: goto st309; + case 310: goto st310; + 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 1143: goto st1143; + case 319: goto st319; + 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 1144: goto st1144; + 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 1145: goto st1145; + case 1146: goto st1146; + case 1147: goto st1147; + 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 1148: goto st1148; + case 1149: goto st1149; + case 343: goto st343; + case 344: goto st344; + case 345: goto st345; + case 1150: goto st1150; + 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 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 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 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 383: goto st383; + case 384: goto st384; + case 385: goto st385; + 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 1151: goto st1151; + case 1152: goto st1152; + case 1153: goto st1153; + case 475: goto st475; + case 476: goto st476; + case 477: goto st477; + case 478: goto st478; + case 479: goto st479; + case 1154: goto st1154; + case 480: goto st480; + case 481: goto st481; + case 482: goto st482; + case 483: goto st483; + case 1155: goto st1155; + case 1156: goto st1156; + case 1157: goto st1157; + case 484: goto st484; + case 485: goto st485; + case 1158: goto st1158; + case 486: goto st486; + case 487: goto st487; + case 488: goto st488; + case 1159: goto st1159; + 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 547: goto st547; + case 548: goto st548; + case 549: goto st549; + case 550: goto st550; + case 551: goto st551; + case 552: goto st552; + case 553: goto st553; + case 554: goto st554; + case 555: goto st555; + case 556: goto st556; + case 557: goto st557; + 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 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 1160: goto st1160; + 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 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 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 1161: goto st1161; + case 634: goto st634; + case 635: goto st635; + case 1162: goto st1162; + 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 1163: goto st1163; + 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 1164: goto st1164; + case 672: goto st672; + case 673: goto st673; + case 674: goto st674; + case 675: goto st675; + case 676: goto st676; + case 1165: goto st1165; + case 677: goto st677; + case 678: goto st678; + case 679: goto st679; + case 680: goto st680; + case 681: goto st681; + case 1166: goto st1166; + case 682: goto st682; + case 683: goto st683; + case 684: goto st684; + case 685: goto st685; + case 686: goto st686; + case 1167: goto st1167; + case 1168: goto st1168; + case 1169: goto st1169; + case 687: goto st687; + case 688: goto st688; + case 1170: goto st1170; + 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 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 1171: goto st1171; + case 1172: goto st1172; + case 1173: goto st1173; + case 716: goto st716; + case 717: goto st717; + case 718: goto st718; + case 1174: goto st1174; + case 1175: goto st1175; + case 719: goto st719; + case 720: goto st720; + case 721: goto st721; + case 722: goto st722; + case 1176: goto st1176; + case 1177: goto st1177; + case 723: goto st723; + case 724: goto st724; + case 725: goto st725; + case 726: goto st726; + case 1178: goto st1178; + case 1179: goto st1179; + 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 1180: goto st1180; + 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 1181: goto st1181; + 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 1182: goto st1182; + 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 1183: goto st1183; + case 1184: goto st1184; + case 791: goto st791; + case 792: goto st792; + case 793: goto st793; + case 1185: goto st1185; + 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 1186: goto st1186; + case 1187: goto st1187; + case 1188: goto st1188; + case 804: goto st804; + 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 1189: goto st1189; + case 1190: goto st1190; + case 1191: goto st1191; + 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 1192: goto st1192; + case 827: goto st827; + case 828: goto st828; + case 829: goto st829; + case 1193: goto st1193; + case 1194: goto st1194; + case 830: goto st830; + case 1195: goto st1195; + case 1196: goto st1196; + case 831: goto st831; + case 1197: goto st1197; + case 1198: goto st1198; + 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 846: goto st846; + case 847: goto st847; + 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 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 1199: goto st1199; + 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 884: goto st884; + case 885: goto st885; + case 886: goto st886; + case 887: goto st887; + case 888: goto st888; + case 889: goto st889; + case 890: goto st890; + case 891: goto st891; + case 892: goto st892; + case 893: goto st893; + case 894: goto st894; + case 895: goto st895; + case 896: goto st896; + case 897: goto st897; + case 898: goto st898; + case 899: goto st899; + case 900: goto st900; + 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 928: goto st928; + case 929: goto st929; + case 930: goto st930; + case 931: goto st931; + case 932: goto st932; + case 933: goto st933; + case 934: goto st934; + case 935: goto st935; + case 936: goto st936; + case 937: goto st937; + case 938: goto st938; + 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 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 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 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 1003: goto st1003; + case 1004: goto st1004; + case 1005: goto st1005; + 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 1200: goto st1200; + case 1013: goto st1013; + case 1014: goto st1014; + case 1015: goto st1015; + case 1016: goto st1016; + case 1017: goto st1017; + case 1018: goto st1018; + case 1019: goto st1019; + case 1020: goto st1020; + case 1201: goto st1201; + case 1021: goto st1021; + case 1022: goto st1022; + case 1023: goto st1023; + case 1024: goto st1024; + case 1025: goto st1025; + case 1202: goto st1202; + case 1026: goto st1026; + 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 1039: goto st1039; + case 1040: goto st1040; + case 1041: goto st1041; + case 1042: goto st1042; + case 1043: goto st1043; + case 1203: goto st1203; + 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 1204: goto st1204; + 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 1205: goto st1205; + case 1206: goto st1206; + case 1207: goto st1207; + 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 1208: goto st1208; + case 1085: goto st1085; + 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 1209: goto st1209; + 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 1210: goto st1210; + 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 1211: goto st1211; + 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 1212: goto st1212; + 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 1213: goto st1213; + case 1125: goto st1125; + case 1126: goto st1126; + default: break; + } + + if ( ++p == pe ) + goto _test_eof; +_resume: + switch ( cs ) + { +tr20: + { + s->line_counter++; + } + goto st1127; +tr83: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1127; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1127; goto _out;} + } + } + { + s->line_counter++; + } + goto st1127; +tr89: + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1127; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1127; goto _out;} + } + } + { + s->line_counter++; + } + goto st1127; +tr92: + { + s->buffer[s->buffer_length++] = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1127; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1127; goto _out;} + } + } + { + s->line_counter++; + } + goto st1127; +tr666: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1127; +tr760: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer[s->buffer_length++] = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1127; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1127; goto _out;} + } + } + { + s->line_counter++; + } + goto st1127; +tr878: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1127; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1127; goto _out;} + } + } + { + s->line_counter++; + } + { + s->buffer[s->buffer_length++] = 0; + } + goto st1127; +tr882: + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1127; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1127; goto _out;} + } + } + { + s->line_counter++; + } + { + s->buffer[s->buffer_length++] = 0; + } + goto st1127; +tr3618: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->line_counter++; + } + goto st1127; +tr3678: + { + NOERR; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->line_counter++; + } + goto st1127; +st1127: + if ( ++p == pe ) + goto _test_eof1127; +case 1127: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3613; + case 32: goto tr3613; + case 36: goto st152; + case 40: goto tr3615; + case 41: goto tr3616; + case 42: goto tr3617; + case 92: goto tr3617; + case 95: goto tr3617; + case 778: goto tr3618; + case 827: goto tr3619; + case 1034: goto tr3620; + case 1083: goto tr3621; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3617; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3617; + } else + goto tr3617; + goto tr3612; +tr0: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr24: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + goto st0; +tr36: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + goto st0; +tr57: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr71: + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr79: + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr85: + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr114: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr139: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr145: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr583: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + goto st0; +tr585: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr667: + { + ERR(ZS_BAD_DIRECTIVE); + p--; {goto st268;} + } + goto st0; +tr678: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + goto st0; +tr692: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + goto st0; +tr720: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr735: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr773: + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + { + ERR(ZS_BAD_DIRECTIVE); + p--; {goto st268;} + } + goto st0; +tr783: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr789: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr802: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr816: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr908: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + goto st0; +tr919: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {goto st268;} + } + goto st0; +tr932: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {goto st268;} + } + goto st0; +tr940: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_TEXT); + p--; {goto st268;} + } + goto st0; +tr946: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_TEXT); + p--; {goto st268;} + } + goto st0; +tr957: + { + WARN(ZS_BAD_TEXT); + p--; {goto st268;} + } + goto st0; +tr964: + { + ERR(ZS_BAD_TTL); + p--; {goto st268;} + } + goto st0; +tr970: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st268;} + } + goto st0; +tr972: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st268;} + } + goto st0; +tr984: + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st268;} + } + goto st0; +tr993: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; {goto st268;} + } + goto st0; +tr1008: + { + ERR(ZS_BAD_ORIGIN); + p--; {goto st268;} + } + goto st0; +tr1020: + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; {goto st268;} + } + goto st0; +tr1036: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; {goto st268;} + } + goto st0; +tr1050: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + goto st0; +tr1051: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr1058: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr1068: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {goto st268;} + } + goto st0; +tr1085: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {goto st268;} + } + goto st0; +tr1102: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; {goto st268;} + } + goto st0; +tr1118: + { + WARN(ZS_BAD_BITMAP); + p--; {goto st268;} + } + goto st0; +tr1611: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st268;} + } + goto st0; +tr1617: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st268;} + } + goto st0; +tr1625: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; {goto st268;} + } + goto st0; +tr1687: + { + WARN(ZS_BAD_ALGORITHM); + p--; {goto st268;} + } + goto st0; +tr1809: + { + WARN(ZS_BAD_CERT_TYPE); + p--; {goto st268;} + } + goto st0; +tr1862: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr1885: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr1904: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2070: + { + s->long_string = false; + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2093: + { + WARN(ZS_BAD_LOC_DATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2496: + { + WARN(ZS_BAD_APL); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2511: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_APL); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2556: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2627: + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2642: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2656: + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2679: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2703: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2710: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2829: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr2883: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr3262: + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr3363: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr3530: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_CHAR_COLON); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr3536: + { + WARN(ZS_BAD_CHAR_COLON); + p--; {goto st268;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr3542: + { + WARN(ZS_BAD_CHAR_DASH); + p--; {goto st268;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + goto st0; +tr3612: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr3634: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr3655: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr3672: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + ERR(ZS_BAD_DIRECTIVE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +tr3696: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; {goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; {goto st268;} + } + goto st0; +st0: +cs = 0; + goto _out; +tr2: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1; +tr3: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1; +tr3613: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr3615: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr3616: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr3682: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr3683: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr3673: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr3675: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1; +tr3676: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 80: goto tr15; + case 82: goto tr16; + case 83: goto tr17; + case 84: goto tr18; + case 85: goto tr19; + 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 112: goto tr15; + case 114: goto tr16; + case 115: goto tr17; + case 116: goto tr18; + case 117: goto tr19; + case 778: goto tr20; + case 827: goto tr21; + case 1034: goto tr22; + case 1083: goto tr23; + } + 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 st268;} + } + } + goto st2; +tr28: + { + // 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 st268;} + } + } + goto st2; +st2: + if ( ++p == pe ) + goto _test_eof2; +case 2: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr25; + case 32: goto tr25; + case 40: goto tr26; + case 41: goto tr27; + case 68: goto tr29; + case 72: goto tr30; + case 77: goto tr31; + case 83: goto st166; + case 87: goto tr33; + case 100: goto tr29; + case 104: goto tr30; + case 109: goto tr31; + case 115: goto st166; + case 119: goto tr33; + case 1034: goto tr34; + case 1083: goto tr35; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr28; + goto tr24; +tr38: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st3; +tr39: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st3; +tr55: + { + s->line_counter++; + } + goto st3; +tr25: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st3; +tr26: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st3; +tr27: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st3; +tr34: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st3; +tr719: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st3; +tr712: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st3; +tr713: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st3; +tr714: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st3; +tr716: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st3; + case 32: goto st3; + case 40: goto tr38; + case 41: goto tr39; + case 65: goto tr40; + case 67: goto tr41; + case 68: goto tr42; + case 69: goto tr43; + case 72: goto tr44; + case 73: goto tr45; + case 75: goto tr46; + case 76: goto tr47; + case 77: goto tr48; + case 78: goto tr49; + case 80: goto tr50; + case 82: goto tr51; + case 83: goto tr52; + case 84: goto tr53; + case 85: goto tr54; + case 97: goto tr40; + case 99: goto tr41; + case 100: goto tr42; + case 101: goto tr43; + case 104: goto tr44; + case 105: goto tr45; + case 107: goto tr46; + case 108: goto tr47; + case 109: goto tr48; + case 110: goto tr49; + case 112: goto tr50; + case 114: goto tr51; + case 115: goto tr52; + case 116: goto tr53; + case 117: goto tr54; + case 1034: goto tr55; + case 1083: goto tr56; + } + goto tr36; +tr5: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st4; +tr40: + { + s->r_class = s->default_class; + } + goto st4; +tr622: + { + 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)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr58; + case 32: goto tr58; + case 40: goto tr59; + case 41: goto tr60; + case 65: goto st230; + case 70: goto st233; + case 80: goto st237; + case 97: goto st230; + case 102: goto st233; + case 112: goto st237; + case 2058: goto tr64; + case 2107: goto tr65; + case 2314: goto tr66; + case 2363: goto tr66; + case 2570: goto tr67; + case 2619: goto tr68; + } + goto tr57; +tr72: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr73: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr75: + { + s->line_counter++; + } + goto st5; +tr58: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st5; +tr59: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr60: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr64: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr96: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st5; +tr156: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr157: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr158: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr159: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr178: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr179: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr180: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr181: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr186: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + goto st5; +tr187: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr188: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr189: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr196: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + goto st5; +tr197: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr198: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr199: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr207: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + goto st5; +tr208: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr209: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr210: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr221: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + goto st5; +tr222: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr223: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr224: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr233: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + goto st5; +tr234: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr235: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr236: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr244: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr245: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr246: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr247: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr252: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + goto st5; +tr253: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr254: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr255: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr265: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + goto st5; +tr266: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr267: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr268: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr274: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + goto st5; +tr275: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr276: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr277: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr286: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + goto st5; +tr287: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr288: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr289: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr327: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr328: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr329: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr330: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr338: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + goto st5; +tr339: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr340: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr341: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr346: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + goto st5; +tr347: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr348: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr349: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr359: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + goto st5; +tr360: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr361: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr362: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr368: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + goto st5; +tr369: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr370: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr371: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr377: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + goto st5; +tr378: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr379: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr380: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr385: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + goto st5; +tr386: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr387: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr388: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr398: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + goto st5; +tr399: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr400: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr401: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr406: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + goto st5; +tr407: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr408: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr409: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr420: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + goto st5; +tr421: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr422: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr423: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr429: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + goto st5; +tr430: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr431: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr432: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr437: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + goto st5; +tr438: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr439: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr441: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr447: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + goto st5; +tr448: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr449: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr451: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr456: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + goto st5; +tr457: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr458: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr460: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr469: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + goto st5; +tr470: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr471: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr472: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr479: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + goto st5; +tr480: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr481: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr482: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr490: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + goto st5; +tr491: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr492: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr493: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr501: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + goto st5; +tr502: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr503: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr504: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr509: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + goto st5; +tr510: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr511: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr512: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr522: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr523: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr524: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr525: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr531: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + goto st5; +tr532: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr533: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr534: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr540: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + goto st5; +tr541: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr542: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr543: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr551: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + goto st5; +tr552: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr553: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr554: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr564: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr565: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr566: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr567: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr573: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + goto st5; +tr574: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr575: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr576: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr586: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + goto st5; +tr587: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr588: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr590: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr597: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + goto st5; +tr598: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr599: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr600: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr845: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + goto st5; +tr846: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr847: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr848: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr856: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + goto st5; +tr857: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr858: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr859: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + goto st5; +tr865: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + goto st5; +tr866: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st5; +tr867: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st5; +tr868: + { 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)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 tr72; + case 41: goto tr73; + case 92: goto tr74; + case 2058: goto tr75; + case 2107: goto tr76; + case 2314: goto tr69; + case 2363: goto tr69; + case 2570: goto tr77; + case 2619: goto tr78; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr69; + } else + goto tr69; + goto tr71; +tr66: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr69: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr93: + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr94: + { + 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_CDS: + case KNOT_RRTYPE_CDNSKEY: + 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: + {stack[top++] = 6;goto st468;} + // Next types can have empty rdata. + case KNOT_RRTYPE_APL: + default: + {stack[top++] = 6;goto st477;} + } + } + goto st6; +tr161: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr183: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr191: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr201: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr212: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr226: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr238: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr249: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr257: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr270: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr279: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr291: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr332: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr343: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr351: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr364: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr373: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr382: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr390: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr403: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr411: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr425: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr434: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr443: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr453: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr462: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr474: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr484: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr495: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr506: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr514: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr527: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr536: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr545: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr556: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr569: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr578: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr592: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr602: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr850: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr861: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +tr870: + { s->r_type = KNOT_RRTYPE_APL; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 6;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 6;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 6;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 6;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 6;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 6;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 6;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 6;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 6;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 6;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 6;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 6;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 6;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 6;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 6;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 6;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 6;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 6;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 6;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 6;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 6;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 6;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 6;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 6;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 6;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 6;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 6;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 6;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 6;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st6; +st6: + if ( ++p == pe ) + goto _test_eof6; +case 6: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr79; +tr87: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st7; +tr88: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st7; +tr80: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st7; +tr81: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st7; +tr82: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st7; + case 32: goto st7; + case 40: goto tr87; + case 41: goto tr88; + case 778: goto tr89; + case 827: goto tr90; + case 1034: goto tr89; + case 1083: goto tr90; + } + goto tr85; +tr90: + { + s->buffer_length = 0; + } + goto st8; +tr84: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st8; +tr91: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st8; +tr761: + { + 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; +tr765: + { + 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 tr92; + goto tr91; +tr74: + { + if (pe - p == 1) { + *wrap = WRAP_DETECTED; + } + } + goto st9; +st9: + if ( ++p == pe ) + goto _test_eof9; +case 9: + if ( (*p) == 35 ) + goto tr94; + goto tr93; +tr76: + { + s->buffer_length = 0; + } + goto st10; +tr65: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr95: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st10; +tr160: + { s->r_type = KNOT_RRTYPE_CAA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr182: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr190: + { s->r_type = KNOT_RRTYPE_CDS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr200: + { s->r_type = KNOT_RRTYPE_CERT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr211: + { s->r_type = KNOT_RRTYPE_CNAME; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr225: + { s->r_type = KNOT_RRTYPE_DHCID; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr237: + { s->r_type = KNOT_RRTYPE_DNAME; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr248: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr256: + { s->r_type = KNOT_RRTYPE_DS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr269: + { s->r_type = KNOT_RRTYPE_EUI48; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr278: + { s->r_type = KNOT_RRTYPE_EUI64; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr290: + { s->r_type = KNOT_RRTYPE_HINFO; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr331: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr342: + { s->r_type = KNOT_RRTYPE_KEY; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr350: + { s->r_type = KNOT_RRTYPE_KX; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr363: + { s->r_type = KNOT_RRTYPE_L32; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr372: + { s->r_type = KNOT_RRTYPE_L64; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr381: + { s->r_type = KNOT_RRTYPE_LOC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr389: + { s->r_type = KNOT_RRTYPE_LP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr402: + { s->r_type = KNOT_RRTYPE_MINFO; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr410: + { s->r_type = KNOT_RRTYPE_MX; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr424: + { s->r_type = KNOT_RRTYPE_NAPTR; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr433: + { s->r_type = KNOT_RRTYPE_NID; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr442: + { s->r_type = KNOT_RRTYPE_NS; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr452: + { s->r_type = KNOT_RRTYPE_NSEC; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr461: + { s->r_type = KNOT_RRTYPE_NSEC3; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr473: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr483: + { s->r_type = KNOT_RRTYPE_PTR; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr494: + { s->r_type = KNOT_RRTYPE_RP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr505: + { s->r_type = KNOT_RRTYPE_RRSIG; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr513: + { s->r_type = KNOT_RRTYPE_RT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr526: + { s->r_type = KNOT_RRTYPE_SOA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr535: + { s->r_type = KNOT_RRTYPE_SPF; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr544: + { s->r_type = KNOT_RRTYPE_SRV; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr555: + { s->r_type = KNOT_RRTYPE_SSHFP; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr568: + { s->r_type = KNOT_RRTYPE_TLSA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr577: + { s->r_type = KNOT_RRTYPE_TXT; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr591: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr601: + { s->r_type = KNOT_RRTYPE_URI; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr849: + { s->r_type = KNOT_RRTYPE_AAAA; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr860: + { s->r_type = KNOT_RRTYPE_AFSDB; } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + goto st10; +tr869: + { 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr96; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr95; + goto tr71; +tr67: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr77: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr162: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr184: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr192: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr202: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr213: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr227: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr239: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr250: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr258: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr271: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr280: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr292: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr333: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr344: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr352: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr365: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr374: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr383: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr391: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr404: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr412: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr426: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr435: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr444: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr454: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr463: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr475: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr485: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr496: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr507: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr515: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr528: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr537: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr546: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr557: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr570: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr579: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr593: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 11;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr603: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr851: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr862: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +tr871: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 11;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 11;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 11;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 11;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 11;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 11;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 11;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 11;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 11;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 11;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 11;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 11;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 11;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 11;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 11;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 11;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 11;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 11;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 11;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 11;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 11;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 11;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 11;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 11;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 11;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 11;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 11;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 11;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st11; +st11: + if ( ++p == pe ) + goto _test_eof11; +case 11: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr97; + case 32: goto tr97; + case 40: goto tr98; + case 41: goto tr99; + case 92: goto tr74; + case 1802: goto tr83; + case 1851: goto tr84; + case 2058: goto tr83; + case 2107: goto tr100; + case 2314: goto tr101; + case 2363: goto tr102; + case 2570: goto tr83; + case 2619: goto tr103; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr69; + } else + goto tr69; + goto tr79; +tr105: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st12; +tr106: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st12; +tr97: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st12; +tr98: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st12; +tr99: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + 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)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 tr105; + case 41: goto tr106; + case 92: goto tr74; + case 1802: goto tr89; + case 1851: goto tr90; + case 2058: goto tr89; + case 2107: goto tr107; + case 2314: goto tr108; + case 2363: goto tr109; + case 2570: goto tr89; + case 2619: goto tr110; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr69; + } else + goto tr69; + goto tr79; +tr107: + { + s->buffer_length = 0; + } + goto st13; +tr111: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st13; +tr100: + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st13; +tr167: + { + 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; +tr171: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer_length = 0; + } + goto st13; +tr740: + { 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr92; + case 1034: goto tr112; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr111; + } else if ( _widec >= 640 ) + goto tr91; + goto tr79; +tr112: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1128; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1128; goto _out;} + } + } + goto st1128; +tr748: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1128; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1128; goto _out;} + } + } + goto st1128; +tr739: + { 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 st268;} + } + 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 = 1128; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1128; goto _out;} + } + } + goto st1128; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr3622; + case 32: goto tr3622; + case 36: goto tr3623; + case 40: goto tr3624; + case 41: goto tr3625; + case 42: goto tr3626; + case 58: goto tr69; + case 92: goto tr3627; + case 95: goto tr3626; + case 1802: goto tr3618; + case 1851: goto tr3619; + case 2058: goto tr3628; + case 2107: goto tr3629; + case 2314: goto tr3630; + case 2363: goto tr3631; + case 2570: goto tr3632; + case 2619: goto tr3633; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 44 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3626; + } else + goto tr69; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 90 ) + goto tr3626; + } else if ( _widec > 96 ) { + if ( _widec > 122 ) { + if ( 123 <= _widec ) + goto tr69; + } else if ( _widec >= 97 ) + goto tr3626; + } else + goto tr69; + } else + goto tr69; + goto tr783; +tr115: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st14; +tr116: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st14; +tr3622: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st14; +tr3624: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st14; +tr3625: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + 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)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 tr115; + case 41: goto tr116; + case 58: goto tr69; + case 65: goto tr118; + case 67: goto tr119; + case 68: goto tr120; + case 69: goto tr121; + case 72: goto tr122; + case 73: goto tr123; + case 75: goto tr124; + case 76: goto tr125; + case 77: goto tr126; + case 78: goto tr127; + case 80: goto tr128; + case 82: goto tr129; + case 83: goto tr130; + case 84: goto tr131; + case 85: goto tr132; + case 92: goto tr74; + case 97: goto tr118; + case 99: goto tr119; + case 100: goto tr120; + case 101: goto tr121; + case 104: goto tr122; + case 105: goto tr123; + case 107: goto tr124; + case 108: goto tr125; + case 109: goto tr126; + case 110: goto tr127; + case 112: goto tr128; + case 114: goto tr129; + case 115: goto tr130; + case 116: goto tr131; + case 117: goto tr132; + case 1802: goto tr20; + case 1851: goto tr21; + case 2058: goto tr133; + case 2107: goto tr134; + case 2314: goto tr135; + case 2363: goto tr136; + case 2570: goto tr137; + case 2619: goto tr138; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr69; + } else if ( _widec >= 48 ) + goto tr117; + } else + goto tr69; + goto tr114; +tr117: + { + 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 st268;} + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 15;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 15;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 15;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 15;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 15;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 15;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 15;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 15;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 15;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 15;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 15;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 15;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 15;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 15;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 15;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 15;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 15;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 15;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 15;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 15;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 15;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 15;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 15;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 15;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 15;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 15;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 15;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 15;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 15;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st15; +st15: + if ( ++p == pe ) + goto _test_eof15; +case 15: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr140; + case 32: goto tr140; + case 40: goto tr141; + case 41: goto tr142; + case 68: goto tr29; + case 72: goto tr30; + case 77: goto tr31; + case 83: goto st166; + case 87: goto tr33; + case 100: goto tr29; + case 104: goto tr30; + case 109: goto tr31; + case 115: goto st166; + case 119: goto tr33; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr143; + case 1083: goto tr144; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr28; + goto tr139; +tr147: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st16; +tr148: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st16; +tr140: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st16; +tr141: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st16; +tr142: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st16; + case 32: goto st16; + case 40: goto tr147; + case 41: goto tr148; + case 65: goto tr40; + case 67: goto tr41; + case 68: goto tr42; + case 69: goto tr43; + case 72: goto tr44; + case 73: goto tr45; + case 75: goto tr46; + case 76: goto tr47; + case 77: goto tr48; + case 78: goto tr49; + case 80: goto tr50; + case 82: goto tr51; + case 83: goto tr52; + case 84: goto tr53; + case 85: goto tr54; + case 97: goto tr40; + case 99: goto tr41; + case 100: goto tr42; + case 101: goto tr43; + case 104: goto tr44; + case 105: goto tr45; + case 107: goto tr46; + case 108: goto tr47; + case 109: goto tr48; + case 110: goto tr49; + case 112: goto tr50; + case 114: goto tr51; + case 115: goto tr52; + case 116: goto tr53; + case 117: goto tr54; + case 778: goto tr89; + case 827: goto tr90; + case 1034: goto tr149; + case 1083: goto tr150; + } + goto tr145; +tr6: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st17; +tr41: + { + s->r_class = s->default_class; + } + goto st17; +tr623: + { + 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 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + } + goto tr36; +st18: + if ( ++p == pe ) + goto _test_eof18; +case 18: + switch( (*p) ) { + case 65: goto st19; + case 97: goto st19; + } + goto tr36; +st19: + if ( ++p == pe ) + goto _test_eof19; +case 19: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr156; + case 32: goto tr156; + case 40: goto tr157; + case 41: goto tr158; + case 2058: goto tr159; + case 2107: goto tr160; + case 2314: goto tr161; + case 2363: goto tr161; + case 2570: goto tr162; + case 2619: goto tr163; + } + goto tr57; +tr68: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr78: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr163: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr185: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr193: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr203: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr214: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr228: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr240: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr251: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr259: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr272: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr281: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr293: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr334: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr345: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr353: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr366: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr375: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr384: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr392: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr405: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr413: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr427: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr436: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr445: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr455: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr464: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr476: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr486: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr497: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr508: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr516: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr529: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr538: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr547: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr558: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr571: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr580: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr594: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + rdata_tail = s->r_data; + } + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 20;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr604: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr852: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr863: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st20; +tr872: + { 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 20;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 20;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 20;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 20;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 20;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 20;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 20;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 20;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 20;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 20;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 20;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 20;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 20;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 20;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 20;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 20;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 20;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 20;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 20;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 20;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 20;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 20;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 20;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 20;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 20;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 20;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 20;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 20;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr80; + case 778: goto tr83; + case 800: goto tr80; + case 808: goto tr81; + case 809: goto tr82; + case 827: goto tr84; + case 1033: goto tr164; + case 1034: goto tr83; + case 1056: goto tr164; + case 1064: goto tr165; + case 1065: goto tr166; + case 1083: goto tr167; + } + if ( 896 <= _widec && _widec <= 1151 ) + goto tr95; + goto tr79; +tr168: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st21; +tr164: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st21; +tr165: + { + 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 st268;} + } + s->multiline = true; + } + goto st21; +tr166: + { + 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 st268;} + } + s->multiline = false; + } + goto st21; +tr169: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st21; +tr170: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto st7; + case 778: goto tr89; + case 800: goto st7; + case 808: goto tr87; + case 809: goto tr88; + case 827: goto tr90; + case 1033: goto tr168; + case 1034: goto tr89; + case 1056: goto tr168; + case 1064: goto tr169; + case 1065: goto tr170; + case 1083: goto tr171; + } + if ( 896 <= _widec && _widec <= 1151 ) + goto tr95; + goto tr79; +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 tr36; +st23: + if ( ++p == pe ) + goto _test_eof23; +case 23: + switch( (*p) ) { + case 83: goto st24; + case 115: goto st24; + } + goto tr36; +st24: + if ( ++p == pe ) + goto _test_eof24; +case 24: + switch( (*p) ) { + case 75: goto st25; + case 107: goto st25; + } + goto tr36; +st25: + if ( ++p == pe ) + goto _test_eof25; +case 25: + switch( (*p) ) { + case 69: goto st26; + case 101: goto st26; + } + goto tr36; +st26: + if ( ++p == pe ) + goto _test_eof26; +case 26: + switch( (*p) ) { + case 89: goto st27; + case 121: goto st27; + } + goto tr36; +st27: + if ( ++p == pe ) + goto _test_eof27; +case 27: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr178; + case 32: goto tr178; + case 40: goto tr179; + case 41: goto tr180; + case 2058: goto tr181; + case 2107: goto tr182; + case 2314: goto tr183; + case 2363: goto tr183; + case 2570: goto tr184; + case 2619: goto tr185; + } + goto tr57; +st28: + if ( ++p == pe ) + goto _test_eof28; +case 28: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr186; + case 32: goto tr186; + case 40: goto tr187; + case 41: goto tr188; + case 2058: goto tr189; + case 2107: goto tr190; + case 2314: goto tr191; + case 2363: goto tr191; + case 2570: goto tr192; + case 2619: goto tr193; + } + goto tr57; +st29: + if ( ++p == pe ) + goto _test_eof29; +case 29: + switch( (*p) ) { + case 82: goto st30; + case 114: goto st30; + } + goto tr36; +st30: + if ( ++p == pe ) + goto _test_eof30; +case 30: + switch( (*p) ) { + case 84: goto st31; + case 116: goto st31; + } + goto tr36; +st31: + if ( ++p == pe ) + goto _test_eof31; +case 31: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr196; + case 32: goto tr196; + case 40: goto tr197; + case 41: goto tr198; + case 2058: goto tr199; + case 2107: goto tr200; + case 2314: goto tr201; + case 2363: goto tr201; + case 2570: goto tr202; + case 2619: goto tr203; + } + goto tr57; +st32: + if ( ++p == pe ) + goto _test_eof32; +case 32: + switch( (*p) ) { + case 65: goto st33; + case 97: goto st33; + } + goto tr36; +st33: + if ( ++p == pe ) + goto _test_eof33; +case 33: + switch( (*p) ) { + case 77: goto st34; + case 109: goto st34; + } + goto tr36; +st34: + if ( ++p == pe ) + goto _test_eof34; +case 34: + switch( (*p) ) { + case 69: goto st35; + case 101: goto st35; + } + goto tr36; +st35: + if ( ++p == pe ) + goto _test_eof35; +case 35: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr207; + case 32: goto tr207; + case 40: goto tr208; + case 41: goto tr209; + case 2058: goto tr210; + case 2107: goto tr211; + case 2314: goto tr212; + case 2363: goto tr212; + case 2570: goto tr213; + case 2619: goto tr214; + } + goto tr57; +tr7: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st36; +tr42: + { + s->r_class = s->default_class; + } + goto st36; +tr624: + { + s->r_ttl = s->default_ttl; + } + goto st36; +st36: + if ( ++p == pe ) + goto _test_eof36; +case 36: + switch( (*p) ) { + case 72: goto st37; + case 78: goto st41; + case 83: goto st49; + case 104: goto st37; + case 110: goto st41; + case 115: goto st49; + } + goto tr36; +st37: + if ( ++p == pe ) + goto _test_eof37; +case 37: + switch( (*p) ) { + case 67: goto st38; + case 99: goto st38; + } + goto tr36; +st38: + if ( ++p == pe ) + goto _test_eof38; +case 38: + switch( (*p) ) { + case 73: goto st39; + case 105: goto st39; + } + goto tr36; +st39: + if ( ++p == pe ) + goto _test_eof39; +case 39: + switch( (*p) ) { + case 68: goto st40; + case 100: goto st40; + } + goto tr36; +st40: + if ( ++p == pe ) + goto _test_eof40; +case 40: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr221; + case 32: goto tr221; + case 40: goto tr222; + case 41: goto tr223; + case 2058: goto tr224; + case 2107: goto tr225; + case 2314: goto tr226; + case 2363: goto tr226; + case 2570: goto tr227; + case 2619: goto tr228; + } + goto tr57; +st41: + if ( ++p == pe ) + goto _test_eof41; +case 41: + switch( (*p) ) { + case 65: goto st42; + case 83: goto st45; + case 97: goto st42; + case 115: goto st45; + } + goto tr36; +st42: + if ( ++p == pe ) + goto _test_eof42; +case 42: + switch( (*p) ) { + case 77: goto st43; + case 109: goto st43; + } + goto tr36; +st43: + if ( ++p == pe ) + goto _test_eof43; +case 43: + switch( (*p) ) { + case 69: goto st44; + case 101: goto st44; + } + goto tr36; +st44: + if ( ++p == pe ) + goto _test_eof44; +case 44: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr233; + case 32: goto tr233; + case 40: goto tr234; + case 41: goto tr235; + case 2058: goto tr236; + case 2107: goto tr237; + case 2314: goto tr238; + case 2363: goto tr238; + case 2570: goto tr239; + case 2619: goto tr240; + } + goto tr57; +st45: + if ( ++p == pe ) + goto _test_eof45; +case 45: + switch( (*p) ) { + case 75: goto st46; + case 107: goto st46; + } + goto tr36; +st46: + if ( ++p == pe ) + goto _test_eof46; +case 46: + switch( (*p) ) { + case 69: goto st47; + case 101: goto st47; + } + goto tr36; +st47: + if ( ++p == pe ) + goto _test_eof47; +case 47: + switch( (*p) ) { + case 89: goto st48; + case 121: goto st48; + } + goto tr36; +st48: + if ( ++p == pe ) + goto _test_eof48; +case 48: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr244; + case 32: goto tr244; + case 40: goto tr245; + case 41: goto tr246; + case 2058: goto tr247; + case 2107: goto tr248; + case 2314: goto tr249; + case 2363: goto tr249; + case 2570: goto tr250; + case 2619: goto tr251; + } + goto tr57; +st49: + if ( ++p == pe ) + goto _test_eof49; +case 49: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr252; + case 32: goto tr252; + case 40: goto tr253; + case 41: goto tr254; + case 2058: goto tr255; + case 2107: goto tr256; + case 2314: goto tr257; + case 2363: goto tr257; + case 2570: goto tr258; + case 2619: goto tr259; + } + goto tr57; +tr8: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st50; +tr43: + { + s->r_class = s->default_class; + } + goto st50; +tr625: + { + s->r_ttl = s->default_ttl; + } + goto st50; +st50: + if ( ++p == pe ) + goto _test_eof50; +case 50: + switch( (*p) ) { + case 85: goto st51; + case 117: goto st51; + } + goto tr36; +st51: + if ( ++p == pe ) + goto _test_eof51; +case 51: + switch( (*p) ) { + case 73: goto st52; + case 105: goto st52; + } + goto tr36; +st52: + if ( ++p == pe ) + goto _test_eof52; +case 52: + switch( (*p) ) { + case 52: goto st53; + case 54: goto st55; + } + goto tr36; +st53: + if ( ++p == pe ) + goto _test_eof53; +case 53: + if ( (*p) == 56 ) + goto st54; + goto tr36; +st54: + if ( ++p == pe ) + goto _test_eof54; +case 54: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr265; + case 32: goto tr265; + case 40: goto tr266; + case 41: goto tr267; + case 2058: goto tr268; + case 2107: goto tr269; + case 2314: goto tr270; + case 2363: goto tr270; + case 2570: goto tr271; + case 2619: goto tr272; + } + goto tr57; +st55: + if ( ++p == pe ) + goto _test_eof55; +case 55: + if ( (*p) == 52 ) + goto st56; + goto tr36; +st56: + if ( ++p == pe ) + goto _test_eof56; +case 56: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr274; + case 32: goto tr274; + case 40: goto tr275; + case 41: goto tr276; + case 2058: goto tr277; + case 2107: goto tr278; + case 2314: goto tr279; + case 2363: goto tr279; + case 2570: goto tr280; + case 2619: goto tr281; + } + goto tr57; +tr9: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st57; +tr44: + { + s->r_class = s->default_class; + } + goto st57; +tr626: + { + s->r_ttl = s->default_ttl; + } + goto st57; +st57: + if ( ++p == pe ) + goto _test_eof57; +case 57: + switch( (*p) ) { + case 73: goto st58; + case 105: goto st58; + } + goto tr36; +st58: + if ( ++p == pe ) + goto _test_eof58; +case 58: + switch( (*p) ) { + case 78: goto st59; + case 110: goto st59; + } + goto tr36; +st59: + if ( ++p == pe ) + goto _test_eof59; +case 59: + switch( (*p) ) { + case 70: goto st60; + case 102: goto st60; + } + goto tr36; +st60: + if ( ++p == pe ) + goto _test_eof60; +case 60: + switch( (*p) ) { + case 79: goto st61; + case 111: goto st61; + } + goto tr36; +st61: + if ( ++p == pe ) + goto _test_eof61; +case 61: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr286; + case 32: goto tr286; + case 40: goto tr287; + case 41: goto tr288; + case 2058: goto tr289; + case 2107: goto tr290; + case 2314: goto tr291; + case 2363: goto tr291; + case 2570: goto tr292; + case 2619: goto tr293; + } + goto tr57; +tr45: + { + s->r_class = s->default_class; + } + goto st62; +st62: + if ( ++p == pe ) + goto _test_eof62; +case 62: + switch( (*p) ) { + case 78: goto st63; + case 80: goto st66; + case 110: goto st63; + case 112: goto st66; + } + goto tr36; +st63: + if ( ++p == pe ) + goto _test_eof63; +case 63: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr296; + case 32: goto tr296; + case 40: goto tr297; + case 41: goto tr298; + case 1034: goto tr299; + case 1083: goto tr300; + } + goto tr36; +tr302: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st64; +tr303: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st64; +tr319: + { + s->line_counter++; + } + goto st64; +tr639: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st64; +tr640: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st64; +tr641: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st64; +tr648: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st64; +tr606: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st64; +tr296: + { + s->r_class = KNOT_CLASS_IN; + } + goto st64; +tr297: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st64; +tr298: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st64; +tr299: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->line_counter++; + } + goto st64; +tr657: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st64; +tr658: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st64; +tr659: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st64; +tr661: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st64; +st64: + if ( ++p == pe ) + goto _test_eof64; +case 64: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st64; + case 32: goto st64; + case 40: goto tr302; + case 41: goto tr303; + case 65: goto st4; + case 67: goto st17; + case 68: goto st36; + case 69: goto st50; + case 72: goto st57; + case 73: goto st65; + case 75: goto st73; + case 76: goto st77; + case 77: goto st85; + case 78: goto st91; + case 80: goto st107; + case 82: goto st110; + case 83: goto st117; + case 84: goto st128; + case 85: goto st138; + case 97: goto st4; + case 99: goto st17; + case 100: goto st36; + case 101: goto st50; + case 104: goto st57; + case 105: goto st65; + case 107: goto st73; + case 108: goto st77; + case 109: goto st85; + case 110: goto st91; + case 112: goto st107; + case 114: goto st110; + case 115: goto st117; + case 116: goto st128; + case 117: goto st138; + case 1034: goto tr319; + case 1083: goto tr320; + } + goto tr36; +tr627: + { + s->r_ttl = s->default_ttl; + } + goto st65; +st65: + if ( ++p == pe ) + goto _test_eof65; +case 65: + switch( (*p) ) { + case 80: goto st66; + case 112: goto st66; + } + goto tr36; +st66: + if ( ++p == pe ) + goto _test_eof66; +case 66: + switch( (*p) ) { + case 83: goto st67; + case 115: goto st67; + } + goto tr36; +st67: + if ( ++p == pe ) + goto _test_eof67; +case 67: + switch( (*p) ) { + case 69: goto st68; + case 101: goto st68; + } + goto tr36; +st68: + if ( ++p == pe ) + goto _test_eof68; +case 68: + switch( (*p) ) { + case 67: goto st69; + case 99: goto st69; + } + goto tr36; +st69: + if ( ++p == pe ) + goto _test_eof69; +case 69: + switch( (*p) ) { + case 75: goto st70; + case 107: goto st70; + } + goto tr36; +st70: + if ( ++p == pe ) + goto _test_eof70; +case 70: + switch( (*p) ) { + case 69: goto st71; + case 101: goto st71; + } + goto tr36; +st71: + if ( ++p == pe ) + goto _test_eof71; +case 71: + switch( (*p) ) { + case 89: goto st72; + case 121: goto st72; + } + goto tr36; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr327; + case 32: goto tr327; + case 40: goto tr328; + case 41: goto tr329; + case 2058: goto tr330; + case 2107: goto tr331; + case 2314: goto tr332; + case 2363: goto tr332; + case 2570: goto tr333; + case 2619: goto tr334; + } + goto tr57; +tr11: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st73; +tr46: + { + s->r_class = s->default_class; + } + goto st73; +tr628: + { + s->r_ttl = s->default_ttl; + } + goto st73; +st73: + if ( ++p == pe ) + goto _test_eof73; +case 73: + switch( (*p) ) { + case 69: goto st74; + case 88: goto st76; + case 101: goto st74; + case 120: goto st76; + } + goto tr36; +st74: + if ( ++p == pe ) + goto _test_eof74; +case 74: + switch( (*p) ) { + case 89: goto st75; + case 121: goto st75; + } + goto tr36; +st75: + if ( ++p == pe ) + goto _test_eof75; +case 75: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr338; + case 32: goto tr338; + case 40: goto tr339; + case 41: goto tr340; + case 2058: goto tr341; + case 2107: goto tr342; + case 2314: goto tr343; + case 2363: goto tr343; + case 2570: goto tr344; + case 2619: goto tr345; + } + goto tr57; +st76: + if ( ++p == pe ) + goto _test_eof76; +case 76: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr346; + case 32: goto tr346; + case 40: goto tr347; + case 41: goto tr348; + case 2058: goto tr349; + case 2107: goto tr350; + case 2314: goto tr351; + case 2363: goto tr351; + case 2570: goto tr352; + case 2619: goto tr353; + } + goto tr57; +tr12: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st77; +tr47: + { + s->r_class = s->default_class; + } + goto st77; +tr629: + { + s->r_ttl = s->default_ttl; + } + goto st77; +st77: + if ( ++p == pe ) + goto _test_eof77; +case 77: + switch( (*p) ) { + case 51: goto st78; + case 54: goto st80; + case 79: goto st82; + case 80: goto st84; + case 111: goto st82; + case 112: goto st84; + } + goto tr36; +st78: + if ( ++p == pe ) + goto _test_eof78; +case 78: + if ( (*p) == 50 ) + goto st79; + goto tr36; +st79: + if ( ++p == pe ) + goto _test_eof79; +case 79: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr362; + case 2107: goto tr363; + case 2314: goto tr364; + case 2363: goto tr364; + case 2570: goto tr365; + case 2619: goto tr366; + } + goto tr57; +st80: + if ( ++p == pe ) + goto _test_eof80; +case 80: + if ( (*p) == 52 ) + goto st81; + goto tr36; +st81: + if ( ++p == pe ) + goto _test_eof81; +case 81: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr368; + case 32: goto tr368; + case 40: goto tr369; + case 41: goto tr370; + case 2058: goto tr371; + case 2107: goto tr372; + case 2314: goto tr373; + case 2363: goto tr373; + case 2570: goto tr374; + case 2619: goto tr375; + } + goto tr57; +st82: + if ( ++p == pe ) + goto _test_eof82; +case 82: + switch( (*p) ) { + case 67: goto st83; + case 99: goto st83; + } + goto tr36; +st83: + if ( ++p == pe ) + goto _test_eof83; +case 83: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr377; + case 32: goto tr377; + case 40: goto tr378; + case 41: goto tr379; + case 2058: goto tr380; + case 2107: goto tr381; + case 2314: goto tr382; + case 2363: goto tr382; + case 2570: goto tr383; + case 2619: goto tr384; + } + goto tr57; +st84: + if ( ++p == pe ) + goto _test_eof84; +case 84: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr385; + case 32: goto tr385; + case 40: goto tr386; + case 41: goto tr387; + case 2058: goto tr388; + case 2107: goto tr389; + case 2314: goto tr390; + case 2363: goto tr390; + case 2570: goto tr391; + case 2619: goto tr392; + } + goto tr57; +tr13: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st85; +tr48: + { + s->r_class = s->default_class; + } + goto st85; +tr630: + { + s->r_ttl = s->default_ttl; + } + goto st85; +st85: + if ( ++p == pe ) + goto _test_eof85; +case 85: + switch( (*p) ) { + case 73: goto st86; + case 88: goto st90; + case 105: goto st86; + case 120: goto st90; + } + goto tr36; +st86: + if ( ++p == pe ) + goto _test_eof86; +case 86: + switch( (*p) ) { + case 78: goto st87; + case 110: goto st87; + } + goto tr36; +st87: + if ( ++p == pe ) + goto _test_eof87; +case 87: + switch( (*p) ) { + case 70: goto st88; + case 102: goto st88; + } + goto tr36; +st88: + if ( ++p == pe ) + goto _test_eof88; +case 88: + switch( (*p) ) { + case 79: goto st89; + case 111: goto st89; + } + goto tr36; +st89: + if ( ++p == pe ) + goto _test_eof89; +case 89: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr398; + case 32: goto tr398; + case 40: goto tr399; + case 41: goto tr400; + case 2058: goto tr401; + case 2107: goto tr402; + case 2314: goto tr403; + case 2363: goto tr403; + case 2570: goto tr404; + case 2619: goto tr405; + } + goto tr57; +st90: + if ( ++p == pe ) + goto _test_eof90; +case 90: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr406; + case 32: goto tr406; + case 40: goto tr407; + case 41: goto tr408; + case 2058: goto tr409; + case 2107: goto tr410; + case 2314: goto tr411; + case 2363: goto tr411; + case 2570: goto tr412; + case 2619: goto tr413; + } + goto tr57; +tr14: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st91; +tr49: + { + s->r_class = s->default_class; + } + goto st91; +tr631: + { + s->r_ttl = s->default_ttl; + } + goto st91; +st91: + if ( ++p == pe ) + goto _test_eof91; +case 91: + switch( (*p) ) { + case 65: goto st92; + case 73: goto st96; + case 83: goto st98; + case 97: goto st92; + case 105: goto st96; + case 115: goto st98; + } + goto tr36; +st92: + if ( ++p == pe ) + goto _test_eof92; +case 92: + switch( (*p) ) { + case 80: goto st93; + case 112: goto st93; + } + goto tr36; +st93: + if ( ++p == pe ) + goto _test_eof93; +case 93: + switch( (*p) ) { + case 84: goto st94; + case 116: goto st94; + } + goto tr36; +st94: + if ( ++p == pe ) + goto _test_eof94; +case 94: + switch( (*p) ) { + case 82: goto st95; + case 114: goto st95; + } + goto tr36; +st95: + if ( ++p == pe ) + goto _test_eof95; +case 95: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr420; + case 32: goto tr420; + case 40: goto tr421; + case 41: goto tr422; + case 2058: goto tr423; + case 2107: goto tr424; + case 2314: goto tr425; + case 2363: goto tr425; + case 2570: goto tr426; + case 2619: goto tr427; + } + goto tr57; +st96: + if ( ++p == pe ) + goto _test_eof96; +case 96: + switch( (*p) ) { + case 68: goto st97; + case 100: goto st97; + } + goto tr36; +st97: + if ( ++p == pe ) + goto _test_eof97; +case 97: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr429; + case 32: goto tr429; + case 40: goto tr430; + case 41: goto tr431; + case 2058: goto tr432; + case 2107: goto tr433; + case 2314: goto tr434; + case 2363: goto tr434; + case 2570: goto tr435; + case 2619: goto tr436; + } + goto tr57; +st98: + if ( ++p == pe ) + goto _test_eof98; +case 98: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr437; + case 32: goto tr437; + case 40: goto tr438; + case 41: goto tr439; + case 69: goto st99; + case 101: goto st99; + case 2058: goto tr441; + case 2107: goto tr442; + case 2314: goto tr443; + case 2363: goto tr443; + case 2570: goto tr444; + case 2619: goto tr445; + } + goto tr57; +st99: + if ( ++p == pe ) + goto _test_eof99; +case 99: + switch( (*p) ) { + case 67: goto st100; + case 99: goto st100; + } + goto tr36; +st100: + if ( ++p == pe ) + goto _test_eof100; +case 100: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr447; + case 32: goto tr447; + case 40: goto tr448; + case 41: goto tr449; + case 51: goto st101; + case 2058: goto tr451; + case 2107: goto tr452; + case 2314: goto tr453; + case 2363: goto tr453; + case 2570: goto tr454; + case 2619: goto tr455; + } + goto tr57; +st101: + if ( ++p == pe ) + goto _test_eof101; +case 101: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr456; + case 32: goto tr456; + case 40: goto tr457; + case 41: goto tr458; + case 80: goto st102; + case 112: goto st102; + case 2058: goto tr460; + case 2107: goto tr461; + case 2314: goto tr462; + case 2363: goto tr462; + case 2570: goto tr463; + case 2619: goto tr464; + } + goto tr57; +st102: + if ( ++p == pe ) + goto _test_eof102; +case 102: + switch( (*p) ) { + case 65: goto st103; + case 97: goto st103; + } + goto tr36; +st103: + if ( ++p == pe ) + goto _test_eof103; +case 103: + switch( (*p) ) { + case 82: goto st104; + case 114: goto st104; + } + goto tr36; +st104: + if ( ++p == pe ) + goto _test_eof104; +case 104: + switch( (*p) ) { + case 65: goto st105; + case 97: goto st105; + } + goto tr36; +st105: + if ( ++p == pe ) + goto _test_eof105; +case 105: + switch( (*p) ) { + case 77: goto st106; + case 109: goto st106; + } + goto tr36; +st106: + if ( ++p == pe ) + goto _test_eof106; +case 106: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr472; + case 2107: goto tr473; + case 2314: goto tr474; + case 2363: goto tr474; + case 2570: goto tr475; + case 2619: goto tr476; + } + goto tr57; +tr15: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st107; +tr50: + { + s->r_class = s->default_class; + } + goto st107; +tr632: + { + s->r_ttl = s->default_ttl; + } + goto st107; +st107: + if ( ++p == pe ) + goto _test_eof107; +case 107: + switch( (*p) ) { + case 84: goto st108; + case 116: goto st108; + } + goto tr36; +st108: + if ( ++p == pe ) + goto _test_eof108; +case 108: + switch( (*p) ) { + case 82: goto st109; + case 114: goto st109; + } + goto tr36; +st109: + if ( ++p == pe ) + goto _test_eof109; +case 109: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr482; + case 2107: goto tr483; + case 2314: goto tr484; + case 2363: goto tr484; + case 2570: goto tr485; + case 2619: goto tr486; + } + goto tr57; +tr16: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st110; +tr51: + { + s->r_class = s->default_class; + } + goto st110; +tr633: + { + s->r_ttl = s->default_ttl; + } + goto st110; +st110: + if ( ++p == pe ) + goto _test_eof110; +case 110: + switch( (*p) ) { + case 80: goto st111; + case 82: goto st112; + case 84: goto st116; + case 112: goto st111; + case 114: goto st112; + case 116: goto st116; + } + goto tr36; +st111: + if ( ++p == pe ) + goto _test_eof111; +case 111: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr490; + case 32: goto tr490; + case 40: goto tr491; + case 41: goto tr492; + case 2058: goto tr493; + case 2107: goto tr494; + case 2314: goto tr495; + case 2363: goto tr495; + case 2570: goto tr496; + case 2619: goto tr497; + } + goto tr57; +st112: + if ( ++p == pe ) + goto _test_eof112; +case 112: + switch( (*p) ) { + case 83: goto st113; + case 115: goto st113; + } + goto tr36; +st113: + if ( ++p == pe ) + goto _test_eof113; +case 113: + switch( (*p) ) { + case 73: goto st114; + case 105: goto st114; + } + goto tr36; +st114: + if ( ++p == pe ) + goto _test_eof114; +case 114: + switch( (*p) ) { + case 71: goto st115; + case 103: goto st115; + } + goto tr36; +st115: + if ( ++p == pe ) + goto _test_eof115; +case 115: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr504; + case 2107: goto tr505; + case 2314: goto tr506; + case 2363: goto tr506; + case 2570: goto tr507; + case 2619: goto tr508; + } + goto tr57; +st116: + if ( ++p == pe ) + goto _test_eof116; +case 116: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr509; + case 32: goto tr509; + case 40: goto tr510; + case 41: goto tr511; + case 2058: goto tr512; + case 2107: goto tr513; + case 2314: goto tr514; + case 2363: goto tr514; + case 2570: goto tr515; + case 2619: goto tr516; + } + goto tr57; +tr17: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st117; +tr52: + { + s->r_class = s->default_class; + } + goto st117; +tr634: + { + s->r_ttl = s->default_ttl; + } + goto st117; +st117: + if ( ++p == pe ) + goto _test_eof117; +case 117: + switch( (*p) ) { + case 79: goto st118; + case 80: goto st120; + case 82: goto st122; + case 83: goto st124; + case 111: goto st118; + case 112: goto st120; + case 114: goto st122; + case 115: goto st124; + } + goto tr36; +st118: + if ( ++p == pe ) + goto _test_eof118; +case 118: + switch( (*p) ) { + case 65: goto st119; + case 97: goto st119; + } + goto tr36; +st119: + if ( ++p == pe ) + goto _test_eof119; +case 119: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr522; + case 32: goto tr522; + case 40: goto tr523; + case 41: goto tr524; + case 2058: goto tr525; + case 2107: goto tr526; + case 2314: goto tr527; + case 2363: goto tr527; + case 2570: goto tr528; + case 2619: goto tr529; + } + goto tr57; +st120: + if ( ++p == pe ) + goto _test_eof120; +case 120: + switch( (*p) ) { + case 70: goto st121; + case 102: goto st121; + } + goto tr36; +st121: + if ( ++p == pe ) + goto _test_eof121; +case 121: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr531; + case 32: goto tr531; + case 40: goto tr532; + case 41: goto tr533; + case 2058: goto tr534; + case 2107: goto tr535; + case 2314: goto tr536; + case 2363: goto tr536; + case 2570: goto tr537; + case 2619: goto tr538; + } + goto tr57; +st122: + if ( ++p == pe ) + goto _test_eof122; +case 122: + switch( (*p) ) { + case 86: goto st123; + case 118: goto st123; + } + goto tr36; +st123: + if ( ++p == pe ) + goto _test_eof123; +case 123: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr540; + case 32: goto tr540; + case 40: goto tr541; + case 41: goto tr542; + case 2058: goto tr543; + case 2107: goto tr544; + case 2314: goto tr545; + case 2363: goto tr545; + case 2570: goto tr546; + case 2619: goto tr547; + } + goto tr57; +st124: + if ( ++p == pe ) + goto _test_eof124; +case 124: + switch( (*p) ) { + case 72: goto st125; + case 104: goto st125; + } + goto tr36; +st125: + if ( ++p == pe ) + goto _test_eof125; +case 125: + switch( (*p) ) { + case 70: goto st126; + case 102: goto st126; + } + goto tr36; +st126: + if ( ++p == pe ) + goto _test_eof126; +case 126: + switch( (*p) ) { + case 80: goto st127; + case 112: goto st127; + } + goto tr36; +st127: + if ( ++p == pe ) + goto _test_eof127; +case 127: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr551; + case 32: goto tr551; + case 40: goto tr552; + case 41: goto tr553; + case 2058: goto tr554; + case 2107: goto tr555; + case 2314: goto tr556; + case 2363: goto tr556; + case 2570: goto tr557; + case 2619: goto tr558; + } + goto tr57; +tr18: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st128; +tr53: + { + s->r_class = s->default_class; + } + goto st128; +tr635: + { + s->r_ttl = s->default_ttl; + } + goto st128; +st128: + if ( ++p == pe ) + goto _test_eof128; +case 128: + switch( (*p) ) { + case 76: goto st129; + case 88: goto st132; + case 89: goto st134; + case 108: goto st129; + case 120: goto st132; + case 121: goto st134; + } + goto tr36; +st129: + if ( ++p == pe ) + goto _test_eof129; +case 129: + switch( (*p) ) { + case 83: goto st130; + case 115: goto st130; + } + goto tr36; +st130: + if ( ++p == pe ) + goto _test_eof130; +case 130: + switch( (*p) ) { + case 65: goto st131; + case 97: goto st131; + } + goto tr36; +st131: + if ( ++p == pe ) + goto _test_eof131; +case 131: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr564; + case 32: goto tr564; + case 40: goto tr565; + case 41: goto tr566; + case 2058: goto tr567; + case 2107: goto tr568; + case 2314: goto tr569; + case 2363: goto tr569; + case 2570: goto tr570; + case 2619: goto tr571; + } + goto tr57; +st132: + if ( ++p == pe ) + goto _test_eof132; +case 132: + switch( (*p) ) { + case 84: goto st133; + case 116: goto st133; + } + goto tr36; +st133: + if ( ++p == pe ) + goto _test_eof133; +case 133: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr573; + case 32: goto tr573; + case 40: goto tr574; + case 41: goto tr575; + case 2058: goto tr576; + case 2107: goto tr577; + case 2314: goto tr578; + case 2363: goto tr578; + case 2570: goto tr579; + case 2619: goto tr580; + } + goto tr57; +st134: + if ( ++p == pe ) + goto _test_eof134; +case 134: + switch( (*p) ) { + case 80: goto st135; + case 112: goto st135; + } + goto tr36; +st135: + if ( ++p == pe ) + goto _test_eof135; +case 135: + switch( (*p) ) { + case 69: goto st136; + case 101: goto st136; + } + goto tr36; +st136: + if ( ++p == pe ) + goto _test_eof136; +case 136: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr584; + goto tr583; +tr584: + { + 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 st268;} + } + } + goto st137; +tr589: + { + // 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 st268;} + } + } + goto st137; +st137: + if ( ++p == pe ) + goto _test_eof137; +case 137: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr586; + case 32: goto tr586; + case 40: goto tr587; + case 41: goto tr588; + case 2058: goto tr590; + case 2107: goto tr591; + case 2314: goto tr592; + case 2363: goto tr592; + case 2570: goto tr593; + case 2619: goto tr594; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr589; + goto tr585; +tr19: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st138; +tr54: + { + s->r_class = s->default_class; + } + goto st138; +tr636: + { + s->r_ttl = s->default_ttl; + } + goto st138; +st138: + if ( ++p == pe ) + goto _test_eof138; +case 138: + switch( (*p) ) { + case 82: goto st139; + case 114: goto st139; + } + goto tr36; +st139: + if ( ++p == pe ) + goto _test_eof139; +case 139: + switch( (*p) ) { + case 73: goto st140; + case 105: goto st140; + } + goto tr36; +st140: + if ( ++p == pe ) + goto _test_eof140; +case 140: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr597; + case 32: goto tr597; + case 40: goto tr598; + case 41: goto tr599; + case 2058: goto tr600; + case 2107: goto tr601; + case 2314: goto tr602; + case 2363: goto tr602; + case 2570: goto tr603; + case 2619: goto tr604; + } + goto tr57; +tr320: + { + s->buffer_length = 0; + } + goto st141; +tr649: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st141; +tr605: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st141; +tr300: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->buffer_length = 0; + } + goto st141; +tr662: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st141; +st141: + if ( ++p == pe ) + goto _test_eof141; +case 141: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr606; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr605; + goto tr36; +tr914: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1129; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1129; goto _out;} + } + } + goto st1129; +tr143: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + 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 = 1129; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1129; goto _out;} + } + } + goto st1129; +tr149: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1129; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1129; goto _out;} + } + } + goto st1129; +st1129: + if ( ++p == pe ) + goto _test_eof1129; +case 1129: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3635; + case 32: goto tr3635; + case 36: goto st152; + case 40: goto tr3636; + case 41: goto tr3637; + case 42: goto tr3617; + case 65: goto tr3638; + case 67: goto tr3639; + case 68: goto tr3640; + case 69: goto tr3641; + case 72: goto tr3642; + case 73: goto tr3643; + case 75: goto tr3644; + case 76: goto tr3645; + case 77: goto tr3646; + case 78: goto tr3647; + case 80: goto tr3648; + case 82: goto tr3649; + case 83: goto tr3650; + case 84: goto tr3651; + case 85: goto tr3652; + case 92: goto tr3617; + case 95: goto tr3617; + case 97: goto tr3638; + case 99: goto tr3639; + case 100: goto tr3640; + case 101: goto tr3641; + case 104: goto tr3642; + case 105: goto tr3643; + case 107: goto tr3644; + case 108: goto tr3645; + case 109: goto tr3646; + case 110: goto tr3647; + case 112: goto tr3648; + case 114: goto tr3649; + case 115: goto tr3650; + case 116: goto tr3651; + case 117: goto tr3652; + case 778: goto tr3618; + case 827: goto tr3619; + case 1034: goto tr3653; + case 1083: goto tr3654; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3617; + } else if ( _widec > 90 ) { + if ( 98 <= _widec && _widec <= 122 ) + goto tr3617; + } else + goto tr3617; + goto tr3634; +tr608: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st142; +tr609: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st142; +tr3635: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st142; +tr3636: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st142; +tr3637: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st142; +st142: + if ( ++p == pe ) + goto _test_eof142; +case 142: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st142; + case 32: goto st142; + case 40: goto tr608; + case 41: goto tr609; + 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 80: goto tr15; + case 82: goto tr16; + case 83: goto tr17; + case 84: goto tr18; + case 85: goto tr19; + 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 112: goto tr15; + case 114: goto tr16; + case 115: goto tr17; + case 116: goto tr18; + case 117: goto tr19; + case 778: goto tr20; + case 827: goto tr21; + case 1034: goto tr610; + case 1083: goto tr611; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr0; +tr10: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + goto st143; +st143: + if ( ++p == pe ) + goto _test_eof143; +case 143: + switch( (*p) ) { + case 78: goto st144; + case 80: goto st66; + case 110: goto st144; + case 112: goto st66; + } + goto tr36; +st144: + if ( ++p == pe ) + goto _test_eof144; +case 144: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr613; + case 32: goto tr613; + case 40: goto tr614; + case 41: goto tr615; + case 1034: goto tr616; + case 1083: goto tr617; + } + goto tr36; +tr619: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st145; +tr620: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st145; +tr637: + { + s->line_counter++; + } + goto st145; +tr664: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st145; +tr613: + { + s->r_class = KNOT_CLASS_IN; + } + goto st145; +tr614: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st145; +tr615: + { + s->r_class = KNOT_CLASS_IN; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st145; +tr616: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->line_counter++; + } + goto st145; +st145: + if ( ++p == pe ) + goto _test_eof145; +case 145: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st145; + case 32: goto st145; + case 40: goto tr619; + case 41: goto tr620; + case 65: goto tr622; + case 67: goto tr623; + case 68: goto tr624; + case 69: goto tr625; + case 72: goto tr626; + case 73: goto tr627; + case 75: goto tr628; + case 76: goto tr629; + case 77: goto tr630; + case 78: goto tr631; + case 80: goto tr632; + case 82: goto tr633; + case 83: goto tr634; + case 84: goto tr635; + case 85: goto tr636; + case 97: goto tr622; + case 99: goto tr623; + case 100: goto tr624; + case 101: goto tr625; + case 104: goto tr626; + case 105: goto tr627; + case 107: goto tr628; + case 108: goto tr629; + case 109: goto tr630; + case 110: goto tr631; + case 112: goto tr632; + case 114: goto tr633; + case 115: goto tr634; + case 116: goto tr635; + case 117: goto tr636; + case 1034: goto tr637; + case 1083: goto tr638; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr621; + goto tr583; +tr621: + { + 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 st268;} + } + } + goto st146; +tr642: + { + // 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 st268;} + } + } + goto st146; +st146: + if ( ++p == pe ) + goto _test_eof146; +case 146: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr639; + case 32: goto tr639; + case 40: goto tr640; + case 41: goto tr641; + case 68: goto tr643; + case 72: goto tr644; + case 77: goto tr645; + case 83: goto st147; + case 87: goto tr647; + case 100: goto tr643; + case 104: goto tr644; + case 109: goto tr645; + case 115: goto st147; + case 119: goto tr647; + case 1034: goto tr648; + case 1083: goto tr649; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr642; + goto tr24; +tr643: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st147; +tr644: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st147; +tr645: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st147; +tr647: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st147; +st147: + if ( ++p == pe ) + goto _test_eof147; +case 147: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr639; + case 32: goto tr639; + case 40: goto tr640; + case 41: goto tr641; + case 1034: goto tr648; + case 1083: goto tr649; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr650; + goto tr24; +tr651: + { + // 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 st268;} + } + } + goto st148; +tr650: + { + 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 st268;} + } + } + goto st148; +tr660: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st148; +st148: + if ( ++p == pe ) + goto _test_eof148; +case 148: + switch( (*p) ) { + case 68: goto tr652; + case 72: goto tr653; + case 77: goto tr654; + case 83: goto st149; + case 87: goto tr656; + case 100: goto tr652; + case 104: goto tr653; + case 109: goto tr654; + case 115: goto st149; + case 119: goto tr656; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr651; + goto tr24; +tr652: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st149; +tr653: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st149; +tr654: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st149; +tr656: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st149; +st149: + if ( ++p == pe ) + goto _test_eof149; +case 149: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr657; + case 32: goto tr657; + case 40: goto tr658; + case 41: goto tr659; + case 1034: goto tr661; + case 1083: goto tr662; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr660; + goto tr24; +tr638: + { + s->buffer_length = 0; + } + goto st150; +tr663: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st150; +tr617: + { + s->r_class = KNOT_CLASS_IN; + } + { + s->buffer_length = 0; + } + goto st150; +st150: + if ( ++p == pe ) + goto _test_eof150; +case 150: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr664; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr663; + goto tr36; +tr21: + { + s->buffer_length = 0; + } + goto st151; +tr3619: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st151; +tr665: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st151; +tr3679: + { + NOERR; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st151; +st151: + if ( ++p == pe ) + goto _test_eof151; +case 151: + if ( (*p) == 10 ) + goto tr666; + goto tr665; +tr610: + { + s->line_counter++; + } + goto st1130; +tr912: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1130; +tr801: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1130; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1130; goto _out;} + } + } + goto st1130; +tr798: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1130; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1130; goto _out;} + } + } + goto st1130; +tr793: + { + 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 st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1130; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1130; goto _out;} + } + } + goto st1130; +tr3653: + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1130; +st1130: + if ( ++p == pe ) + goto _test_eof1130; +case 1130: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3635; + case 32: goto tr3635; + case 36: goto st152; + case 40: goto tr3636; + case 41: goto tr3637; + case 42: goto tr3617; + case 65: goto tr3657; + case 67: goto tr3658; + case 68: goto tr3659; + case 69: goto tr3660; + case 72: goto tr3661; + case 73: goto tr3662; + case 75: goto tr3663; + case 76: goto tr3664; + case 77: goto tr3665; + case 78: goto tr3666; + case 80: goto tr3667; + case 82: goto tr3668; + case 83: goto tr3669; + case 84: goto tr3670; + case 85: goto tr3671; + case 92: goto tr3617; + case 95: goto tr3617; + case 97: goto tr3657; + case 99: goto tr3658; + case 100: goto tr3659; + case 101: goto tr3660; + case 104: goto tr3661; + case 105: goto tr3662; + case 107: goto tr3663; + case 108: goto tr3664; + case 109: goto tr3665; + case 110: goto tr3666; + case 112: goto tr3667; + case 114: goto tr3668; + case 115: goto tr3669; + case 116: goto tr3670; + case 117: goto tr3671; + case 778: goto tr3618; + case 827: goto tr3619; + case 1034: goto tr3653; + case 1083: goto tr3654; + } + if ( _widec < 48 ) { + if ( 45 <= _widec && _widec <= 47 ) + goto tr3617; + } else if ( _widec > 57 ) { + if ( _widec > 90 ) { + if ( 98 <= _widec && _widec <= 122 ) + goto tr3617; + } else if ( _widec >= 64 ) + goto tr3617; + } else + goto tr3656; + goto tr3655; +tr3674: + { + NOERR; + } + goto st152; +st152: + if ( ++p == pe ) + goto _test_eof152; +case 152: + switch( (*p) ) { + case 73: goto tr668; + case 79: goto tr669; + case 84: goto tr670; + case 105: goto tr668; + case 111: goto tr669; + case 116: goto tr670; + } + goto tr667; +tr668: + { + ERR(ZS_OK); + } + goto st153; +st153: + if ( ++p == pe ) + goto _test_eof153; +case 153: + switch( (*p) ) { + case 78: goto st154; + case 110: goto st154; + } + goto tr667; +st154: + if ( ++p == pe ) + goto _test_eof154; +case 154: + switch( (*p) ) { + case 67: goto st155; + case 99: goto st155; + } + goto tr667; +st155: + if ( ++p == pe ) + goto _test_eof155; +case 155: + switch( (*p) ) { + case 76: goto st156; + case 108: goto st156; + } + goto tr667; +st156: + if ( ++p == pe ) + goto _test_eof156; +case 156: + switch( (*p) ) { + case 85: goto st157; + case 117: goto st157; + } + goto tr667; +st157: + if ( ++p == pe ) + goto _test_eof157; +case 157: + switch( (*p) ) { + case 68: goto st158; + case 100: goto st158; + } + goto tr667; +st158: + if ( ++p == pe ) + goto _test_eof158; +case 158: + switch( (*p) ) { + case 69: goto st159; + case 101: goto st159; + } + goto tr667; +st159: + if ( ++p == pe ) + goto _test_eof159; +case 159: + switch( (*p) ) { + case 32: goto tr677; + case 59: goto tr677; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr677; + } else if ( (*p) >= 9 ) + goto tr677; + goto tr667; +tr677: + { p--; {stack[top++] = 1131;goto st312;} } + goto st1131; +tr779: + { p--; {stack[top++] = 1131;goto st300;} } + goto st1131; +tr782: + { p--; {stack[top++] = 1131;goto st291;} } + goto st1131; +st1131: + if ( ++p == pe ) + goto _test_eof1131; +case 1131: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3673; + case 32: goto tr3673; + case 36: goto tr3674; + case 40: goto tr3675; + case 41: goto tr3676; + case 42: goto tr3677; + case 92: goto tr3677; + case 95: goto tr3677; + case 778: goto tr3678; + case 827: goto tr3679; + case 1034: goto tr3680; + case 1083: goto tr3681; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3677; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3677; + } else + goto tr3677; + goto tr3672; +tr3617: + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 160;goto st270;} } + goto st160; +tr3677: + { + NOERR; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 160;goto st270;} } + goto st160; +st160: + if ( ++p == pe ) + goto _test_eof160; +case 160: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr678; +tr685: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st161; +tr686: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st161; +tr687: + { + s->line_counter++; + } + goto st161; +tr691: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st161; +tr679: + { + s->r_owner_length = s->dname_tmp_length; + } + goto st161; +tr680: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st161; +tr681: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st161; +tr682: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st161; +st161: + if ( ++p == pe ) + goto _test_eof161; +case 161: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st161; + case 32: goto st161; + case 40: goto tr685; + case 41: goto tr686; + 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 80: goto tr15; + case 82: goto tr16; + case 83: goto tr17; + case 84: goto tr18; + case 85: goto tr19; + 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 112: goto tr15; + case 114: goto tr16; + case 115: goto tr17; + case 116: goto tr18; + case 117: goto tr19; + case 1034: goto tr687; + case 1083: goto tr688; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr583; +tr688: + { + s->buffer_length = 0; + } + goto st162; +tr689: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st162; +tr683: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st162; +st162: + if ( ++p == pe ) + goto _test_eof162; +case 162: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr691; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr689; + goto st0; +tr22: + { + s->line_counter++; + } + goto st1132; +tr910: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1132; +tr756: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1132; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1132; goto _out;} + } + } + goto st1132; +tr753: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1132; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1132; goto _out;} + } + } + goto st1132; +tr787: + { + 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 st268;} + } + 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 = 1132; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1132; goto _out;} + } + } + goto st1132; +tr824: + { + 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 st268;} + } + 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 = 1132; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1132; goto _out;} + } + } + goto st1132; +tr827: + { + s->buffer[s->buffer_length++] = 0; + } + { + 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 st268;} + } + 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 = 1132; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1132; goto _out;} + } + } + goto st1132; +tr3620: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1132; +tr3684: + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1132; +tr3680: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1132; +tr3689: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1132; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1132; goto _out;} + } + } + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st1132; +tr3713: + { + 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 st268;} + } + 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 = 1132; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1132; goto _out;} + } + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st1132; +st1132: + if ( ++p == pe ) + goto _test_eof1132; +case 1132: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3613; + case 32: goto tr3613; + case 36: goto st152; + case 40: goto tr3682; + case 41: goto tr3683; + case 42: goto tr3617; + case 65: goto tr3657; + case 67: goto tr3658; + case 68: goto tr3659; + case 69: goto tr3660; + case 72: goto tr3661; + case 73: goto tr3662; + case 75: goto tr3663; + case 76: goto tr3664; + case 77: goto tr3665; + case 78: goto tr3666; + case 80: goto tr3667; + case 82: goto tr3668; + case 83: goto tr3669; + case 84: goto tr3670; + case 85: goto tr3671; + case 92: goto tr3617; + case 95: goto tr3617; + case 97: goto tr3657; + case 99: goto tr3658; + case 100: goto tr3659; + case 101: goto tr3660; + case 104: goto tr3661; + case 105: goto tr3662; + case 107: goto tr3663; + case 108: goto tr3664; + case 109: goto tr3665; + case 110: goto tr3666; + case 112: goto tr3667; + case 114: goto tr3668; + case 115: goto tr3669; + case 116: goto tr3670; + case 117: goto tr3671; + case 778: goto tr3618; + case 827: goto tr3619; + case 1034: goto tr3684; + case 1083: goto tr3685; + } + if ( _widec < 48 ) { + if ( 45 <= _widec && _widec <= 47 ) + goto tr3617; + } else if ( _widec > 57 ) { + if ( _widec > 90 ) { + if ( 98 <= _widec && _widec <= 122 ) + goto tr3617; + } else if ( _widec >= 64 ) + goto tr3617; + } else + goto tr3656; + goto tr3655; +tr3656: + { + 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 st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 163;goto st270;} } + goto st163; +st163: + if ( ++p == pe ) + goto _test_eof163; +case 163: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr693; + case 32: goto tr693; + case 40: goto tr694; + case 41: goto tr695; + case 68: goto tr29; + case 72: goto tr30; + case 77: goto tr31; + case 83: goto st166; + case 87: goto tr33; + case 100: goto tr29; + case 104: goto tr30; + case 109: goto tr31; + case 115: goto st166; + case 119: goto tr33; + case 1034: goto tr696; + case 1083: goto tr697; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr28; + goto tr692; +tr699: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st164; +tr700: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st164; +tr701: + { + s->line_counter++; + } + goto st164; +tr704: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st164; +tr693: + { + 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 st268;} + } + } + goto st164; +tr694: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st164; +tr695: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st164; +tr696: + { + 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 st268;} + } + } + goto st164; +st164: + if ( ++p == pe ) + goto _test_eof164; +case 164: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st164; + case 32: goto st164; + case 40: goto tr699; + case 41: goto tr700; + 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 80: goto tr15; + case 82: goto tr16; + case 83: goto tr17; + case 84: goto tr18; + case 85: goto tr19; + 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 112: goto tr15; + case 114: goto tr16; + case 115: goto tr17; + case 116: goto tr18; + case 117: goto tr19; + case 1034: goto tr701; + case 1083: goto tr702; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr583; +tr702: + { + s->buffer_length = 0; + } + goto st165; +tr703: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st165; +tr697: + { + 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 st268;} + } + } + goto st165; +st165: + if ( ++p == pe ) + goto _test_eof165; +case 165: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr704; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr703; + goto tr36; +tr29: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st166; +tr30: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st166; +tr31: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st166; +tr33: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st166; +st166: + if ( ++p == pe ) + goto _test_eof166; +case 166: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr25; + case 32: goto tr25; + case 40: goto tr26; + case 41: goto tr27; + case 1034: goto tr34; + case 1083: goto tr35; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr705; + goto tr24; +tr706: + { + // 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 st268;} + } + } + goto st167; +tr705: + { + 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 st268;} + } + } + goto st167; +tr715: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st167; +st167: + if ( ++p == pe ) + goto _test_eof167; +case 167: + switch( (*p) ) { + case 68: goto tr707; + case 72: goto tr708; + case 77: goto tr709; + case 83: goto st168; + case 87: goto tr711; + case 100: goto tr707; + case 104: goto tr708; + case 109: goto tr709; + case 115: goto st168; + case 119: goto tr711; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr706; + goto tr24; +tr707: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st168; +tr708: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st168; +tr709: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st168; +tr711: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st168; +st168: + if ( ++p == pe ) + goto _test_eof168; +case 168: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr712; + case 32: goto tr712; + case 40: goto tr713; + case 41: goto tr714; + case 1034: goto tr716; + case 1083: goto tr717; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr715; + goto tr24; +tr56: + { + s->buffer_length = 0; + } + goto st169; +tr35: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st169; +tr718: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st169; +tr717: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st169; +st169: + if ( ++p == pe ) + goto _test_eof169; +case 169: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr719; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr718; + goto tr36; +tr3638: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 170;goto st270;} } + goto st170; +tr3657: + { + 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++] = 170;goto st270;} } + goto st170; +st170: + if ( ++p == pe ) + goto _test_eof170; +case 170: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr721; + case 32: goto tr721; + case 40: goto tr722; + case 41: goto tr723; + case 65: goto st230; + case 70: goto st233; + case 80: goto st237; + case 97: goto st230; + case 102: goto st233; + case 112: goto st237; + case 2058: goto tr724; + case 2107: goto tr725; + case 2314: goto tr66; + case 2363: goto tr66; + case 2570: goto tr726; + case 2619: goto tr727; + } + goto tr720; +tr729: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st171; +tr730: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st171; +tr731: + { + s->line_counter++; + } + goto st171; +tr896: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st171; +tr721: + { + s->r_owner_length = s->dname_tmp_length; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st171; +tr722: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st171; +tr723: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st171; +tr724: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->line_counter++; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st171; +st171: + if ( ++p == pe ) + goto _test_eof171; +case 171: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st171; + case 32: goto st171; + case 40: goto tr729; + case 41: goto tr730; + case 58: goto tr69; + case 65: goto tr118; + case 67: goto tr119; + case 68: goto tr120; + case 69: goto tr121; + case 72: goto tr122; + case 73: goto tr123; + case 75: goto tr124; + case 76: goto tr125; + case 77: goto tr126; + case 78: goto tr127; + case 80: goto tr128; + case 82: goto tr129; + case 83: goto tr130; + case 84: goto tr131; + case 85: goto tr132; + case 92: goto tr74; + case 97: goto tr118; + case 99: goto tr119; + case 100: goto tr120; + case 101: goto tr121; + case 104: goto tr122; + case 105: goto tr123; + case 107: goto tr124; + case 108: goto tr125; + case 109: goto tr126; + case 110: goto tr127; + case 112: goto tr128; + case 114: goto tr129; + case 115: goto tr130; + case 116: goto tr131; + case 117: goto tr132; + case 2058: goto tr731; + case 2107: goto tr732; + case 2314: goto tr69; + case 2363: goto tr69; + case 2570: goto tr733; + case 2619: goto tr734; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr69; + } else if ( _widec >= 48 ) + goto tr117; + } else + goto tr69; + goto tr585; +tr118: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 172;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 172;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 172;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 172;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 172;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 172;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 172;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 172;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 172;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 172;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 172;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 172;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 172;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 172;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 172;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 172;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 172;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 172;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 172;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 172;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 172;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 172;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 172;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 172;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 172;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 172;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 172;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 172;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 172;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st172; +st172: + if ( ++p == pe ) + goto _test_eof172; +case 172: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr736; + case 32: goto tr736; + case 40: goto tr737; + case 41: goto tr738; + case 65: goto st230; + case 70: goto st233; + case 80: goto st237; + case 97: goto st230; + case 102: goto st233; + case 112: goto st237; + case 1802: goto tr83; + case 1851: goto tr84; + case 2058: goto tr739; + case 2107: goto tr740; + case 2314: goto tr741; + case 2363: goto tr742; + case 2570: goto tr743; + case 2619: goto tr744; + } + goto tr735; +tr746: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st173; +tr747: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st173; +tr736: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st173; +tr737: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st173; +tr738: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st173; +st173: + if ( ++p == pe ) + goto _test_eof173; +case 173: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st173; + case 32: goto st173; + case 40: goto tr746; + case 41: goto tr747; + case 92: goto tr74; + case 1802: goto tr89; + case 1851: goto tr90; + case 2058: goto tr748; + case 2107: goto tr107; + case 2314: goto tr108; + case 2363: goto tr109; + case 2570: goto tr749; + case 2619: goto tr110; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr69; + } else + goto tr69; + goto tr79; +tr101: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1133;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1133;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1133;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1133;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1133;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1133;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1133;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1133;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1133;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1133;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1133;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1133;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1133;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1133;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1133;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1133;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1133;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1133;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1133;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1133;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1133;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1133;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1133;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1133;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1133;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1133;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1133;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1133;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1133;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1133; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1133; goto _out;} + } + } + { + s->line_counter++; + } + goto st1133; +tr108: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1133;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1133;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1133;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1133;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1133;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1133;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1133;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1133;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1133;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1133;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1133;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1133;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1133;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1133;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1133;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1133;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1133;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1133;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1133;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1133;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1133;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1133;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1133;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1133;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1133;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1133;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1133;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1133;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1133;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1133; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1133; goto _out;} + } + } + { + s->line_counter++; + } + goto st1133; +tr135: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1133;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1133;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1133;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1133;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1133;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1133;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1133;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1133;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1133;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1133;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1133;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1133;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1133;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1133;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1133;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1133;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1133;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1133;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1133;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1133;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1133;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1133;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1133;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1133;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1133;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1133;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1133;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1133;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1133;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->line_counter++; + } + goto st1133; +tr741: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1133;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1133;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1133;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1133;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1133;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1133;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1133;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1133;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1133;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1133;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1133;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1133;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1133;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1133;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1133;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1133;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1133;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1133;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1133;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1133;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1133;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1133;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1133;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1133;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1133;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1133;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1133;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1133;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1133;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1133; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1133; goto _out;} + } + } + { + s->line_counter++; + } + goto st1133; +tr3630: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1133;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1133;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1133;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1133;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1133;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1133;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1133;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1133;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1133;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1133;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1133;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1133;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1133;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1133;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1133;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1133;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1133;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1133;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1133;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1133;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1133;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1133;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1133;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1133;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1133;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1133;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1133;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1133;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1133;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->line_counter++; + } + goto st1133; +st1133: + if ( ++p == pe ) + goto _test_eof1133; +case 1133: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3686; + case 32: goto tr3686; + case 36: goto st152; + case 40: goto tr3687; + case 41: goto tr3688; + case 42: goto tr3617; + case 92: goto tr3617; + case 95: goto tr3617; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr3689; + case 1083: goto tr3690; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3617; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3617; + } else + goto tr3617; + goto tr783; +tr751: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st174; +tr752: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st174; +tr821: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr822: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr823: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr784: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr785: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr786: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st174; +tr3686: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st174; +tr3687: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st174; +tr3688: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st174; +st174: + if ( ++p == pe ) + goto _test_eof174; +case 174: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st174; + case 32: goto st174; + case 40: goto tr751; + case 41: goto tr752; + 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 80: goto tr15; + case 82: goto tr16; + case 83: goto tr17; + case 84: goto tr18; + case 85: goto tr19; + 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 112: goto tr15; + case 114: goto tr16; + case 115: goto tr17; + case 116: goto tr18; + case 117: goto tr19; + case 778: goto tr89; + case 827: goto tr90; + case 1034: goto tr753; + case 1083: goto tr754; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr0; +tr754: + { + s->buffer_length = 0; + } + goto st175; +tr755: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st175; +tr825: + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st175; +tr830: + { + 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 st175; +tr834: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer_length = 0; + } + goto st175; +tr788: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st175; +tr3690: + { + 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 st268;} + } + } + goto st175; +st175: + if ( ++p == pe ) + goto _test_eof175; +case 175: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr92; + case 1034: goto tr756; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr755; + } else if ( _widec >= 640 ) + goto tr91; + goto tr85; +tr102: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 176;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 176;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 176;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 176;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 176;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 176;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 176;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 176;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 176;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 176;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 176;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 176;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 176;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 176;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 176;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 176;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 176;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 176;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 176;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 176;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 176;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 176;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 176;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 176;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 176;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 176;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 176;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 176;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 176;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st176; +tr109: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 176;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 176;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 176;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 176;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 176;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 176;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 176;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 176;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 176;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 176;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 176;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 176;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 176;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 176;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 176;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 176;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 176;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 176;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 176;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 176;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 176;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 176;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 176;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 176;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 176;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 176;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 176;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 176;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 176;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st176; +tr742: + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 176;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 176;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 176;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 176;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 176;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 176;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 176;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 176;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 176;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 176;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 176;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 176;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 176;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 176;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 176;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 176;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 176;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 176;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 176;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 176;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 176;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 176;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 176;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 176;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 176;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 176;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 176;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 176;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 176;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st176; +st176: + if ( ++p == pe ) + goto _test_eof176; +case 176: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr757; + case 32: goto tr757; + case 40: goto tr758; + case 41: goto tr759; + case 778: goto tr760; + case 827: goto tr761; + case 1034: goto tr760; + case 1083: goto tr761; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr91; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr91; + } else + goto tr91; + goto tr79; +tr762: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st177; +tr757: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st177; +tr758: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st177; +tr759: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st177; +tr763: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st177; +tr764: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st177; +st177: + if ( ++p == pe ) + goto _test_eof177; +case 177: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr762; + case 32: goto tr762; + case 40: goto tr763; + case 41: goto tr764; + case 778: goto tr92; + case 827: goto tr765; + case 1034: goto tr92; + case 1083: goto tr765; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr91; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr91; + } else + goto tr91; + goto tr85; +tr743: + { 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++] = 1134;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1134;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1134;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1134;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1134;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1134;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1134;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1134;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1134;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1134;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1134;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1134;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1134;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1134;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1134;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1134;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1134;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1134;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1134;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1134;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1134;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1134;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1134;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1134;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1134;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1134;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1134;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1134;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1134;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1134; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1134; goto _out;} + } + } + goto st1134; +tr749: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1134;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1134;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1134;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1134;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1134;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1134;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1134;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1134;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1134;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1134;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1134;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1134;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1134;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1134;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1134;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1134;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1134;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1134;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1134;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1134;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1134;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1134;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1134;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1134;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1134;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1134;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1134;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1134;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1134;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1134; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1134; goto _out;} + } + } + goto st1134; +st1134: + if ( ++p == pe ) + goto _test_eof1134; +case 1134: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr3691; + case 32: goto tr3691; + case 36: goto tr3623; + case 40: goto tr3692; + case 41: goto tr3693; + case 42: goto tr3626; + case 58: goto tr69; + case 92: goto tr3627; + case 95: goto tr3626; + case 1802: goto tr83; + case 1851: goto tr84; + case 2058: goto tr3689; + case 2107: goto tr3694; + case 2314: goto tr101; + case 2363: goto tr102; + case 2570: goto tr3689; + case 2619: goto tr3695; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 44 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr3626; + } else + goto tr69; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 90 ) + goto tr3626; + } else if ( _widec > 96 ) { + if ( _widec > 122 ) { + if ( 123 <= _widec ) + goto tr69; + } else if ( _widec >= 97 ) + goto tr3626; + } else + goto tr69; + } else + goto tr69; + goto tr783; +tr767: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st178; +tr768: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st178; +tr897: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st178; +tr898: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st178; +tr899: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st178; +tr3691: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st178; +tr3692: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st178; +tr3693: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + 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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st178; + case 32: goto st178; + case 40: goto tr767; + case 41: goto tr768; + case 58: goto tr69; + case 65: goto tr118; + case 67: goto tr119; + case 68: goto tr120; + case 69: goto tr121; + case 72: goto tr122; + case 73: goto tr123; + case 75: goto tr124; + case 76: goto tr125; + case 77: goto tr126; + case 78: goto tr127; + case 80: goto tr128; + case 82: goto tr129; + case 83: goto tr130; + case 84: goto tr131; + case 85: goto tr132; + case 92: goto tr74; + case 97: goto tr118; + case 99: goto tr119; + case 100: goto tr120; + case 101: goto tr121; + case 104: goto tr122; + case 105: goto tr123; + case 107: goto tr124; + case 108: goto tr125; + case 109: goto tr126; + case 110: goto tr127; + case 112: goto tr128; + case 114: goto tr129; + case 115: goto tr130; + case 116: goto tr131; + case 117: goto tr132; + case 1802: goto tr89; + case 1851: goto tr90; + case 2058: goto tr753; + case 2107: goto tr769; + case 2314: goto tr108; + case 2363: goto tr109; + case 2570: goto tr753; + case 2619: goto tr770; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr69; + } else if ( _widec >= 48 ) + goto tr117; + } else + goto tr69; + goto tr114; +tr119: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 179;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 179;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 179;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 179;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 179;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 179;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 179;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 179;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 179;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 179;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 179;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 179;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 179;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 179;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 179;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 179;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 179;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 179;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 179;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 179;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 179;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 179;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 179;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 179;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 179;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 179;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 179;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 179;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 179;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st179; +st179: + if ( ++p == pe ) + goto _test_eof179; +case 179: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 65: goto st18; + case 68: goto st22; + case 69: goto st29; + case 78: goto st32; + case 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr120: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 180;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 180;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 180;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 180;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 180;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 180;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 180;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 180;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 180;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 180;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 180;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 180;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 180;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 180;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 180;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 180;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 180;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 180;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 180;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 180;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 180;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 180;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 180;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 180;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 180;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 180;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 180;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 180;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 180;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st180; +st180: + if ( ++p == pe ) + goto _test_eof180; +case 180: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 72: goto st37; + case 78: goto st41; + case 83: goto st49; + case 104: goto st37; + case 110: goto st41; + case 115: goto st49; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr121: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 181;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 181;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 181;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 181;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 181;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 181;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 181;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 181;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 181;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 181;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 181;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 181;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 181;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 181;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 181;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 181;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 181;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 181;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 181;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 181;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 181;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 181;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 181;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 181;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 181;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 181;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 181;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 181;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 181;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st181; +st181: + if ( ++p == pe ) + goto _test_eof181; +case 181: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 85: goto st51; + case 117: goto st51; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr122: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 182;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 182;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 182;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 182;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 182;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 182;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 182;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 182;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 182;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 182;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 182;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 182;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 182;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 182;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 182;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 182;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 182;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 182;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 182;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 182;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 182;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 182;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 182;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 182;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 182;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 182;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 182;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 182;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 182;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st182; +st182: + if ( ++p == pe ) + goto _test_eof182; +case 182: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 73: goto st58; + case 105: goto st58; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr123: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 183;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 183;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 183;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 183;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 183;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 183;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 183;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 183;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 183;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 183;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 183;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 183;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 183;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 183;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 183;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 183;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 183;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 183;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 183;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 183;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 183;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 183;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 183;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 183;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 183;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 183;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 183;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 183;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 183;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st183; +st183: + if ( ++p == pe ) + goto _test_eof183; +case 183: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 78: goto st144; + case 80: goto st66; + case 110: goto st144; + case 112: goto st66; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr124: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 184;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 184;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 184;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 184;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 184;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 184;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 184;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 184;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 184;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 184;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 184;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 184;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 184;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 184;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 184;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 184;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 184;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 184;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 184;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 184;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 184;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 184;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 184;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 184;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 184;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 184;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 184;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 184;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 184;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st184; +st184: + if ( ++p == pe ) + goto _test_eof184; +case 184: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 69: goto st74; + case 88: goto st76; + case 101: goto st74; + case 120: goto st76; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr125: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 185;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 185;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 185;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 185;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 185;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 185;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 185;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 185;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 185;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 185;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 185;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 185;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 185;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 185;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 185;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 185;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 185;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 185;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 185;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 185;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 185;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 185;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 185;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 185;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 185;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 185;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 185;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 185;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 185;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st185; +st185: + if ( ++p == pe ) + goto _test_eof185; +case 185: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 51: goto st78; + case 54: goto st80; + case 79: goto st82; + case 80: goto st84; + case 111: goto st82; + case 112: goto st84; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr126: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 186;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 186;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 186;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 186;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 186;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 186;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 186;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 186;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 186;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 186;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 186;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 186;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 186;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 186;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 186;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 186;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 186;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 186;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 186;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 186;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 186;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 186;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 186;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 186;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 186;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 186;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 186;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 186;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 186;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st186; +st186: + if ( ++p == pe ) + goto _test_eof186; +case 186: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 73: goto st86; + case 88: goto st90; + case 105: goto st86; + case 120: goto st90; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr127: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 187;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 187;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 187;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 187;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 187;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 187;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 187;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 187;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 187;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 187;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 187;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 187;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 187;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 187;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 187;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 187;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 187;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 187;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 187;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 187;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 187;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 187;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 187;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 187;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 187;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 187;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 187;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 187;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 187;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st187; +st187: + if ( ++p == pe ) + goto _test_eof187; +case 187: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 65: goto st92; + case 73: goto st96; + case 83: goto st98; + case 97: goto st92; + case 105: goto st96; + case 115: goto st98; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr128: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 188;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 188;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 188;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 188;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 188;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 188;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 188;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 188;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 188;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 188;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 188;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 188;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 188;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 188;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 188;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 188;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 188;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 188;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 188;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 188;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 188;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 188;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 188;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 188;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 188;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 188;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 188;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 188;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 188;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st188; +st188: + if ( ++p == pe ) + goto _test_eof188; +case 188: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 84: goto st108; + case 116: goto st108; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr129: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 189;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 189;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 189;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 189;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 189;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 189;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 189;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 189;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 189;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 189;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 189;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 189;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 189;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 189;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 189;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 189;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 189;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 189;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 189;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 189;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 189;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 189;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 189;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 189;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 189;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 189;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 189;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 189;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 189;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st189; +st189: + if ( ++p == pe ) + goto _test_eof189; +case 189: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 80: goto st111; + case 82: goto st112; + case 84: goto st116; + case 112: goto st111; + case 114: goto st112; + case 116: goto st116; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr130: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 190;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 190;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 190;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 190;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 190;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 190;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 190;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 190;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 190;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 190;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 190;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 190;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 190;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 190;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 190;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 190;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 190;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 190;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 190;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 190;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 190;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 190;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 190;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 190;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 190;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 190;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 190;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 190;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 190;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st190; +st190: + if ( ++p == pe ) + goto _test_eof190; +case 190: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 79: goto st118; + case 80: goto st120; + case 82: goto st122; + case 83: goto st124; + case 111: goto st118; + case 112: goto st120; + case 114: goto st122; + case 115: goto st124; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr131: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 191;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 191;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 191;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 191;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 191;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 191;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 191;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 191;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 191;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 191;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 191;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 191;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 191;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 191;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 191;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 191;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 191;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 191;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 191;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 191;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 191;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 191;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 191;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 191;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 191;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 191;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 191;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 191;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 191;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st191; +st191: + if ( ++p == pe ) + goto _test_eof191; +case 191: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 76: goto st129; + case 88: goto st132; + case 89: goto st134; + case 108: goto st129; + case 120: goto st132; + case 121: goto st134; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr132: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 192;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 192;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 192;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 192;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 192;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 192;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 192;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 192;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 192;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 192;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 192;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 192;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 192;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 192;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 192;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 192;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 192;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 192;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 192;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 192;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 192;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 192;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 192;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 192;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 192;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 192;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 192;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 192;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 192;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st192; +st192: + if ( ++p == pe ) + goto _test_eof192; +case 192: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 82: goto st139; + case 114: goto st139; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr735; +tr769: + { + s->buffer_length = 0; + } + goto st193; +tr771: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st193; +tr900: + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st193; +tr838: + { + 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 st193; +tr842: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer_length = 0; + } + goto st193; +tr807: + { + 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 st193; +tr3694: + { + 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 st268;} + } + } + goto st193; +st193: + if ( ++p == pe ) + goto _test_eof193; +case 193: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr92; + case 1034: goto tr772; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr771; + } else if ( _widec >= 640 ) + goto tr91; + goto tr79; +tr133: + { + s->line_counter++; + } + goto st1135; +tr874: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1135; +tr772: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1135; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1135; goto _out;} + } + } + goto st1135; +tr813: + { + s->line_counter++; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1135; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1135; goto _out;} + } + } + goto st1135; +tr806: + { + 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 st268;} + } + 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 = 1135; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1135; goto _out;} + } + } + goto st1135; +tr3628: + { + s->line_counter++; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1135; +st1135: + if ( ++p == pe ) + goto _test_eof1135; +case 1135: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr3622; + case 32: goto tr3622; + case 36: goto tr3623; + case 40: goto tr3624; + case 41: goto tr3625; + case 42: goto tr3626; + case 58: goto tr69; + case 65: goto tr3698; + case 67: goto tr3699; + case 68: goto tr3700; + case 69: goto tr3701; + case 72: goto tr3702; + case 73: goto tr3703; + case 75: goto tr3704; + case 76: goto tr3705; + case 77: goto tr3706; + case 78: goto tr3707; + case 80: goto tr3708; + case 82: goto tr3709; + case 83: goto tr3710; + case 84: goto tr3711; + case 85: goto tr3712; + case 92: goto tr3627; + case 95: goto tr3626; + case 97: goto tr3698; + case 99: goto tr3699; + case 100: goto tr3700; + case 101: goto tr3701; + case 104: goto tr3702; + case 105: goto tr3703; + case 107: goto tr3704; + case 108: goto tr3705; + case 109: goto tr3706; + case 110: goto tr3707; + case 112: goto tr3708; + case 114: goto tr3709; + case 115: goto tr3710; + case 116: goto tr3711; + case 117: goto tr3712; + case 1802: goto tr3618; + case 1851: goto tr3619; + case 2058: goto tr3628; + case 2107: goto tr3629; + case 2314: goto tr3630; + case 2363: goto tr3631; + case 2570: goto tr3632; + case 2619: goto tr3633; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 44 ) { + if ( _widec > 47 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3697; + } else if ( _widec >= 45 ) + goto tr3626; + } else + goto tr69; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 90 ) + goto tr3626; + } else if ( _widec > 96 ) { + if ( _widec > 122 ) { + if ( 123 <= _widec ) + goto tr69; + } else if ( _widec >= 98 ) + goto tr3626; + } else + goto tr69; + } else + goto tr69; + goto tr3696; +tr3623: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 194;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 194;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 194;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 194;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 194;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 194;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 194;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 194;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 194;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 194;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 194;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 194;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 194;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 194;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 194;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 194;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 194;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 194;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 194;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 194;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 194;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 194;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 194;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 194;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 194;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 194;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 194;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 194;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 194;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st194; +st194: + if ( ++p == pe ) + goto _test_eof194; +case 194: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr80; + case 32: goto tr80; + case 40: goto tr81; + case 41: goto tr82; + case 73: goto tr668; + case 79: goto tr669; + case 84: goto tr670; + case 105: goto tr668; + case 111: goto tr669; + case 116: goto tr670; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr83; + case 1083: goto tr84; + } + goto tr773; +tr669: + { + ERR(ZS_OK); + } + goto st195; +st195: + if ( ++p == pe ) + goto _test_eof195; +case 195: + switch( (*p) ) { + case 82: goto st196; + case 114: goto st196; + } + goto tr667; +st196: + if ( ++p == pe ) + goto _test_eof196; +case 196: + switch( (*p) ) { + case 73: goto st197; + case 105: goto st197; + } + goto tr667; +st197: + if ( ++p == pe ) + goto _test_eof197; +case 197: + switch( (*p) ) { + case 71: goto st198; + case 103: goto st198; + } + goto tr667; +st198: + if ( ++p == pe ) + goto _test_eof198; +case 198: + switch( (*p) ) { + case 73: goto st199; + case 105: goto st199; + } + goto tr667; +st199: + if ( ++p == pe ) + goto _test_eof199; +case 199: + switch( (*p) ) { + case 78: goto st200; + case 110: goto st200; + } + goto tr667; +st200: + if ( ++p == pe ) + goto _test_eof200; +case 200: + switch( (*p) ) { + case 32: goto tr779; + case 59: goto tr779; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr779; + } else if ( (*p) >= 9 ) + goto tr779; + goto tr667; +tr670: + { + ERR(ZS_OK); + } + goto st201; +st201: + if ( ++p == pe ) + goto _test_eof201; +case 201: + switch( (*p) ) { + case 84: goto st202; + case 116: goto st202; + } + goto tr667; +st202: + if ( ++p == pe ) + goto _test_eof202; +case 202: + switch( (*p) ) { + case 76: goto st203; + case 108: goto st203; + } + goto tr667; +st203: + if ( ++p == pe ) + goto _test_eof203; +case 203: + switch( (*p) ) { + case 32: goto tr782; + case 59: goto tr782; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr782; + } else if ( (*p) >= 9 ) + goto tr782; + goto tr667; +tr3626: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 204;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 204;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 204;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 204;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 204;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 204;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 204;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 204;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 204;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 204;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 204;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 204;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 204;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 204;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 204;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 204;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 204;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 204;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 204;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 204;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 204;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 204;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 204;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 204;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 204;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 204;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 204;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 204;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 204;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 204;goto st270;} } + goto st204; +st204: + if ( ++p == pe ) + goto _test_eof204; +case 204: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr783; +tr3697: + { + 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 st268;} + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 205;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 205;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 205;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 205;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 205;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 205;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 205;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 205;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 205;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 205;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 205;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 205;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 205;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 205;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 205;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 205;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 205;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 205;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 205;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 205;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 205;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 205;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 205;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 205;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 205;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 205;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 205;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 205;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 205;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 205;goto st270;} } + goto st205; +st205: + if ( ++p == pe ) + goto _test_eof205; +case 205: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr790; + case 32: goto tr790; + case 40: goto tr791; + case 41: goto tr792; + case 68: goto tr29; + case 72: goto tr30; + case 77: goto tr31; + case 83: goto st166; + case 87: goto tr33; + case 100: goto tr29; + case 104: goto tr30; + case 109: goto tr31; + case 115: goto st166; + case 119: goto tr33; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr793; + case 1083: goto tr794; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr28; + goto tr789; +tr796: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st206; +tr797: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st206; +tr790: + { + 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 st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr791: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +tr792: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st206; +st206: + if ( ++p == pe ) + goto _test_eof206; +case 206: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st206; + case 32: goto st206; + case 40: goto tr796; + case 41: goto tr797; + 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 80: goto tr15; + case 82: goto tr16; + case 83: goto tr17; + case 84: goto tr18; + case 85: goto tr19; + 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 112: goto tr15; + case 114: goto tr16; + case 115: goto tr17; + case 116: goto tr18; + case 117: goto tr19; + case 778: goto tr89; + case 827: goto tr90; + case 1034: goto tr798; + case 1083: goto tr799; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr0; +tr799: + { + s->buffer_length = 0; + } + goto st207; +tr800: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st207; +tr794: + { + 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 st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st207; +st207: + if ( ++p == pe ) + goto _test_eof207; +case 207: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr92; + case 1034: goto tr801; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr800; + } else if ( _widec >= 640 ) + goto tr91; + goto tr145; +tr3698: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 208;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 208;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 208;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 208;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 208;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 208;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 208;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 208;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 208;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 208;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 208;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 208;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 208;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 208;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 208;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 208;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 208;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 208;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 208;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 208;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 208;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 208;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 208;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 208;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 208;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 208;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 208;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 208;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 208;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 208;goto st270;} } + 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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr803; + case 32: goto tr803; + case 40: goto tr804; + case 41: goto tr805; + case 65: goto st230; + case 70: goto st233; + case 80: goto st237; + case 97: goto st230; + case 102: goto st233; + case 112: goto st237; + case 1802: goto tr83; + case 1851: goto tr84; + case 2058: goto tr806; + case 2107: goto tr807; + case 2314: goto tr741; + case 2363: goto tr742; + case 2570: goto tr808; + case 2619: goto tr809; + } + goto tr802; +tr811: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st209; +tr812: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st209; +tr803: + { + 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 st209; +tr804: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st209; +tr805: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + 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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st209; + case 32: goto st209; + case 40: goto tr811; + case 41: goto tr812; + case 58: goto tr69; + case 65: goto tr118; + case 67: goto tr119; + case 68: goto tr120; + case 69: goto tr121; + case 72: goto tr122; + case 73: goto tr123; + case 75: goto tr124; + case 76: goto tr125; + case 77: goto tr126; + case 78: goto tr127; + case 80: goto tr128; + case 82: goto tr129; + case 83: goto tr130; + case 84: goto tr131; + case 85: goto tr132; + case 92: goto tr74; + case 97: goto tr118; + case 99: goto tr119; + case 100: goto tr120; + case 101: goto tr121; + case 104: goto tr122; + case 105: goto tr123; + case 107: goto tr124; + case 108: goto tr125; + case 109: goto tr126; + case 110: goto tr127; + case 112: goto tr128; + case 114: goto tr129; + case 115: goto tr130; + case 116: goto tr131; + case 117: goto tr132; + case 1802: goto tr89; + case 1851: goto tr90; + case 2058: goto tr813; + case 2107: goto tr769; + case 2314: goto tr108; + case 2363: goto tr109; + case 2570: goto tr814; + case 2619: goto tr770; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr69; + } else if ( _widec >= 48 ) + goto tr117; + } else + goto tr69; + goto tr114; +tr137: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1136;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1136;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1136;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1136;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1136;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1136;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1136;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1136;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1136;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1136;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1136;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1136;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1136;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1136;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1136;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1136;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1136;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1136;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1136;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1136;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1136;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1136;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1136;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1136;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1136;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1136;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1136;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1136;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1136;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st1136; +tr814: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1136;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1136;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1136;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1136;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1136;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1136;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1136;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1136;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1136;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1136;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1136;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1136;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1136;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1136;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1136;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1136;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1136;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1136;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1136;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1136;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1136;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1136;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1136;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1136;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1136;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1136;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1136;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1136;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1136;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1136; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1136; goto _out;} + } + } + goto st1136; +tr808: + { + 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++] = 1136;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1136;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1136;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1136;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1136;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1136;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1136;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1136;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1136;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1136;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1136;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1136;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1136;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1136;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1136;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1136;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1136;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1136;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1136;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1136;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1136;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1136;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1136;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1136;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1136;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1136;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1136;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1136;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1136;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + 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 = 1136; goto _out;} + } + } + } else { + // Return if external processing. + p--; {p++; cs = 1136; goto _out;} + } + } + goto st1136; +tr3632: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 1136;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 1136;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 1136;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 1136;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 1136;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 1136;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 1136;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 1136;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 1136;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 1136;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 1136;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 1136;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 1136;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 1136;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 1136;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 1136;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 1136;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 1136;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 1136;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 1136;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 1136;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 1136;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 1136;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 1136;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 1136;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 1136;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 1136;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 1136;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 1136;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st1136; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr3691; + case 32: goto tr3691; + case 36: goto tr3623; + case 40: goto tr3692; + case 41: goto tr3693; + case 42: goto tr3626; + case 58: goto tr69; + case 65: goto tr3698; + case 67: goto tr3699; + case 68: goto tr3700; + case 69: goto tr3701; + case 72: goto tr3702; + case 73: goto tr3703; + case 75: goto tr3704; + case 76: goto tr3705; + case 77: goto tr3706; + case 78: goto tr3707; + case 80: goto tr3708; + case 82: goto tr3709; + case 83: goto tr3710; + case 84: goto tr3711; + case 85: goto tr3712; + case 92: goto tr3627; + case 95: goto tr3626; + case 97: goto tr3698; + case 99: goto tr3699; + case 100: goto tr3700; + case 101: goto tr3701; + case 104: goto tr3702; + case 105: goto tr3703; + case 107: goto tr3704; + case 108: goto tr3705; + case 109: goto tr3706; + case 110: goto tr3707; + case 112: goto tr3708; + case 114: goto tr3709; + case 115: goto tr3710; + case 116: goto tr3711; + case 117: goto tr3712; + case 1802: goto tr83; + case 1851: goto tr84; + case 2058: goto tr3713; + case 2107: goto tr3694; + case 2314: goto tr101; + case 2363: goto tr102; + case 2570: goto tr3713; + case 2619: goto tr3695; + } + if ( _widec < 60 ) { + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 44 ) { + if ( _widec > 47 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3697; + } else if ( _widec >= 45 ) + goto tr3626; + } else + goto tr69; + } else if ( _widec > 63 ) { + if ( _widec < 91 ) { + if ( 64 <= _widec && _widec <= 90 ) + goto tr3626; + } else if ( _widec > 96 ) { + if ( _widec > 122 ) { + if ( 123 <= _widec ) + goto tr69; + } else if ( _widec >= 98 ) + goto tr3626; + } else + goto tr69; + } else + goto tr69; + goto tr3696; +tr3699: + { + s->r_class = s->default_class; + } + { + s->r_ttl = s->default_ttl; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 210;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 210;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 210;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 210;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 210;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 210;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 210;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 210;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 210;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 210;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 210;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 210;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 210;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 210;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 210;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 210;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 210;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 210;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 210;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 210;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 210;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 210;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 210;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 210;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 210;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 210;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 210;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 210;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 210;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 210;goto st270;} } + goto st210; +st210: + if ( ++p == pe ) + goto _test_eof210; +case 210: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 65: goto st18; + case 68: goto st22; + case 69: goto st29; + case 78: goto st32; + case 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3700: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 211;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 211;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 211;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 211;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 211;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 211;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 211;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 211;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 211;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 211;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 211;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 211;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 211;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 211;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 211;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 211;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 211;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 211;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 211;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 211;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 211;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 211;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 211;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 211;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 211;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 211;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 211;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 211;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 211;goto st270;} } + goto st211; +st211: + if ( ++p == pe ) + goto _test_eof211; +case 211: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 72: goto st37; + case 78: goto st41; + case 83: goto st49; + case 104: goto st37; + case 110: goto st41; + case 115: goto st49; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3701: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 212;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 212;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 212;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 212;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 212;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 212;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 212;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 212;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 212;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 212;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 212;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 212;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 212;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 212;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 212;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 212;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 212;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 212;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 212;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 212;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 212;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 212;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 212;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 212;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 212;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 212;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 212;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 212;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 212;goto st270;} } + goto st212; +st212: + if ( ++p == pe ) + goto _test_eof212; +case 212: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 85: goto st51; + case 117: goto st51; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3702: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 213;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 213;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 213;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 213;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 213;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 213;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 213;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 213;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 213;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 213;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 213;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 213;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 213;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 213;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 213;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 213;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 213;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 213;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 213;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 213;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 213;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 213;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 213;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 213;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 213;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 213;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 213;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 213;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 213;goto st270;} } + goto st213; +st213: + if ( ++p == pe ) + goto _test_eof213; +case 213: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 73: goto st58; + case 105: goto st58; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3703: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 214;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 214;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 214;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 214;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 214;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 214;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 214;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 214;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 214;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 214;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 214;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 214;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 214;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 214;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 214;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 214;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 214;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 214;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 214;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 214;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 214;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 214;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 214;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 214;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 214;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 214;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 214;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 214;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 214;goto st270;} } + goto st214; +st214: + if ( ++p == pe ) + goto _test_eof214; +case 214: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 78: goto st144; + case 80: goto st66; + case 110: goto st144; + case 112: goto st66; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3704: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 215;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 215;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 215;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 215;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 215;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 215;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 215;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 215;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 215;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 215;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 215;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 215;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 215;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 215;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 215;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 215;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 215;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 215;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 215;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 215;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 215;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 215;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 215;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 215;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 215;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 215;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 215;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 215;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 215;goto st270;} } + goto st215; +st215: + if ( ++p == pe ) + goto _test_eof215; +case 215: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 69: goto st74; + case 88: goto st76; + case 101: goto st74; + case 120: goto st76; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3705: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 216;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 216;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 216;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 216;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 216;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 216;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 216;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 216;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 216;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 216;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 216;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 216;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 216;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 216;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 216;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 216;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 216;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 216;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 216;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 216;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 216;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 216;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 216;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 216;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 216;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 216;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 216;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 216;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 216;goto st270;} } + goto st216; +st216: + if ( ++p == pe ) + goto _test_eof216; +case 216: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 51: goto st78; + case 54: goto st80; + case 79: goto st82; + case 80: goto st84; + case 111: goto st82; + case 112: goto st84; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3706: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 217;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 217;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 217;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 217;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 217;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 217;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 217;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 217;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 217;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 217;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 217;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 217;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 217;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 217;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 217;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 217;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 217;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 217;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 217;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 217;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 217;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 217;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 217;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 217;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 217;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 217;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 217;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 217;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 217;goto st270;} } + goto st217; +st217: + if ( ++p == pe ) + goto _test_eof217; +case 217: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 73: goto st86; + case 88: goto st90; + case 105: goto st86; + case 120: goto st90; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3707: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 218;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 218;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 218;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 218;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 218;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 218;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 218;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 218;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 218;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 218;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 218;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 218;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 218;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 218;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 218;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 218;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 218;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 218;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 218;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 218;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 218;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 218;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 218;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 218;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 218;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 218;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 218;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 218;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 218;goto st270;} } + goto st218; +st218: + if ( ++p == pe ) + goto _test_eof218; +case 218: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 65: goto st92; + case 73: goto st96; + case 83: goto st98; + case 97: goto st92; + case 105: goto st96; + case 115: goto st98; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3708: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 219;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 219;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 219;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 219;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 219;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 219;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 219;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 219;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 219;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 219;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 219;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 219;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 219;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 219;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 219;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 219;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 219;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 219;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 219;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 219;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 219;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 219;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 219;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 219;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 219;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 219;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 219;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 219;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 219;goto st270;} } + goto st219; +st219: + if ( ++p == pe ) + goto _test_eof219; +case 219: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 84: goto st108; + case 116: goto st108; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3709: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 220;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 220;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 220;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 220;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 220;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 220;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 220;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 220;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 220;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 220;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 220;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 220;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 220;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 220;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 220;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 220;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 220;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 220;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 220;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 220;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 220;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 220;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 220;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 220;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 220;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 220;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 220;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 220;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 220;goto st270;} } + goto st220; +st220: + if ( ++p == pe ) + goto _test_eof220; +case 220: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 80: goto st111; + case 82: goto st112; + case 84: goto st116; + case 112: goto st111; + case 114: goto st112; + case 116: goto st116; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3710: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 221;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 221;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 221;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 221;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 221;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 221;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 221;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 221;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 221;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 221;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 221;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 221;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 221;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 221;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 221;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 221;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 221;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 221;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 221;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 221;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 221;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 221;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 221;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 221;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 221;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 221;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 221;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 221;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 221;goto st270;} } + goto st221; +st221: + if ( ++p == pe ) + goto _test_eof221; +case 221: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 79: goto st118; + case 80: goto st120; + case 82: goto st122; + case 83: goto st124; + case 111: goto st118; + case 112: goto st120; + case 114: goto st122; + case 115: goto st124; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3711: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 222;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 222;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 222;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 222;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 222;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 222;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 222;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 222;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 222;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 222;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 222;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 222;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 222;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 222;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 222;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 222;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 222;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 222;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 222;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 222;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 222;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 222;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 222;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 222;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 222;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 222;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 222;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 222;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 222;goto st270;} } + goto st222; +st222: + if ( ++p == pe ) + goto _test_eof222; +case 222: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 76: goto st129; + case 88: goto st132; + case 89: goto st134; + case 108: goto st129; + case 120: goto st132; + case 121: goto st134; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3712: + { + 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 st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 223;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 223;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 223;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 223;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 223;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 223;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 223;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 223;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 223;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 223;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 223;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 223;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 223;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 223;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 223;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 223;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 223;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 223;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 223;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 223;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 223;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 223;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 223;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 223;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 223;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 223;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 223;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 223;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 223;goto st270;} } + goto st223; +st223: + if ( ++p == pe ) + goto _test_eof223; +case 223: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr784; + case 32: goto tr784; + case 40: goto tr785; + case 41: goto tr786; + case 82: goto st139; + case 114: goto st139; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr787; + case 1083: goto tr788; + } + goto tr802; +tr3627: + { + if (pe - p == 1) { + *wrap = WRAP_DETECTED; + } + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 224;goto st270;} } + goto st224; +st224: + if ( ++p == pe ) + goto _test_eof224; +case 224: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr815; + case 32: goto tr815; + case 35: goto tr94; + case 40: goto tr817; + case 41: goto tr818; + case 778: goto tr93; + case 827: goto tr93; + case 1034: goto tr819; + case 1083: goto tr820; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr93; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr93; + } else + goto tr93; + goto tr816; +tr815: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 225;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 225;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 225;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 225;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 225;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 225;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 225;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 225;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 225;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 225;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 225;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 225;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 225;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 225;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 225;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 225;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 225;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 225;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 225;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 225;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 225;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 225;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 225;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 225;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 225;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 225;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 225;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 225;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 225;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st225; +tr817: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 225;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 225;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 225;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 225;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 225;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 225;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 225;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 225;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 225;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 225;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 225;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 225;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 225;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 225;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 225;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 225;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 225;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 225;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 225;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 225;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 225;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 225;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 225;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 225;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 225;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 225;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 225;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 225;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 225;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st225; +tr818: + { + s->r_owner_length = s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (*wrap == WRAP_NONE) { + p--; + } + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 225;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 225;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 225;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 225;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 225;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 225;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 225;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 225;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 225;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 225;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 225;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 225;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 225;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 225;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 225;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 225;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 225;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 225;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 225;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 225;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 225;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 225;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 225;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 225;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 225;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 225;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 225;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 225;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 225;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st225; +tr819: + { + 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++] = 225;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 225;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 225;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 225;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 225;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 225;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 225;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 225;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 225;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 225;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 225;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 225;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 225;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 225;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 225;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 225;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 225;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 225;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 225;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 225;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 225;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 225;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 225;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 225;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 225;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 225;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 225;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 225;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 225;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st225; +st225: + if ( ++p == pe ) + goto _test_eof225; +case 225: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr821; + case 32: goto tr821; + case 40: goto tr822; + case 41: goto tr823; + 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 80: goto tr15; + case 82: goto tr16; + case 83: goto tr17; + case 84: goto tr18; + case 85: goto tr19; + 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 112: goto tr15; + case 114: goto tr16; + case 115: goto tr17; + case 116: goto tr18; + case 117: goto tr19; + case 778: goto tr83; + case 827: goto tr84; + case 1034: goto tr824; + case 1083: goto tr825; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr4; + goto tr114; +tr820: + { + 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++] = 226;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 226;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 226;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 226;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 226;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 226;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 226;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 226;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 226;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 226;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 226;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 226;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 226;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 226;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 226;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 226;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 226;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 226;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 226;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 226;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 226;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 226;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 226;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 226;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 226;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 226;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 226;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 226;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 226;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st226; +st226: + if ( ++p == pe ) + goto _test_eof226; +case 226: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr80; + case 778: goto tr83; + case 800: goto tr80; + case 808: goto tr81; + case 809: goto tr82; + case 827: goto tr84; + case 1033: goto tr826; + case 1034: goto tr827; + case 1056: goto tr826; + case 1064: goto tr828; + case 1065: goto tr829; + case 1083: goto tr830; + } + if ( 896 <= _widec && _widec <= 1151 ) + goto tr689; + goto tr79; +tr831: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st227; +tr826: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st227; +tr828: + { + 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 st268;} + } + s->multiline = true; + } + goto st227; +tr829: + { + 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 st268;} + } + s->multiline = false; + } + goto st227; +tr832: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st227; +tr833: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st227; +st227: + if ( ++p == pe ) + goto _test_eof227; +case 227: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto st7; + case 778: goto tr89; + case 800: goto st7; + case 808: goto tr87; + case 809: goto tr88; + case 827: goto tr90; + case 1033: goto tr831; + case 1034: goto tr756; + case 1056: goto tr831; + case 1064: goto tr832; + case 1065: goto tr833; + case 1083: goto tr834; + } + if ( 896 <= _widec && _widec <= 1151 ) + goto tr689; + goto tr85; +tr770: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 228;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 228;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 228;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 228;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 228;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 228;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 228;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 228;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 228;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 228;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 228;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 228;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 228;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 228;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 228;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 228;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 228;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 228;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 228;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 228;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 228;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 228;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 228;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 228;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 228;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 228;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 228;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 228;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 228;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st228; +tr901: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 228;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 228;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 228;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 228;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 228;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 228;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 228;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 228;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 228;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 228;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 228;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 228;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 228;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 228;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 228;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 228;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 228;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 228;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 228;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 228;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 228;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 228;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 228;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 228;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 228;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 228;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 228;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 228;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 228;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st228; +tr809: + { + 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++] = 228;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 228;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 228;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 228;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 228;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 228;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 228;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 228;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 228;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 228;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 228;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 228;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 228;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 228;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 228;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 228;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 228;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 228;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 228;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 228;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 228;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 228;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 228;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 228;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 228;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 228;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 228;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 228;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 228;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st228; +tr3695: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 228;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 228;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 228;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 228;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 228;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 228;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 228;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 228;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 228;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 228;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 228;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 228;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 228;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 228;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 228;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 228;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 228;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 228;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 228;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 228;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 228;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 228;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 228;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 228;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 228;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 228;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 228;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 228;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 228;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + goto st228; +st228: + if ( ++p == pe ) + goto _test_eof228; +case 228: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr757; + case 778: goto tr760; + case 800: goto tr757; + case 808: goto tr758; + case 809: goto tr759; + case 827: goto tr761; + case 1033: goto tr835; + case 1034: goto tr827; + case 1056: goto tr835; + case 1064: goto tr836; + case 1065: goto tr837; + case 1083: goto tr838; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr771; + } else if ( _widec >= 640 ) + goto tr91; + goto tr79; +tr839: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st229; +tr835: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st229; +tr836: + { + 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 st268;} + } + s->multiline = true; + } + goto st229; +tr837: + { + 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 st268;} + } + s->multiline = false; + } + goto st229; +tr840: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st229; +tr841: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st229; +st229: + if ( ++p == pe ) + goto _test_eof229; +case 229: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr762; + case 778: goto tr92; + case 800: goto tr762; + case 808: goto tr763; + case 809: goto tr764; + case 827: goto tr765; + case 1033: goto tr839; + case 1034: goto tr756; + case 1056: goto tr839; + case 1064: goto tr840; + case 1065: goto tr841; + case 1083: goto tr842; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr771; + } else if ( _widec >= 640 ) + goto tr91; + goto tr79; +st230: + if ( ++p == pe ) + goto _test_eof230; +case 230: + switch( (*p) ) { + case 65: goto st231; + case 97: goto st231; + } + goto tr36; +st231: + if ( ++p == pe ) + goto _test_eof231; +case 231: + switch( (*p) ) { + case 65: goto st232; + case 97: goto st232; + } + goto tr36; +st232: + if ( ++p == pe ) + goto _test_eof232; +case 232: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr845; + case 32: goto tr845; + case 40: goto tr846; + case 41: goto tr847; + case 2058: goto tr848; + case 2107: goto tr849; + case 2314: goto tr850; + case 2363: goto tr850; + case 2570: goto tr851; + case 2619: goto tr852; + } + goto tr57; +st233: + if ( ++p == pe ) + goto _test_eof233; +case 233: + switch( (*p) ) { + case 83: goto st234; + case 115: goto st234; + } + goto tr36; +st234: + if ( ++p == pe ) + goto _test_eof234; +case 234: + switch( (*p) ) { + case 68: goto st235; + case 100: goto st235; + } + goto tr36; +st235: + if ( ++p == pe ) + goto _test_eof235; +case 235: + switch( (*p) ) { + case 66: goto st236; + case 98: goto st236; + } + goto tr36; +st236: + if ( ++p == pe ) + goto _test_eof236; +case 236: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr856; + case 32: goto tr856; + case 40: goto tr857; + case 41: goto tr858; + case 2058: goto tr859; + case 2107: goto tr860; + case 2314: goto tr861; + case 2363: goto tr861; + case 2570: goto tr862; + case 2619: goto tr863; + } + goto tr57; +st237: + if ( ++p == pe ) + goto _test_eof237; +case 237: + switch( (*p) ) { + case 76: goto st238; + case 108: goto st238; + } + goto tr36; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr865; + case 32: goto tr865; + case 40: goto tr866; + case 41: goto tr867; + case 2058: goto tr868; + case 2107: goto tr869; + case 2314: goto tr870; + case 2363: goto tr870; + case 2570: goto tr871; + case 2619: goto tr872; + } + goto tr57; +tr134: + { + s->buffer_length = 0; + } + goto st239; +tr873: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st239; +tr3629: + { + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st239; +st239: + if ( ++p == pe ) + goto _test_eof239; +case 239: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr666; + case 1034: goto tr874; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr873; + } else if ( _widec >= 640 ) + goto tr665; + goto tr79; +tr3631: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 240;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 240;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 240;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 240;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 240;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 240;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 240;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 240;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 240;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 240;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 240;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 240;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 240;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 240;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 240;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 240;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 240;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 240;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 240;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 240;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 240;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 240;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 240;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 240;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 240;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 240;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 240;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 240;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 240;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st240; +tr136: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 240;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 240;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 240;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 240;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 240;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 240;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 240;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 240;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 240;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 240;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 240;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 240;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 240;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 240;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 240;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 240;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 240;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 240;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 240;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 240;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 240;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 240;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 240;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 240;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 240;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 240;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 240;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 240;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 240;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr875; + case 32: goto tr875; + case 40: goto tr876; + case 41: goto tr877; + case 778: goto tr878; + case 827: goto tr761; + case 1034: goto tr878; + case 1083: goto tr761; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr665; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr665; + } else + goto tr665; + goto tr79; +tr879: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st241; +tr875: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st241; +tr876: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st241; +tr877: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st241; +tr880: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st241; +tr881: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st241; +st241: + if ( ++p == pe ) + goto _test_eof241; +case 241: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr879; + case 32: goto tr879; + case 40: goto tr880; + case 41: goto tr881; + case 778: goto tr882; + case 827: goto tr765; + case 1034: goto tr882; + case 1083: goto tr765; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr665; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr665; + } else + goto tr665; + goto tr85; +tr138: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 242;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 242;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 242;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 242;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 242;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 242;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 242;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 242;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 242;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 242;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 242;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 242;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 242;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 242;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 242;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 242;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 242;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 242;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 242;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 242;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 242;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 242;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 242;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 242;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 242;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 242;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 242;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 242;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 242;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st242; +tr3633: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 242;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 242;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 242;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 242;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 242;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 242;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 242;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 242;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 242;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 242;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 242;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 242;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 242;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 242;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 242;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 242;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 242;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 242;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 242;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 242;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 242;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 242;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 242;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 242;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 242;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 242;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 242;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 242;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 242;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st242; +st242: + if ( ++p == pe ) + goto _test_eof242; +case 242: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr875; + case 778: goto tr878; + case 800: goto tr875; + case 808: goto tr876; + case 809: goto tr877; + case 827: goto tr761; + case 1033: goto tr883; + case 1034: goto tr827; + case 1056: goto tr883; + case 1064: goto tr884; + case 1065: goto tr885; + case 1083: goto tr838; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr873; + } else if ( _widec >= 640 ) + goto tr665; + goto tr79; +tr886: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st243; +tr883: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st243; +tr884: + { + 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 st268;} + } + s->multiline = true; + } + goto st243; +tr885: + { + 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 st268;} + } + s->multiline = false; + } + goto st243; +tr887: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st243; +tr888: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st243; +st243: + if ( ++p == pe ) + goto _test_eof243; +case 243: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr879; + case 778: goto tr882; + case 800: goto tr879; + case 808: goto tr880; + case 809: goto tr881; + case 827: goto tr765; + case 1033: goto tr886; + case 1034: goto tr756; + case 1056: goto tr886; + case 1064: goto tr887; + case 1065: goto tr888; + case 1083: goto tr842; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr873; + } else if ( _widec >= 640 ) + goto tr665; + goto tr79; +tr110: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 244;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 244;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 244;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 244;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 244;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 244;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 244;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 244;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 244;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 244;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 244;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 244;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 244;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 244;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 244;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 244;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 244;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 244;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 244;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 244;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 244;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 244;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 244;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 244;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 244;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 244;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 244;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 244;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 244;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st244; +tr103: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 244;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 244;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 244;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 244;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 244;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 244;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 244;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 244;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 244;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 244;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 244;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 244;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 244;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 244;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 244;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 244;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 244;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 244;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 244;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 244;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 244;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 244;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 244;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 244;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 244;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 244;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 244;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 244;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 244;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st244; +tr744: + { 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++] = 244;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 244;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 244;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 244;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 244;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 244;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 244;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 244;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 244;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 244;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 244;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 244;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 244;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 244;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 244;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 244;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 244;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 244;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 244;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 244;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 244;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 244;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 244;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 244;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 244;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 244;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 244;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 244;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 244;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st244; +st244: + if ( ++p == pe ) + goto _test_eof244; +case 244: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr757; + case 778: goto tr760; + case 800: goto tr757; + case 808: goto tr758; + case 809: goto tr759; + case 827: goto tr761; + case 1033: goto tr889; + case 1034: goto tr760; + case 1056: goto tr889; + case 1064: goto tr890; + case 1065: goto tr891; + case 1083: goto tr167; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr111; + } else if ( _widec >= 640 ) + goto tr91; + goto tr79; +tr892: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st245; +tr889: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st245; +tr890: + { + 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 st268;} + } + s->multiline = true; + } + goto st245; +tr891: + { + 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 st268;} + } + s->multiline = false; + } + goto st245; +tr893: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st245; +tr894: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st245; +st245: + if ( ++p == pe ) + goto _test_eof245; +case 245: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr762; + case 778: goto tr92; + case 800: goto tr762; + case 808: goto tr763; + case 809: goto tr764; + case 827: goto tr765; + case 1033: goto tr892; + case 1034: goto tr92; + case 1056: goto tr892; + case 1064: goto tr893; + case 1065: goto tr894; + case 1083: goto tr171; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr111; + } else if ( _widec >= 640 ) + goto tr91; + goto tr79; +tr732: + { + s->buffer_length = 0; + } + goto st246; +tr895: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st246; +tr725: + { + s->r_owner_length = s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { s->r_type = KNOT_RRTYPE_A; } + { + rdata_tail = s->r_data; + } + goto st246; +st246: + if ( ++p == pe ) + goto _test_eof246; +case 246: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr896; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr895; + goto tr71; +tr733: + { + s->line_counter++; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 247;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 247;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 247;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 247;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 247;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 247;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 247;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 247;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 247;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 247;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 247;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 247;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 247;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 247;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 247;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 247;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 247;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 247;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 247;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 247;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 247;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 247;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 247;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 247;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 247;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 247;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 247;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 247;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 247;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st247; +tr726: + { + 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++] = 247;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 247;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 247;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 247;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 247;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 247;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 247;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 247;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 247;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 247;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 247;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 247;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 247;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 247;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 247;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 247;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 247;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 247;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 247;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 247;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 247;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 247;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 247;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 247;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 247;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 247;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 247;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 247;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 247;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + 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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr897; + case 32: goto tr897; + case 40: goto tr898; + case 41: goto tr899; + case 58: goto tr69; + case 65: goto tr118; + case 67: goto tr119; + case 68: goto tr120; + case 69: goto tr121; + case 72: goto tr122; + case 73: goto tr123; + case 75: goto tr124; + case 76: goto tr125; + case 77: goto tr126; + case 78: goto tr127; + case 80: goto tr128; + case 82: goto tr129; + case 83: goto tr130; + case 84: goto tr131; + case 85: goto tr132; + case 92: goto tr74; + case 97: goto tr118; + case 99: goto tr119; + case 100: goto tr120; + case 101: goto tr121; + case 104: goto tr122; + case 105: goto tr123; + case 107: goto tr124; + case 108: goto tr125; + case 109: goto tr126; + case 110: goto tr127; + case 112: goto tr128; + case 114: goto tr129; + case 115: goto tr130; + case 116: goto tr131; + case 117: goto tr132; + case 1802: goto tr83; + case 1851: goto tr84; + case 2058: goto tr824; + case 2107: goto tr900; + case 2314: goto tr101; + case 2363: goto tr102; + case 2570: goto tr824; + case 2619: goto tr901; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr69; + } else if ( _widec > 47 ) { + if ( _widec > 57 ) { + if ( 60 <= _widec ) + goto tr69; + } else if ( _widec >= 48 ) + goto tr117; + } else + goto tr69; + goto tr114; +tr734: + { + s->buffer_length = 0; + } + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = 248;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 248;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 248;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 248;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 248;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 248;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 248;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 248;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 248;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 248;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 248;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 248;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 248;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 248;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 248;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 248;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 248;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 248;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 248;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 248;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 248;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 248;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 248;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 248;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 248;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 248;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 248;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 248;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 248;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st248; +tr727: + { + 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++] = 248;goto st632;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = 248;goto st634;} + case KNOT_RRTYPE_SOA: + {stack[top++] = 248;goto st636;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = 248;goto st668;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = 248;goto st673;} + case KNOT_RRTYPE_MX: + case KNOT_RRTYPE_AFSDB: + case KNOT_RRTYPE_RT: + case KNOT_RRTYPE_KX: + case KNOT_RRTYPE_LP: + {stack[top++] = 248;goto st678;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = 248;goto st683;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = 248;goto st687;} + case KNOT_RRTYPE_LOC: + {stack[top++] = 248;goto st689;} + case KNOT_RRTYPE_SRV: + {stack[top++] = 248;goto st744;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = 248;goto st755;} + case KNOT_RRTYPE_CERT: + {stack[top++] = 248;goto st772;} + case KNOT_RRTYPE_APL: + {stack[top++] = 248;goto st783;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = 248;goto st794;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = 248;goto st807;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = 248;goto st817;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = 248;goto st856;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = 248;goto st1010;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = 248;goto st1013;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = 248;goto st1024;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = 248;goto st1026;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = 248;goto st1055;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = 248;goto st1068;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = 248;goto st1086;} + case KNOT_RRTYPE_L32: + {stack[top++] = 248;goto st1081;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = 248;goto st1099;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = 248;goto st1105;} + case KNOT_RRTYPE_URI: + {stack[top++] = 248;goto st1111;} + case KNOT_RRTYPE_CAA: + {stack[top++] = 248;goto st1119;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {goto st268;} + } + } + goto st248; +st248: + if ( ++p == pe ) + goto _test_eof248; +case 248: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto tr80; + case 778: goto tr83; + case 800: goto tr80; + case 808: goto tr81; + case 809: goto tr82; + case 827: goto tr84; + case 1033: goto tr902; + case 1034: goto tr827; + case 1056: goto tr902; + case 1064: goto tr903; + case 1065: goto tr904; + case 1083: goto tr838; + } + if ( 896 <= _widec && _widec <= 1151 ) + goto tr895; + goto tr79; +tr905: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st249; +tr902: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st249; +tr903: + { + 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 st268;} + } + s->multiline = true; + } + goto st249; +tr904: + { + 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 st268;} + } + s->multiline = false; + } + goto st249; +tr906: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st249; +tr907: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st249; +st249: + if ( ++p == pe ) + goto _test_eof249; +case 249: + _widec = (*p); + if ( (*p) < 11 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 58 ) { + if ( (*p) > 59 ) { + if ( 60 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 777: goto st7; + case 778: goto tr89; + case 800: goto st7; + case 808: goto tr87; + case 809: goto tr88; + case 827: goto tr90; + case 1033: goto tr905; + case 1034: goto tr756; + case 1056: goto tr905; + case 1064: goto tr906; + case 1065: goto tr907; + case 1083: goto tr842; + } + if ( 896 <= _widec && _widec <= 1151 ) + goto tr895; + goto tr79; +tr3639: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 250;goto st270;} } + goto st250; +tr3658: + { + 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++] = 250;goto st270;} } + goto st250; +st250: + if ( ++p == pe ) + goto _test_eof250; +case 250: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 65: goto st18; + case 68: goto st22; + case 69: goto st29; + case 78: goto st32; + case 97: goto st18; + case 100: goto st22; + case 101: goto st29; + case 110: goto st32; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3640: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 251;goto st270;} } + goto st251; +tr3659: + { + 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++] = 251;goto st270;} } + goto st251; +st251: + if ( ++p == pe ) + goto _test_eof251; +case 251: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 72: goto st37; + case 78: goto st41; + case 83: goto st49; + case 104: goto st37; + case 110: goto st41; + case 115: goto st49; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3641: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 252;goto st270;} } + goto st252; +tr3660: + { + 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++] = 252;goto st270;} } + goto st252; +st252: + if ( ++p == pe ) + goto _test_eof252; +case 252: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 85: goto st51; + case 117: goto st51; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3642: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 253;goto st270;} } + goto st253; +tr3661: + { + 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++] = 253;goto st270;} } + goto st253; +st253: + if ( ++p == pe ) + goto _test_eof253; +case 253: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 73: goto st58; + case 105: goto st58; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3662: + { + 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++] = 254;goto st270;} } + goto st254; +st254: + if ( ++p == pe ) + goto _test_eof254; +case 254: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 78: goto st144; + case 80: goto st66; + case 110: goto st144; + case 112: goto st66; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3644: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 255;goto st270;} } + goto st255; +tr3663: + { + 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++] = 255;goto st270;} } + goto st255; +st255: + if ( ++p == pe ) + goto _test_eof255; +case 255: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 69: goto st74; + case 88: goto st76; + case 101: goto st74; + case 120: goto st76; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3645: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 256;goto st270;} } + goto st256; +tr3664: + { + 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++] = 256;goto st270;} } + goto st256; +st256: + if ( ++p == pe ) + goto _test_eof256; +case 256: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 51: goto st78; + case 54: goto st80; + case 79: goto st82; + case 80: goto st84; + case 111: goto st82; + case 112: goto st84; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3646: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 257;goto st270;} } + goto st257; +tr3665: + { + 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++] = 257;goto st270;} } + goto st257; +st257: + if ( ++p == pe ) + goto _test_eof257; +case 257: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 73: goto st86; + case 88: goto st90; + case 105: goto st86; + case 120: goto st90; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3647: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 258;goto st270;} } + goto st258; +tr3666: + { + 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++] = 258;goto st270;} } + goto st258; +st258: + if ( ++p == pe ) + goto _test_eof258; +case 258: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 65: goto st92; + case 73: goto st96; + case 83: goto st98; + case 97: goto st92; + case 105: goto st96; + case 115: goto st98; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3648: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 259;goto st270;} } + goto st259; +tr3667: + { + 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++] = 259;goto st270;} } + goto st259; +st259: + if ( ++p == pe ) + goto _test_eof259; +case 259: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 84: goto st108; + case 116: goto st108; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3649: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 260;goto st270;} } + goto st260; +tr3668: + { + 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++] = 260;goto st270;} } + goto st260; +st260: + if ( ++p == pe ) + goto _test_eof260; +case 260: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 80: goto st111; + case 82: goto st112; + case 84: goto st116; + case 112: goto st111; + case 114: goto st112; + case 116: goto st116; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3650: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 261;goto st270;} } + goto st261; +tr3669: + { + 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++] = 261;goto st270;} } + goto st261; +st261: + if ( ++p == pe ) + goto _test_eof261; +case 261: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 79: goto st118; + case 80: goto st120; + case 82: goto st122; + case 83: goto st124; + case 111: goto st118; + case 112: goto st120; + case 114: goto st122; + case 115: goto st124; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3651: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 262;goto st270;} } + goto st262; +tr3670: + { + 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++] = 262;goto st270;} } + goto st262; +st262: + if ( ++p == pe ) + goto _test_eof262; +case 262: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 76: goto st129; + case 88: goto st132; + case 89: goto st134; + case 108: goto st129; + case 120: goto st132; + case 121: goto st134; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr3652: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 263;goto st270;} } + goto st263; +tr3671: + { + 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++] = 263;goto st270;} } + goto st263; +st263: + if ( ++p == pe ) + goto _test_eof263; +case 263: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 82: goto st139; + case 114: goto st139; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr23: + { + s->buffer_length = 0; + } + goto st264; +tr909: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st264; +tr3621: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st264; +tr3685: + { + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st264; +tr3681: + { + NOERR; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st264; +st264: + if ( ++p == pe ) + goto _test_eof264; +case 264: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr666; + case 1034: goto tr910; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr909; + } else if ( _widec >= 640 ) + goto tr665; + goto tr85; +tr611: + { + s->buffer_length = 0; + } + goto st265; +tr911: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st265; +tr3654: + { + s->buffer_length = 0; + } + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st265; +st265: + if ( ++p == pe ) + goto _test_eof265; +case 265: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr666; + case 1034: goto tr912; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr911; + } else if ( _widec >= 640 ) + goto tr665; + goto tr145; +tr3643: + { + s->r_class = s->default_class; + } + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + { p--; {stack[top++] = 266;goto st270;} } + goto st266; +st266: + if ( ++p == pe ) + goto _test_eof266; +case 266: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr679; + case 32: goto tr679; + case 40: goto tr680; + case 41: goto tr681; + case 78: goto st63; + case 80: goto st66; + case 110: goto st63; + case 112: goto st66; + case 1034: goto tr682; + case 1083: goto tr683; + } + goto tr908; +tr150: + { + s->buffer_length = 0; + } + goto st267; +tr913: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st267; +tr144: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st267; +st267: + if ( ++p == pe ) + goto _test_eof267; +case 267: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr92; + case 1034: goto tr914; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr913; + } else if ( _widec >= 640 ) + goto tr91; + goto tr145; +st268: + if ( ++p == pe ) + goto _test_eof268; +case 268: + if ( (*p) == 10 ) + goto tr916; + goto tr915; +tr915: + { + 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 st269; +tr917: + { + if ((*p) == '\r') { + ERR(ZS_DOS_NEWLINE); + } + + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st269; +st269: + if ( ++p == pe ) + goto _test_eof269; +case 269: + if ( (*p) == 10 ) + goto tr918; + goto tr917; +tr916: + cs = 1137; + { + 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 the multiline context. + s->multiline = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + 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 st1127;} + } else { + // Return if external processing. + p--; cs = 1127; {p++; goto _out;} + } + } + { + s->line_counter++; + } + goto _again; +tr918: + cs = 1137; + { + // Terminate the error context string. + s->buffer[s->buffer_length++] = 0; + + // Error counter incrementation. + s->error.counter++; + + // Initialize the fcall stack. + top = 0; + + // Reset the multiline context. + s->multiline = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + 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 st1127;} + } else { + // Return if external processing. + p--; cs = 1127; {p++; goto _out;} + } + } + { + s->line_counter++; + } + goto _again; +st1137: + if ( ++p == pe ) + goto _test_eof1137; +case 1137: + goto st0; +st270: + if ( ++p == pe ) + goto _test_eof270; +case 270: + switch( (*p) ) { + case 42: goto tr920; + case 46: goto tr921; + case 64: goto st278; + case 92: goto tr923; + case 95: goto tr920; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr920; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr920; + } else + goto tr920; + goto tr919; +tr920: + { + 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 st268;} + } + } + goto st271; +tr925: + { + // 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 st268;} + } + } + goto st271; +tr929: + { + 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 st268;} + } + } + goto st271; +tr936: + { + 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 st268;} + } + } + goto st271; +st271: + if ( ++p == pe ) + goto _test_eof271; +case 271: + switch( (*p) ) { + case 32: goto tr924; + case 42: goto tr925; + case 46: goto tr926; + case 59: goto tr924; + case 92: goto st273; + case 95: goto tr925; + } + if ( (*p) < 45 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr924; + } else if ( (*p) >= 9 ) + goto tr924; + } else if ( (*p) > 57 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr925; + } else if ( (*p) >= 65 ) + goto tr925; + } else + goto tr925; + goto tr919; +tr924: + { + // 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 st268;} + } + } + { + // 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 st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1138; +tr928: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1138; +tr935: + { + 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 st268;} + } + } + { + // 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 st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1138; +tr939: + { + // 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 st1138; +st1138: + if ( ++p == pe ) + goto _test_eof1138; +case 1138: + goto st0; +tr926: + { + // 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 st268;} + } + } + goto st272; +tr937: + { + 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 st268;} + } + } + goto st272; +st272: + if ( ++p == pe ) + goto _test_eof272; +case 272: + switch( (*p) ) { + case 32: goto tr928; + case 42: goto tr929; + case 45: goto tr929; + case 59: goto tr928; + case 92: goto tr930; + case 95: goto tr929; + } + if ( (*p) < 47 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr928; + } else if ( (*p) >= 9 ) + goto tr928; + } else if ( (*p) > 57 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr929; + } else if ( (*p) >= 65 ) + goto tr929; + } else + goto tr929; + goto tr919; +tr923: + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st273; +tr930: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st273; +tr938: + { + s->dname_tmp_length++; + } + goto st273; +st273: + if ( ++p == pe ) + goto _test_eof273; +case 273: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr931; + goto tr925; +tr931: + { + 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 st268;} + } + } + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st274; +st274: + if ( ++p == pe ) + goto _test_eof274; +case 274: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr933; + goto tr932; +tr933: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st275; +st275: + if ( ++p == pe ) + goto _test_eof275; +case 275: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr934; + goto tr932; +tr934: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st276; +st276: + if ( ++p == pe ) + goto _test_eof276; +case 276: + switch( (*p) ) { + case 32: goto tr935; + case 42: goto tr936; + case 46: goto tr937; + case 59: goto tr935; + case 92: goto tr938; + case 95: goto tr936; + } + if ( (*p) < 45 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr935; + } else if ( (*p) >= 9 ) + goto tr935; + } else if ( (*p) > 57 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr936; + } else if ( (*p) >= 65 ) + goto tr936; + } else + goto tr936; + goto tr932; +tr921: + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + goto st277; +st277: + if ( ++p == pe ) + goto _test_eof277; +case 277: + switch( (*p) ) { + case 32: goto tr928; + case 59: goto tr928; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr928; + } else if ( (*p) >= 9 ) + goto tr928; + goto tr919; +st278: + if ( ++p == pe ) + goto _test_eof278; +case 278: + switch( (*p) ) { + case 32: goto tr939; + case 59: goto tr939; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr939; + } else if ( (*p) >= 9 ) + goto tr939; + goto tr919; +st279: + if ( ++p == pe ) + goto _test_eof279; +case 279: + switch( (*p) ) { + case 34: goto st285; + case 92: goto st281; + } + if ( (*p) > 58 ) { + if ( 60 <= (*p) && (*p) <= 126 ) + goto tr941; + } else if ( (*p) >= 33 ) + goto tr941; + goto tr940; +tr941: + { + 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 st268;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + goto st280; +tr951: + { + 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 st268;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + goto st280; +st280: + if ( ++p == pe ) + goto _test_eof280; +case 280: + switch( (*p) ) { + case 32: goto tr944; + case 33: goto tr941; + case 59: goto tr944; + case 92: goto st281; + } + if ( (*p) < 35 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr944; + } else if ( (*p) > 39 ) { + if ( (*p) > 41 ) { + if ( 42 <= (*p) && (*p) <= 126 ) + goto tr941; + } else if ( (*p) >= 40 ) + goto tr945; + } else + goto tr941; + goto tr940; +tr944: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1139; +tr950: + { + rdata_tail++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1139; +st1139: + if ( ++p == pe ) + goto _test_eof1139; +case 1139: + goto st0; +tr945: + { + 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 st268;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1140; +tr952: + { + 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 st268;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1140; +st1140: + if ( ++p == pe ) + goto _test_eof1140; +case 1140: + switch( (*p) ) { + case 32: goto tr944; + case 33: goto tr941; + case 59: goto tr944; + case 92: goto st281; + } + if ( (*p) < 35 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr944; + } else if ( (*p) > 39 ) { + if ( (*p) > 41 ) { + if ( 42 <= (*p) && (*p) <= 126 ) + goto tr941; + } else if ( (*p) >= 40 ) + goto tr945; + } else + goto tr941; + goto tr940; +tr953: + { + rdata_tail++; + } + goto st281; +st281: + if ( ++p == pe ) + goto _test_eof281; +case 281: + if ( (*p) < 48 ) { + if ( 32 <= (*p) && (*p) <= 47 ) + goto tr941; + } else if ( (*p) > 57 ) { + if ( 58 <= (*p) && (*p) <= 126 ) + goto tr941; + } else + goto tr947; + goto tr946; +tr947: + { + 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 st268;} + } + } + + *rdata_tail = 0; + s->item_length++; + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st282; +st282: + if ( ++p == pe ) + goto _test_eof282; +case 282: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr948; + goto tr946; +tr948: + { + 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 st268;} + } + } + goto st283; +st283: + if ( ++p == pe ) + goto _test_eof283; +case 283: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr949; + goto tr946; +tr949: + { + 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 st268;} + } + } + goto st284; +st284: + if ( ++p == pe ) + goto _test_eof284; +case 284: + switch( (*p) ) { + case 32: goto tr950; + case 33: goto tr951; + case 59: goto tr950; + case 92: goto tr953; + } + if ( (*p) < 35 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr950; + } else if ( (*p) > 39 ) { + if ( (*p) > 41 ) { + if ( 42 <= (*p) && (*p) <= 126 ) + goto tr951; + } else if ( (*p) >= 40 ) + goto tr952; + } else + goto tr951; + goto tr946; +tr954: + { + 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 st268;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + goto st285; +tr961: + { + 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 st268;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + goto st285; +st285: + if ( ++p == pe ) + goto _test_eof285; +case 285: + _widec = (*p); + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(128 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr954; + case 34: goto st286; + case 92: goto st287; + case 522: goto tr954; + } + if ( 32 <= _widec && _widec <= 126 ) + goto tr954; + goto tr940; +tr962: + { + rdata_tail++; + } + goto st286; +st286: + if ( ++p == pe ) + goto _test_eof286; +case 286: + switch( (*p) ) { + case 32: goto tr944; + case 59: goto tr944; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr944; + } else if ( (*p) >= 9 ) + goto tr944; + goto tr957; +tr963: + { + rdata_tail++; + } + goto st287; +st287: + if ( ++p == pe ) + goto _test_eof287; +case 287: + if ( (*p) < 48 ) { + if ( 32 <= (*p) && (*p) <= 47 ) + goto tr954; + } else if ( (*p) > 57 ) { + if ( 58 <= (*p) && (*p) <= 126 ) + goto tr954; + } else + goto tr958; + goto tr946; +tr958: + { + 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 st268;} + } + } + + *rdata_tail = 0; + s->item_length++; + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st288; +st288: + if ( ++p == pe ) + goto _test_eof288; +case 288: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr959; + goto tr946; +tr959: + { + 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 st268;} + } + } + goto st289; +st289: + if ( ++p == pe ) + goto _test_eof289; +case 289: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr960; + goto tr946; +tr960: + { + 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 st268;} + } + } + goto st290; +st290: + if ( ++p == pe ) + goto _test_eof290; +case 290: + _widec = (*p); + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(128 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr961; + case 34: goto tr962; + case 92: goto tr963; + case 522: goto tr961; + } + if ( 32 <= _widec && _widec <= 126 ) + goto tr961; + goto tr946; +st291: + if ( ++p == pe ) + goto _test_eof291; +case 291: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st292; + case 32: goto st292; + case 40: goto tr966; + case 41: goto tr967; + case 1034: goto tr968; + case 1083: goto tr969; + } + goto tr964; +tr966: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st292; +tr967: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st292; +tr968: + { + s->line_counter++; + } + goto st292; +tr1007: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st292; +st292: + if ( ++p == pe ) + goto _test_eof292; +case 292: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st292; + case 32: goto st292; + case 40: goto tr966; + case 41: goto tr967; + case 1034: goto tr968; + case 1083: goto tr969; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr971; + goto tr970; +tr971: + { + 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 st268;} + } + } + goto st293; +tr976: + { + // 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 st268;} + } + } + goto st293; +st293: + if ( ++p == pe ) + goto _test_eof293; +case 293: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr973; + case 32: goto tr973; + case 40: goto tr974; + case 41: goto tr975; + case 68: goto tr977; + case 72: goto tr978; + case 77: goto tr979; + case 83: goto st296; + case 87: goto tr981; + case 100: goto tr977; + case 104: goto tr978; + case 109: goto tr979; + case 115: goto st296; + case 119: goto tr981; + case 778: goto tr982; + case 827: goto tr983; + case 1034: goto tr982; + case 1083: goto tr983; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr976; + goto tr972; +tr986: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st294; +tr987: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st294; +tr973: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st294; +tr974: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st294; +tr975: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st294; +tr1000: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st294; +tr1001: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st294; +tr1002: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st294; +st294: + if ( ++p == pe ) + goto _test_eof294; +case 294: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st294; + case 32: goto st294; + case 40: goto tr986; + case 41: goto tr987; + case 778: goto tr988; + case 827: goto tr989; + case 1034: goto tr988; + case 1083: goto tr989; + } + goto tr984; +tr982: + { + 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 st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1141; +tr988: + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1141; +tr991: + { + s->buffer[s->buffer_length++] = 0; + } + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1141; +tr1004: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1141; +st1141: + if ( ++p == pe ) + goto _test_eof1141; +case 1141: + goto st0; +tr989: + { + s->buffer_length = 0; + } + goto st295; +tr983: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st295; +tr990: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st295; +tr1005: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + { + s->buffer_length = 0; + } + goto st295; +st295: + if ( ++p == pe ) + goto _test_eof295; +case 295: + if ( (*p) == 10 ) + goto tr991; + goto tr990; +tr977: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st296; +tr978: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st296; +tr979: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st296; +tr981: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st296; +st296: + if ( ++p == pe ) + goto _test_eof296; +case 296: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr973; + case 32: goto tr973; + case 40: goto tr974; + case 41: goto tr975; + case 778: goto tr982; + case 827: goto tr983; + case 1034: goto tr982; + case 1083: goto tr983; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr992; + goto tr972; +tr994: + { + // 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 st268;} + } + } + goto st297; +tr992: + { + 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 st268;} + } + } + goto st297; +tr1003: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st297; +st297: + if ( ++p == pe ) + goto _test_eof297; +case 297: + switch( (*p) ) { + case 68: goto tr995; + case 72: goto tr996; + case 77: goto tr997; + case 83: goto st298; + case 87: goto tr999; + case 100: goto tr995; + case 104: goto tr996; + case 109: goto tr997; + case 115: goto st298; + case 119: goto tr999; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr994; + goto tr993; +tr995: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st298; +tr996: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st298; +tr997: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st298; +tr999: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st298; +st298: + if ( ++p == pe ) + goto _test_eof298; +case 298: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1000; + case 32: goto tr1000; + case 40: goto tr1001; + case 41: goto tr1002; + case 778: goto tr1004; + case 827: goto tr1005; + case 1034: goto tr1004; + case 1083: goto tr1005; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1003; + goto tr972; +tr969: + { + s->buffer_length = 0; + } + goto st299; +tr1006: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st299; +st299: + if ( ++p == pe ) + goto _test_eof299; +case 299: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1007; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1006; + goto tr964; +st300: + if ( ++p == pe ) + goto _test_eof300; +case 300: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st301; + case 32: goto st301; + case 40: goto tr1010; + case 41: goto tr1011; + case 1034: goto tr1012; + case 1083: goto tr1013; + } + goto tr1008; +tr1010: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st301; +tr1011: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st301; +tr1012: + { + s->line_counter++; + } + goto st301; +tr1043: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st301; +st301: + if ( ++p == pe ) + goto _test_eof301; +case 301: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st301; + case 32: goto st301; + case 40: goto tr1010; + case 41: goto tr1011; + case 42: goto tr1014; + case 46: goto tr1015; + case 92: goto tr1016; + case 95: goto tr1014; + case 1034: goto tr1012; + case 1083: goto tr1013; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1014; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1014; + } else + goto tr1014; + goto tr1008; +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 st268;} + } + } + goto st302; +tr1024: + { + 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 st268;} + } + } + goto st302; +tr1039: + { + 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 st268;} + } + } + goto st302; +tr1014: + { + 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 st268;} + } + } + goto st302; +st302: + if ( ++p == pe ) + goto _test_eof302; +case 302: + switch( (*p) ) { + case 42: goto tr1017; + case 46: goto tr1018; + case 92: goto st306; + case 95: goto tr1017; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1017; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1017; + } else + goto tr1017; + goto tr1008; +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 st268;} + } + } + goto st303; +tr1040: + { + 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 st268;} + } + } + goto st303; +st303: + if ( ++p == pe ) + goto _test_eof303; +case 303: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1021; + case 32: goto tr1021; + case 40: goto tr1022; + case 41: goto tr1023; + case 42: goto tr1024; + case 45: goto tr1024; + case 92: goto tr1025; + case 95: goto tr1024; + case 778: goto tr1026; + case 827: goto tr1027; + case 1034: goto tr1026; + case 1083: goto tr1027; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1024; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1024; + } else + goto tr1024; + goto tr1020; +tr1029: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st304; +tr1030: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st304; +tr1021: + { + // 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 st304; +tr1022: + { + // 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 st268;} + } + s->multiline = true; + } + goto st304; +tr1023: + { + // 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 st268;} + } + s->multiline = false; + } + goto st304; +st304: + if ( ++p == pe ) + goto _test_eof304; +case 304: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st304; + case 32: goto st304; + case 40: goto tr1029; + case 41: goto tr1030; + case 778: goto tr1031; + case 827: goto tr1032; + case 1034: goto tr1031; + case 1083: goto tr1032; + } + goto tr1020; +tr1026: + { + // 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 st1142; +tr1031: + { + s->zone_origin_length = s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1142; +tr1034: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->zone_origin_length = s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto st1142; +st1142: + if ( ++p == pe ) + goto _test_eof1142; +case 1142: + goto st0; +tr1032: + { + s->buffer_length = 0; + } + goto st305; +tr1033: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st305; +tr1027: + { + // 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 st305; +st305: + if ( ++p == pe ) + goto _test_eof305; +case 305: + if ( (*p) == 10 ) + goto tr1034; + goto tr1033; +tr1025: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st306; +tr1041: + { + s->dname_tmp_length++; + } + goto st306; +tr1016: + { + 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 st306; +st306: + if ( ++p == pe ) + goto _test_eof306; +case 306: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1035; + goto tr1017; +tr1035: + { + 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 st268;} + } + } + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st307; +st307: + if ( ++p == pe ) + goto _test_eof307; +case 307: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1037; + goto tr1036; +tr1037: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st308; +st308: + if ( ++p == pe ) + goto _test_eof308; +case 308: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1038; + goto tr1036; +tr1038: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st309; +st309: + if ( ++p == pe ) + goto _test_eof309; +case 309: + switch( (*p) ) { + case 42: goto tr1039; + case 46: goto tr1040; + case 92: goto tr1041; + case 95: goto tr1039; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1039; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1039; + } else + goto tr1039; + goto tr1036; +tr1015: + { + s->dname = s->zone_origin; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + goto st310; +st310: + if ( ++p == pe ) + goto _test_eof310; +case 310: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1021; + case 32: goto tr1021; + case 40: goto tr1022; + case 41: goto tr1023; + case 778: goto tr1026; + case 827: goto tr1027; + case 1034: goto tr1026; + case 1083: goto tr1027; + } + goto tr1020; +tr1013: + { + s->buffer_length = 0; + } + goto st311; +tr1042: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st311; +st311: + if ( ++p == pe ) + goto _test_eof311; +case 311: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1043; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1042; + goto tr1008; +st312: + if ( ++p == pe ) + goto _test_eof312; +case 312: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st313; + case 32: goto st313; + case 40: goto tr1045; + case 41: goto tr1046; + case 1034: goto tr1047; + case 1083: goto tr1048; + } + goto st0; +tr1045: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st313; +tr1046: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st313; +tr1047: + { + s->line_counter++; + } + goto st313; +tr1101: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st313; +st313: + if ( ++p == pe ) + goto _test_eof313; +case 313: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st313; + case 32: goto st313; + case 40: goto tr1045; + case 41: goto tr1046; + case 1034: goto tr1047; + case 1083: goto tr1048; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr1049; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr1049; + } else + goto tr1049; + goto tr1050; +tr1049: + { + rdata_tail = s->r_data; + } + { p--; {stack[top++] = 314;goto st279;} } + goto st314; +st314: + if ( ++p == pe ) + goto _test_eof314; +case 314: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1052; + case 32: goto tr1052; + case 40: goto tr1053; + case 41: goto tr1054; + case 778: goto tr1055; + case 827: goto tr1056; + case 1034: goto tr1055; + case 1083: goto tr1057; + } + goto tr1051; +tr1060: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st315; +tr1061: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st315; +tr1052: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + + // 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 st315; +tr1053: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + + // 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 st268;} + } + s->multiline = true; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st315; +tr1054: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + + // 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 st268;} + } + s->multiline = false; + } + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + goto st315; +st315: + if ( ++p == pe ) + goto _test_eof315; +case 315: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st315; + case 32: goto st315; + case 40: goto tr1060; + case 41: goto tr1061; + case 42: goto tr1062; + case 46: goto tr1063; + case 92: goto tr1064; + case 95: goto tr1062; + case 778: goto tr1065; + case 827: goto tr1066; + case 1034: goto tr1065; + case 1083: goto tr1067; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1062; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1062; + } else + goto tr1062; + goto tr1058; +tr1069: + { + // 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 st268;} + } + } + goto st316; +tr1075: + { + 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 st268;} + } + } + goto st316; +tr1088: + { + 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 st268;} + } + } + goto st316; +tr1062: + { + 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 st268;} + } + } + goto st316; +st316: + if ( ++p == pe ) + goto _test_eof316; +case 316: + switch( (*p) ) { + case 42: goto tr1069; + case 46: goto tr1070; + case 92: goto st320; + case 95: goto tr1069; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1069; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1069; + } else + goto tr1069; + goto tr1068; +tr1070: + { + // 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 st268;} + } + } + goto st317; +tr1089: + { + 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 st268;} + } + } + goto st317; +st317: + if ( ++p == pe ) + goto _test_eof317; +case 317: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1072; + case 32: goto tr1072; + case 40: goto tr1073; + case 41: goto tr1074; + case 42: goto tr1075; + case 45: goto tr1075; + case 92: goto tr1076; + case 95: goto tr1075; + case 778: goto tr1077; + case 827: goto tr1078; + case 1034: goto tr1077; + case 1083: goto tr1078; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1075; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1075; + } else + goto tr1075; + goto tr1058; +tr1080: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st318; +tr1081: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st318; +tr1072: + { + // 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 st318; +tr1073: + { + // 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 st268;} + } + s->multiline = true; + } + goto st318; +tr1074: + { + // 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 st268;} + } + s->multiline = false; + } + goto st318; +st318: + if ( ++p == pe ) + goto _test_eof318; +case 318: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st318; + case 32: goto st318; + case 40: goto tr1080; + case 41: goto tr1081; + case 778: goto tr1065; + case 827: goto tr1066; + case 1034: goto tr1065; + case 1083: goto tr1066; + } + goto tr85; +tr1055: + cs = 1143; + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + + // 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 st268;} + } + memcpy(s->include_filename, s->buffer, ret); + } + + // 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 st268;} + } + + // 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 st268;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1127; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +tr1065: + cs = 1143; + { + // 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 st268;} + } + memcpy(s->include_filename, s->buffer, ret); + } + + // 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 st268;} + } + + // 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 st268;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1127; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +tr1077: + cs = 1143; + { + // 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 st268;} + } + memcpy(s->include_filename, s->buffer, ret); + } + + // 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 st268;} + } + + // 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 st268;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1127; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +tr1083: + cs = 1143; + { + s->buffer[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 st268;} + } + memcpy(s->include_filename, s->buffer, ret); + } + + // 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 st268;} + } + + // 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 st268;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1127; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + { + s->line_counter++; + } + goto _again; +st1143: + if ( ++p == pe ) + goto _test_eof1143; +case 1143: + goto st0; +tr1066: + { + s->buffer_length = 0; + } + goto st319; +tr1082: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st319; +tr1056: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + + // 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 st319; +tr1078: + { + // 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 st319; +st319: + if ( ++p == pe ) + goto _test_eof319; +case 319: + if ( (*p) == 10 ) + goto tr1083; + goto tr1082; +tr1076: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + goto st320; +tr1090: + { + s->dname_tmp_length++; + } + goto st320; +tr1064: + { + 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 st320; +st320: + if ( ++p == pe ) + goto _test_eof320; +case 320: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1084; + goto tr1069; +tr1084: + { + 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 st268;} + } + } + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st321; +st321: + if ( ++p == pe ) + goto _test_eof321; +case 321: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1086; + goto tr1085; +tr1086: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st322; +st322: + if ( ++p == pe ) + goto _test_eof322; +case 322: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1087; + goto tr1085; +tr1087: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + goto st323; +st323: + if ( ++p == pe ) + goto _test_eof323; +case 323: + switch( (*p) ) { + case 42: goto tr1088; + case 46: goto tr1089; + case 92: goto tr1090; + case 95: goto tr1088; + } + if ( (*p) < 65 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1088; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1088; + } else + goto tr1088; + goto tr1085; +tr1063: + { + s->dname = s->r_data; + } + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + goto st324; +st324: + if ( ++p == pe ) + goto _test_eof324; +case 324: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1072; + case 32: goto tr1072; + case 40: goto tr1073; + case 41: goto tr1074; + case 778: goto tr1077; + case 827: goto tr1078; + case 1034: goto tr1077; + case 1083: goto tr1078; + } + goto tr1058; +tr1067: + { + s->buffer_length = 0; + } + goto st325; +tr1091: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st325; +tr1057: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {goto st268;} + } + + // 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 st325; +st325: + if ( ++p == pe ) + goto _test_eof325; +case 325: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 778: goto tr1083; + case 1034: goto tr1092; + } + if ( _widec > 895 ) { + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1091; + } else if ( _widec >= 640 ) + goto tr1082; + goto tr85; +tr1092: + cs = 1144; + { + s->buffer[s->buffer_length++] = 0; + } + { + 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 st268;} + } + memcpy(s->include_filename, s->buffer, ret); + } + + // 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 st268;} + } + + // 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 st268;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1127; {p++; goto _out;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto _again; +st1144: + if ( ++p == pe ) + goto _test_eof1144; +case 1144: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st326; + case 32: goto st326; + case 40: goto tr1094; + case 41: goto tr1095; + case 42: goto tr1062; + case 46: goto tr1063; + case 92: goto tr1064; + case 95: goto tr1062; + case 1034: goto tr1096; + case 1083: goto tr1097; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1062; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1062; + } else + goto tr1062; + goto tr1068; +tr1094: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st326; +tr1095: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st326; +tr1096: + { + s->line_counter++; + } + goto st326; +tr1099: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st326; +st326: + if ( ++p == pe ) + goto _test_eof326; +case 326: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st326; + case 32: goto st326; + case 40: goto tr1094; + case 41: goto tr1095; + case 42: goto tr1062; + case 46: goto tr1063; + case 92: goto tr1064; + case 95: goto tr1062; + case 1034: goto tr1096; + case 1083: goto tr1097; + } + if ( _widec < 65 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1062; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1062; + } else + goto tr1062; + goto tr1068; +tr1097: + { + s->buffer_length = 0; + } + goto st327; +tr1098: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st327; +st327: + if ( ++p == pe ) + goto _test_eof327; +case 327: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1099; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1098; + goto st0; +tr1048: + { + s->buffer_length = 0; + } + goto st328; +tr1100: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st328; +st328: + if ( ++p == pe ) + goto _test_eof328; +case 328: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1101; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1100; + goto st0; +st329: + if ( ++p == pe ) + goto _test_eof329; +case 329: + if ( (*p) == 43 ) + goto tr1103; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1103; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1103; + } else + goto tr1103; + goto tr1102; +tr1103: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st330; +st330: + if ( ++p == pe ) + goto _test_eof330; +case 330: + if ( (*p) == 43 ) + goto tr1104; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1104; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1104; + } else + goto tr1104; + goto tr1102; +tr1104: + { + *(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 st268;} + } + } + goto st331; +st331: + if ( ++p == pe ) + goto _test_eof331; +case 331: + switch( (*p) ) { + case 43: goto tr1105; + case 61: goto st335; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1105; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1105; + } else + goto tr1105; + goto tr1102; +tr1105: + { + *(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 st268;} + } + } + goto st332; +st332: + if ( ++p == pe ) + goto _test_eof332; +case 332: + switch( (*p) ) { + case 43: goto tr1107; + case 61: goto st333; + } + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr1107; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1107; + } else + goto tr1107; + goto tr1102; +tr1109: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st333; +tr1110: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st333; +tr1111: + { + s->line_counter++; + } + goto st333; +tr1117: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st333; +tr1107: + { + *(rdata_tail++) += fourth_base64_to_num[(uint8_t)(*p)]; + } + 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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st333; + case 32: goto st333; + case 40: goto tr1109; + case 41: goto tr1110; + case 43: goto tr1103; + case 2058: goto tr1111; + case 2107: goto tr1112; + case 2314: goto tr1113; + case 2363: goto tr1113; + case 2570: goto tr1114; + case 2619: goto tr1115; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1103; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1103; + } else + goto tr1103; + goto tr1102; +tr1112: + { + s->buffer_length = 0; + } + goto st334; +tr1116: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st334; +st334: + if ( ++p == pe ) + goto _test_eof334; +case 334: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1117; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1116; + goto tr1102; +tr1113: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1145; +st1145: + if ( ++p == pe ) + goto _test_eof1145; +case 1145: + goto st0; +tr1114: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1146; +st1146: + if ( ++p == pe ) + goto _test_eof1146; +case 1146: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st333; + case 32: goto st333; + case 40: goto tr1109; + case 41: goto tr1110; + case 43: goto tr1103; + case 2058: goto tr1111; + case 2107: goto tr1112; + case 2314: goto tr1113; + case 2363: goto tr1113; + case 2570: goto tr1114; + case 2619: goto tr1115; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr1103; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1103; + } else + goto tr1103; + goto tr1102; +tr1115: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1147; +st1147: + if ( ++p == pe ) + goto _test_eof1147; +case 1147: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1117; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1116; + goto tr1102; +st335: + if ( ++p == pe ) + goto _test_eof335; +case 335: + if ( (*p) == 61 ) + goto st333; + goto tr1102; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1119; + case 32: goto tr1119; + case 40: goto tr1120; + case 41: goto tr1121; + case 2058: goto tr1122; + case 2107: goto tr1123; + case 2314: goto tr1124; + case 2363: goto tr1124; + case 2570: goto tr1125; + case 2619: goto tr1126; + } + goto tr1118; +tr1128: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1129: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1145: + { + s->line_counter++; + } + goto st337; +tr1172: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st337; +tr1119: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + goto st337; +tr1120: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1121: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1122: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + s->line_counter++; + } + goto st337; +tr1150: + { window_add_bit(KNOT_RRTYPE_A, s); } + goto st337; +tr1151: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1152: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1156: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + s->line_counter++; + } + goto st337; +tr1163: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + goto st337; +tr1164: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1165: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1166: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + s->line_counter++; + } + goto st337; +tr1178: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + goto st337; +tr1179: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1180: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1181: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + s->line_counter++; + } + goto st337; +tr1192: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + goto st337; +tr1193: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1194: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1195: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + s->line_counter++; + } + goto st337; +tr1200: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + goto st337; +tr1201: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1202: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1203: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + s->line_counter++; + } + goto st337; +tr1210: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + goto st337; +tr1211: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1212: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1213: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + s->line_counter++; + } + goto st337; +tr1221: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + goto st337; +tr1222: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1223: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1224: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + s->line_counter++; + } + goto st337; +tr1235: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + goto st337; +tr1236: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1237: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1238: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + s->line_counter++; + } + goto st337; +tr1247: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + goto st337; +tr1248: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1249: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1250: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + s->line_counter++; + } + goto st337; +tr1258: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + goto st337; +tr1259: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1260: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1261: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + s->line_counter++; + } + goto st337; +tr1266: + { window_add_bit(KNOT_RRTYPE_DS, s); } + goto st337; +tr1267: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1268: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1269: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + s->line_counter++; + } + goto st337; +tr1279: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + goto st337; +tr1280: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1281: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1282: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + s->line_counter++; + } + goto st337; +tr1288: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + goto st337; +tr1289: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1290: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1291: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + s->line_counter++; + } + goto st337; +tr1300: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + goto st337; +tr1301: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1302: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1303: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + s->line_counter++; + } + goto st337; +tr1315: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + goto st337; +tr1316: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1317: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1318: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + s->line_counter++; + } + goto st337; +tr1326: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + goto st337; +tr1327: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1328: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1329: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + s->line_counter++; + } + goto st337; +tr1334: + { window_add_bit(KNOT_RRTYPE_KX, s); } + goto st337; +tr1335: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1336: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1337: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + s->line_counter++; + } + goto st337; +tr1347: + { window_add_bit(KNOT_RRTYPE_L32, s); } + goto st337; +tr1348: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1349: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1350: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + s->line_counter++; + } + goto st337; +tr1356: + { window_add_bit(KNOT_RRTYPE_L64, s); } + goto st337; +tr1357: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1358: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1359: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + s->line_counter++; + } + goto st337; +tr1365: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + goto st337; +tr1366: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1367: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1368: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + s->line_counter++; + } + goto st337; +tr1373: + { window_add_bit(KNOT_RRTYPE_LP, s); } + goto st337; +tr1374: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1375: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1376: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + s->line_counter++; + } + goto st337; +tr1386: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + goto st337; +tr1387: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1388: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1389: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + s->line_counter++; + } + goto st337; +tr1394: + { window_add_bit(KNOT_RRTYPE_MX, s); } + goto st337; +tr1395: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1396: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1397: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + s->line_counter++; + } + goto st337; +tr1408: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + goto st337; +tr1409: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1410: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1411: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + s->line_counter++; + } + goto st337; +tr1417: + { window_add_bit(KNOT_RRTYPE_NID, s); } + goto st337; +tr1418: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1419: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1420: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + s->line_counter++; + } + goto st337; +tr1425: + { window_add_bit(KNOT_RRTYPE_NS, s); } + goto st337; +tr1426: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1427: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1429: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + s->line_counter++; + } + goto st337; +tr1435: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + goto st337; +tr1436: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1437: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1439: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + s->line_counter++; + } + goto st337; +tr1444: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + goto st337; +tr1445: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1446: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1448: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + s->line_counter++; + } + goto st337; +tr1457: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + goto st337; +tr1458: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1459: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1460: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + s->line_counter++; + } + goto st337; +tr1467: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + goto st337; +tr1468: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1469: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1470: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + s->line_counter++; + } + goto st337; +tr1478: + { window_add_bit(KNOT_RRTYPE_RP, s); } + goto st337; +tr1479: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1480: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1481: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + s->line_counter++; + } + goto st337; +tr1489: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + goto st337; +tr1490: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1491: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1492: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + s->line_counter++; + } + goto st337; +tr1497: + { window_add_bit(KNOT_RRTYPE_RT, s); } + goto st337; +tr1498: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1499: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1500: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + s->line_counter++; + } + goto st337; +tr1510: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + goto st337; +tr1511: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1512: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1513: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + s->line_counter++; + } + goto st337; +tr1519: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + goto st337; +tr1520: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1521: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1522: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + s->line_counter++; + } + goto st337; +tr1528: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + goto st337; +tr1529: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1530: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1531: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + s->line_counter++; + } + goto st337; +tr1539: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + goto st337; +tr1540: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1541: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1542: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + s->line_counter++; + } + goto st337; +tr1552: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + goto st337; +tr1553: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1554: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1555: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + s->line_counter++; + } + goto st337; +tr1561: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + goto st337; +tr1562: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1563: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1564: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + s->line_counter++; + } + goto st337; +tr1572: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + goto st337; +tr1573: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1574: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1576: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st337; +tr1583: + { window_add_bit(KNOT_RRTYPE_URI, s); } + goto st337; +tr1584: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1585: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1586: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + s->line_counter++; + } + goto st337; +tr1594: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + goto st337; +tr1595: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1596: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1597: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + s->line_counter++; + } + goto st337; +tr1603: + { window_add_bit(KNOT_RRTYPE_APL, s); } + goto st337; +tr1604: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st337; +tr1605: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st337; +tr1606: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + s->line_counter++; + } + goto st337; +st337: + if ( ++p == pe ) + goto _test_eof337; +case 337: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st337; + case 32: goto st337; + case 40: goto tr1128; + case 41: goto tr1129; + case 65: goto st338; + case 67: goto st343; + case 68: goto st360; + case 69: goto st374; + case 72: goto st381; + case 73: goto st386; + case 75: goto st394; + case 76: goto st398; + case 77: goto st406; + case 78: goto st412; + case 80: goto st428; + case 82: goto st431; + case 83: goto st438; + case 84: goto st449; + case 85: goto st459; + case 97: goto st338; + case 99: goto st343; + case 100: goto st360; + case 101: goto st374; + case 104: goto st381; + case 105: goto st386; + case 107: goto st394; + case 108: goto st398; + case 109: goto st406; + case 110: goto st412; + case 112: goto st428; + case 114: goto st431; + case 115: goto st438; + case 116: goto st449; + case 117: goto st459; + case 2058: goto tr1145; + case 2107: goto tr1146; + case 2314: goto tr1147; + case 2363: goto tr1147; + case 2570: goto tr1148; + case 2619: goto tr1149; + } + goto tr1118; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1150; + case 32: goto tr1150; + case 40: goto tr1151; + case 41: goto tr1152; + case 65: goto st339; + case 70: goto st462; + case 80: goto st466; + case 97: goto st339; + case 102: goto st462; + case 112: goto st466; + case 2058: goto tr1156; + case 2107: goto tr1157; + case 2314: goto tr1158; + case 2363: goto tr1158; + case 2570: goto tr1159; + case 2619: goto tr1160; + } + goto tr1118; +st339: + if ( ++p == pe ) + goto _test_eof339; +case 339: + switch( (*p) ) { + case 65: goto st340; + case 97: goto st340; + } + goto tr1118; +st340: + if ( ++p == pe ) + goto _test_eof340; +case 340: + switch( (*p) ) { + case 65: goto st341; + case 97: goto st341; + } + goto tr1118; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1163; + case 32: goto tr1163; + case 40: goto tr1164; + case 41: goto tr1165; + case 2058: goto tr1166; + case 2107: goto tr1167; + case 2314: goto tr1168; + case 2363: goto tr1168; + case 2570: goto tr1169; + case 2619: goto tr1170; + } + goto tr1118; +tr1146: + { + s->buffer_length = 0; + } + goto st342; +tr1171: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st342; +tr1123: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + { + s->buffer_length = 0; + } + goto st342; +tr1157: + { window_add_bit(KNOT_RRTYPE_A, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1167: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1182: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1196: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1204: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1214: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1225: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1239: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1251: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1262: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1270: + { window_add_bit(KNOT_RRTYPE_DS, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1283: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1292: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1304: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1319: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1330: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1338: + { window_add_bit(KNOT_RRTYPE_KX, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1351: + { window_add_bit(KNOT_RRTYPE_L32, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1360: + { window_add_bit(KNOT_RRTYPE_L64, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1369: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1377: + { window_add_bit(KNOT_RRTYPE_LP, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1390: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1398: + { window_add_bit(KNOT_RRTYPE_MX, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1412: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1421: + { window_add_bit(KNOT_RRTYPE_NID, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1430: + { window_add_bit(KNOT_RRTYPE_NS, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1440: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1449: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1461: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1471: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1482: + { window_add_bit(KNOT_RRTYPE_RP, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1493: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1501: + { window_add_bit(KNOT_RRTYPE_RT, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1514: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1523: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1532: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1543: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1556: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1565: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1577: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st342; +tr1587: + { window_add_bit(KNOT_RRTYPE_URI, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1598: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + { + s->buffer_length = 0; + } + goto st342; +tr1607: + { window_add_bit(KNOT_RRTYPE_APL, s); } + { + s->buffer_length = 0; + } + goto st342; +st342: + if ( ++p == pe ) + goto _test_eof342; +case 342: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1172; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1171; + goto tr1118; +tr1124: + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1147: + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1158: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1168: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1183: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1197: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1205: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1215: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1226: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1240: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1252: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1263: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1271: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1284: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1293: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1305: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1320: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1331: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1339: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1352: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1361: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1370: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1378: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1391: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1399: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1413: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1422: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1431: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1441: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1450: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1462: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1472: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1483: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1494: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1502: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1515: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1524: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1533: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1544: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1557: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1566: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1578: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1588: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1599: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +tr1608: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1148; +st1148: + if ( ++p == pe ) + goto _test_eof1148; +case 1148: + goto st0; +tr1125: + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1148: + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1159: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1169: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1184: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1198: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1206: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1216: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1227: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1241: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1253: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1264: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1272: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1285: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1294: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1306: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1321: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1332: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1340: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1353: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1362: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1371: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1379: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1392: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1400: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1414: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1423: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1432: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1442: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1451: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1463: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1473: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1484: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1495: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1503: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1516: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1525: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1534: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1545: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1558: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1567: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1579: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1589: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1600: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +tr1609: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1149; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st337; + case 32: goto st337; + case 40: goto tr1128; + case 41: goto tr1129; + case 65: goto st338; + case 67: goto st343; + case 68: goto st360; + case 69: goto st374; + case 72: goto st381; + case 73: goto st386; + case 75: goto st394; + case 76: goto st398; + case 77: goto st406; + case 78: goto st412; + case 80: goto st428; + case 82: goto st431; + case 83: goto st438; + case 84: goto st449; + case 85: goto st459; + case 97: goto st338; + case 99: goto st343; + case 100: goto st360; + case 101: goto st374; + case 104: goto st381; + case 105: goto st386; + case 107: goto st394; + case 108: goto st398; + case 109: goto st406; + case 110: goto st412; + case 112: goto st428; + case 114: goto st431; + case 115: goto st438; + case 116: goto st449; + case 117: goto st459; + case 2058: goto tr1145; + case 2107: goto tr1146; + case 2314: goto tr1147; + case 2363: goto tr1147; + case 2570: goto tr1148; + case 2619: goto tr1149; + } + goto tr1118; +st343: + if ( ++p == pe ) + goto _test_eof343; +case 343: + switch( (*p) ) { + case 65: goto st344; + case 68: goto st346; + case 69: goto st353; + case 78: goto st356; + case 97: goto st344; + case 100: goto st346; + case 101: goto st353; + case 110: goto st356; + } + goto tr1118; +st344: + if ( ++p == pe ) + goto _test_eof344; +case 344: + switch( (*p) ) { + case 65: goto st345; + case 97: goto st345; + } + goto tr1118; +st345: + if ( ++p == pe ) + goto _test_eof345; +case 345: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1178; + case 32: goto tr1178; + case 40: goto tr1179; + case 41: goto tr1180; + case 2058: goto tr1181; + case 2107: goto tr1182; + case 2314: goto tr1183; + case 2363: goto tr1183; + case 2570: goto tr1184; + case 2619: goto tr1185; + } + goto tr1118; +tr1126: + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1149: + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1160: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1170: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1185: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1199: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1207: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1217: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1228: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1242: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1254: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1265: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1273: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1286: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1295: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1307: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1322: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1333: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1341: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1354: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1363: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1372: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1380: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1393: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1401: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1415: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1424: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1433: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1443: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1452: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1464: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1474: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1485: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1496: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1504: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1517: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1526: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1535: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1546: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1559: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1568: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1580: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1590: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1601: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +tr1610: + { 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 st268;} + } + } + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1150; +st1150: + if ( ++p == pe ) + goto _test_eof1150; +case 1150: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1172; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1171; + goto tr1118; +st346: + if ( ++p == pe ) + goto _test_eof346; +case 346: + switch( (*p) ) { + case 78: goto st347; + case 83: goto st352; + case 110: goto st347; + case 115: goto st352; + } + goto tr1118; +st347: + if ( ++p == pe ) + goto _test_eof347; +case 347: + switch( (*p) ) { + case 83: goto st348; + case 115: goto st348; + } + goto tr1118; +st348: + if ( ++p == pe ) + goto _test_eof348; +case 348: + switch( (*p) ) { + case 75: goto st349; + case 107: goto st349; + } + goto tr1118; +st349: + if ( ++p == pe ) + goto _test_eof349; +case 349: + switch( (*p) ) { + case 69: goto st350; + case 101: goto st350; + } + goto tr1118; +st350: + if ( ++p == pe ) + goto _test_eof350; +case 350: + switch( (*p) ) { + case 89: goto st351; + case 121: goto st351; + } + goto tr1118; +st351: + if ( ++p == pe ) + goto _test_eof351; +case 351: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1192; + case 32: goto tr1192; + case 40: goto tr1193; + case 41: goto tr1194; + case 2058: goto tr1195; + case 2107: goto tr1196; + case 2314: goto tr1197; + case 2363: goto tr1197; + case 2570: goto tr1198; + case 2619: goto tr1199; + } + goto tr1118; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1200; + case 32: goto tr1200; + case 40: goto tr1201; + case 41: goto tr1202; + case 2058: goto tr1203; + case 2107: goto tr1204; + case 2314: goto tr1205; + case 2363: goto tr1205; + case 2570: goto tr1206; + case 2619: goto tr1207; + } + goto tr1118; +st353: + if ( ++p == pe ) + goto _test_eof353; +case 353: + switch( (*p) ) { + case 82: goto st354; + case 114: goto st354; + } + goto tr1118; +st354: + if ( ++p == pe ) + goto _test_eof354; +case 354: + switch( (*p) ) { + case 84: goto st355; + case 116: goto st355; + } + goto tr1118; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1210; + case 32: goto tr1210; + case 40: goto tr1211; + case 41: goto tr1212; + case 2058: goto tr1213; + case 2107: goto tr1214; + case 2314: goto tr1215; + case 2363: goto tr1215; + case 2570: goto tr1216; + case 2619: goto tr1217; + } + goto tr1118; +st356: + if ( ++p == pe ) + goto _test_eof356; +case 356: + switch( (*p) ) { + case 65: goto st357; + case 97: goto st357; + } + goto tr1118; +st357: + if ( ++p == pe ) + goto _test_eof357; +case 357: + switch( (*p) ) { + case 77: goto st358; + case 109: goto st358; + } + goto tr1118; +st358: + if ( ++p == pe ) + goto _test_eof358; +case 358: + switch( (*p) ) { + case 69: goto st359; + case 101: goto st359; + } + goto tr1118; +st359: + if ( ++p == pe ) + goto _test_eof359; +case 359: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1221; + case 32: goto tr1221; + case 40: goto tr1222; + case 41: goto tr1223; + case 2058: goto tr1224; + case 2107: goto tr1225; + case 2314: goto tr1226; + case 2363: goto tr1226; + case 2570: goto tr1227; + case 2619: goto tr1228; + } + goto tr1118; +st360: + if ( ++p == pe ) + goto _test_eof360; +case 360: + switch( (*p) ) { + case 72: goto st361; + case 78: goto st365; + case 83: goto st373; + case 104: goto st361; + case 110: goto st365; + case 115: goto st373; + } + goto tr1118; +st361: + if ( ++p == pe ) + goto _test_eof361; +case 361: + switch( (*p) ) { + case 67: goto st362; + case 99: goto st362; + } + goto tr1118; +st362: + if ( ++p == pe ) + goto _test_eof362; +case 362: + switch( (*p) ) { + case 73: goto st363; + case 105: goto st363; + } + goto tr1118; +st363: + if ( ++p == pe ) + goto _test_eof363; +case 363: + switch( (*p) ) { + case 68: goto st364; + case 100: goto st364; + } + goto tr1118; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1235; + case 32: goto tr1235; + case 40: goto tr1236; + case 41: goto tr1237; + case 2058: goto tr1238; + case 2107: goto tr1239; + case 2314: goto tr1240; + case 2363: goto tr1240; + case 2570: goto tr1241; + case 2619: goto tr1242; + } + goto tr1118; +st365: + if ( ++p == pe ) + goto _test_eof365; +case 365: + switch( (*p) ) { + case 65: goto st366; + case 83: goto st369; + case 97: goto st366; + case 115: goto st369; + } + goto tr1118; +st366: + if ( ++p == pe ) + goto _test_eof366; +case 366: + switch( (*p) ) { + case 77: goto st367; + case 109: goto st367; + } + goto tr1118; +st367: + if ( ++p == pe ) + goto _test_eof367; +case 367: + switch( (*p) ) { + case 69: goto st368; + case 101: goto st368; + } + goto tr1118; +st368: + if ( ++p == pe ) + goto _test_eof368; +case 368: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1247; + case 32: goto tr1247; + case 40: goto tr1248; + case 41: goto tr1249; + case 2058: goto tr1250; + case 2107: goto tr1251; + case 2314: goto tr1252; + case 2363: goto tr1252; + case 2570: goto tr1253; + case 2619: goto tr1254; + } + goto tr1118; +st369: + if ( ++p == pe ) + goto _test_eof369; +case 369: + switch( (*p) ) { + case 75: goto st370; + case 107: goto st370; + } + goto tr1118; +st370: + if ( ++p == pe ) + goto _test_eof370; +case 370: + switch( (*p) ) { + case 69: goto st371; + case 101: goto st371; + } + goto tr1118; +st371: + if ( ++p == pe ) + goto _test_eof371; +case 371: + switch( (*p) ) { + case 89: goto st372; + case 121: goto st372; + } + goto tr1118; +st372: + if ( ++p == pe ) + goto _test_eof372; +case 372: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1258; + case 32: goto tr1258; + case 40: goto tr1259; + case 41: goto tr1260; + case 2058: goto tr1261; + case 2107: goto tr1262; + case 2314: goto tr1263; + case 2363: goto tr1263; + case 2570: goto tr1264; + case 2619: goto tr1265; + } + goto tr1118; +st373: + if ( ++p == pe ) + goto _test_eof373; +case 373: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr1269; + case 2107: goto tr1270; + case 2314: goto tr1271; + case 2363: goto tr1271; + case 2570: goto tr1272; + case 2619: goto tr1273; + } + goto tr1118; +st374: + if ( ++p == pe ) + goto _test_eof374; +case 374: + switch( (*p) ) { + case 85: goto st375; + case 117: goto st375; + } + goto tr1118; +st375: + if ( ++p == pe ) + goto _test_eof375; +case 375: + switch( (*p) ) { + case 73: goto st376; + case 105: goto st376; + } + goto tr1118; +st376: + if ( ++p == pe ) + goto _test_eof376; +case 376: + switch( (*p) ) { + case 52: goto st377; + case 54: goto st379; + } + goto tr1118; +st377: + if ( ++p == pe ) + goto _test_eof377; +case 377: + if ( (*p) == 56 ) + goto st378; + goto tr1118; +st378: + if ( ++p == pe ) + goto _test_eof378; +case 378: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1279; + case 32: goto tr1279; + case 40: goto tr1280; + case 41: goto tr1281; + case 2058: goto tr1282; + case 2107: goto tr1283; + case 2314: goto tr1284; + case 2363: goto tr1284; + case 2570: goto tr1285; + case 2619: goto tr1286; + } + goto tr1118; +st379: + if ( ++p == pe ) + goto _test_eof379; +case 379: + if ( (*p) == 52 ) + goto st380; + goto tr1118; +st380: + if ( ++p == pe ) + goto _test_eof380; +case 380: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1288; + case 32: goto tr1288; + case 40: goto tr1289; + case 41: goto tr1290; + case 2058: goto tr1291; + case 2107: goto tr1292; + case 2314: goto tr1293; + case 2363: goto tr1293; + case 2570: goto tr1294; + case 2619: goto tr1295; + } + goto tr1118; +st381: + if ( ++p == pe ) + goto _test_eof381; +case 381: + switch( (*p) ) { + case 73: goto st382; + case 105: goto st382; + } + goto tr1118; +st382: + if ( ++p == pe ) + goto _test_eof382; +case 382: + switch( (*p) ) { + case 78: goto st383; + case 110: goto st383; + } + goto tr1118; +st383: + if ( ++p == pe ) + goto _test_eof383; +case 383: + switch( (*p) ) { + case 70: goto st384; + case 102: goto st384; + } + goto tr1118; +st384: + if ( ++p == pe ) + goto _test_eof384; +case 384: + switch( (*p) ) { + case 79: goto st385; + case 111: goto st385; + } + goto tr1118; +st385: + if ( ++p == pe ) + goto _test_eof385; +case 385: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1300; + case 32: goto tr1300; + case 40: goto tr1301; + case 41: goto tr1302; + case 2058: goto tr1303; + case 2107: goto tr1304; + case 2314: goto tr1305; + case 2363: goto tr1305; + case 2570: goto tr1306; + case 2619: goto tr1307; + } + goto tr1118; +st386: + if ( ++p == pe ) + goto _test_eof386; +case 386: + switch( (*p) ) { + case 80: goto st387; + case 112: goto st387; + } + goto tr1118; +st387: + if ( ++p == pe ) + goto _test_eof387; +case 387: + switch( (*p) ) { + case 83: goto st388; + case 115: goto st388; + } + goto tr1118; +st388: + if ( ++p == pe ) + goto _test_eof388; +case 388: + switch( (*p) ) { + case 69: goto st389; + case 101: goto st389; + } + goto tr1118; +st389: + if ( ++p == pe ) + goto _test_eof389; +case 389: + switch( (*p) ) { + case 67: goto st390; + case 99: goto st390; + } + goto tr1118; +st390: + if ( ++p == pe ) + goto _test_eof390; +case 390: + switch( (*p) ) { + case 75: goto st391; + case 107: goto st391; + } + goto tr1118; +st391: + if ( ++p == pe ) + goto _test_eof391; +case 391: + switch( (*p) ) { + case 69: goto st392; + case 101: goto st392; + } + goto tr1118; +st392: + if ( ++p == pe ) + goto _test_eof392; +case 392: + switch( (*p) ) { + case 89: goto st393; + case 121: goto st393; + } + goto tr1118; +st393: + if ( ++p == pe ) + goto _test_eof393; +case 393: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1315; + case 32: goto tr1315; + case 40: goto tr1316; + case 41: goto tr1317; + case 2058: goto tr1318; + case 2107: goto tr1319; + case 2314: goto tr1320; + case 2363: goto tr1320; + case 2570: goto tr1321; + case 2619: goto tr1322; + } + goto tr1118; +st394: + if ( ++p == pe ) + goto _test_eof394; +case 394: + switch( (*p) ) { + case 69: goto st395; + case 88: goto st397; + case 101: goto st395; + case 120: goto st397; + } + goto tr1118; +st395: + if ( ++p == pe ) + goto _test_eof395; +case 395: + switch( (*p) ) { + case 89: goto st396; + case 121: goto st396; + } + goto tr1118; +st396: + if ( ++p == pe ) + goto _test_eof396; +case 396: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1326; + case 32: goto tr1326; + case 40: goto tr1327; + case 41: goto tr1328; + case 2058: goto tr1329; + case 2107: goto tr1330; + case 2314: goto tr1331; + case 2363: goto tr1331; + case 2570: goto tr1332; + case 2619: goto tr1333; + } + goto tr1118; +st397: + if ( ++p == pe ) + goto _test_eof397; +case 397: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1334; + case 32: goto tr1334; + case 40: goto tr1335; + case 41: goto tr1336; + case 2058: goto tr1337; + case 2107: goto tr1338; + case 2314: goto tr1339; + case 2363: goto tr1339; + case 2570: goto tr1340; + case 2619: goto tr1341; + } + goto tr1118; +st398: + if ( ++p == pe ) + goto _test_eof398; +case 398: + switch( (*p) ) { + case 51: goto st399; + case 54: goto st401; + case 79: goto st403; + case 80: goto st405; + case 111: goto st403; + case 112: goto st405; + } + goto tr1118; +st399: + if ( ++p == pe ) + goto _test_eof399; +case 399: + if ( (*p) == 50 ) + goto st400; + goto tr1118; +st400: + if ( ++p == pe ) + goto _test_eof400; +case 400: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1347; + case 32: goto tr1347; + case 40: goto tr1348; + case 41: goto tr1349; + case 2058: goto tr1350; + case 2107: goto tr1351; + case 2314: goto tr1352; + case 2363: goto tr1352; + case 2570: goto tr1353; + case 2619: goto tr1354; + } + goto tr1118; +st401: + if ( ++p == pe ) + goto _test_eof401; +case 401: + if ( (*p) == 52 ) + goto st402; + goto tr1118; +st402: + if ( ++p == pe ) + goto _test_eof402; +case 402: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1356; + case 32: goto tr1356; + case 40: goto tr1357; + case 41: goto tr1358; + case 2058: goto tr1359; + case 2107: goto tr1360; + case 2314: goto tr1361; + case 2363: goto tr1361; + case 2570: goto tr1362; + case 2619: goto tr1363; + } + goto tr1118; +st403: + if ( ++p == pe ) + goto _test_eof403; +case 403: + switch( (*p) ) { + case 67: goto st404; + case 99: goto st404; + } + goto tr1118; +st404: + if ( ++p == pe ) + goto _test_eof404; +case 404: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1365; + case 32: goto tr1365; + case 40: goto tr1366; + case 41: goto tr1367; + case 2058: goto tr1368; + case 2107: goto tr1369; + case 2314: goto tr1370; + case 2363: goto tr1370; + case 2570: goto tr1371; + case 2619: goto tr1372; + } + goto tr1118; +st405: + if ( ++p == pe ) + goto _test_eof405; +case 405: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr1376; + case 2107: goto tr1377; + case 2314: goto tr1378; + case 2363: goto tr1378; + case 2570: goto tr1379; + case 2619: goto tr1380; + } + goto tr1118; +st406: + if ( ++p == pe ) + goto _test_eof406; +case 406: + switch( (*p) ) { + case 73: goto st407; + case 88: goto st411; + case 105: goto st407; + case 120: goto st411; + } + goto tr1118; +st407: + if ( ++p == pe ) + goto _test_eof407; +case 407: + switch( (*p) ) { + case 78: goto st408; + case 110: goto st408; + } + goto tr1118; +st408: + if ( ++p == pe ) + goto _test_eof408; +case 408: + switch( (*p) ) { + case 70: goto st409; + case 102: goto st409; + } + goto tr1118; +st409: + if ( ++p == pe ) + goto _test_eof409; +case 409: + switch( (*p) ) { + case 79: goto st410; + case 111: goto st410; + } + goto tr1118; +st410: + if ( ++p == pe ) + goto _test_eof410; +case 410: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1386; + case 32: goto tr1386; + case 40: goto tr1387; + case 41: goto tr1388; + case 2058: goto tr1389; + case 2107: goto tr1390; + case 2314: goto tr1391; + case 2363: goto tr1391; + case 2570: goto tr1392; + case 2619: goto tr1393; + } + goto tr1118; +st411: + if ( ++p == pe ) + goto _test_eof411; +case 411: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr1397; + case 2107: goto tr1398; + case 2314: goto tr1399; + case 2363: goto tr1399; + case 2570: goto tr1400; + case 2619: goto tr1401; + } + goto tr1118; +st412: + if ( ++p == pe ) + goto _test_eof412; +case 412: + switch( (*p) ) { + case 65: goto st413; + case 73: goto st417; + case 83: goto st419; + case 97: goto st413; + case 105: goto st417; + case 115: goto st419; + } + goto tr1118; +st413: + if ( ++p == pe ) + goto _test_eof413; +case 413: + switch( (*p) ) { + case 80: goto st414; + case 112: goto st414; + } + goto tr1118; +st414: + if ( ++p == pe ) + goto _test_eof414; +case 414: + switch( (*p) ) { + case 84: goto st415; + case 116: goto st415; + } + goto tr1118; +st415: + if ( ++p == pe ) + goto _test_eof415; +case 415: + switch( (*p) ) { + case 82: goto st416; + case 114: goto st416; + } + goto tr1118; +st416: + if ( ++p == pe ) + goto _test_eof416; +case 416: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1408; + case 32: goto tr1408; + case 40: goto tr1409; + case 41: goto tr1410; + case 2058: goto tr1411; + case 2107: goto tr1412; + case 2314: goto tr1413; + case 2363: goto tr1413; + case 2570: goto tr1414; + case 2619: goto tr1415; + } + goto tr1118; +st417: + if ( ++p == pe ) + goto _test_eof417; +case 417: + switch( (*p) ) { + case 68: goto st418; + case 100: goto st418; + } + goto tr1118; +st418: + if ( ++p == pe ) + goto _test_eof418; +case 418: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1417; + case 32: goto tr1417; + case 40: goto tr1418; + case 41: goto tr1419; + case 2058: goto tr1420; + case 2107: goto tr1421; + case 2314: goto tr1422; + case 2363: goto tr1422; + case 2570: goto tr1423; + case 2619: goto tr1424; + } + goto tr1118; +st419: + if ( ++p == pe ) + goto _test_eof419; +case 419: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1425; + case 32: goto tr1425; + case 40: goto tr1426; + case 41: goto tr1427; + case 69: goto st420; + case 101: goto st420; + case 2058: goto tr1429; + case 2107: goto tr1430; + case 2314: goto tr1431; + case 2363: goto tr1431; + case 2570: goto tr1432; + case 2619: goto tr1433; + } + goto tr1118; +st420: + if ( ++p == pe ) + goto _test_eof420; +case 420: + switch( (*p) ) { + case 67: goto st421; + case 99: goto st421; + } + goto tr1118; +st421: + if ( ++p == pe ) + goto _test_eof421; +case 421: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1435; + case 32: goto tr1435; + case 40: goto tr1436; + case 41: goto tr1437; + case 51: goto st422; + case 2058: goto tr1439; + case 2107: goto tr1440; + case 2314: goto tr1441; + case 2363: goto tr1441; + case 2570: goto tr1442; + case 2619: goto tr1443; + } + goto tr1118; +st422: + if ( ++p == pe ) + goto _test_eof422; +case 422: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1444; + case 32: goto tr1444; + case 40: goto tr1445; + case 41: goto tr1446; + case 80: goto st423; + case 112: goto st423; + case 2058: goto tr1448; + case 2107: goto tr1449; + case 2314: goto tr1450; + case 2363: goto tr1450; + case 2570: goto tr1451; + case 2619: goto tr1452; + } + goto tr1118; +st423: + if ( ++p == pe ) + goto _test_eof423; +case 423: + switch( (*p) ) { + case 65: goto st424; + case 97: goto st424; + } + goto tr1118; +st424: + if ( ++p == pe ) + goto _test_eof424; +case 424: + switch( (*p) ) { + case 82: goto st425; + case 114: goto st425; + } + goto tr1118; +st425: + if ( ++p == pe ) + goto _test_eof425; +case 425: + switch( (*p) ) { + case 65: goto st426; + case 97: goto st426; + } + goto tr1118; +st426: + if ( ++p == pe ) + goto _test_eof426; +case 426: + switch( (*p) ) { + case 77: goto st427; + case 109: goto st427; + } + goto tr1118; +st427: + if ( ++p == pe ) + goto _test_eof427; +case 427: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1457; + case 32: goto tr1457; + case 40: goto tr1458; + case 41: goto tr1459; + case 2058: goto tr1460; + case 2107: goto tr1461; + case 2314: goto tr1462; + case 2363: goto tr1462; + case 2570: goto tr1463; + case 2619: goto tr1464; + } + goto tr1118; +st428: + if ( ++p == pe ) + goto _test_eof428; +case 428: + switch( (*p) ) { + case 84: goto st429; + case 116: goto st429; + } + goto tr1118; +st429: + if ( ++p == pe ) + goto _test_eof429; +case 429: + switch( (*p) ) { + case 82: goto st430; + case 114: goto st430; + } + goto tr1118; +st430: + if ( ++p == pe ) + goto _test_eof430; +case 430: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1467; + case 32: goto tr1467; + case 40: goto tr1468; + case 41: goto tr1469; + case 2058: goto tr1470; + case 2107: goto tr1471; + case 2314: goto tr1472; + case 2363: goto tr1472; + case 2570: goto tr1473; + case 2619: goto tr1474; + } + goto tr1118; +st431: + if ( ++p == pe ) + goto _test_eof431; +case 431: + switch( (*p) ) { + case 80: goto st432; + case 82: goto st433; + case 84: goto st437; + case 112: goto st432; + case 114: goto st433; + case 116: goto st437; + } + goto tr1118; +st432: + if ( ++p == pe ) + goto _test_eof432; +case 432: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1478; + case 32: goto tr1478; + case 40: goto tr1479; + case 41: goto tr1480; + case 2058: goto tr1481; + case 2107: goto tr1482; + case 2314: goto tr1483; + case 2363: goto tr1483; + case 2570: goto tr1484; + case 2619: goto tr1485; + } + goto tr1118; +st433: + if ( ++p == pe ) + goto _test_eof433; +case 433: + switch( (*p) ) { + case 83: goto st434; + case 115: goto st434; + } + goto tr1118; +st434: + if ( ++p == pe ) + goto _test_eof434; +case 434: + switch( (*p) ) { + case 73: goto st435; + case 105: goto st435; + } + goto tr1118; +st435: + if ( ++p == pe ) + goto _test_eof435; +case 435: + switch( (*p) ) { + case 71: goto st436; + case 103: goto st436; + } + goto tr1118; +st436: + if ( ++p == pe ) + goto _test_eof436; +case 436: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1489; + case 32: goto tr1489; + case 40: goto tr1490; + case 41: goto tr1491; + case 2058: goto tr1492; + case 2107: goto tr1493; + case 2314: goto tr1494; + case 2363: goto tr1494; + case 2570: goto tr1495; + case 2619: goto tr1496; + } + goto tr1118; +st437: + if ( ++p == pe ) + goto _test_eof437; +case 437: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1497; + case 32: goto tr1497; + case 40: goto tr1498; + case 41: goto tr1499; + case 2058: goto tr1500; + case 2107: goto tr1501; + case 2314: goto tr1502; + case 2363: goto tr1502; + case 2570: goto tr1503; + case 2619: goto tr1504; + } + goto tr1118; +st438: + if ( ++p == pe ) + goto _test_eof438; +case 438: + switch( (*p) ) { + case 79: goto st439; + case 80: goto st441; + case 82: goto st443; + case 83: goto st445; + case 111: goto st439; + case 112: goto st441; + case 114: goto st443; + case 115: goto st445; + } + goto tr1118; +st439: + if ( ++p == pe ) + goto _test_eof439; +case 439: + switch( (*p) ) { + case 65: goto st440; + case 97: goto st440; + } + goto tr1118; +st440: + if ( ++p == pe ) + goto _test_eof440; +case 440: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1510; + case 32: goto tr1510; + case 40: goto tr1511; + case 41: goto tr1512; + case 2058: goto tr1513; + case 2107: goto tr1514; + case 2314: goto tr1515; + case 2363: goto tr1515; + case 2570: goto tr1516; + case 2619: goto tr1517; + } + goto tr1118; +st441: + if ( ++p == pe ) + goto _test_eof441; +case 441: + switch( (*p) ) { + case 70: goto st442; + case 102: goto st442; + } + goto tr1118; +st442: + if ( ++p == pe ) + goto _test_eof442; +case 442: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1519; + case 32: goto tr1519; + case 40: goto tr1520; + case 41: goto tr1521; + case 2058: goto tr1522; + case 2107: goto tr1523; + case 2314: goto tr1524; + case 2363: goto tr1524; + case 2570: goto tr1525; + case 2619: goto tr1526; + } + goto tr1118; +st443: + if ( ++p == pe ) + goto _test_eof443; +case 443: + switch( (*p) ) { + case 86: goto st444; + case 118: goto st444; + } + goto tr1118; +st444: + if ( ++p == pe ) + goto _test_eof444; +case 444: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1528; + case 32: goto tr1528; + case 40: goto tr1529; + case 41: goto tr1530; + case 2058: goto tr1531; + case 2107: goto tr1532; + case 2314: goto tr1533; + case 2363: goto tr1533; + case 2570: goto tr1534; + case 2619: goto tr1535; + } + goto tr1118; +st445: + if ( ++p == pe ) + goto _test_eof445; +case 445: + switch( (*p) ) { + case 72: goto st446; + case 104: goto st446; + } + goto tr1118; +st446: + if ( ++p == pe ) + goto _test_eof446; +case 446: + switch( (*p) ) { + case 70: goto st447; + case 102: goto st447; + } + goto tr1118; +st447: + if ( ++p == pe ) + goto _test_eof447; +case 447: + switch( (*p) ) { + case 80: goto st448; + case 112: goto st448; + } + goto tr1118; +st448: + if ( ++p == pe ) + goto _test_eof448; +case 448: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1539; + case 32: goto tr1539; + case 40: goto tr1540; + case 41: goto tr1541; + case 2058: goto tr1542; + case 2107: goto tr1543; + case 2314: goto tr1544; + case 2363: goto tr1544; + case 2570: goto tr1545; + case 2619: goto tr1546; + } + goto tr1118; +st449: + if ( ++p == pe ) + goto _test_eof449; +case 449: + switch( (*p) ) { + case 76: goto st450; + case 88: goto st453; + case 89: goto st455; + case 108: goto st450; + case 120: goto st453; + case 121: goto st455; + } + goto tr1118; +st450: + if ( ++p == pe ) + goto _test_eof450; +case 450: + switch( (*p) ) { + case 83: goto st451; + case 115: goto st451; + } + goto tr1118; +st451: + if ( ++p == pe ) + goto _test_eof451; +case 451: + switch( (*p) ) { + case 65: goto st452; + case 97: goto st452; + } + goto tr1118; +st452: + if ( ++p == pe ) + goto _test_eof452; +case 452: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*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 2058: goto tr1555; + case 2107: goto tr1556; + case 2314: goto tr1557; + case 2363: goto tr1557; + case 2570: goto tr1558; + case 2619: goto tr1559; + } + goto tr1118; +st453: + if ( ++p == pe ) + goto _test_eof453; +case 453: + switch( (*p) ) { + case 84: goto st454; + case 116: goto st454; + } + goto tr1118; +st454: + if ( ++p == pe ) + goto _test_eof454; +case 454: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1561; + case 32: goto tr1561; + case 40: goto tr1562; + case 41: goto tr1563; + case 2058: goto tr1564; + case 2107: goto tr1565; + case 2314: goto tr1566; + case 2363: goto tr1566; + case 2570: goto tr1567; + case 2619: goto tr1568; + } + goto tr1118; +st455: + if ( ++p == pe ) + goto _test_eof455; +case 455: + switch( (*p) ) { + case 80: goto st456; + case 112: goto st456; + } + goto tr1118; +st456: + if ( ++p == pe ) + goto _test_eof456; +case 456: + switch( (*p) ) { + case 69: goto st457; + case 101: goto st457; + } + goto tr1118; +st457: + if ( ++p == pe ) + goto _test_eof457; +case 457: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1571; + goto tr1118; +tr1571: + { + 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 st268;} + } + } + goto st458; +tr1575: + { + // 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 st268;} + } + } + goto st458; +st458: + if ( ++p == pe ) + goto _test_eof458; +case 458: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1572; + case 32: goto tr1572; + case 40: goto tr1573; + case 41: goto tr1574; + case 2058: goto tr1576; + case 2107: goto tr1577; + case 2314: goto tr1578; + case 2363: goto tr1578; + case 2570: goto tr1579; + case 2619: goto tr1580; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1575; + goto tr1118; +st459: + if ( ++p == pe ) + goto _test_eof459; +case 459: + switch( (*p) ) { + case 82: goto st460; + case 114: goto st460; + } + goto tr1118; +st460: + if ( ++p == pe ) + goto _test_eof460; +case 460: + switch( (*p) ) { + case 73: goto st461; + case 105: goto st461; + } + goto tr1118; +st461: + if ( ++p == pe ) + goto _test_eof461; +case 461: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1583; + case 32: goto tr1583; + case 40: goto tr1584; + case 41: goto tr1585; + case 2058: goto tr1586; + case 2107: goto tr1587; + case 2314: goto tr1588; + case 2363: goto tr1588; + case 2570: goto tr1589; + case 2619: goto tr1590; + } + goto tr1118; +st462: + if ( ++p == pe ) + goto _test_eof462; +case 462: + switch( (*p) ) { + case 83: goto st463; + case 115: goto st463; + } + goto tr1118; +st463: + if ( ++p == pe ) + goto _test_eof463; +case 463: + switch( (*p) ) { + case 68: goto st464; + case 100: goto st464; + } + goto tr1118; +st464: + if ( ++p == pe ) + goto _test_eof464; +case 464: + switch( (*p) ) { + case 66: goto st465; + case 98: goto st465; + } + goto tr1118; +st465: + if ( ++p == pe ) + goto _test_eof465; +case 465: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1594; + case 32: goto tr1594; + case 40: goto tr1595; + case 41: goto tr1596; + case 2058: goto tr1597; + case 2107: goto tr1598; + case 2314: goto tr1599; + case 2363: goto tr1599; + case 2570: goto tr1600; + case 2619: goto tr1601; + } + goto tr1118; +st466: + if ( ++p == pe ) + goto _test_eof466; +case 466: + switch( (*p) ) { + case 76: goto st467; + case 108: goto st467; + } + goto tr1118; +st467: + if ( ++p == pe ) + goto _test_eof467; +case 467: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr1603; + case 32: goto tr1603; + case 40: goto tr1604; + case 41: goto tr1605; + case 2058: goto tr1606; + case 2107: goto tr1607; + case 2314: goto tr1608; + case 2363: goto tr1608; + case 2570: goto tr1609; + case 2619: goto tr1610; + } + goto tr1118; +st468: + if ( ++p == pe ) + goto _test_eof468; +case 468: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st469; + case 32: goto st469; + case 40: goto tr1613; + case 41: goto tr1614; + case 1034: goto tr1615; + case 1083: goto tr1616; + } + goto tr1611; +tr1613: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st469; +tr1614: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st469; +tr1615: + { + s->line_counter++; + } + goto st469; +tr1646: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st469; +st469: + if ( ++p == pe ) + goto _test_eof469; +case 469: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st469; + case 32: goto st469; + case 40: goto tr1613; + case 41: goto tr1614; + case 1034: goto tr1615; + case 1083: goto tr1616; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1618; + goto tr1617; +tr1618: + { + 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 st268;} + } + } + goto st470; +tr1622: + { + // 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 st268;} + } + } + goto st470; +st470: + if ( ++p == pe ) + goto _test_eof470; +case 470: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1619; + case 32: goto tr1619; + case 40: goto tr1620; + case 41: goto tr1621; + case 1034: goto tr1623; + case 1083: goto tr1624; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1622; + goto tr1617; +tr1627: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st471; +tr1628: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st471; +tr1630: + { + s->line_counter++; + } + goto st471; +tr1644: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st471; +tr1619: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + goto st471; +tr1620: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st471; +tr1621: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st471; +tr1623: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st471; +st471: + if ( ++p == pe ) + goto _test_eof471; +case 471: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st471; + case 32: goto st471; + case 40: goto tr1627; + case 41: goto tr1628; + case 1034: goto tr1630; + case 1083: goto tr1631; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1629; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1629; + } else + goto tr1629; + goto tr1625; +tr1629: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st472; +st472: + if ( ++p == pe ) + goto _test_eof472; +case 472: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1632; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr1632; + } else + goto tr1632; + goto tr1625; +tr1634: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st473; +tr1635: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st473; +tr1636: + { + s->line_counter++; + } + goto st473; +tr1642: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st473; +tr1632: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st473; +st473: + if ( ++p == pe ) + goto _test_eof473; +case 473: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st473; + case 32: goto st473; + case 40: goto tr1634; + case 41: goto tr1635; + case 2058: goto tr1636; + case 2107: goto tr1637; + case 2314: goto tr1638; + case 2363: goto tr1638; + case 2570: goto tr1639; + case 2619: goto tr1640; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1629; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1629; + } else + goto tr1629; + goto tr1625; +tr1637: + { + s->buffer_length = 0; + } + goto st474; +tr1641: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st474; +st474: + if ( ++p == pe ) + goto _test_eof474; +case 474: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1642; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1641; + goto tr1625; +tr1638: + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1151; +st1151: + if ( ++p == pe ) + goto _test_eof1151; +case 1151: + goto st0; +tr1639: + { + s->line_counter++; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1152; +st1152: + if ( ++p == pe ) + goto _test_eof1152; +case 1152: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st473; + case 32: goto st473; + case 40: goto tr1634; + case 41: goto tr1635; + case 2058: goto tr1636; + case 2107: goto tr1637; + case 2314: goto tr1638; + case 2363: goto tr1638; + case 2570: goto tr1639; + case 2619: goto tr1640; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1629; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1629; + } else + goto tr1629; + goto tr1625; +tr1640: + { + s->buffer_length = 0; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1153; +st1153: + if ( ++p == pe ) + goto _test_eof1153; +case 1153: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1642; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1641; + goto tr1625; +tr1631: + { + s->buffer_length = 0; + } + goto st475; +tr1643: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st475; +tr1624: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st475; +st475: + if ( ++p == pe ) + goto _test_eof475; +case 475: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1644; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1643; + goto tr1611; +tr1616: + { + s->buffer_length = 0; + } + goto st476; +tr1645: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st476; +st476: + if ( ++p == pe ) + goto _test_eof476; +case 476: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1646; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1645; + goto tr1611; +st477: + if ( ++p == pe ) + goto _test_eof477; +case 477: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st478; + case 32: goto st478; + case 40: goto tr1648; + case 41: goto tr1649; + case 1034: goto tr1650; + case 1083: goto tr1651; + } + goto tr1611; +tr1648: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st478; +tr1649: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st478; +tr1650: + { + s->line_counter++; + } + goto st478; +tr1686: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st478; +st478: + if ( ++p == pe ) + goto _test_eof478; +case 478: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st478; + case 32: goto st478; + case 40: goto tr1648; + case 41: goto tr1649; + case 48: goto tr1652; + case 1034: goto tr1650; + case 1083: goto tr1651; + } + if ( 49 <= _widec && _widec <= 57 ) + goto tr1653; + goto tr1617; +tr1652: + { + 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 st268;} + } + } + goto st479; +st479: + if ( ++p == pe ) + goto _test_eof479; +case 479: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1654; + case 32: goto tr1654; + case 40: goto tr1655; + case 41: goto tr1656; + case 778: goto tr1658; + case 827: goto tr1658; + case 1034: goto tr1659; + case 1083: goto tr1660; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1657; + goto tr1617; +tr1654: + { + 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 st268;} + } + } + goto st1154; +tr1655: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1154; +tr1656: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1154; +tr1659: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st1154; +st1154: + if ( ++p == pe ) + goto _test_eof1154; +case 1154: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st480; + case 32: goto st480; + case 40: goto tr1662; + case 41: goto tr1663; + case 1034: goto tr1665; + case 1083: goto tr1666; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1664; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1664; + } else + goto tr1664; + goto tr1625; +tr1662: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st480; +tr1663: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st480; +tr1665: + { + s->line_counter++; + } + goto st480; +tr1679: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st480; +tr1680: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + goto st480; +tr1681: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st480; +tr1682: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st480; +tr1683: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st480; +st480: + if ( ++p == pe ) + goto _test_eof480; +case 480: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st480; + case 32: goto st480; + case 40: goto tr1662; + case 41: goto tr1663; + case 1034: goto tr1665; + case 1083: goto tr1666; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1664; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1664; + } else + goto tr1664; + goto tr1625; +tr1664: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st481; +st481: + if ( ++p == pe ) + goto _test_eof481; +case 481: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1667; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr1667; + } else + goto tr1667; + goto tr1625; +tr1669: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st482; +tr1670: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st482; +tr1671: + { + s->line_counter++; + } + goto st482; +tr1677: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st482; +tr1667: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st482; +st482: + if ( ++p == pe ) + goto _test_eof482; +case 482: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st482; + case 32: goto st482; + case 40: goto tr1669; + case 41: goto tr1670; + case 2058: goto tr1671; + case 2107: goto tr1672; + case 2314: goto tr1673; + case 2363: goto tr1673; + case 2570: goto tr1674; + case 2619: goto tr1675; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1664; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1664; + } else + goto tr1664; + goto tr1625; +tr1672: + { + s->buffer_length = 0; + } + goto st483; +tr1676: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st483; +st483: + if ( ++p == pe ) + goto _test_eof483; +case 483: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1677; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1676; + goto tr1625; +tr1658: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1155; +tr1673: + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1155; +st1155: + if ( ++p == pe ) + goto _test_eof1155; +case 1155: + goto tr1611; +tr1674: + { + s->line_counter++; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1156; +st1156: + if ( ++p == pe ) + goto _test_eof1156; +case 1156: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st482; + case 32: goto st482; + case 40: goto tr1669; + case 41: goto tr1670; + case 2058: goto tr1671; + case 2107: goto tr1672; + case 2314: goto tr1673; + case 2363: goto tr1673; + case 2570: goto tr1674; + case 2619: goto tr1675; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr1664; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr1664; + } else + goto tr1664; + goto tr1625; +tr1675: + { + s->buffer_length = 0; + } + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1157; +st1157: + if ( ++p == pe ) + goto _test_eof1157; +case 1157: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1677; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1676; + goto tr1625; +tr1666: + { + s->buffer_length = 0; + } + goto st484; +tr1678: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st484; +tr1684: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st484; +st484: + if ( ++p == pe ) + goto _test_eof484; +case 484: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1679; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1678; + goto tr1611; +tr1653: + { + 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 st268;} + } + } + goto st485; +tr1657: + { + // 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 st268;} + } + } + goto st485; +st485: + if ( ++p == pe ) + goto _test_eof485; +case 485: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1680; + case 32: goto tr1680; + case 40: goto tr1681; + case 41: goto tr1682; + case 1034: goto tr1683; + case 1083: goto tr1684; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1657; + goto tr1617; +tr1660: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st1158; +st1158: + if ( ++p == pe ) + goto _test_eof1158; +case 1158: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1679; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1678; + goto tr1611; +tr1651: + { + s->buffer_length = 0; + } + goto st486; +tr1685: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st486; +st486: + if ( ++p == pe ) + goto _test_eof486; +case 486: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1686; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1685; + goto tr1611; +st487: + if ( ++p == pe ) + goto _test_eof487; +case 487: + switch( (*p) ) { + case 68: goto st489; + case 69: goto st504; + case 73: goto st543; + case 80: goto st551; + case 82: goto st564; + case 100: goto st489; + case 101: goto st504; + case 105: goto st543; + case 112: goto st551; + case 114: goto st564; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1688; + goto tr1687; +tr1688: + { + 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 st268;} + } + } + goto st488; +tr1695: + { + // 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 st268;} + } + } + goto st488; +st488: + if ( ++p == pe ) + goto _test_eof488; +case 488: + switch( (*p) ) { + case 32: goto tr1694; + case 59: goto tr1694; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1694; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1695; + } else + goto tr1694; + goto tr1687; +tr1694: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1698: + { + *(rdata_tail++) = 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1700: + { + *(rdata_tail++) = 3; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1712: + { + *(rdata_tail++) = 6; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1722: + { + *(rdata_tail++) = 12; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1736: + { + *(rdata_tail++) = 13; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1745: + { + *(rdata_tail++) = 14; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1752: + { + *(rdata_tail++) = 15; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1755: + { + *(rdata_tail++) = 16; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1763: + { + *(rdata_tail++) = 252; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1774: + { + *(rdata_tail++) = 253; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1777: + { + *(rdata_tail++) = 254; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1784: + { + *(rdata_tail++) = 1; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1790: + { + *(rdata_tail++) = 5; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1802: + { + *(rdata_tail++) = 7; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1805: + { + *(rdata_tail++) = 8; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +tr1808: + { + *(rdata_tail++) = 10; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1159; +st1159: + if ( ++p == pe ) + goto _test_eof1159; +case 1159: + goto st0; +st489: + if ( ++p == pe ) + goto _test_eof489; +case 489: + switch( (*p) ) { + case 72: goto st490; + case 83: goto st491; + case 104: goto st490; + case 115: goto st491; + } + goto tr1687; +st490: + if ( ++p == pe ) + goto _test_eof490; +case 490: + switch( (*p) ) { + case 32: goto tr1698; + case 59: goto tr1698; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1698; + } else if ( (*p) >= 9 ) + goto tr1698; + goto tr1687; +st491: + if ( ++p == pe ) + goto _test_eof491; +case 491: + switch( (*p) ) { + case 65: goto st492; + case 97: goto st492; + } + goto tr1687; +st492: + if ( ++p == pe ) + goto _test_eof492; +case 492: + switch( (*p) ) { + case 32: goto tr1700; + case 45: goto st493; + case 59: goto tr1700; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1700; + } else if ( (*p) >= 9 ) + goto tr1700; + goto tr1687; +st493: + if ( ++p == pe ) + goto _test_eof493; +case 493: + switch( (*p) ) { + case 78: goto st494; + case 110: goto st494; + } + goto tr1687; +st494: + if ( ++p == pe ) + goto _test_eof494; +case 494: + switch( (*p) ) { + case 83: goto st495; + case 115: goto st495; + } + goto tr1687; +st495: + if ( ++p == pe ) + goto _test_eof495; +case 495: + switch( (*p) ) { + case 69: goto st496; + case 101: goto st496; + } + goto tr1687; +st496: + if ( ++p == pe ) + goto _test_eof496; +case 496: + switch( (*p) ) { + case 67: goto st497; + case 99: goto st497; + } + goto tr1687; +st497: + if ( ++p == pe ) + goto _test_eof497; +case 497: + if ( (*p) == 51 ) + goto st498; + goto tr1687; +st498: + if ( ++p == pe ) + goto _test_eof498; +case 498: + if ( (*p) == 45 ) + goto st499; + goto tr1687; +st499: + if ( ++p == pe ) + goto _test_eof499; +case 499: + switch( (*p) ) { + case 83: goto st500; + case 115: goto st500; + } + goto tr1687; +st500: + if ( ++p == pe ) + goto _test_eof500; +case 500: + switch( (*p) ) { + case 72: goto st501; + case 104: goto st501; + } + goto tr1687; +st501: + if ( ++p == pe ) + goto _test_eof501; +case 501: + switch( (*p) ) { + case 65: goto st502; + case 97: goto st502; + } + goto tr1687; +st502: + if ( ++p == pe ) + goto _test_eof502; +case 502: + if ( (*p) == 49 ) + goto st503; + goto tr1687; +st503: + if ( ++p == pe ) + goto _test_eof503; +case 503: + switch( (*p) ) { + case 32: goto tr1712; + case 59: goto tr1712; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1712; + } else if ( (*p) >= 9 ) + goto tr1712; + goto tr1687; +st504: + if ( ++p == pe ) + goto _test_eof504; +case 504: + switch( (*p) ) { + case 67: goto st505; + case 68: goto st534; + case 99: goto st505; + case 100: goto st534; + } + goto tr1687; +st505: + if ( ++p == pe ) + goto _test_eof505; +case 505: + switch( (*p) ) { + case 67: goto st506; + case 68: goto st512; + case 99: goto st506; + case 100: goto st512; + } + goto tr1687; +st506: + if ( ++p == pe ) + goto _test_eof506; +case 506: + if ( (*p) == 45 ) + goto st507; + goto tr1687; +st507: + if ( ++p == pe ) + goto _test_eof507; +case 507: + switch( (*p) ) { + case 71: goto st508; + case 103: goto st508; + } + goto tr1687; +st508: + if ( ++p == pe ) + goto _test_eof508; +case 508: + switch( (*p) ) { + case 79: goto st509; + case 111: goto st509; + } + goto tr1687; +st509: + if ( ++p == pe ) + goto _test_eof509; +case 509: + switch( (*p) ) { + case 83: goto st510; + case 115: goto st510; + } + goto tr1687; +st510: + if ( ++p == pe ) + goto _test_eof510; +case 510: + switch( (*p) ) { + case 84: goto st511; + case 116: goto st511; + } + goto tr1687; +st511: + if ( ++p == pe ) + goto _test_eof511; +case 511: + switch( (*p) ) { + case 32: goto tr1722; + case 59: goto tr1722; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1722; + } else if ( (*p) >= 9 ) + goto tr1722; + goto tr1687; +st512: + if ( ++p == pe ) + goto _test_eof512; +case 512: + switch( (*p) ) { + case 83: goto st513; + case 115: goto st513; + } + goto tr1687; +st513: + if ( ++p == pe ) + goto _test_eof513; +case 513: + switch( (*p) ) { + case 65: goto st514; + case 97: goto st514; + } + goto tr1687; +st514: + if ( ++p == pe ) + goto _test_eof514; +case 514: + switch( (*p) ) { + case 80: goto st515; + case 112: goto st515; + } + goto tr1687; +st515: + if ( ++p == pe ) + goto _test_eof515; +case 515: + switch( (*p) ) { + case 50: goto st516; + case 51: goto st525; + } + goto tr1687; +st516: + if ( ++p == pe ) + goto _test_eof516; +case 516: + if ( (*p) == 53 ) + goto st517; + goto tr1687; +st517: + if ( ++p == pe ) + goto _test_eof517; +case 517: + if ( (*p) == 54 ) + goto st518; + goto tr1687; +st518: + if ( ++p == pe ) + goto _test_eof518; +case 518: + switch( (*p) ) { + case 83: goto st519; + case 115: goto st519; + } + goto tr1687; +st519: + if ( ++p == pe ) + goto _test_eof519; +case 519: + switch( (*p) ) { + case 72: goto st520; + case 104: goto st520; + } + goto tr1687; +st520: + if ( ++p == pe ) + goto _test_eof520; +case 520: + switch( (*p) ) { + case 65: goto st521; + case 97: goto st521; + } + goto tr1687; +st521: + if ( ++p == pe ) + goto _test_eof521; +case 521: + if ( (*p) == 50 ) + goto st522; + goto tr1687; +st522: + if ( ++p == pe ) + goto _test_eof522; +case 522: + if ( (*p) == 53 ) + goto st523; + goto tr1687; +st523: + if ( ++p == pe ) + goto _test_eof523; +case 523: + if ( (*p) == 54 ) + goto st524; + goto tr1687; +st524: + if ( ++p == pe ) + goto _test_eof524; +case 524: + switch( (*p) ) { + case 32: goto tr1736; + case 59: goto tr1736; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1736; + } else if ( (*p) >= 9 ) + goto tr1736; + goto tr1687; +st525: + if ( ++p == pe ) + goto _test_eof525; +case 525: + if ( (*p) == 56 ) + goto st526; + goto tr1687; +st526: + if ( ++p == pe ) + goto _test_eof526; +case 526: + if ( (*p) == 52 ) + goto st527; + goto tr1687; +st527: + if ( ++p == pe ) + goto _test_eof527; +case 527: + switch( (*p) ) { + case 83: goto st528; + case 115: goto st528; + } + goto tr1687; +st528: + if ( ++p == pe ) + goto _test_eof528; +case 528: + switch( (*p) ) { + case 72: goto st529; + case 104: goto st529; + } + goto tr1687; +st529: + if ( ++p == pe ) + goto _test_eof529; +case 529: + switch( (*p) ) { + case 65: goto st530; + case 97: goto st530; + } + goto tr1687; +st530: + if ( ++p == pe ) + goto _test_eof530; +case 530: + if ( (*p) == 51 ) + goto st531; + goto tr1687; +st531: + if ( ++p == pe ) + goto _test_eof531; +case 531: + if ( (*p) == 56 ) + goto st532; + goto tr1687; +st532: + if ( ++p == pe ) + goto _test_eof532; +case 532: + if ( (*p) == 52 ) + goto st533; + goto tr1687; +st533: + if ( ++p == pe ) + goto _test_eof533; +case 533: + switch( (*p) ) { + case 32: goto tr1745; + case 59: goto tr1745; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1745; + } else if ( (*p) >= 9 ) + goto tr1745; + goto tr1687; +st534: + if ( ++p == pe ) + goto _test_eof534; +case 534: + switch( (*p) ) { + case 50: goto st535; + case 52: goto st540; + } + goto tr1687; +st535: + if ( ++p == pe ) + goto _test_eof535; +case 535: + if ( (*p) == 53 ) + goto st536; + goto tr1687; +st536: + if ( ++p == pe ) + goto _test_eof536; +case 536: + if ( (*p) == 53 ) + goto st537; + goto tr1687; +st537: + if ( ++p == pe ) + goto _test_eof537; +case 537: + if ( (*p) == 49 ) + goto st538; + goto tr1687; +st538: + if ( ++p == pe ) + goto _test_eof538; +case 538: + if ( (*p) == 57 ) + goto st539; + goto tr1687; +st539: + if ( ++p == pe ) + goto _test_eof539; +case 539: + switch( (*p) ) { + case 32: goto tr1752; + case 59: goto tr1752; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1752; + } else if ( (*p) >= 9 ) + goto tr1752; + goto tr1687; +st540: + if ( ++p == pe ) + goto _test_eof540; +case 540: + if ( (*p) == 52 ) + goto st541; + goto tr1687; +st541: + if ( ++p == pe ) + goto _test_eof541; +case 541: + if ( (*p) == 56 ) + goto st542; + goto tr1687; +st542: + if ( ++p == pe ) + goto _test_eof542; +case 542: + switch( (*p) ) { + case 32: goto tr1755; + case 59: goto tr1755; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1755; + } else if ( (*p) >= 9 ) + goto tr1755; + goto tr1687; +st543: + if ( ++p == pe ) + goto _test_eof543; +case 543: + switch( (*p) ) { + case 78: goto st544; + case 110: goto st544; + } + goto tr1687; +st544: + if ( ++p == pe ) + goto _test_eof544; +case 544: + switch( (*p) ) { + case 68: goto st545; + case 100: goto st545; + } + goto tr1687; +st545: + if ( ++p == pe ) + goto _test_eof545; +case 545: + switch( (*p) ) { + case 73: goto st546; + case 105: goto st546; + } + goto tr1687; +st546: + if ( ++p == pe ) + goto _test_eof546; +case 546: + switch( (*p) ) { + case 82: goto st547; + case 114: goto st547; + } + goto tr1687; +st547: + if ( ++p == pe ) + goto _test_eof547; +case 547: + switch( (*p) ) { + case 69: goto st548; + case 101: goto st548; + } + goto tr1687; +st548: + if ( ++p == pe ) + goto _test_eof548; +case 548: + switch( (*p) ) { + case 67: goto st549; + case 99: goto st549; + } + goto tr1687; +st549: + if ( ++p == pe ) + goto _test_eof549; +case 549: + switch( (*p) ) { + case 84: goto st550; + case 116: goto st550; + } + goto tr1687; +st550: + if ( ++p == pe ) + goto _test_eof550; +case 550: + switch( (*p) ) { + case 32: goto tr1763; + case 59: goto tr1763; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1763; + } else if ( (*p) >= 9 ) + goto tr1763; + goto tr1687; +st551: + if ( ++p == pe ) + goto _test_eof551; +case 551: + switch( (*p) ) { + case 82: goto st552; + case 114: goto st552; + } + goto tr1687; +st552: + if ( ++p == pe ) + goto _test_eof552; +case 552: + switch( (*p) ) { + case 73: goto st553; + case 105: goto st553; + } + goto tr1687; +st553: + if ( ++p == pe ) + goto _test_eof553; +case 553: + switch( (*p) ) { + case 86: goto st554; + case 118: goto st554; + } + goto tr1687; +st554: + if ( ++p == pe ) + goto _test_eof554; +case 554: + switch( (*p) ) { + case 65: goto st555; + case 97: goto st555; + } + goto tr1687; +st555: + if ( ++p == pe ) + goto _test_eof555; +case 555: + switch( (*p) ) { + case 84: goto st556; + case 116: goto st556; + } + goto tr1687; +st556: + if ( ++p == pe ) + goto _test_eof556; +case 556: + switch( (*p) ) { + case 69: goto st557; + case 101: goto st557; + } + goto tr1687; +st557: + if ( ++p == pe ) + goto _test_eof557; +case 557: + switch( (*p) ) { + case 68: goto st558; + case 79: goto st561; + case 100: goto st558; + case 111: goto st561; + } + goto tr1687; +st558: + if ( ++p == pe ) + goto _test_eof558; +case 558: + switch( (*p) ) { + case 78: goto st559; + case 110: goto st559; + } + goto tr1687; +st559: + if ( ++p == pe ) + goto _test_eof559; +case 559: + switch( (*p) ) { + case 83: goto st560; + case 115: goto st560; + } + goto tr1687; +st560: + if ( ++p == pe ) + goto _test_eof560; +case 560: + switch( (*p) ) { + case 32: goto tr1774; + case 59: goto tr1774; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1774; + } else if ( (*p) >= 9 ) + goto tr1774; + goto tr1687; +st561: + if ( ++p == pe ) + goto _test_eof561; +case 561: + switch( (*p) ) { + case 73: goto st562; + case 105: goto st562; + } + goto tr1687; +st562: + if ( ++p == pe ) + goto _test_eof562; +case 562: + switch( (*p) ) { + case 68: goto st563; + case 100: goto st563; + } + goto tr1687; +st563: + if ( ++p == pe ) + goto _test_eof563; +case 563: + switch( (*p) ) { + case 32: goto tr1777; + case 59: goto tr1777; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1777; + } else if ( (*p) >= 9 ) + goto tr1777; + goto tr1687; +st564: + if ( ++p == pe ) + goto _test_eof564; +case 564: + switch( (*p) ) { + case 83: goto st565; + case 115: goto st565; + } + goto tr1687; +st565: + if ( ++p == pe ) + goto _test_eof565; +case 565: + switch( (*p) ) { + case 65: goto st566; + case 97: goto st566; + } + goto tr1687; +st566: + if ( ++p == pe ) + goto _test_eof566; +case 566: + switch( (*p) ) { + case 77: goto st567; + case 83: goto st570; + case 109: goto st567; + case 115: goto st570; + } + goto tr1687; +st567: + if ( ++p == pe ) + goto _test_eof567; +case 567: + switch( (*p) ) { + case 68: goto st568; + case 100: goto st568; + } + goto tr1687; +st568: + if ( ++p == pe ) + goto _test_eof568; +case 568: + if ( (*p) == 53 ) + goto st569; + goto tr1687; +st569: + if ( ++p == pe ) + goto _test_eof569; +case 569: + switch( (*p) ) { + case 32: goto tr1784; + case 59: goto tr1784; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1784; + } else if ( (*p) >= 9 ) + goto tr1784; + goto tr1687; +st570: + if ( ++p == pe ) + goto _test_eof570; +case 570: + switch( (*p) ) { + case 72: goto st571; + case 104: goto st571; + } + goto tr1687; +st571: + if ( ++p == pe ) + goto _test_eof571; +case 571: + switch( (*p) ) { + case 65: goto st572; + case 97: goto st572; + } + goto tr1687; +st572: + if ( ++p == pe ) + goto _test_eof572; +case 572: + switch( (*p) ) { + case 49: goto st573; + case 50: goto st585; + case 53: goto st588; + } + goto tr1687; +st573: + if ( ++p == pe ) + goto _test_eof573; +case 573: + switch( (*p) ) { + case 32: goto tr1790; + case 45: goto st574; + case 59: goto tr1790; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1790; + } else if ( (*p) >= 9 ) + goto tr1790; + goto tr1687; +st574: + if ( ++p == pe ) + goto _test_eof574; +case 574: + switch( (*p) ) { + case 78: goto st575; + case 110: goto st575; + } + goto tr1687; +st575: + if ( ++p == pe ) + goto _test_eof575; +case 575: + switch( (*p) ) { + case 83: goto st576; + case 115: goto st576; + } + goto tr1687; +st576: + if ( ++p == pe ) + goto _test_eof576; +case 576: + switch( (*p) ) { + case 69: goto st577; + case 101: goto st577; + } + goto tr1687; +st577: + if ( ++p == pe ) + goto _test_eof577; +case 577: + switch( (*p) ) { + case 67: goto st578; + case 99: goto st578; + } + goto tr1687; +st578: + if ( ++p == pe ) + goto _test_eof578; +case 578: + if ( (*p) == 51 ) + goto st579; + goto tr1687; +st579: + if ( ++p == pe ) + goto _test_eof579; +case 579: + if ( (*p) == 45 ) + goto st580; + goto tr1687; +st580: + if ( ++p == pe ) + goto _test_eof580; +case 580: + switch( (*p) ) { + case 83: goto st581; + case 115: goto st581; + } + goto tr1687; +st581: + if ( ++p == pe ) + goto _test_eof581; +case 581: + switch( (*p) ) { + case 72: goto st582; + case 104: goto st582; + } + goto tr1687; +st582: + if ( ++p == pe ) + goto _test_eof582; +case 582: + switch( (*p) ) { + case 65: goto st583; + case 97: goto st583; + } + goto tr1687; +st583: + if ( ++p == pe ) + goto _test_eof583; +case 583: + if ( (*p) == 49 ) + goto st584; + goto tr1687; +st584: + if ( ++p == pe ) + goto _test_eof584; +case 584: + switch( (*p) ) { + case 32: goto tr1802; + case 59: goto tr1802; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1802; + } else if ( (*p) >= 9 ) + goto tr1802; + goto tr1687; +st585: + if ( ++p == pe ) + goto _test_eof585; +case 585: + if ( (*p) == 53 ) + goto st586; + goto tr1687; +st586: + if ( ++p == pe ) + goto _test_eof586; +case 586: + if ( (*p) == 54 ) + goto st587; + goto tr1687; +st587: + if ( ++p == pe ) + goto _test_eof587; +case 587: + switch( (*p) ) { + case 32: goto tr1805; + case 59: goto tr1805; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1805; + } else if ( (*p) >= 9 ) + goto tr1805; + goto tr1687; +st588: + if ( ++p == pe ) + goto _test_eof588; +case 588: + if ( (*p) == 49 ) + goto st589; + goto tr1687; +st589: + if ( ++p == pe ) + goto _test_eof589; +case 589: + if ( (*p) == 50 ) + goto st590; + goto tr1687; +st590: + if ( ++p == pe ) + goto _test_eof590; +case 590: + switch( (*p) ) { + case 32: goto tr1808; + case 59: goto tr1808; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1808; + } else if ( (*p) >= 9 ) + goto tr1808; + goto tr1687; +st591: + if ( ++p == pe ) + goto _test_eof591; +case 591: + switch( (*p) ) { + case 65: goto st593; + case 73: goto st599; + case 79: goto st616; + case 80: goto st619; + case 83: goto st625; + case 85: goto st629; + case 97: goto st593; + case 105: goto st599; + case 111: goto st616; + case 112: goto st619; + case 115: goto st625; + case 117: goto st629; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1810; + goto tr1809; +tr1810: + { + 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 st268;} + } + } + goto st592; +tr1818: + { + // 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 st268;} + } + } + goto st592; +st592: + if ( ++p == pe ) + goto _test_eof592; +case 592: + switch( (*p) ) { + case 32: goto tr1817; + case 59: goto tr1817; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1817; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1818; + } else + goto tr1817; + goto tr1809; +tr1817: + { + 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 st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1824: + { + *((uint16_t *)rdata_tail) = htons(7); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1833: + { + *((uint16_t *)rdata_tail) = htons(8); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1837: + { + *((uint16_t *)rdata_tail) = htons(6); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1840: + { + *((uint16_t *)rdata_tail) = htons(4); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1844: + { + *((uint16_t *)rdata_tail) = htons(5); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1847: + { + *((uint16_t *)rdata_tail) = htons(254); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1851: + { + *((uint16_t *)rdata_tail) = htons(3); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1854: + { + *((uint16_t *)rdata_tail) = htons(1); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1858: + { + *((uint16_t *)rdata_tail) = htons(2); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +tr1861: + { + *((uint16_t *)rdata_tail) = htons(253); + rdata_tail += 2; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1160; +st1160: + if ( ++p == pe ) + goto _test_eof1160; +case 1160: + goto st0; +st593: + if ( ++p == pe ) + goto _test_eof593; +case 593: + switch( (*p) ) { + case 67: goto st594; + case 99: goto st594; + } + goto tr1809; +st594: + if ( ++p == pe ) + goto _test_eof594; +case 594: + switch( (*p) ) { + case 80: goto st595; + case 112: goto st595; + } + goto tr1809; +st595: + if ( ++p == pe ) + goto _test_eof595; +case 595: + switch( (*p) ) { + case 75: goto st596; + case 107: goto st596; + } + goto tr1809; +st596: + if ( ++p == pe ) + goto _test_eof596; +case 596: + switch( (*p) ) { + case 73: goto st597; + case 105: goto st597; + } + goto tr1809; +st597: + if ( ++p == pe ) + goto _test_eof597; +case 597: + switch( (*p) ) { + case 88: goto st598; + case 120: goto st598; + } + goto tr1809; +st598: + if ( ++p == pe ) + goto _test_eof598; +case 598: + switch( (*p) ) { + case 32: goto tr1824; + case 59: goto tr1824; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1824; + } else if ( (*p) >= 9 ) + goto tr1824; + goto tr1809; +st599: + if ( ++p == pe ) + goto _test_eof599; +case 599: + switch( (*p) ) { + case 65: goto st600; + case 80: goto st606; + case 83: goto st612; + case 97: goto st600; + case 112: goto st606; + case 115: goto st612; + } + goto tr1809; +st600: + if ( ++p == pe ) + goto _test_eof600; +case 600: + switch( (*p) ) { + case 67: goto st601; + case 99: goto st601; + } + goto tr1809; +st601: + if ( ++p == pe ) + goto _test_eof601; +case 601: + switch( (*p) ) { + case 80: goto st602; + case 112: goto st602; + } + goto tr1809; +st602: + if ( ++p == pe ) + goto _test_eof602; +case 602: + switch( (*p) ) { + case 75: goto st603; + case 107: goto st603; + } + goto tr1809; +st603: + if ( ++p == pe ) + goto _test_eof603; +case 603: + switch( (*p) ) { + case 73: goto st604; + case 105: goto st604; + } + goto tr1809; +st604: + if ( ++p == pe ) + goto _test_eof604; +case 604: + switch( (*p) ) { + case 88: goto st605; + case 120: goto st605; + } + goto tr1809; +st605: + if ( ++p == pe ) + goto _test_eof605; +case 605: + switch( (*p) ) { + case 32: goto tr1833; + case 59: goto tr1833; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1833; + } else if ( (*p) >= 9 ) + goto tr1833; + goto tr1809; +st606: + if ( ++p == pe ) + goto _test_eof606; +case 606: + switch( (*p) ) { + case 71: goto st607; + case 75: goto st609; + case 103: goto st607; + case 107: goto st609; + } + goto tr1809; +st607: + if ( ++p == pe ) + goto _test_eof607; +case 607: + switch( (*p) ) { + case 80: goto st608; + case 112: goto st608; + } + goto tr1809; +st608: + if ( ++p == pe ) + goto _test_eof608; +case 608: + switch( (*p) ) { + case 32: goto tr1837; + case 59: goto tr1837; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1837; + } else if ( (*p) >= 9 ) + goto tr1837; + goto tr1809; +st609: + if ( ++p == pe ) + goto _test_eof609; +case 609: + switch( (*p) ) { + case 73: goto st610; + case 105: goto st610; + } + goto tr1809; +st610: + if ( ++p == pe ) + goto _test_eof610; +case 610: + switch( (*p) ) { + case 88: goto st611; + case 120: goto st611; + } + goto tr1809; +st611: + if ( ++p == pe ) + goto _test_eof611; +case 611: + switch( (*p) ) { + case 32: goto tr1840; + case 59: goto tr1840; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1840; + } else if ( (*p) >= 9 ) + goto tr1840; + goto tr1809; +st612: + if ( ++p == pe ) + goto _test_eof612; +case 612: + switch( (*p) ) { + case 80: goto st613; + case 112: goto st613; + } + goto tr1809; +st613: + if ( ++p == pe ) + goto _test_eof613; +case 613: + switch( (*p) ) { + case 75: goto st614; + case 107: goto st614; + } + goto tr1809; +st614: + if ( ++p == pe ) + goto _test_eof614; +case 614: + switch( (*p) ) { + case 73: goto st615; + case 105: goto st615; + } + goto tr1809; +st615: + if ( ++p == pe ) + goto _test_eof615; +case 615: + switch( (*p) ) { + case 32: goto tr1844; + case 59: goto tr1844; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1844; + } else if ( (*p) >= 9 ) + goto tr1844; + goto tr1809; +st616: + if ( ++p == pe ) + goto _test_eof616; +case 616: + switch( (*p) ) { + case 73: goto st617; + case 105: goto st617; + } + goto tr1809; +st617: + if ( ++p == pe ) + goto _test_eof617; +case 617: + switch( (*p) ) { + case 68: goto st618; + case 100: goto st618; + } + goto tr1809; +st618: + if ( ++p == pe ) + goto _test_eof618; +case 618: + switch( (*p) ) { + case 32: goto tr1847; + case 59: goto tr1847; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1847; + } else if ( (*p) >= 9 ) + goto tr1847; + goto tr1809; +st619: + if ( ++p == pe ) + goto _test_eof619; +case 619: + switch( (*p) ) { + case 71: goto st620; + case 75: goto st622; + case 103: goto st620; + case 107: goto st622; + } + goto tr1809; +st620: + if ( ++p == pe ) + goto _test_eof620; +case 620: + switch( (*p) ) { + case 80: goto st621; + case 112: goto st621; + } + goto tr1809; +st621: + if ( ++p == pe ) + goto _test_eof621; +case 621: + switch( (*p) ) { + case 32: goto tr1851; + case 59: goto tr1851; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1851; + } else if ( (*p) >= 9 ) + goto tr1851; + goto tr1809; +st622: + if ( ++p == pe ) + goto _test_eof622; +case 622: + switch( (*p) ) { + case 73: goto st623; + case 105: goto st623; + } + goto tr1809; +st623: + if ( ++p == pe ) + goto _test_eof623; +case 623: + switch( (*p) ) { + case 88: goto st624; + case 120: goto st624; + } + goto tr1809; +st624: + if ( ++p == pe ) + goto _test_eof624; +case 624: + switch( (*p) ) { + case 32: goto tr1854; + case 59: goto tr1854; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1854; + } else if ( (*p) >= 9 ) + goto tr1854; + goto tr1809; +st625: + if ( ++p == pe ) + goto _test_eof625; +case 625: + switch( (*p) ) { + case 80: goto st626; + case 112: goto st626; + } + goto tr1809; +st626: + if ( ++p == pe ) + goto _test_eof626; +case 626: + switch( (*p) ) { + case 75: goto st627; + case 107: goto st627; + } + goto tr1809; +st627: + if ( ++p == pe ) + goto _test_eof627; +case 627: + switch( (*p) ) { + case 73: goto st628; + case 105: goto st628; + } + goto tr1809; +st628: + if ( ++p == pe ) + goto _test_eof628; +case 628: + switch( (*p) ) { + case 32: goto tr1858; + case 59: goto tr1858; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1858; + } else if ( (*p) >= 9 ) + goto tr1858; + goto tr1809; +st629: + if ( ++p == pe ) + goto _test_eof629; +case 629: + switch( (*p) ) { + case 82: goto st630; + case 114: goto st630; + } + goto tr1809; +st630: + if ( ++p == pe ) + goto _test_eof630; +case 630: + switch( (*p) ) { + case 73: goto st631; + case 105: goto st631; + } + goto tr1809; +st631: + if ( ++p == pe ) + goto _test_eof631; +case 631: + switch( (*p) ) { + case 32: goto tr1861; + case 59: goto tr1861; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1861; + } else if ( (*p) >= 9 ) + goto tr1861; + goto tr1809; +st632: + if ( ++p == pe ) + goto _test_eof632; +case 632: + if ( (*p) == 46 ) + goto tr1863; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1863; + goto tr1862; +tr1863: + { + 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 st268;} + } + } + goto st633; +tr1865: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st633; +st633: + if ( ++p == pe ) + goto _test_eof633; +case 633: + switch( (*p) ) { + case 32: goto tr1864; + case 46: goto tr1865; + case 59: goto tr1864; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1864; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1865; + } else + goto tr1864; + goto tr1862; +tr1864: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1161; +st1161: + if ( ++p == pe ) + goto _test_eof1161; +case 1161: + goto st0; +st634: + if ( ++p == pe ) + goto _test_eof634; +case 634: + switch( (*p) ) { + case 42: goto tr1866; + case 92: goto tr1866; + case 95: goto tr1866; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1866; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1866; + } else + goto tr1866; + goto tr71; +tr1866: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 635;goto st270;} } + goto st635; +st635: + if ( ++p == pe ) + goto _test_eof635; +case 635: + switch( (*p) ) { + case 32: goto tr1867; + case 59: goto tr1867; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr1867; + } else if ( (*p) >= 9 ) + goto tr1867; + goto tr71; +tr1867: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1162; +st1162: + if ( ++p == pe ) + goto _test_eof1162; +case 1162: + goto st0; +st636: + if ( ++p == pe ) + goto _test_eof636; +case 636: + switch( (*p) ) { + case 42: goto tr1868; + case 92: goto tr1868; + case 95: goto tr1868; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr1868; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr1868; + } else + goto tr1868; + goto tr71; +tr1868: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 637;goto st270;} } + goto st637; +st637: + if ( ++p == pe ) + goto _test_eof637; +case 637: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1869; + case 32: goto tr1869; + case 40: goto tr1870; + case 41: goto tr1871; + case 1034: goto tr1872; + case 1083: goto tr1873; + } + goto tr71; +tr1875: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st638; +tr1876: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st638; +tr1878: + { + s->line_counter++; + } + goto st638; +tr2022: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st638; +tr1869: + { + rdata_tail += s->dname_tmp_length; + } + goto st638; +tr1870: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st638; +tr1871: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st638; +tr1872: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st638; +st638: + if ( ++p == pe ) + goto _test_eof638; +case 638: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st638; + case 32: goto st638; + case 40: goto tr1875; + case 41: goto tr1876; + case 42: goto tr1877; + case 92: goto tr1877; + case 95: goto tr1877; + case 1034: goto tr1878; + case 1083: goto tr1879; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr1877; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr1877; + } else + goto tr1877; + goto tr71; +tr1877: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 639;goto st270;} } + goto st639; +st639: + if ( ++p == pe ) + goto _test_eof639; +case 639: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1880; + case 32: goto tr1880; + case 40: goto tr1881; + case 41: goto tr1882; + case 1034: goto tr1883; + case 1083: goto tr1884; + } + goto tr71; +tr1887: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st640; +tr1888: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st640; +tr1890: + { + s->line_counter++; + } + goto st640; +tr2020: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st640; +tr1880: + { + rdata_tail += s->dname_tmp_length; + } + goto st640; +tr1881: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st640; +tr1882: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st640; +tr1883: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st640; +st640: + if ( ++p == pe ) + goto _test_eof640; +case 640: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st640; + case 32: goto st640; + case 40: goto tr1887; + case 41: goto tr1888; + case 1034: goto tr1890; + case 1083: goto tr1891; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1889; + goto tr1885; +tr1889: + { + 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 st268;} + } + } + goto st641; +tr1895: + { + // 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 st268;} + } + } + goto st641; +st641: + if ( ++p == pe ) + goto _test_eof641; +case 641: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1892; + case 32: goto tr1892; + case 40: goto tr1893; + case 41: goto tr1894; + case 1034: goto tr1896; + case 1083: goto tr1897; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1895; + goto tr1885; +tr1899: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st642; +tr1900: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st642; +tr1902: + { + s->line_counter++; + } + goto st642; +tr2018: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st642; +tr1892: + { + 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 st268;} + } + } + goto st642; +tr1893: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st642; +tr1894: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st642; +tr1896: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st642; +st642: + if ( ++p == pe ) + goto _test_eof642; +case 642: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st642; + case 32: goto st642; + case 40: goto tr1899; + case 41: goto tr1900; + case 1034: goto tr1902; + case 1083: goto tr1903; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1901; + goto tr1885; +tr1901: + { + 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 st268;} + } + } + goto st643; +tr1908: + { + // 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 st268;} + } + } + goto st643; +st643: + if ( ++p == pe ) + goto _test_eof643; +case 643: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1905; + case 32: goto tr1905; + case 40: goto tr1906; + case 41: goto tr1907; + case 68: goto tr1909; + case 72: goto tr1910; + case 77: goto tr1911; + case 83: goto st662; + case 87: goto tr1913; + case 100: goto tr1909; + case 104: goto tr1910; + case 109: goto tr1911; + case 115: goto st662; + case 119: goto tr1913; + case 1034: goto tr1914; + case 1083: goto tr1915; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1908; + goto tr1904; +tr1917: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st644; +tr1918: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st644; +tr1920: + { + s->line_counter++; + } + goto st644; +tr2003: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st644; +tr1905: + { + 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 st268;} + } + } + goto st644; +tr1906: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st644; +tr1907: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st644; +tr1914: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st644; +tr2011: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st644; +tr2012: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st644; +tr2013: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st644; +tr2015: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st644; +st644: + if ( ++p == pe ) + goto _test_eof644; +case 644: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st644; + case 32: goto st644; + case 40: goto tr1917; + case 41: goto tr1918; + case 1034: goto tr1920; + case 1083: goto tr1921; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1919; + goto tr1885; +tr1919: + { + 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 st268;} + } + } + goto st645; +tr1925: + { + // 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 st268;} + } + } + goto st645; +st645: + if ( ++p == pe ) + goto _test_eof645; +case 645: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1922; + case 32: goto tr1922; + case 40: goto tr1923; + case 41: goto tr1924; + case 68: goto tr1926; + case 72: goto tr1927; + case 77: goto tr1928; + case 83: goto st658; + case 87: goto tr1930; + case 100: goto tr1926; + case 104: goto tr1927; + case 109: goto tr1928; + case 115: goto st658; + case 119: goto tr1930; + case 1034: goto tr1931; + case 1083: goto tr1932; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1925; + goto tr1904; +tr1934: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st646; +tr1935: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st646; +tr1937: + { + s->line_counter++; + } + goto st646; +tr1988: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st646; +tr1922: + { + 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 st268;} + } + } + goto st646; +tr1923: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st646; +tr1924: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st646; +tr1931: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st646; +tr1996: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st646; +tr1997: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st646; +tr1998: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st646; +tr2000: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st646; +st646: + if ( ++p == pe ) + goto _test_eof646; +case 646: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st646; + case 32: goto st646; + case 40: goto tr1934; + case 41: goto tr1935; + case 1034: goto tr1937; + case 1083: goto tr1938; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1936; + goto tr1885; +tr1936: + { + 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 st268;} + } + } + goto st647; +tr1942: + { + // 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 st268;} + } + } + goto st647; +st647: + if ( ++p == pe ) + goto _test_eof647; +case 647: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1939; + case 32: goto tr1939; + case 40: goto tr1940; + case 41: goto tr1941; + case 68: goto tr1943; + case 72: goto tr1944; + case 77: goto tr1945; + case 83: goto st654; + case 87: goto tr1947; + case 100: goto tr1943; + case 104: goto tr1944; + case 109: goto tr1945; + case 115: goto st654; + case 119: goto tr1947; + case 1034: goto tr1948; + case 1083: goto tr1949; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1942; + goto tr1904; +tr1951: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st648; +tr1952: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st648; +tr1954: + { + s->line_counter++; + } + goto st648; +tr1973: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st648; +tr1939: + { + 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 st268;} + } + } + goto st648; +tr1940: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st648; +tr1941: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st648; +tr1948: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st648; +tr1981: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st648; +tr1982: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st648; +tr1983: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st648; +tr1985: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st648; +st648: + if ( ++p == pe ) + goto _test_eof648; +case 648: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st648; + case 32: goto st648; + case 40: goto tr1951; + case 41: goto tr1952; + case 1034: goto tr1954; + case 1083: goto tr1955; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1953; + goto tr1885; +tr1953: + { + 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 st268;} + } + } + goto st649; +tr1957: + { + // 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 st268;} + } + } + goto st649; +st649: + if ( ++p == pe ) + goto _test_eof649; +case 649: + switch( (*p) ) { + case 32: goto tr1956; + case 59: goto tr1956; + case 68: goto tr1958; + case 72: goto tr1959; + case 77: goto tr1960; + case 83: goto st650; + case 87: goto tr1962; + case 100: goto tr1958; + case 104: goto tr1959; + case 109: goto tr1960; + case 115: goto st650; + case 119: goto tr1962; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1956; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1957; + } else + goto tr1956; + goto tr1904; +tr1956: + { + 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 st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1163; +tr1970: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1163; +st1163: + if ( ++p == pe ) + goto _test_eof1163; +case 1163: + goto st0; +tr1958: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st650; +tr1959: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st650; +tr1960: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st650; +tr1962: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st650; +st650: + if ( ++p == pe ) + goto _test_eof650; +case 650: + switch( (*p) ) { + case 32: goto tr1956; + case 59: goto tr1956; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1956; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1963; + } else + goto tr1956; + goto tr1904; +tr1964: + { + // 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 st268;} + } + } + goto st651; +tr1963: + { + 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 st268;} + } + } + goto st651; +tr1971: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st651; +st651: + if ( ++p == pe ) + goto _test_eof651; +case 651: + switch( (*p) ) { + case 68: goto tr1965; + case 72: goto tr1966; + case 77: goto tr1967; + case 83: goto st652; + case 87: goto tr1969; + case 100: goto tr1965; + case 104: goto tr1966; + case 109: goto tr1967; + case 115: goto st652; + case 119: goto tr1969; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1964; + goto tr1904; +tr1965: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st652; +tr1966: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st652; +tr1967: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st652; +tr1969: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st652; +st652: + if ( ++p == pe ) + goto _test_eof652; +case 652: + switch( (*p) ) { + case 32: goto tr1970; + case 59: goto tr1970; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr1970; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1971; + } else + goto tr1970; + goto tr1904; +tr1955: + { + s->buffer_length = 0; + } + goto st653; +tr1972: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st653; +tr1949: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st653; +tr1986: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st653; +st653: + if ( ++p == pe ) + goto _test_eof653; +case 653: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1973; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1972; + goto tr71; +tr1943: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st654; +tr1944: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st654; +tr1945: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st654; +tr1947: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st654; +st654: + if ( ++p == pe ) + goto _test_eof654; +case 654: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1939; + case 32: goto tr1939; + case 40: goto tr1940; + case 41: goto tr1941; + case 1034: goto tr1948; + case 1083: goto tr1949; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1974; + goto tr1904; +tr1975: + { + // 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 st268;} + } + } + goto st655; +tr1974: + { + 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 st268;} + } + } + goto st655; +tr1984: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st655; +st655: + if ( ++p == pe ) + goto _test_eof655; +case 655: + switch( (*p) ) { + case 68: goto tr1976; + case 72: goto tr1977; + case 77: goto tr1978; + case 83: goto st656; + case 87: goto tr1980; + case 100: goto tr1976; + case 104: goto tr1977; + case 109: goto tr1978; + case 115: goto st656; + case 119: goto tr1980; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1975; + goto tr1904; +tr1976: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st656; +tr1977: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st656; +tr1978: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st656; +tr1980: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st656; +st656: + if ( ++p == pe ) + goto _test_eof656; +case 656: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1981; + case 32: goto tr1981; + case 40: goto tr1982; + case 41: goto tr1983; + case 1034: goto tr1985; + case 1083: goto tr1986; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1984; + goto tr1904; +tr1938: + { + s->buffer_length = 0; + } + goto st657; +tr1987: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st657; +tr1932: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st657; +tr2001: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st657; +st657: + if ( ++p == pe ) + goto _test_eof657; +case 657: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr1988; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr1987; + goto tr71; +tr1926: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st658; +tr1927: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st658; +tr1928: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st658; +tr1930: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st658; +st658: + if ( ++p == pe ) + goto _test_eof658; +case 658: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1922; + case 32: goto tr1922; + case 40: goto tr1923; + case 41: goto tr1924; + case 1034: goto tr1931; + case 1083: goto tr1932; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1989; + goto tr1904; +tr1990: + { + // 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 st268;} + } + } + goto st659; +tr1989: + { + 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 st268;} + } + } + goto st659; +tr1999: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st659; +st659: + if ( ++p == pe ) + goto _test_eof659; +case 659: + switch( (*p) ) { + case 68: goto tr1991; + case 72: goto tr1992; + case 77: goto tr1993; + case 83: goto st660; + case 87: goto tr1995; + case 100: goto tr1991; + case 104: goto tr1992; + case 109: goto tr1993; + case 115: goto st660; + case 119: goto tr1995; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr1990; + goto tr1904; +tr1991: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st660; +tr1992: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st660; +tr1993: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st660; +tr1995: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st660; +st660: + if ( ++p == pe ) + goto _test_eof660; +case 660: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1996; + case 32: goto tr1996; + case 40: goto tr1997; + case 41: goto tr1998; + case 1034: goto tr2000; + case 1083: goto tr2001; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr1999; + goto tr1904; +tr1921: + { + s->buffer_length = 0; + } + goto st661; +tr2002: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st661; +tr1915: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st661; +tr2016: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st661; +st661: + if ( ++p == pe ) + goto _test_eof661; +case 661: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2003; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2002; + goto tr71; +tr1909: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st662; +tr1910: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st662; +tr1911: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st662; +tr1913: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st662; +st662: + if ( ++p == pe ) + goto _test_eof662; +case 662: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr1905; + case 32: goto tr1905; + case 40: goto tr1906; + case 41: goto tr1907; + case 1034: goto tr1914; + case 1083: goto tr1915; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2004; + goto tr1904; +tr2005: + { + // 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 st268;} + } + } + goto st663; +tr2004: + { + 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 st268;} + } + } + goto st663; +tr2014: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + { + 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 st268;} + } + } + goto st663; +st663: + if ( ++p == pe ) + goto _test_eof663; +case 663: + switch( (*p) ) { + case 68: goto tr2006; + case 72: goto tr2007; + case 77: goto tr2008; + case 83: goto st664; + case 87: goto tr2010; + case 100: goto tr2006; + case 104: goto tr2007; + case 109: goto tr2008; + case 115: goto st664; + case 119: goto tr2010; + } + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2005; + goto tr1904; +tr2006: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st664; +tr2007: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st664; +tr2008: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st664; +tr2010: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } + goto st664; +st664: + if ( ++p == pe ) + goto _test_eof664; +case 664: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2011; + case 32: goto tr2011; + case 40: goto tr2012; + case 41: goto tr2013; + case 1034: goto tr2015; + case 1083: goto tr2016; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2014; + goto tr1904; +tr1903: + { + s->buffer_length = 0; + } + goto st665; +tr2017: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st665; +tr1897: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st665; +st665: + if ( ++p == pe ) + goto _test_eof665; +case 665: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2018; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2017; + goto tr71; +tr1891: + { + s->buffer_length = 0; + } + goto st666; +tr2019: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st666; +tr1884: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st666; +st666: + if ( ++p == pe ) + goto _test_eof666; +case 666: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2020; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2019; + goto tr71; +tr1879: + { + s->buffer_length = 0; + } + goto st667; +tr2021: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st667; +tr1873: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st667; +st667: + if ( ++p == pe ) + goto _test_eof667; +case 667: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2022; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2021; + goto tr71; +st668: + if ( ++p == pe ) + goto _test_eof668; +case 668: + switch( (*p) ) { + case 32: goto tr71; + case 59: goto tr71; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr71; + } else if ( (*p) >= 9 ) + goto tr71; + goto tr2023; +tr2023: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 669;goto st279;} } + goto st669; +st669: + if ( ++p == pe ) + goto _test_eof669; +case 669: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2024; + case 32: goto tr2024; + case 40: goto tr2025; + case 41: goto tr2026; + case 1034: goto tr2027; + case 1083: goto tr2028; + } + goto tr71; +tr2031: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st670; +tr2032: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st670; +tr2033: + { + s->line_counter++; + } + goto st670; +tr2037: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st670; +tr2024: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + goto st670; +tr2025: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st670; +tr2026: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st670; +tr2027: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st670; +st670: + if ( ++p == pe ) + goto _test_eof670; +case 670: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st670; + case 32: goto st670; + case 40: goto tr2031; + case 41: goto tr2032; + case 1034: goto tr2033; + case 1083: goto tr2034; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2029; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2029; + } else + goto tr2029; + goto tr71; +tr2029: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 671;goto st279;} } + goto st671; +st671: + if ( ++p == pe ) + goto _test_eof671; +case 671: + switch( (*p) ) { + case 32: goto tr2035; + case 59: goto tr2035; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2035; + } else if ( (*p) >= 9 ) + goto tr2035; + goto tr71; +tr2035: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1164; +st1164: + if ( ++p == pe ) + goto _test_eof1164; +case 1164: + goto st0; +tr2034: + { + s->buffer_length = 0; + } + goto st672; +tr2036: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st672; +tr2028: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st672; +st672: + if ( ++p == pe ) + goto _test_eof672; +case 672: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2037; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2036; + goto tr71; +st673: + if ( ++p == pe ) + goto _test_eof673; +case 673: + switch( (*p) ) { + case 42: goto tr2038; + case 92: goto tr2038; + case 95: goto tr2038; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr2038; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2038; + } else + goto tr2038; + goto tr71; +tr2038: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 674;goto st270;} } + goto st674; +st674: + if ( ++p == pe ) + goto _test_eof674; +case 674: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2039; + case 32: goto tr2039; + case 40: goto tr2040; + case 41: goto tr2041; + case 1034: goto tr2042; + case 1083: goto tr2043; + } + goto tr71; +tr2045: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st675; +tr2046: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st675; +tr2048: + { + s->line_counter++; + } + goto st675; +tr2052: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st675; +tr2039: + { + rdata_tail += s->dname_tmp_length; + } + goto st675; +tr2040: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st675; +tr2041: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st675; +tr2042: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st675; +st675: + if ( ++p == pe ) + goto _test_eof675; +case 675: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st675; + case 32: goto st675; + case 40: goto tr2045; + case 41: goto tr2046; + case 42: goto tr2047; + case 92: goto tr2047; + case 95: goto tr2047; + case 1034: goto tr2048; + case 1083: goto tr2049; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2047; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2047; + } else + goto tr2047; + goto tr71; +tr2047: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 676;goto st270;} } + goto st676; +st676: + if ( ++p == pe ) + goto _test_eof676; +case 676: + switch( (*p) ) { + case 32: goto tr2050; + case 59: goto tr2050; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2050; + } else if ( (*p) >= 9 ) + goto tr2050; + goto tr71; +tr2050: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1165; +st1165: + if ( ++p == pe ) + goto _test_eof1165; +case 1165: + goto st0; +tr2049: + { + s->buffer_length = 0; + } + goto st677; +tr2051: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st677; +tr2043: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st677; +st677: + if ( ++p == pe ) + goto _test_eof677; +case 677: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2052; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2051; + goto tr71; +st678: + if ( ++p == pe ) + goto _test_eof678; +case 678: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2053; + goto tr1885; +tr2053: + { + 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 st268;} + } + } + goto st679; +tr2057: + { + // 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 st268;} + } + } + goto st679; +st679: + if ( ++p == pe ) + goto _test_eof679; +case 679: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2054; + case 32: goto tr2054; + case 40: goto tr2055; + case 41: goto tr2056; + case 1034: goto tr2058; + case 1083: goto tr2059; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2057; + goto tr1885; +tr2061: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st680; +tr2062: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st680; +tr2064: + { + s->line_counter++; + } + goto st680; +tr2068: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st680; +tr2054: + { + 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 st268;} + } + } + goto st680; +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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st680; +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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st680; +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 st268;} + } + } + { + s->line_counter++; + } + goto st680; +st680: + if ( ++p == pe ) + goto _test_eof680; +case 680: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st680; + case 32: goto st680; + case 40: goto tr2061; + case 41: goto tr2062; + case 42: goto tr2063; + case 92: goto tr2063; + case 95: goto tr2063; + case 1034: goto tr2064; + case 1083: goto tr2065; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2063; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2063; + } else + goto tr2063; + goto tr71; +tr2063: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 681;goto st270;} } + goto st681; +st681: + if ( ++p == pe ) + goto _test_eof681; +case 681: + switch( (*p) ) { + case 32: goto tr2066; + case 59: goto tr2066; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2066; + } else if ( (*p) >= 9 ) + goto tr2066; + goto tr71; +tr2066: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1166; +st1166: + if ( ++p == pe ) + goto _test_eof1166; +case 1166: + goto st0; +tr2065: + { + s->buffer_length = 0; + } + goto st682; +tr2067: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st682; +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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st682; +st682: + if ( ++p == pe ) + goto _test_eof682; +case 682: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2068; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2067; + goto tr71; +st683: + if ( ++p == pe ) + goto _test_eof683; +case 683: + switch( (*p) ) { + case 32: goto tr2070; + case 59: goto tr2070; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2070; + } else if ( (*p) >= 9 ) + goto tr2070; + goto tr2069; +tr2079: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 684;goto st279;} } + goto st684; +tr2069: + { + s->long_string = true; + } + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 684;goto st279;} } + goto st684; +st684: + if ( ++p == pe ) + goto _test_eof684; +case 684: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2071; + case 32: goto tr2071; + case 40: goto tr2072; + case 41: goto tr2073; + case 2058: goto tr2074; + case 2107: goto tr2075; + case 2314: goto tr2076; + case 2363: goto tr2076; + case 2570: goto tr2077; + case 2619: goto tr2078; + } + goto tr2070; +tr2081: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st685; +tr2082: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st685; +tr2083: + { + s->line_counter++; + } + goto st685; +tr2089: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st685; +tr2071: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + goto st685; +tr2072: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st685; +tr2073: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st685; +tr2074: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st685; +st685: + if ( ++p == pe ) + goto _test_eof685; +case 685: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st685; + case 32: goto st685; + case 40: goto tr2081; + case 41: goto tr2082; + case 2058: goto tr2083; + case 2107: goto tr2084; + case 2314: goto tr2085; + case 2363: goto tr2085; + case 2570: goto tr2086; + case 2619: goto tr2087; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2079; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2079; + } else + goto tr2079; + goto tr2070; +tr2084: + { + s->buffer_length = 0; + } + goto st686; +tr2088: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st686; +tr2075: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st686; +st686: + if ( ++p == pe ) + goto _test_eof686; +case 686: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2089; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2088; + goto tr2070; +tr2076: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1167; +tr2085: + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1167; +st1167: + if ( ++p == pe ) + goto _test_eof1167; +case 1167: + goto st0; +tr2077: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1168; +tr2086: + { + s->line_counter++; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1168; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st685; + case 32: goto st685; + case 40: goto tr2081; + case 41: goto tr2082; + case 2058: goto tr2083; + case 2107: goto tr2084; + case 2314: goto tr2085; + case 2363: goto tr2085; + case 2570: goto tr2086; + case 2619: goto tr2087; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2079; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2079; + } else + goto tr2079; + goto tr2070; +tr2078: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1169; +tr2087: + { + s->buffer_length = 0; + } + { + s->long_string = false; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1169; +st1169: + if ( ++p == pe ) + goto _test_eof1169; +case 1169: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2089; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2088; + goto tr2070; +st687: + if ( ++p == pe ) + goto _test_eof687; +case 687: + if ( (*p) == 46 ) + goto tr2090; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2090; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2090; + } else + goto tr2090; + goto tr1862; +tr2090: + { + 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 st268;} + } + } + goto st688; +tr2092: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st688; +st688: + if ( ++p == pe ) + goto _test_eof688; +case 688: + switch( (*p) ) { + case 32: goto tr2091; + case 46: goto tr2092; + case 59: goto tr2091; + } + if ( (*p) < 48 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2091; + } else if ( (*p) >= 9 ) + goto tr2091; + } else if ( (*p) > 58 ) { + if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2092; + } else if ( (*p) >= 65 ) + goto tr2092; + } else + goto tr2092; + goto tr1862; +tr2091: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1170; +st1170: + if ( ++p == pe ) + goto _test_eof1170; +case 1170: + goto st0; +st689: + if ( ++p == pe ) + goto _test_eof689; +case 689: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2094; + goto tr2093; +tr2098: + { + // 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 st268;} + } + } + goto st690; +tr2094: + { + 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 st268;} + } + } + goto st690; +st690: + if ( ++p == pe ) + goto _test_eof690; +case 690: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2095; + case 32: goto tr2095; + case 40: goto tr2096; + case 41: goto tr2097; + case 1034: goto tr2099; + case 1083: goto tr2100; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2098; + goto tr2093; +tr2102: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st691; +tr2103: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st691; +tr2107: + { + s->line_counter++; + } + goto st691; +tr2350: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st691; +tr2095: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st691; +tr2096: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st691; +tr2097: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st691; +tr2099: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st691; +st691: + if ( ++p == pe ) + goto _test_eof691; +case 691: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st691; + case 32: goto st691; + case 40: goto tr2102; + case 41: goto tr2103; + case 78: goto st696; + case 83: goto st738; + case 1034: goto tr2107; + case 1083: goto tr2108; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2104; + goto tr2093; +tr2104: + { + 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 st268;} + } + } + goto st692; +tr2112: + { + // 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 st268;} + } + } + goto st692; +st692: + if ( ++p == pe ) + goto _test_eof692; +case 692: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2109; + case 32: goto tr2109; + case 40: goto tr2110; + case 41: goto tr2111; + case 1034: goto tr2113; + case 1083: goto tr2114; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2112; + goto tr2093; +tr2116: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st693; +tr2117: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st693; +tr2119: + { + s->line_counter++; + } + goto st693; +tr2348: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st693; +tr2109: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st693; +tr2110: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st693; +tr2111: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st693; +tr2113: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st693; +st693: + if ( ++p == pe ) + goto _test_eof693; +case 693: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st693; + case 32: goto st693; + case 40: goto tr2116; + case 41: goto tr2117; + case 78: goto st696; + case 83: goto st738; + case 1034: goto tr2119; + case 1083: goto tr2120; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2118; + goto tr2093; +tr2125: + { + // 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 st268;} + } + } + goto st694; +tr2118: + { + 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 st268;} + } + } + goto st694; +st694: + if ( ++p == pe ) + goto _test_eof694; +case 694: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2121; + case 32: goto tr2121; + case 40: goto tr2122; + case 41: goto tr2123; + case 46: goto st740; + case 1034: goto tr2126; + case 1083: goto tr2127; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2125; + goto tr2093; +tr2129: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st695; +tr2130: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st695; +tr2131: + { + s->line_counter++; + } + goto st695; +tr2339: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st695; +tr2121: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st695; +tr2122: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st695; +tr2123: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st695; +tr2126: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st695; +tr2340: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st695; +tr2341: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st695; +tr2342: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st695; +tr2344: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st695; +st695: + if ( ++p == pe ) + goto _test_eof695; +case 695: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st695; + case 32: goto st695; + case 40: goto tr2129; + case 41: goto tr2130; + case 78: goto st696; + case 83: goto st738; + case 1034: goto tr2131; + case 1083: goto tr2132; + } + goto tr2093; +st696: + if ( ++p == pe ) + goto _test_eof696; +case 696: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st697; + case 32: goto st697; + case 40: goto tr2134; + case 41: goto tr2135; + case 1034: goto tr2136; + case 1083: goto tr2137; + } + goto tr2093; +tr2134: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st697; +tr2135: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st697; +tr2136: + { + s->line_counter++; + } + goto st697; +tr2332: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st697; +tr2333: + { + s->loc.lat_sign = -1; + } + goto st697; +tr2334: + { + s->loc.lat_sign = -1; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st697; +tr2335: + { + s->loc.lat_sign = -1; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st697; +tr2336: + { + s->loc.lat_sign = -1; + } + { + s->line_counter++; + } + goto st697; +st697: + if ( ++p == pe ) + goto _test_eof697; +case 697: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st697; + case 32: goto st697; + case 40: goto tr2134; + case 41: goto tr2135; + case 1034: goto tr2136; + case 1083: goto tr2137; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2138; + goto tr2093; +tr2138: + { + 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 st268;} + } + } + goto st698; +tr2142: + { + // 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 st268;} + } + } + goto st698; +st698: + if ( ++p == pe ) + goto _test_eof698; +case 698: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2139; + case 32: goto tr2139; + case 40: goto tr2140; + case 41: goto tr2141; + case 1034: goto tr2143; + case 1083: goto tr2144; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2142; + goto tr2093; +tr2146: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st699; +tr2147: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st699; +tr2151: + { + s->line_counter++; + } + goto st699; +tr2330: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st699; +tr2139: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st699; +tr2140: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st699; +tr2141: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st699; +tr2143: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st699; +st699: + if ( ++p == pe ) + goto _test_eof699; +case 699: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st699; + case 32: goto st699; + case 40: goto tr2146; + case 41: goto tr2147; + case 69: goto st704; + case 87: goto st731; + case 1034: goto tr2151; + case 1083: goto tr2152; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2148; + goto tr2093; +tr2148: + { + 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 st268;} + } + } + goto st700; +tr2156: + { + // 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 st268;} + } + } + goto st700; +st700: + if ( ++p == pe ) + goto _test_eof700; +case 700: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2153; + case 32: goto tr2153; + case 40: goto tr2154; + case 41: goto tr2155; + case 1034: goto tr2157; + case 1083: goto tr2158; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2156; + goto tr2093; +tr2160: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st701; +tr2161: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st701; +tr2163: + { + s->line_counter++; + } + goto st701; +tr2328: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st701; +tr2153: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st701; +tr2154: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st701; +tr2155: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st701; +tr2157: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st701; +st701: + if ( ++p == pe ) + goto _test_eof701; +case 701: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st701; + case 32: goto st701; + case 40: goto tr2160; + case 41: goto tr2161; + case 69: goto st704; + case 87: goto st731; + case 1034: goto tr2163; + case 1083: goto tr2164; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2162; + goto tr2093; +tr2169: + { + // 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 st268;} + } + } + goto st702; +tr2162: + { + 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 st268;} + } + } + goto st702; +st702: + if ( ++p == pe ) + goto _test_eof702; +case 702: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2165; + case 32: goto tr2165; + case 40: goto tr2166; + case 41: goto tr2167; + case 46: goto st733; + case 1034: goto tr2170; + case 1083: goto tr2171; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2169; + goto tr2093; +tr2173: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st703; +tr2174: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st703; +tr2175: + { + s->line_counter++; + } + goto st703; +tr2319: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st703; +tr2165: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st703; +tr2166: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st703; +tr2167: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st703; +tr2170: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st703; +tr2320: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st703; +tr2321: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st703; +tr2322: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st703; +tr2324: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st703; +st703: + if ( ++p == pe ) + goto _test_eof703; +case 703: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st703; + case 32: goto st703; + case 40: goto tr2173; + case 41: goto tr2174; + case 69: goto st704; + case 87: goto st731; + case 1034: goto tr2175; + case 1083: goto tr2176; + } + goto tr2093; +st704: + if ( ++p == pe ) + goto _test_eof704; +case 704: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st705; + case 32: goto st705; + case 40: goto tr2178; + case 41: goto tr2179; + case 1034: goto tr2180; + case 1083: goto tr2181; + } + goto tr2093; +tr2178: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st705; +tr2179: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st705; +tr2180: + { + s->line_counter++; + } + goto st705; +tr2312: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st705; +tr2313: + { + s->loc.long_sign = -1; + } + goto st705; +tr2314: + { + s->loc.long_sign = -1; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st705; +tr2315: + { + s->loc.long_sign = -1; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st705; +tr2316: + { + s->loc.long_sign = -1; + } + { + s->line_counter++; + } + goto st705; +st705: + if ( ++p == pe ) + goto _test_eof705; +case 705: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st705; + case 32: goto st705; + case 40: goto tr2178; + case 41: goto tr2179; + case 45: goto st706; + case 1034: goto tr2180; + case 1083: goto tr2181; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2183; + goto tr2093; +st706: + if ( ++p == pe ) + goto _test_eof706; +case 706: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2184; + goto tr2093; +tr2189: + { + // 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 st268;} + } + } + goto st707; +tr2183: + { + 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 st268;} + } + } + goto st707; +tr2184: + { + 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 st268;} + } + } + goto st707; +st707: + if ( ++p == pe ) + goto _test_eof707; +case 707: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2185; + case 32: goto tr2185; + case 40: goto tr2186; + case 41: goto tr2187; + case 46: goto st727; + case 109: goto tr2190; + case 2058: goto tr2191; + case 2107: goto tr2192; + case 2314: goto tr2193; + case 2363: goto tr2193; + case 2570: goto tr2194; + case 2619: goto tr2195; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2189; + goto tr2093; +tr2197: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st708; +tr2198: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st708; +tr2200: + { + s->line_counter++; + } + goto st708; +tr2299: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st708; +tr2185: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + goto st708; +tr2186: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st708; +tr2187: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st708; +tr2191: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st708; +tr2300: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + goto st708; +tr2301: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st708; +tr2302: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st708; +tr2305: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st708; +st708: + if ( ++p == pe ) + goto _test_eof708; +case 708: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st708; + case 32: goto st708; + case 40: goto tr2197; + case 41: goto tr2198; + case 2058: goto tr2200; + case 2107: goto tr2201; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2203; + case 2619: goto tr2204; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2199; + goto tr2093; +tr2209: + { + // 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 st268;} + } + } + goto st709; +tr2199: + { + 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 st268;} + } + } + goto st709; +st709: + if ( ++p == pe ) + goto _test_eof709; +case 709: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2205; + case 32: goto tr2205; + case 40: goto tr2206; + case 41: goto tr2207; + case 46: goto st723; + case 109: goto tr2210; + case 2058: goto tr2211; + case 2107: goto tr2212; + case 2314: goto tr2213; + case 2363: goto tr2213; + case 2570: goto tr2214; + case 2619: goto tr2215; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2209; + goto tr2093; +tr2217: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st710; +tr2218: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st710; +tr2220: + { + s->line_counter++; + } + goto st710; +tr2286: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st710; +tr2205: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st710; +tr2206: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st710; +tr2207: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st710; +tr2211: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st710; +tr2287: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st710; +tr2288: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st710; +tr2289: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st710; +tr2292: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st710; +st710: + if ( ++p == pe ) + goto _test_eof710; +case 710: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st710; + case 32: goto st710; + case 40: goto tr2217; + case 41: goto tr2218; + case 2058: goto tr2220; + case 2107: goto tr2221; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2222; + case 2619: goto tr2223; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2219; + goto tr2093; +tr2228: + { + // 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 st268;} + } + } + goto st711; +tr2219: + { + 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 st268;} + } + } + goto st711; +st711: + if ( ++p == pe ) + goto _test_eof711; +case 711: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2224; + case 32: goto tr2224; + case 40: goto tr2225; + case 41: goto tr2226; + case 46: goto st719; + case 109: goto tr2229; + case 2058: goto tr2230; + case 2107: goto tr2231; + case 2314: goto tr2232; + case 2363: goto tr2232; + case 2570: goto tr2233; + case 2619: goto tr2234; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2228; + goto tr2093; +tr2236: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st712; +tr2237: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st712; +tr2239: + { + s->line_counter++; + } + goto st712; +tr2273: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st712; +tr2224: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st712; +tr2225: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st712; +tr2226: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st712; +tr2230: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st712; +tr2274: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st712; +tr2275: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st712; +tr2276: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st712; +tr2279: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st712; +st712: + if ( ++p == pe ) + goto _test_eof712; +case 712: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st712; + case 32: goto st712; + case 40: goto tr2236; + case 41: goto tr2237; + case 2058: goto tr2239; + case 2107: goto tr2240; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2241; + case 2619: goto tr2242; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2238; + goto tr2093; +tr2247: + { + // 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 st268;} + } + } + goto st713; +tr2238: + { + 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 st268;} + } + } + goto st713; +st713: + if ( ++p == pe ) + goto _test_eof713; +case 713: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2243; + case 32: goto tr2243; + case 40: goto tr2244; + case 41: goto tr2245; + case 46: goto st716; + case 109: goto tr2243; + case 2058: goto tr2248; + case 2107: goto tr2249; + case 2314: goto tr2250; + case 2363: goto tr2250; + case 2570: goto tr2251; + case 2619: goto tr2252; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2247; + goto tr2093; +tr2254: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st714; +tr2255: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st714; +tr2256: + { + s->line_counter++; + } + goto st714; +tr2261: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st714; +tr2243: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st714; +tr2244: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st714; +tr2245: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st714; +tr2248: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st714; +tr2262: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st714; +tr2263: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st714; +tr2264: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st714; +tr2266: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st714; +st714: + if ( ++p == pe ) + goto _test_eof714; +case 714: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st714; + case 32: goto st714; + case 40: goto tr2254; + case 41: goto tr2255; + case 2058: goto tr2256; + case 2107: goto tr2257; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2258; + case 2619: goto tr2259; + } + goto tr2093; +tr2257: + { + s->buffer_length = 0; + } + goto st715; +tr2260: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st715; +tr2249: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st715; +tr2267: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st715; +st715: + if ( ++p == pe ) + goto _test_eof715; +case 715: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2261; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2260; + goto tr2093; +tr2193: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + // 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 st1171; +tr2202: + { + // 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 st1171; +tr2213: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + // 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 st1171; +tr2232: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + // 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 st1171; +tr2250: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + // 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 st1171; +tr2268: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + // 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 st1171; +tr2281: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + // 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 st1171; +tr2294: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + // 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 st1171; +tr2307: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + // 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 st1171; +st1171: + if ( ++p == pe ) + goto _test_eof1171; +case 1171: + goto st0; +tr2258: + { + 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 st1172; +tr2251: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1172; +tr2269: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1172; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st714; + case 32: goto st714; + case 40: goto tr2254; + case 41: goto tr2255; + case 2058: goto tr2256; + case 2107: goto tr2257; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2258; + case 2619: goto tr2259; + } + goto tr2093; +tr2259: + { + 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 st1173; +tr2252: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1173; +tr2270: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1173; +st1173: + if ( ++p == pe ) + goto _test_eof1173; +case 1173: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2261; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2260; + goto tr2093; +st716: + if ( ++p == pe ) + goto _test_eof716; +case 716: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2262; + case 32: goto tr2262; + case 40: goto tr2263; + case 41: goto tr2264; + case 109: goto tr2262; + case 2058: goto tr2266; + case 2107: goto tr2267; + case 2314: goto tr2268; + case 2363: goto tr2268; + case 2570: goto tr2269; + case 2619: goto tr2270; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2265; + goto tr2093; +tr2265: + { + 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st717; +tr2271: + { + // 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st717; +st717: + if ( ++p == pe ) + goto _test_eof717; +case 717: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2243; + case 32: goto tr2243; + case 40: goto tr2244; + case 41: goto tr2245; + case 109: goto tr2243; + case 2058: goto tr2248; + case 2107: goto tr2249; + case 2314: goto tr2250; + case 2363: goto tr2250; + case 2570: goto tr2251; + case 2619: goto tr2252; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2271; + goto tr2093; +tr2240: + { + s->buffer_length = 0; + } + goto st718; +tr2272: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st718; +tr2231: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st718; +tr2280: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st718; +st718: + if ( ++p == pe ) + goto _test_eof718; +case 718: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2273; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2272; + goto tr2093; +tr2241: + { + 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 st1174; +tr2233: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1174; +tr2282: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1174; +st1174: + if ( ++p == pe ) + goto _test_eof1174; +case 1174: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st712; + case 32: goto st712; + case 40: goto tr2236; + case 41: goto tr2237; + case 2058: goto tr2239; + case 2107: goto tr2240; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2241; + case 2619: goto tr2242; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2238; + goto tr2093; +tr2242: + { + 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 st1175; +tr2234: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1175; +tr2283: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1175; +st1175: + if ( ++p == pe ) + goto _test_eof1175; +case 1175: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2273; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2272; + goto tr2093; +st719: + if ( ++p == pe ) + goto _test_eof719; +case 719: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2274; + case 32: goto tr2274; + case 40: goto tr2275; + case 41: goto tr2276; + case 109: goto tr2278; + case 2058: goto tr2279; + case 2107: goto tr2280; + case 2314: goto tr2281; + case 2363: goto tr2281; + case 2570: goto tr2282; + case 2619: goto tr2283; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2277; + goto tr2093; +tr2277: + { + 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st720; +tr2284: + { + // 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st720; +st720: + if ( ++p == pe ) + goto _test_eof720; +case 720: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2224; + case 32: goto tr2224; + case 40: goto tr2225; + case 41: goto tr2226; + case 109: goto tr2229; + case 2058: goto tr2230; + case 2107: goto tr2231; + case 2314: goto tr2232; + case 2363: goto tr2232; + case 2570: goto tr2233; + case 2619: goto tr2234; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2284; + goto tr2093; +tr2229: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st721; +tr2278: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st721; +st721: + if ( ++p == pe ) + goto _test_eof721; +case 721: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st712; + case 32: goto st712; + case 40: goto tr2236; + case 41: goto tr2237; + case 2058: goto tr2239; + case 2107: goto tr2240; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2241; + case 2619: goto tr2242; + } + goto tr2093; +tr2221: + { + s->buffer_length = 0; + } + goto st722; +tr2285: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st722; +tr2212: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st722; +tr2293: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st722; +st722: + if ( ++p == pe ) + goto _test_eof722; +case 722: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2286; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2285; + goto tr2093; +tr2222: + { + 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 st1176; +tr2214: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1176; +tr2295: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1176; +st1176: + if ( ++p == pe ) + goto _test_eof1176; +case 1176: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st710; + case 32: goto st710; + case 40: goto tr2217; + case 41: goto tr2218; + case 2058: goto tr2220; + case 2107: goto tr2221; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2222; + case 2619: goto tr2223; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2219; + goto tr2093; +tr2223: + { + 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 st1177; +tr2215: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1177; +tr2296: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + 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 st1177; +st1177: + if ( ++p == pe ) + goto _test_eof1177; +case 1177: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2286; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2285; + goto tr2093; +st723: + if ( ++p == pe ) + goto _test_eof723; +case 723: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2287; + case 32: goto tr2287; + case 40: goto tr2288; + case 41: goto tr2289; + case 109: goto tr2291; + case 2058: goto tr2292; + case 2107: goto tr2293; + case 2314: goto tr2294; + case 2363: goto tr2294; + case 2570: goto tr2295; + case 2619: goto tr2296; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2290; + goto tr2093; +tr2290: + { + 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st724; +tr2297: + { + // 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st724; +st724: + if ( ++p == pe ) + goto _test_eof724; +case 724: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2205; + case 32: goto tr2205; + case 40: goto tr2206; + case 41: goto tr2207; + case 109: goto tr2210; + case 2058: goto tr2211; + case 2107: goto tr2212; + case 2314: goto tr2213; + case 2363: goto tr2213; + case 2570: goto tr2214; + case 2619: goto tr2215; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2297; + goto tr2093; +tr2210: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st725; +tr2291: + { + 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 st268;} + } + } + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + goto st725; +st725: + if ( ++p == pe ) + goto _test_eof725; +case 725: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st710; + case 32: goto st710; + case 40: goto tr2217; + case 41: goto tr2218; + case 2058: goto tr2220; + case 2107: goto tr2221; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2222; + case 2619: goto tr2223; + } + goto tr2093; +tr2201: + { + s->buffer_length = 0; + } + goto st726; +tr2298: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st726; +tr2192: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st726; +tr2306: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st726; +st726: + if ( ++p == pe ) + goto _test_eof726; +case 726: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2299; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2298; + goto tr2093; +tr2194: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + 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 st1178; +tr2203: + { + 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 st1178; +tr2308: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + 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 st1178; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st708; + case 32: goto st708; + case 40: goto tr2197; + case 41: goto tr2198; + case 2058: goto tr2200; + case 2107: goto tr2201; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2203; + case 2619: goto tr2204; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2199; + goto tr2093; +tr2195: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + 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 st1179; +tr2204: + { + 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 st1179; +tr2309: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + { + 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 st1179; +st1179: + if ( ++p == pe ) + goto _test_eof1179; +case 1179: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2299; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2298; + goto tr2093; +st727: + if ( ++p == pe ) + goto _test_eof727; +case 727: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2300; + case 32: goto tr2300; + case 40: goto tr2301; + case 41: goto tr2302; + case 109: goto tr2304; + case 2058: goto tr2305; + case 2107: goto tr2306; + case 2314: goto tr2307; + case 2363: goto tr2307; + case 2570: goto tr2308; + case 2619: goto tr2309; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2303; + goto tr2093; +tr2303: + { + 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st728; +tr2310: + { + // 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st728; +st728: + if ( ++p == pe ) + goto _test_eof728; +case 728: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2185; + case 32: goto tr2185; + case 40: goto tr2186; + case 41: goto tr2187; + case 109: goto tr2190; + case 2058: goto tr2191; + case 2107: goto tr2192; + case 2314: goto tr2193; + case 2363: goto tr2193; + case 2570: goto tr2194; + case 2619: goto tr2195; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2310; + goto tr2093; +tr2190: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + goto st729; +tr2304: + { + 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 st268;} + } + } + { + 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 st268;} + } + } + goto st729; +st729: + if ( ++p == pe ) + goto _test_eof729; +case 729: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st708; + case 32: goto st708; + case 40: goto tr2197; + case 41: goto tr2198; + case 2058: goto tr2200; + case 2107: goto tr2201; + case 2314: goto tr2202; + case 2363: goto tr2202; + case 2570: goto tr2203; + case 2619: goto tr2204; + } + goto tr2093; +tr2181: + { + s->buffer_length = 0; + } + goto st730; +tr2311: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st730; +tr2317: + { + s->loc.long_sign = -1; + } + { + s->buffer_length = 0; + } + goto st730; +st730: + if ( ++p == pe ) + goto _test_eof730; +case 730: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2312; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2311; + goto tr2093; +st731: + if ( ++p == pe ) + goto _test_eof731; +case 731: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2313; + case 32: goto tr2313; + case 40: goto tr2314; + case 41: goto tr2315; + case 1034: goto tr2316; + case 1083: goto tr2317; + } + goto tr2093; +tr2176: + { + s->buffer_length = 0; + } + goto st732; +tr2318: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st732; +tr2171: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st732; +tr2325: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st732; +st732: + if ( ++p == pe ) + goto _test_eof732; +case 732: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2319; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2318; + goto tr2093; +st733: + if ( ++p == pe ) + goto _test_eof733; +case 733: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2320; + case 32: goto tr2320; + case 40: goto tr2321; + case 41: goto tr2322; + case 1034: goto tr2324; + case 1083: goto tr2325; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2323; + goto tr2093; +tr2323: + { + 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st734; +tr2326: + { + // 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st734; +st734: + if ( ++p == pe ) + goto _test_eof734; +case 734: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2165; + case 32: goto tr2165; + case 40: goto tr2166; + case 41: goto tr2167; + case 1034: goto tr2170; + case 1083: goto tr2171; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2326; + goto tr2093; +tr2164: + { + s->buffer_length = 0; + } + goto st735; +tr2327: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st735; +tr2158: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st735; +st735: + if ( ++p == pe ) + goto _test_eof735; +case 735: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2328; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2327; + goto tr2093; +tr2152: + { + s->buffer_length = 0; + } + goto st736; +tr2329: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st736; +tr2144: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st736; +st736: + if ( ++p == pe ) + goto _test_eof736; +case 736: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2330; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2329; + goto tr2093; +tr2137: + { + s->buffer_length = 0; + } + goto st737; +tr2331: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st737; +tr2337: + { + s->loc.lat_sign = -1; + } + { + s->buffer_length = 0; + } + goto st737; +st737: + if ( ++p == pe ) + goto _test_eof737; +case 737: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2332; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2331; + goto tr2093; +st738: + if ( ++p == pe ) + goto _test_eof738; +case 738: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2333; + case 32: goto tr2333; + case 40: goto tr2334; + case 41: goto tr2335; + case 1034: goto tr2336; + case 1083: goto tr2337; + } + goto tr2093; +tr2132: + { + s->buffer_length = 0; + } + goto st739; +tr2338: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st739; +tr2127: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st739; +tr2345: + { + 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 st268;} + } + } + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st739; +st739: + if ( ++p == pe ) + goto _test_eof739; +case 739: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2339; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2338; + goto tr2093; +st740: + if ( ++p == pe ) + goto _test_eof740; +case 740: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2340; + case 32: goto tr2340; + case 40: goto tr2341; + case 41: goto tr2342; + case 1034: goto tr2344; + case 1083: goto tr2345; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2343; + goto tr2093; +tr2343: + { + 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st741; +tr2346: + { + // 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 st268;} + } + } + { + s->decimal_counter++; + } + goto st741; +st741: + if ( ++p == pe ) + goto _test_eof741; +case 741: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2121; + case 32: goto tr2121; + case 40: goto tr2122; + case 41: goto tr2123; + case 1034: goto tr2126; + case 1083: goto tr2127; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2346; + goto tr2093; +tr2120: + { + s->buffer_length = 0; + } + goto st742; +tr2347: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st742; +tr2114: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st742; +st742: + if ( ++p == pe ) + goto _test_eof742; +case 742: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2348; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2347; + goto tr2093; +tr2108: + { + s->buffer_length = 0; + } + goto st743; +tr2349: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st743; +tr2100: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st743; +st743: + if ( ++p == pe ) + goto _test_eof743; +case 743: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2350; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2349; + goto tr2093; +st744: + if ( ++p == pe ) + goto _test_eof744; +case 744: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2351; + goto tr1885; +tr2351: + { + 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 st268;} + } + } + goto st745; +tr2355: + { + // 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 st268;} + } + } + goto st745; +st745: + if ( ++p == pe ) + goto _test_eof745; +case 745: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2352; + case 32: goto tr2352; + case 40: goto tr2353; + case 41: goto tr2354; + case 1034: goto tr2356; + case 1083: goto tr2357; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2355; + goto tr1885; +tr2359: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st746; +tr2360: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st746; +tr2362: + { + s->line_counter++; + } + goto st746; +tr2394: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st746; +tr2352: + { + 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 st268;} + } + } + goto st746; +tr2353: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st746; +tr2354: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st746; +tr2356: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st746; +st746: + if ( ++p == pe ) + goto _test_eof746; +case 746: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st746; + case 32: goto st746; + case 40: goto tr2359; + case 41: goto tr2360; + case 1034: goto tr2362; + case 1083: goto tr2363; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2361; + goto tr1885; +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 st268;} + } + } + goto st747; +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 st268;} + } + } + goto st747; +st747: + if ( ++p == pe ) + goto _test_eof747; +case 747: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr2368; + case 1083: goto tr2369; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2367; + goto tr1885; +tr2371: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st748; +tr2372: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st748; +tr2374: + { + s->line_counter++; + } + goto st748; +tr2392: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st748; +tr2364: + { + 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 st268;} + } + } + goto st748; +tr2365: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st748; +tr2366: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st748; +tr2368: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st748; +st748: + if ( ++p == pe ) + goto _test_eof748; +case 748: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st748; + case 32: goto st748; + case 40: goto tr2371; + case 41: goto tr2372; + case 1034: goto tr2374; + case 1083: goto tr2375; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2373; + goto tr1885; +tr2373: + { + 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 st268;} + } + } + goto st749; +tr2379: + { + // 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 st268;} + } + } + goto st749; +st749: + if ( ++p == pe ) + goto _test_eof749; +case 749: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2376; + case 32: goto tr2376; + case 40: goto tr2377; + case 41: goto tr2378; + case 1034: goto tr2380; + case 1083: goto tr2381; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2379; + goto tr1885; +tr2383: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st750; +tr2384: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st750; +tr2386: + { + s->line_counter++; + } + goto st750; +tr2390: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st750; +tr2376: + { + 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 st268;} + } + } + goto st750; +tr2377: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st750; +tr2378: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st750; +tr2380: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st750; +st750: + if ( ++p == pe ) + goto _test_eof750; +case 750: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st750; + case 32: goto st750; + case 40: goto tr2383; + case 41: goto tr2384; + case 42: goto tr2385; + case 92: goto tr2385; + case 95: goto tr2385; + case 1034: goto tr2386; + case 1083: goto tr2387; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2385; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2385; + } else + goto tr2385; + goto tr71; +tr2385: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 751;goto st270;} } + goto st751; +st751: + if ( ++p == pe ) + goto _test_eof751; +case 751: + switch( (*p) ) { + case 32: goto tr2388; + case 59: goto tr2388; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2388; + } else if ( (*p) >= 9 ) + goto tr2388; + goto tr71; +tr2388: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1180; +st1180: + if ( ++p == pe ) + goto _test_eof1180; +case 1180: + goto st0; +tr2387: + { + s->buffer_length = 0; + } + goto st752; +tr2389: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st752; +tr2381: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st752; +st752: + if ( ++p == pe ) + goto _test_eof752; +case 752: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2390; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2389; + goto tr71; +tr2375: + { + s->buffer_length = 0; + } + goto st753; +tr2391: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st753; +tr2369: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st753; +st753: + if ( ++p == pe ) + goto _test_eof753; +case 753: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2392; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2391; + goto tr71; +tr2363: + { + s->buffer_length = 0; + } + goto st754; +tr2393: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st754; +tr2357: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st754; +st754: + if ( ++p == pe ) + goto _test_eof754; +case 754: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2394; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2393; + goto tr71; +st755: + if ( ++p == pe ) + goto _test_eof755; +case 755: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2395; + goto tr1885; +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 st268;} + } + } + goto st756; +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 st268;} + } + } + goto st756; +st756: + if ( ++p == pe ) + goto _test_eof756; +case 756: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2396; + case 32: goto tr2396; + case 40: goto tr2397; + case 41: goto tr2398; + case 1034: goto tr2400; + case 1083: goto tr2401; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2399; + goto tr1885; +tr2403: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st757; +tr2404: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st757; +tr2406: + { + s->line_counter++; + } + goto st757; +tr2463: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st757; +tr2396: + { + 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 st268;} + } + } + goto st757; +tr2397: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st757; +tr2398: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st757; +tr2400: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st757; +st757: + if ( ++p == pe ) + goto _test_eof757; +case 757: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st757; + case 32: goto st757; + case 40: goto tr2403; + case 41: goto tr2404; + case 1034: goto tr2406; + case 1083: goto tr2407; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2405; + goto tr1885; +tr2405: + { + 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 st268;} + } + } + goto st758; +tr2411: + { + // 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 st268;} + } + } + goto st758; +st758: + if ( ++p == pe ) + goto _test_eof758; +case 758: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2408; + case 32: goto tr2408; + case 40: goto tr2409; + case 41: goto tr2410; + case 1034: goto tr2412; + case 1083: goto tr2413; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2411; + goto tr1885; +tr2416: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st759; +tr2417: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st759; +tr2418: + { + s->line_counter++; + } + goto st759; +tr2461: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st759; +tr2408: + { + 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 st268;} + } + } + goto st759; +tr2409: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st759; +tr2410: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st759; +tr2412: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st759; +st759: + if ( ++p == pe ) + goto _test_eof759; +case 759: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st759; + case 32: goto st759; + case 40: goto tr2416; + case 41: goto tr2417; + case 1034: goto tr2418; + case 1083: goto tr2419; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2414; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2414; + } else + goto tr2414; + goto tr71; +tr2414: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 760;goto st279;} } + goto st760; +st760: + if ( ++p == pe ) + goto _test_eof760; +case 760: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2420; + case 32: goto tr2420; + case 40: goto tr2421; + case 41: goto tr2422; + case 1034: goto tr2423; + case 1083: goto tr2424; + } + goto tr71; +tr2427: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st761; +tr2428: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st761; +tr2429: + { + s->line_counter++; + } + goto st761; +tr2459: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st761; +tr2420: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + goto st761; +tr2421: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st761; +tr2422: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st761; +tr2423: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st761; +st761: + if ( ++p == pe ) + goto _test_eof761; +case 761: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st761; + case 32: goto st761; + case 40: goto tr2427; + case 41: goto tr2428; + case 1034: goto tr2429; + case 1083: goto tr2430; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2425; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2425; + } else + goto tr2425; + goto tr71; +tr2425: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 762;goto st279;} } + goto st762; +st762: + if ( ++p == pe ) + goto _test_eof762; +case 762: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2431; + case 32: goto tr2431; + case 40: goto tr2432; + case 41: goto tr2433; + case 1034: goto tr2434; + case 1083: goto tr2435; + } + goto tr71; +tr2438: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st763; +tr2439: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st763; +tr2440: + { + s->line_counter++; + } + goto st763; +tr2457: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st763; +tr2431: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + goto st763; +tr2432: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st763; +tr2433: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st763; +tr2434: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st763; +st763: + if ( ++p == pe ) + goto _test_eof763; +case 763: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st763; + case 32: goto st763; + case 40: goto tr2438; + case 41: goto tr2439; + case 1034: goto tr2440; + case 1083: goto tr2441; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr2436; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr2436; + } else + goto tr2436; + goto tr71; +tr2436: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 764;goto st279;} } + goto st764; +st764: + if ( ++p == pe ) + goto _test_eof764; +case 764: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2442; + case 32: goto tr2442; + case 40: goto tr2443; + case 41: goto tr2444; + case 1034: goto tr2445; + case 1083: goto tr2446; + } + goto tr71; +tr2448: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st765; +tr2449: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st765; +tr2451: + { + s->line_counter++; + } + goto st765; +tr2455: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st765; +tr2442: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + goto st765; +tr2443: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st765; +tr2444: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st765; +tr2445: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st765; +st765: + if ( ++p == pe ) + goto _test_eof765; +case 765: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st765; + case 32: goto st765; + case 40: goto tr2448; + case 41: goto tr2449; + case 42: goto tr2450; + case 92: goto tr2450; + case 95: goto tr2450; + case 1034: goto tr2451; + case 1083: goto tr2452; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2450; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2450; + } else + goto tr2450; + goto tr71; +tr2450: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 766;goto st270;} } + goto st766; +st766: + if ( ++p == pe ) + goto _test_eof766; +case 766: + switch( (*p) ) { + case 32: goto tr2453; + case 59: goto tr2453; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr2453; + } else if ( (*p) >= 9 ) + goto tr2453; + goto tr71; +tr2453: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1181; +st1181: + if ( ++p == pe ) + goto _test_eof1181; +case 1181: + goto st0; +tr2452: + { + s->buffer_length = 0; + } + goto st767; +tr2454: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st767; +tr2446: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st767; +st767: + if ( ++p == pe ) + goto _test_eof767; +case 767: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2455; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2454; + goto tr71; +tr2441: + { + s->buffer_length = 0; + } + goto st768; +tr2456: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st768; +tr2435: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st768; +st768: + if ( ++p == pe ) + goto _test_eof768; +case 768: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2457; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2456; + goto tr71; +tr2430: + { + s->buffer_length = 0; + } + goto st769; +tr2458: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st769; +tr2424: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st769; +st769: + if ( ++p == pe ) + goto _test_eof769; +case 769: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2459; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2458; + goto tr71; +tr2419: + { + s->buffer_length = 0; + } + goto st770; +tr2460: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st770; +tr2413: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st770; +st770: + if ( ++p == pe ) + goto _test_eof770; +case 770: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2461; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2460; + goto tr71; +tr2407: + { + s->buffer_length = 0; + } + goto st771; +tr2462: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st771; +tr2401: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st771; +st771: + if ( ++p == pe ) + goto _test_eof771; +case 771: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2463; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2462; + goto tr71; +st772: + if ( ++p == pe ) + goto _test_eof772; +case 772: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2464; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr2464; + } else + goto tr2464; + goto tr71; +tr2464: + { p--; {stack[top++] = 773;goto st591;} } + goto st773; +st773: + if ( ++p == pe ) + goto _test_eof773; +case 773: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st774; + case 32: goto st774; + case 40: goto tr2466; + case 41: goto tr2467; + case 1034: goto tr2468; + case 1083: goto tr2469; + } + goto tr71; +tr2466: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st774; +tr2467: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st774; +tr2468: + { + s->line_counter++; + } + goto st774; +tr2495: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st774; +st774: + if ( ++p == pe ) + goto _test_eof774; +case 774: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st774; + case 32: goto st774; + case 40: goto tr2466; + case 41: goto tr2467; + case 1034: goto tr2468; + case 1083: goto tr2469; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2470; + goto tr1885; +tr2470: + { + 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 st268;} + } + } + goto st775; +tr2474: + { + // 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 st268;} + } + } + goto st775; +st775: + if ( ++p == pe ) + goto _test_eof775; +case 775: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2471; + case 32: goto tr2471; + case 40: goto tr2472; + case 41: goto tr2473; + case 1034: goto tr2475; + case 1083: goto tr2476; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2474; + goto tr1885; +tr2478: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st776; +tr2479: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st776; +tr2481: + { + s->line_counter++; + } + goto st776; +tr2493: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st776; +tr2471: + { + 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 st268;} + } + } + goto st776; +tr2472: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st776; +tr2473: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st776; +tr2475: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st776; +st776: + if ( ++p == pe ) + goto _test_eof776; +case 776: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st776; + case 32: goto st776; + case 40: goto tr2478; + case 41: goto tr2479; + case 1034: goto tr2481; + case 1083: goto tr2482; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2480; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2480; + } else + goto tr2480; + goto tr71; +tr2480: + { p--; {stack[top++] = 777;goto st487;} } + goto st777; +st777: + if ( ++p == pe ) + goto _test_eof777; +case 777: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st778; + case 32: goto st778; + case 40: goto tr2484; + case 41: goto tr2485; + case 1034: goto tr2486; + case 1083: goto tr2487; + } + goto tr71; +tr2484: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st778; +tr2485: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st778; +tr2486: + { + s->line_counter++; + } + goto st778; +tr2491: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st778; +st778: + if ( ++p == pe ) + goto _test_eof778; +case 778: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st778; + case 32: goto st778; + case 40: goto tr2484; + case 41: goto tr2485; + case 43: goto tr2488; + case 1034: goto tr2486; + case 1083: goto tr2487; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr2488; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2488; + } else + goto tr2488; + goto tr71; +tr2488: + { p--; {stack[top++] = 779;goto st329;} } + goto st779; +st779: + if ( ++p == pe ) + goto _test_eof779; +case 779: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1546: goto tr2489; + case 1595: goto tr2489; + } + goto tr71; +tr2489: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1182; +st1182: + if ( ++p == pe ) + goto _test_eof1182; +case 1182: + goto st0; +tr2487: + { + s->buffer_length = 0; + } + goto st780; +tr2490: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st780; +st780: + if ( ++p == pe ) + goto _test_eof780; +case 780: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2491; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2490; + goto tr71; +tr2482: + { + s->buffer_length = 0; + } + goto st781; +tr2492: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st781; +tr2476: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st781; +st781: + if ( ++p == pe ) + goto _test_eof781; +case 781: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2493; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2492; + goto tr71; +tr2469: + { + s->buffer_length = 0; + } + goto st782; +tr2494: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st782; +st782: + if ( ++p == pe ) + goto _test_eof782; +case 782: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2495; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2494; + goto tr71; +tr2499: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st783; +tr2500: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st783; +tr2503: + { + s->line_counter++; + } + goto st783; +tr2526: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st783; +tr2516: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st783; +tr2517: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st268;} + } + s->multiline = true; + } + goto st783; +tr2518: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st268;} + } + s->multiline = false; + } + goto st783; +tr2520: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st783; +st783: + if ( ++p == pe ) + goto _test_eof783; +case 783: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st783; + case 32: goto st783; + case 33: goto tr2498; + case 40: goto tr2499; + case 41: goto tr2500; + case 49: goto tr2501; + case 50: goto tr2502; + case 2058: goto tr2503; + case 2107: goto tr2504; + case 2314: goto tr2505; + case 2363: goto tr2505; + case 2570: goto tr2506; + case 2619: goto tr2507; + } + goto tr2496; +tr2498: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + { + s->apl.excl_flag = 128; // dec 128 = bin 10000000. + } + goto st784; +st784: + if ( ++p == pe ) + goto _test_eof784; +case 784: + switch( (*p) ) { + case 49: goto tr2508; + case 50: goto tr2509; + } + goto tr2496; +tr2501: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + { + s->apl.addr_family = 1; + } + goto st785; +tr2508: + { + s->apl.addr_family = 1; + } + goto st785; +st785: + if ( ++p == pe ) + goto _test_eof785; +case 785: + if ( (*p) == 58 ) + goto st786; + goto tr2496; +st786: + if ( ++p == pe ) + goto _test_eof786; +case 786: + if ( (*p) == 46 ) + goto tr2512; + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2512; + goto tr2511; +tr2512: + { + 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 st268;} + } + } + goto st787; +tr2513: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st787; +st787: + if ( ++p == pe ) + goto _test_eof787; +case 787: + if ( (*p) == 47 ) + goto tr2514; + if ( 46 <= (*p) && (*p) <= 57 ) + goto tr2513; + goto tr2511; +tr2514: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + goto st788; +tr2530: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + goto st788; +st788: + if ( ++p == pe ) + goto _test_eof788; +case 788: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2515; + goto tr2496; +tr2515: + { + 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 st268;} + } + } + goto st789; +tr2519: + { + // 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 st268;} + } + } + goto st789; +st789: + if ( ++p == pe ) + goto _test_eof789; +case 789: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto tr2516; + case 32: goto tr2516; + case 40: goto tr2517; + case 41: goto tr2518; + case 2058: goto tr2520; + case 2107: goto tr2521; + case 2314: goto tr2522; + case 2363: goto tr2522; + case 2570: goto tr2523; + case 2619: goto tr2524; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2519; + goto tr2496; +tr2504: + { + s->buffer_length = 0; + } + goto st790; +tr2525: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st790; +tr2521: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st790; +st790: + if ( ++p == pe ) + goto _test_eof790; +case 790: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2526; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2525; + goto tr71; +tr2505: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1183; +tr2522: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st1183; +st1183: + if ( ++p == pe ) + goto _test_eof1183; +case 1183: + goto st0; +tr2506: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1184; +tr2523: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st1184; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st783; + case 32: goto st783; + case 33: goto tr2498; + case 40: goto tr2499; + case 41: goto tr2500; + case 49: goto tr2501; + case 50: goto tr2502; + case 2058: goto tr2503; + case 2107: goto tr2504; + case 2314: goto tr2505; + case 2363: goto tr2505; + case 2570: goto tr2506; + case 2619: goto tr2507; + } + goto tr2496; +tr2502: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + { + s->apl.addr_family = 2; + } + goto st791; +tr2509: + { + s->apl.addr_family = 2; + } + goto st791; +st791: + if ( ++p == pe ) + goto _test_eof791; +case 791: + if ( (*p) == 58 ) + goto st792; + goto tr2496; +st792: + if ( ++p == pe ) + goto _test_eof792; +case 792: + if ( (*p) == 46 ) + goto tr2528; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 58 ) + goto tr2528; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2528; + } else + goto tr2528; + goto tr2511; +tr2528: + { + 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 st268;} + } + } + goto st793; +tr2529: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st793; +st793: + if ( ++p == pe ) + goto _test_eof793; +case 793: + if ( (*p) == 47 ) + goto tr2530; + if ( (*p) < 65 ) { + if ( 46 <= (*p) && (*p) <= 58 ) + goto tr2529; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2529; + } else + goto tr2529; + goto tr2511; +tr2507: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1185; +tr2524: + { + 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 st268;} + } + } + { + // 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 st268;} + } + // 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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 st1185; +st1185: + if ( ++p == pe ) + goto _test_eof1185; +case 1185: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2526; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2525; + goto tr71; +st794: + if ( ++p == pe ) + goto _test_eof794; +case 794: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2531; + goto tr1885; +tr2531: + { + 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 st268;} + } + } + goto st795; +tr2535: + { + // 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 st268;} + } + } + goto st795; +st795: + if ( ++p == pe ) + goto _test_eof795; +case 795: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2532; + case 32: goto tr2532; + case 40: goto tr2533; + case 41: goto tr2534; + case 1034: goto tr2536; + case 1083: goto tr2537; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2535; + goto tr1885; +tr2539: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st796; +tr2540: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st796; +tr2542: + { + s->line_counter++; + } + goto st796; +tr2579: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st796; +tr2532: + { + 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 st268;} + } + } + goto st796; +tr2533: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st796; +tr2534: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st796; +tr2536: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st796; +st796: + if ( ++p == pe ) + goto _test_eof796; +case 796: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st796; + case 32: goto st796; + case 40: goto tr2539; + case 41: goto tr2540; + case 1034: goto tr2542; + case 1083: goto tr2543; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2541; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2541; + } else + goto tr2541; + goto tr71; +tr2541: + { p--; {stack[top++] = 797;goto st487;} } + goto st797; +st797: + if ( ++p == pe ) + goto _test_eof797; +case 797: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st798; + case 32: goto st798; + case 40: goto tr2545; + case 41: goto tr2546; + case 1034: goto tr2547; + case 1083: goto tr2548; + } + goto tr71; +tr2545: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st798; +tr2546: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st798; +tr2547: + { + s->line_counter++; + } + goto st798; +tr2577: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st798; +st798: + if ( ++p == pe ) + goto _test_eof798; +case 798: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st798; + case 32: goto st798; + case 40: goto tr2545; + case 41: goto tr2546; + case 1034: goto tr2547; + case 1083: goto tr2548; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2549; + goto tr1885; +tr2549: + { + 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 st268;} + } + } + goto st799; +tr2553: + { + // 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 st268;} + } + } + goto st799; +st799: + if ( ++p == pe ) + goto _test_eof799; +case 799: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2550; + case 32: goto tr2550; + case 40: goto tr2551; + case 41: goto tr2552; + case 1034: goto tr2554; + case 1083: goto tr2555; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2553; + goto tr1885; +tr2558: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st800; +tr2559: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st800; +tr2561: + { + s->line_counter++; + } + goto st800; +tr2575: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st800; +tr2550: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st800; +tr2551: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st800; +tr2552: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st800; +tr2554: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st800; +st800: + if ( ++p == pe ) + goto _test_eof800; +case 800: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st800; + case 32: goto st800; + case 40: goto tr2558; + case 41: goto tr2559; + case 1034: goto tr2561; + case 1083: goto tr2562; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2560; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2560; + } else + goto tr2560; + goto tr2556; +tr2560: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st801; +st801: + if ( ++p == pe ) + goto _test_eof801; +case 801: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2563; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2563; + } else + goto tr2563; + goto tr2556; +tr2565: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st802; +tr2566: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st802; +tr2567: + { + s->line_counter++; + } + goto st802; +tr2573: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st802; +tr2563: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st802; +st802: + if ( ++p == pe ) + goto _test_eof802; +case 802: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st802; + case 32: goto st802; + case 40: goto tr2565; + case 41: goto tr2566; + case 2058: goto tr2567; + case 2107: goto tr2568; + case 2314: goto tr2569; + case 2363: goto tr2569; + case 2570: goto tr2570; + case 2619: goto tr2571; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2560; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2560; + } else + goto tr2560; + goto tr2556; +tr2568: + { + s->buffer_length = 0; + } + goto st803; +tr2572: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st803; +st803: + if ( ++p == pe ) + goto _test_eof803; +case 803: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2573; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2572; + goto tr2556; +tr2569: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1186; +st1186: + if ( ++p == pe ) + goto _test_eof1186; +case 1186: + goto st0; +tr2570: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1187; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st802; + case 32: goto st802; + case 40: goto tr2565; + case 41: goto tr2566; + case 2058: goto tr2567; + case 2107: goto tr2568; + case 2314: goto tr2569; + case 2363: goto tr2569; + case 2570: goto tr2570; + case 2619: goto tr2571; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2560; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2560; + } else + goto tr2560; + goto tr2556; +tr2571: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1188; +st1188: + if ( ++p == pe ) + goto _test_eof1188; +case 1188: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2573; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2572; + goto tr2556; +tr2562: + { + s->buffer_length = 0; + } + goto st804; +tr2574: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st804; +tr2555: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st804; +st804: + if ( ++p == pe ) + goto _test_eof804; +case 804: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2575; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2574; + goto tr71; +tr2548: + { + s->buffer_length = 0; + } + goto st805; +tr2576: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st805; +st805: + if ( ++p == pe ) + goto _test_eof805; +case 805: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2577; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2576; + goto tr71; +tr2543: + { + s->buffer_length = 0; + } + goto st806; +tr2578: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st806; +tr2537: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st806; +st806: + if ( ++p == pe ) + goto _test_eof806; +case 806: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2579; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2578; + goto tr71; +st807: + if ( ++p == pe ) + goto _test_eof807; +case 807: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2580; + goto tr1885; +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 st268;} + } + } + goto st808; +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 st268;} + } + } + goto st808; +st808: + if ( ++p == pe ) + goto _test_eof808; +case 808: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr2585; + case 1083: goto tr2586; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2584; + goto tr1885; +tr2588: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st809; +tr2589: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st809; +tr2591: + { + s->line_counter++; + } + goto st809; +tr2619: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st809; +tr2581: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st809; +tr2582: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st809; +tr2583: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st809; +tr2585: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st809; +st809: + if ( ++p == pe ) + goto _test_eof809; +case 809: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st809; + case 32: goto st809; + case 40: goto tr2588; + case 41: goto tr2589; + case 1034: goto tr2591; + case 1083: goto tr2592; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2590; + goto tr1885; +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 st268;} + } + } + goto st810; +tr2596: + { + // 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 st268;} + } + } + goto st810; +st810: + if ( ++p == pe ) + goto _test_eof810; +case 810: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2593; + case 32: goto tr2593; + case 40: goto tr2594; + case 41: goto tr2595; + case 1034: goto tr2597; + case 1083: goto tr2598; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2596; + goto tr1885; +tr2600: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st811; +tr2601: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st811; +tr2603: + { + s->line_counter++; + } + goto st811; +tr2617: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st811; +tr2593: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st811; +tr2594: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st811; +tr2595: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st811; +tr2597: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st811; +st811: + if ( ++p == pe ) + goto _test_eof811; +case 811: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st811; + case 32: goto st811; + case 40: goto tr2600; + case 41: goto tr2601; + case 1034: goto tr2603; + case 1083: goto tr2604; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2602; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2602; + } else + goto tr2602; + goto tr2556; +tr2602: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st812; +st812: + if ( ++p == pe ) + goto _test_eof812; +case 812: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2605; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr2605; + } else + goto tr2605; + goto tr2556; +tr2607: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st813; +tr2608: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st813; +tr2609: + { + s->line_counter++; + } + goto st813; +tr2615: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st813; +tr2605: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st813; +st813: + if ( ++p == pe ) + goto _test_eof813; +case 813: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st813; + case 32: goto st813; + case 40: goto tr2607; + case 41: goto tr2608; + case 2058: goto tr2609; + case 2107: goto tr2610; + case 2314: goto tr2611; + case 2363: goto tr2611; + case 2570: goto tr2612; + case 2619: goto tr2613; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2602; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2602; + } else + goto tr2602; + goto tr2556; +tr2610: + { + s->buffer_length = 0; + } + goto st814; +tr2614: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st814; +st814: + if ( ++p == pe ) + goto _test_eof814; +case 814: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2615; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2614; + goto tr2556; +tr2611: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1189; +st1189: + if ( ++p == pe ) + goto _test_eof1189; +case 1189: + goto st0; +tr2612: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1190; +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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st813; + case 32: goto st813; + case 40: goto tr2607; + case 41: goto tr2608; + case 2058: goto tr2609; + case 2107: goto tr2610; + case 2314: goto tr2611; + case 2363: goto tr2611; + case 2570: goto tr2612; + case 2619: goto tr2613; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2602; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2602; + } else + goto tr2602; + goto tr2556; +tr2613: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1191; +st1191: + if ( ++p == pe ) + goto _test_eof1191; +case 1191: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2615; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2614; + goto tr2556; +tr2604: + { + s->buffer_length = 0; + } + goto st815; +tr2616: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st815; +tr2598: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st815; +st815: + if ( ++p == pe ) + goto _test_eof815; +case 815: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2617; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2616; + goto tr71; +tr2592: + { + s->buffer_length = 0; + } + goto st816; +tr2618: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st816; +tr2586: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st816; +st816: + if ( ++p == pe ) + goto _test_eof816; +case 816: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2619; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2618; + goto tr71; +st817: + if ( ++p == pe ) + goto _test_eof817; +case 817: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr2620; + goto tr1885; +tr2620: + { + 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 st268;} + } + } + goto st818; +tr2624: + { + // 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 st268;} + } + } + goto st818; +st818: + if ( ++p == pe ) + goto _test_eof818; +case 818: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2621; + case 32: goto tr2621; + case 40: goto tr2622; + case 41: goto tr2623; + case 1034: goto tr2625; + case 1083: goto tr2626; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2624; + goto tr1885; +tr2629: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st819; +tr2630: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st819; +tr2635: + { + s->line_counter++; + } + goto st819; +tr2828: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st819; +tr2621: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st819; +tr2622: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st819; +tr2623: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st819; +tr2625: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st819; +st819: + if ( ++p == pe ) + goto _test_eof819; +case 819: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st819; + case 32: goto st819; + case 40: goto tr2629; + case 41: goto tr2630; + case 48: goto tr2631; + case 49: goto tr2632; + case 50: goto tr2633; + case 51: goto tr2634; + case 1034: goto tr2635; + case 1083: goto tr2636; + } + goto tr2627; +tr2631: + { + *(rdata_tail++) = 0; + } + goto st820; +st820: + if ( ++p == pe ) + goto _test_eof820; +case 820: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st821; + case 32: goto st821; + case 40: goto tr2638; + case 41: goto tr2639; + case 1034: goto tr2640; + case 1083: goto tr2641; + } + goto tr2627; +tr2638: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st821; +tr2639: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st821; +tr2640: + { + s->line_counter++; + } + goto st821; +tr2690: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st821; +st821: + if ( ++p == pe ) + goto _test_eof821; +case 821: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st821; + case 32: goto st821; + case 40: goto tr2638; + case 41: goto tr2639; + case 1034: goto tr2640; + case 1083: goto tr2641; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2643; + goto tr2642; +tr2643: + { + 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 st268;} + } + } + goto st822; +tr2647: + { + // 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 st268;} + } + } + goto st822; +st822: + if ( ++p == pe ) + goto _test_eof822; +case 822: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2644; + case 32: goto tr2644; + case 40: goto tr2645; + case 41: goto tr2646; + case 1034: goto tr2648; + case 1083: goto tr2649; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2647; + goto tr2642; +tr2651: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st823; +tr2652: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st823; +tr2654: + { + s->line_counter++; + } + goto st823; +tr2688: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st823; +tr2644: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st823; +tr2645: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st823; +tr2646: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st823; +tr2648: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st823; +st823: + if ( ++p == pe ) + goto _test_eof823; +case 823: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st823; + case 32: goto st823; + case 40: goto tr2651; + case 41: goto tr2652; + case 46: goto st824; + case 1034: goto tr2654; + case 1083: goto tr2655; + } + goto tr2627; +st824: + if ( ++p == pe ) + goto _test_eof824; +case 824: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(8832 + ((*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)(5760 + ((*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)(5760 + ((*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)(8832 + ((*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)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 6153: goto st825; + case 6176: goto st825; + case 6184: goto tr2658; + case 6185: goto tr2659; + case 6409: goto st828; + case 6432: goto st828; + case 6440: goto tr2661; + case 6441: goto tr2662; + case 6665: goto st830; + case 6688: goto st830; + case 6696: goto tr2664; + case 6697: goto tr2665; + case 9482: goto tr2666; + case 9531: goto tr2666; + case 9738: goto tr2666; + case 9787: goto tr2666; + case 10250: goto tr2667; + case 10299: goto tr2668; + case 10506: goto tr2666; + case 10555: goto tr2666; + case 10762: goto tr2669; + case 10811: goto tr2670; + case 11274: goto tr2671; + case 11323: goto tr2672; + case 11530: goto tr2666; + case 11579: goto tr2666; + case 11786: goto tr2673; + case 11835: goto tr2674; + case 12298: goto tr2675; + case 12347: goto tr2676; + case 12554: goto tr2666; + case 12603: goto tr2666; + case 12810: goto tr2677; + case 12859: goto tr2678; + } + goto tr2656; +tr2658: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st825; +tr2659: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st825; +tr2667: + { + s->line_counter++; + } + goto st825; +tr2682: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st825; +tr2801: + { + rdata_tail += s->dname_tmp_length; + } + goto st825; +tr2802: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st825; +tr2803: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st825; +tr2811: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st825; +tr2712: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st825; +tr2713: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = true; + } + goto st825; +tr2714: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = false; + } + goto st825; +tr2722: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st825; +tr2757: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st825; +tr2758: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = true; + } + goto st825; +tr2759: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = false; + } + goto st825; +tr2767: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st825; +st825: + if ( ++p == pe ) + goto _test_eof825; +case 825: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) > 40 ) { + if ( 41 <= (*p) && (*p) <= 41 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(2688 + ((*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)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 3081: goto st825; + case 3104: goto st825; + case 3112: goto tr2658; + case 3113: goto tr2659; + case 3115: goto tr2680; + case 4106: goto tr2667; + case 4155: goto tr2668; + } + if ( _widec < 3137 ) { + if ( 3119 <= _widec && _widec <= 3129 ) + goto tr2680; + } else if ( _widec > 3162 ) { + if ( 3169 <= _widec && _widec <= 3194 ) + goto tr2680; + } else + goto tr2680; + goto tr2679; +tr2680: + { p--; {stack[top++] = 826;goto st329;} } + goto st826; +st826: + if ( ++p == pe ) + goto _test_eof826; +case 826: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1546: goto tr2666; + case 1595: goto tr2666; + } + goto tr2679; +tr2666: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1192; +tr2721: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1192; +tr2810: + { + rdata_tail += s->dname_tmp_length; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1192; +tr2766: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1192; +st1192: + if ( ++p == pe ) + goto _test_eof1192; +case 1192: + goto st0; +tr2668: + { + s->buffer_length = 0; + } + goto st827; +tr2681: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st827; +tr2812: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st827; +tr2723: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st827; +tr2768: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st827; +st827: + if ( ++p == pe ) + goto _test_eof827; +case 827: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + if ( _widec == 4106 ) + goto tr2682; + if ( 3968 <= _widec && _widec <= 4223 ) + goto tr2681; + goto tr2679; +tr2661: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st828; +tr2662: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st828; +tr2671: + { + s->line_counter++; + } + goto st828; +tr2684: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st828; +tr2804: + { + rdata_tail += s->dname_tmp_length; + } + goto st828; +tr2805: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st828; +tr2806: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st828; +tr2815: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st828; +tr2715: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st828; +tr2716: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = true; + } + goto st828; +tr2717: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = false; + } + goto st828; +tr2726: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st828; +tr2760: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st828; +tr2761: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = true; + } + goto st828; +tr2762: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = false; + } + goto st828; +tr2771: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st828; +st828: + if ( ++p == pe ) + goto _test_eof828; +case 828: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(12928 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(12928 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + switch( _widec ) { + case 4617: goto st828; + case 4640: goto st828; + case 4648: goto tr2661; + case 4649: goto tr2662; + case 13578: goto tr2666; + case 13627: goto tr2666; + case 13834: goto tr2666; + case 13883: goto tr2666; + case 14346: goto tr2671; + case 14395: goto tr2672; + case 14602: goto tr2666; + case 14651: goto tr2666; + case 14858: goto tr2673; + case 14907: goto tr2674; + } + goto tr2679; +tr2672: + { + s->buffer_length = 0; + } + goto st829; +tr2683: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st829; +tr2816: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st829; +tr2727: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st829; +tr2772: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st829; +st829: + if ( ++p == pe ) + goto _test_eof829; +case 829: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(4736 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(4736 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(4736 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + if ( _widec == 5642 ) + goto tr2684; + if ( 5504 <= _widec && _widec <= 5759 ) + goto tr2683; + goto tr2679; +tr2673: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1193; +tr2728: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st1193; +tr2773: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st1193; +tr2817: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1193; +st1193: + if ( ++p == pe ) + goto _test_eof1193; +case 1193: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(12928 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) < 41 ) { + if ( 40 <= (*p) && (*p) <= 40 ) { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else if ( (*p) > 41 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(12928 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + } else { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + } + switch( _widec ) { + case 4617: goto st828; + case 4640: goto st828; + case 4648: goto tr2661; + case 4649: goto tr2662; + case 13578: goto tr2666; + case 13627: goto tr2666; + case 13834: goto tr2666; + case 13883: goto tr2666; + case 14346: goto tr2671; + case 14395: goto tr2672; + case 14602: goto tr2666; + case 14651: goto tr2666; + case 14858: goto tr2673; + case 14907: goto tr2674; + } + goto tr2679; +tr2674: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1194; +tr2729: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st1194; +tr2774: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st1194; +tr2818: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1194; +st1194: + if ( ++p == pe ) + goto _test_eof1194; +case 1194: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(4736 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(4736 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(4736 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + if ( _widec == 5642 ) + goto tr2684; + if ( 5504 <= _widec && _widec <= 5759 ) + goto tr2683; + goto tr2679; +tr2664: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st830; +tr2665: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st830; +tr2675: + { + s->line_counter++; + } + goto st830; +tr2686: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st830; +tr2807: + { + rdata_tail += s->dname_tmp_length; + } + goto st830; +tr2808: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st830; +tr2809: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st830; +tr2819: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st830; +tr2718: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + goto st830; +tr2719: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = true; + } + goto st830; +tr2720: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = false; + } + goto st830; +tr2730: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st830; +tr2763: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + goto st830; +tr2764: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = true; + } + goto st830; +tr2765: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st268;} + } + s->multiline = false; + } + goto st830; +tr2775: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->line_counter++; + } + goto st830; +st830: + if ( ++p == pe ) + goto _test_eof830; +case 830: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(8832 + ((*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)(5760 + ((*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)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*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)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(8832 + ((*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)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 3115: goto tr2680; + case 6153: goto st825; + case 6176: goto st825; + case 6184: goto tr2658; + case 6185: goto tr2659; + case 6409: goto st828; + case 6432: goto st828; + case 6440: goto tr2661; + case 6441: goto tr2662; + case 6665: goto st830; + case 6688: goto st830; + case 6696: goto tr2664; + case 6697: goto tr2665; + case 9482: goto tr2666; + case 9531: goto tr2666; + case 9738: goto tr2666; + case 9787: goto tr2666; + case 10250: goto tr2667; + case 10299: goto tr2668; + case 10506: goto tr2666; + case 10555: goto tr2666; + case 10762: goto tr2669; + case 10811: goto tr2670; + case 11274: goto tr2671; + case 11323: goto tr2672; + case 11530: goto tr2666; + case 11579: goto tr2666; + case 11786: goto tr2673; + case 11835: goto tr2674; + case 12298: goto tr2675; + case 12347: goto tr2676; + case 12554: goto tr2666; + case 12603: goto tr2666; + case 12810: goto tr2677; + case 12859: goto tr2678; + } + if ( _widec < 3137 ) { + if ( 3119 <= _widec && _widec <= 3129 ) + goto tr2680; + } else if ( _widec > 3162 ) { + if ( 3169 <= _widec && _widec <= 3194 ) + goto tr2680; + } else + goto tr2680; + goto tr2679; +tr2669: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1195; +tr2724: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st1195; +tr2769: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st1195; +tr2813: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1195; +st1195: + if ( ++p == pe ) + goto _test_eof1195; +case 1195: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) >= 9 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 32 ) { + if ( (*p) > 40 ) { + if ( 41 <= (*p) && (*p) <= 41 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(2688 + ((*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)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 3081: goto st825; + case 3104: goto st825; + case 3112: goto tr2658; + case 3113: goto tr2659; + case 3115: goto tr2680; + case 4106: goto tr2667; + case 4155: goto tr2668; + } + if ( _widec < 3137 ) { + if ( 3119 <= _widec && _widec <= 3129 ) + goto tr2680; + } else if ( _widec > 3162 ) { + if ( 3169 <= _widec && _widec <= 3194 ) + goto tr2680; + } else + goto tr2680; + goto tr2679; +tr2670: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1196; +tr2725: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st1196; +tr2770: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st1196; +tr2814: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1196; +st1196: + if ( ++p == pe ) + goto _test_eof1196; +case 1196: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + } else { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + } + if ( _widec == 4106 ) + goto tr2682; + if ( 3968 <= _widec && _widec <= 4223 ) + goto tr2681; + goto tr2679; +tr2676: + { + s->buffer_length = 0; + } + goto st831; +tr2685: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st831; +tr2820: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st831; +tr2731: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st831; +tr2776: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + { + s->buffer_length = 0; + } + goto st831; +st831: + if ( ++p == pe ) + goto _test_eof831; +case 831: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(6784 + ((*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)(6784 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + switch( _widec ) { + case 7690: goto tr2682; + case 8202: goto tr2684; + case 8714: goto tr2686; + } + if ( _widec < 8064 ) { + if ( 7552 <= _widec && _widec <= 7807 ) + goto tr2681; + } else if ( _widec > 8319 ) { + if ( 8576 <= _widec && _widec <= 8831 ) + goto tr2685; + } else + goto tr2683; + goto tr2679; +tr2677: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1197; +tr2732: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st1197; +tr2777: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st1197; +tr2821: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1197; +st1197: + if ( ++p == pe ) + goto _test_eof1197; +case 1197: + _widec = (*p); + if ( (*p) < 43 ) { + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(8832 + ((*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)(5760 + ((*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)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else if ( (*p) >= 40 ) { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*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)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 47 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) > 59 ) { + if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else if ( (*p) >= 65 ) { + _widec = (short)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + } else { + _widec = (short)(8832 + ((*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)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + } + switch( _widec ) { + case 3115: goto tr2680; + case 6153: goto st825; + case 6176: goto st825; + case 6184: goto tr2658; + case 6185: goto tr2659; + case 6409: goto st828; + case 6432: goto st828; + case 6440: goto tr2661; + case 6441: goto tr2662; + case 6665: goto st830; + case 6688: goto st830; + case 6696: goto tr2664; + case 6697: goto tr2665; + case 9482: goto tr2666; + case 9531: goto tr2666; + case 9738: goto tr2666; + case 9787: goto tr2666; + case 10250: goto tr2667; + case 10299: goto tr2668; + case 10506: goto tr2666; + case 10555: goto tr2666; + case 10762: goto tr2669; + case 10811: goto tr2670; + case 11274: goto tr2671; + case 11323: goto tr2672; + case 11530: goto tr2666; + case 11579: goto tr2666; + case 11786: goto tr2673; + case 11835: goto tr2674; + case 12298: goto tr2675; + case 12347: goto tr2676; + case 12554: goto tr2666; + case 12603: goto tr2666; + case 12810: goto tr2677; + case 12859: goto tr2678; + } + if ( _widec < 3137 ) { + if ( 3119 <= _widec && _widec <= 3129 ) + goto tr2680; + } else if ( _widec > 3162 ) { + if ( 3169 <= _widec && _widec <= 3194 ) + goto tr2680; + } else + goto tr2680; + goto tr2679; +tr2678: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1198; +tr2733: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + 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 st1198; +tr2778: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {goto st268;} + } + } + { + 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 st1198; +tr2822: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1198; +st1198: + if ( ++p == pe ) + goto _test_eof1198; +case 1198: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(6784 + ((*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)(6784 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + } else { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + } + switch( _widec ) { + case 7690: goto tr2682; + case 8202: goto tr2684; + case 8714: goto tr2686; + } + if ( _widec < 8064 ) { + if ( 7552 <= _widec && _widec <= 7807 ) + goto tr2681; + } else if ( _widec > 8319 ) { + if ( 8576 <= _widec && _widec <= 8831 ) + goto tr2685; + } else + goto tr2683; + goto tr2679; +tr2655: + { + s->buffer_length = 0; + } + goto st832; +tr2687: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st832; +tr2649: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st832; +st832: + if ( ++p == pe ) + goto _test_eof832; +case 832: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2688; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2687; + goto tr2627; +tr2641: + { + s->buffer_length = 0; + } + goto st833; +tr2689: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st833; +st833: + if ( ++p == pe ) + goto _test_eof833; +case 833: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2690; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2689; + goto tr2627; +tr2632: + { + *(rdata_tail++) = 1; + } + goto st834; +st834: + if ( ++p == pe ) + goto _test_eof834; +case 834: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st835; + case 32: goto st835; + case 40: goto tr2692; + case 41: goto tr2693; + case 1034: goto tr2694; + case 1083: goto tr2695; + } + goto tr2627; +tr2692: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st835; +tr2693: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st835; +tr2694: + { + s->line_counter++; + } + goto st835; +tr2737: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st835; +st835: + if ( ++p == pe ) + goto _test_eof835; +case 835: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st835; + case 32: goto st835; + case 40: goto tr2692; + case 41: goto tr2693; + case 1034: goto tr2694; + case 1083: goto tr2695; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2696; + goto tr2642; +tr2696: + { + 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 st268;} + } + } + goto st836; +tr2700: + { + // 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 st268;} + } + } + goto st836; +st836: + if ( ++p == pe ) + goto _test_eof836; +case 836: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2697; + case 32: goto tr2697; + case 40: goto tr2698; + case 41: goto tr2699; + case 1034: goto tr2701; + case 1083: goto tr2702; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2700; + goto tr2642; +tr2705: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st837; +tr2706: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st837; +tr2708: + { + s->line_counter++; + } + goto st837; +tr2735: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st837; +tr2697: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st837; +tr2698: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st837; +tr2699: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st837; +tr2701: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st837; +st837: + if ( ++p == pe ) + goto _test_eof837; +case 837: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st837; + case 32: goto st837; + case 40: goto tr2705; + case 41: goto tr2706; + case 46: goto tr2707; + case 1034: goto tr2708; + case 1083: goto tr2709; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2707; + goto tr2703; +tr2707: + { + 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 st268;} + } + } + goto st838; +tr2711: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st838; +st838: + if ( ++p == pe ) + goto _test_eof838; +case 838: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(8832 + ((*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)(5760 + ((*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)(5760 + ((*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)(8832 + ((*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)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 46: goto tr2711; + case 6153: goto tr2712; + case 6176: goto tr2712; + case 6184: goto tr2713; + case 6185: goto tr2714; + case 6409: goto tr2715; + case 6432: goto tr2715; + case 6440: goto tr2716; + case 6441: goto tr2717; + case 6665: goto tr2718; + case 6688: goto tr2718; + case 6696: goto tr2719; + case 6697: goto tr2720; + case 9482: goto tr2721; + case 9531: goto tr2721; + case 9738: goto tr2721; + case 9787: goto tr2721; + case 10250: goto tr2722; + case 10299: goto tr2723; + case 10506: goto tr2721; + case 10555: goto tr2721; + case 10762: goto tr2724; + case 10811: goto tr2725; + case 11274: goto tr2726; + case 11323: goto tr2727; + case 11530: goto tr2721; + case 11579: goto tr2721; + case 11786: goto tr2728; + case 11835: goto tr2729; + case 12298: goto tr2730; + case 12347: goto tr2731; + case 12554: goto tr2721; + case 12603: goto tr2721; + case 12810: goto tr2732; + case 12859: goto tr2733; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2711; + goto tr2710; +tr2709: + { + s->buffer_length = 0; + } + goto st839; +tr2734: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st839; +tr2702: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st839; +st839: + if ( ++p == pe ) + goto _test_eof839; +case 839: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2735; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2734; + goto tr2627; +tr2695: + { + s->buffer_length = 0; + } + goto st840; +tr2736: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st840; +st840: + if ( ++p == pe ) + goto _test_eof840; +case 840: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2737; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2736; + goto tr2627; +tr2633: + { + *(rdata_tail++) = 2; + } + goto st841; +st841: + if ( ++p == pe ) + goto _test_eof841; +case 841: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st842; + case 32: goto st842; + case 40: goto tr2739; + case 41: goto tr2740; + case 1034: goto tr2741; + case 1083: goto tr2742; + } + goto tr2627; +tr2739: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st842; +tr2740: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st842; +tr2741: + { + s->line_counter++; + } + goto st842; +tr2782: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st842; +st842: + if ( ++p == pe ) + goto _test_eof842; +case 842: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st842; + case 32: goto st842; + case 40: goto tr2739; + case 41: goto tr2740; + case 1034: goto tr2741; + case 1083: goto tr2742; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2743; + goto tr2642; +tr2743: + { + 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 st268;} + } + } + goto st843; +tr2747: + { + // 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 st268;} + } + } + goto st843; +st843: + if ( ++p == pe ) + goto _test_eof843; +case 843: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2744; + case 32: goto tr2744; + case 40: goto tr2745; + case 41: goto tr2746; + case 1034: goto tr2748; + case 1083: goto tr2749; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2747; + goto tr2642; +tr2751: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st844; +tr2752: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st844; +tr2754: + { + s->line_counter++; + } + goto st844; +tr2780: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st844; +tr2744: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st844; +tr2745: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st844; +tr2746: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st844; +tr2748: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st844; +st844: + if ( ++p == pe ) + goto _test_eof844; +case 844: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st844; + case 32: goto st844; + case 40: goto tr2751; + case 41: goto tr2752; + case 46: goto tr2753; + case 1034: goto tr2754; + case 1083: goto tr2755; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 58 ) + goto tr2753; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2753; + } else + goto tr2753; + goto tr2703; +tr2753: + { + 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 st268;} + } + } + goto st845; +tr2756: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st845; +st845: + if ( ++p == pe ) + goto _test_eof845; +case 845: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(8832 + ((*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)(5760 + ((*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)(5760 + ((*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)(8832 + ((*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)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 46: goto tr2756; + case 6153: goto tr2757; + case 6176: goto tr2757; + case 6184: goto tr2758; + case 6185: goto tr2759; + case 6409: goto tr2760; + case 6432: goto tr2760; + case 6440: goto tr2761; + case 6441: goto tr2762; + case 6665: goto tr2763; + case 6688: goto tr2763; + case 6696: goto tr2764; + case 6697: goto tr2765; + case 9482: goto tr2766; + case 9531: goto tr2766; + case 9738: goto tr2766; + case 9787: goto tr2766; + case 10250: goto tr2767; + case 10299: goto tr2768; + case 10506: goto tr2766; + case 10555: goto tr2766; + case 10762: goto tr2769; + case 10811: goto tr2770; + case 11274: goto tr2771; + case 11323: goto tr2772; + case 11530: goto tr2766; + case 11579: goto tr2766; + case 11786: goto tr2773; + case 11835: goto tr2774; + case 12298: goto tr2775; + case 12347: goto tr2776; + case 12554: goto tr2766; + case 12603: goto tr2766; + case 12810: goto tr2777; + case 12859: goto tr2778; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 58 ) + goto tr2756; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr2756; + } else + goto tr2756; + goto tr2710; +tr2755: + { + s->buffer_length = 0; + } + goto st846; +tr2779: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st846; +tr2749: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st846; +st846: + if ( ++p == pe ) + goto _test_eof846; +case 846: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2780; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2779; + goto tr2627; +tr2742: + { + s->buffer_length = 0; + } + goto st847; +tr2781: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st847; +st847: + if ( ++p == pe ) + goto _test_eof847; +case 847: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2782; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2781; + goto tr2627; +tr2634: + { + *(rdata_tail++) = 3; + } + goto st848; +st848: + if ( ++p == pe ) + goto _test_eof848; +case 848: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st849; + case 32: goto st849; + case 40: goto tr2784; + case 41: goto tr2785; + case 1034: goto tr2786; + case 1083: goto tr2787; + } + goto tr2627; +tr2784: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st849; +tr2785: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st849; +tr2786: + { + s->line_counter++; + } + goto st849; +tr2826: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st849; +st849: + if ( ++p == pe ) + goto _test_eof849; +case 849: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st849; + case 32: goto st849; + case 40: goto tr2784; + case 41: goto tr2785; + case 1034: goto tr2786; + case 1083: goto tr2787; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2788; + goto tr2642; +tr2788: + { + 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 st268;} + } + } + goto st850; +tr2792: + { + // 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 st268;} + } + } + goto st850; +st850: + if ( ++p == pe ) + goto _test_eof850; +case 850: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2789; + case 32: goto tr2789; + case 40: goto tr2790; + case 41: goto tr2791; + case 1034: goto tr2793; + case 1083: goto tr2794; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2792; + goto tr2642; +tr2796: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st851; +tr2797: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st851; +tr2799: + { + s->line_counter++; + } + goto st851; +tr2824: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st851; +tr2789: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st851; +tr2790: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st851; +tr2791: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st851; +tr2793: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st851; +st851: + if ( ++p == pe ) + goto _test_eof851; +case 851: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st851; + case 32: goto st851; + case 40: goto tr2796; + case 41: goto tr2797; + case 42: goto tr2798; + case 92: goto tr2798; + case 95: goto tr2798; + case 1034: goto tr2799; + case 1083: goto tr2800; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2798; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2798; + } else + goto tr2798; + goto tr2627; +tr2798: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 852;goto st270;} } + goto st852; +st852: + if ( ++p == pe ) + goto _test_eof852; +case 852: + _widec = (*p); + if ( (*p) < 32 ) { + if ( (*p) > 9 ) { + if ( 10 <= (*p) && (*p) <= 10 ) { + _widec = (short)(8832 + ((*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)(5760 + ((*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)(5760 + ((*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)(8832 + ((*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)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + } else { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + } + switch( _widec ) { + case 6153: goto tr2801; + case 6176: goto tr2801; + case 6184: goto tr2802; + case 6185: goto tr2803; + case 6409: goto tr2804; + case 6432: goto tr2804; + case 6440: goto tr2805; + case 6441: goto tr2806; + case 6665: goto tr2807; + case 6688: goto tr2807; + case 6696: goto tr2808; + case 6697: goto tr2809; + case 9482: goto tr2810; + case 9531: goto tr2810; + case 9738: goto tr2810; + case 9787: goto tr2810; + case 10250: goto tr2811; + case 10299: goto tr2812; + case 10506: goto tr2810; + case 10555: goto tr2810; + case 10762: goto tr2813; + case 10811: goto tr2814; + case 11274: goto tr2815; + case 11323: goto tr2816; + case 11530: goto tr2810; + case 11579: goto tr2810; + case 11786: goto tr2817; + case 11835: goto tr2818; + case 12298: goto tr2819; + case 12347: goto tr2820; + case 12554: goto tr2810; + case 12603: goto tr2810; + case 12810: goto tr2821; + case 12859: goto tr2822; + } + goto tr2656; +tr2800: + { + s->buffer_length = 0; + } + goto st853; +tr2823: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st853; +tr2794: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st853; +st853: + if ( ++p == pe ) + goto _test_eof853; +case 853: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2824; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2823; + goto tr2627; +tr2787: + { + s->buffer_length = 0; + } + goto st854; +tr2825: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st854; +st854: + if ( ++p == pe ) + goto _test_eof854; +case 854: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2826; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2825; + goto tr2627; +tr2636: + { + s->buffer_length = 0; + } + goto st855; +tr2827: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st855; +tr2626: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st855; +st855: + if ( ++p == pe ) + goto _test_eof855; +case 855: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2828; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2827; + goto tr71; +st856: + if ( ++p == pe ) + goto _test_eof856; +case 856: + switch( (*p) ) { + case 65: goto st857; + case 67: goto st891; + case 68: goto st908; + case 69: goto st922; + case 72: goto st929; + case 73: goto st934; + case 75: goto st942; + case 76: goto st946; + case 77: goto st954; + case 78: goto st960; + case 80: goto st976; + case 82: goto st979; + case 83: goto st986; + case 84: goto st997; + case 85: goto st1007; + case 97: goto st857; + case 99: goto st891; + case 100: goto st908; + case 101: goto st922; + case 104: goto st929; + case 105: goto st934; + case 107: goto st942; + case 108: goto st946; + case 109: goto st954; + case 110: goto st960; + case 112: goto st976; + case 114: goto st979; + case 115: goto st986; + case 116: goto st997; + case 117: goto st1007; + } + goto tr2829; +st857: + if ( ++p == pe ) + goto _test_eof857; +case 857: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2845; + case 32: goto tr2845; + case 40: goto tr2846; + case 41: goto tr2847; + case 65: goto st882; + case 70: goto st885; + case 80: goto st889; + case 97: goto st882; + case 102: goto st885; + case 112: goto st889; + case 1034: goto tr2851; + case 1083: goto tr2852; + } + goto tr2829; +tr2854: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2855: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2857: + { + s->line_counter++; + } + goto st858; +tr2953: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st858; +tr3264: + { + 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 st268;} + } + } + goto st858; +tr3265: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3266: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3268: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st858; +tr2845: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + goto st858; +tr2846: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2847: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2851: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr2956: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + goto st858; +tr2957: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2958: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2959: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr2964: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + goto st858; +tr2965: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2966: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2967: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr2970: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + goto st858; +tr2971: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2972: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2973: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr2980: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + goto st858; +tr2981: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2982: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2983: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr2991: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + goto st858; +tr2992: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2993: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2994: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr2996: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + goto st858; +tr2997: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr2998: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr2999: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3003: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + goto st858; +tr3004: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3005: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3006: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3011: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + goto st858; +tr3012: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3013: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3014: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3022: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + goto st858; +tr3023: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3024: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3025: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3031: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + goto st858; +tr3032: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3033: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3034: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3039: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + goto st858; +tr3040: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3041: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3042: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3044: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + goto st858; +tr3045: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3046: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3047: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3054: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + goto st858; +tr3055: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3056: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3057: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3060: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + goto st858; +tr3061: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3062: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3063: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3069: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + goto st858; +tr3070: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3071: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3072: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3081: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + goto st858; +tr3082: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3083: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3084: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3089: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + goto st858; +tr3090: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3091: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3092: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3094: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + goto st858; +tr3095: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3096: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3097: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3104: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + goto st858; +tr3105: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3106: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3107: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3110: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + goto st858; +tr3111: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3112: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3113: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3116: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + goto st858; +tr3117: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3118: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3119: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3121: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + goto st858; +tr3122: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3123: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3124: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3131: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + goto st858; +tr3132: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3133: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3134: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3136: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + goto st858; +tr3137: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3138: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3139: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3147: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + goto st858; +tr3148: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3149: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3150: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3153: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + goto st858; +tr3154: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3155: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3156: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3158: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + goto st858; +tr3159: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3160: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3162: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3165: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + goto st858; +tr3166: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3167: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3169: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3171: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + goto st858; +tr3172: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3173: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3175: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3181: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + goto st858; +tr3182: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3183: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3184: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3188: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + goto st858; +tr3189: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3190: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3191: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3196: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + goto st858; +tr3197: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3198: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3199: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3204: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + goto st858; +tr3205: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3206: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3207: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3209: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + goto st858; +tr3210: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3211: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3212: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3219: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + goto st858; +tr3220: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3221: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3222: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3225: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + goto st858; +tr3226: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3227: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3228: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3231: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + goto st858; +tr3232: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3233: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3234: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3239: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + goto st858; +tr3240: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3241: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3242: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3249: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + goto st858; +tr3250: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3251: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3252: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3255: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + goto st858; +tr3256: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3257: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3258: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + s->line_counter++; + } + goto st858; +tr3272: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + goto st858; +tr3273: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st858; +tr3274: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st858; +tr3275: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st858; + case 32: goto st858; + case 40: goto tr2854; + case 41: goto tr2855; + case 1034: goto tr2857; + case 1083: goto tr2858; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr2856; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2856; + } else + goto tr2856; + goto tr71; +tr2856: + { p--; {stack[top++] = 859;goto st487;} } + goto st859; +st859: + if ( ++p == pe ) + goto _test_eof859; +case 859: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st860; + case 32: goto st860; + case 40: goto tr2860; + case 41: goto tr2861; + case 1034: goto tr2862; + case 1083: goto tr2863; + } + goto tr71; +tr2860: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st860; +tr2861: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st860; +tr2862: + { + s->line_counter++; + } + goto st860; +tr2951: + { + s->buffer[s->buffer_length++] = 0; + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st860; + case 32: goto st860; + case 40: goto tr2860; + case 41: goto tr2861; + case 1034: goto tr2862; + case 1083: goto tr2863; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2864; + goto tr1885; +tr2864: + { + 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 st268;} + } + } + goto st861; +tr2868: + { + // 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 st268;} + } + } + goto st861; +st861: + if ( ++p == pe ) + goto _test_eof861; +case 861: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2865; + case 32: goto tr2865; + case 40: goto tr2866; + case 41: goto tr2867; + case 1034: goto tr2869; + case 1083: goto tr2870; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2868; + goto tr1885; +tr2872: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st862; +tr2873: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st862; +tr2875: + { + s->line_counter++; + } + goto st862; +tr2949: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st862; +tr2865: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st862; +tr2866: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st862; +tr2867: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st862; +tr2869: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st862; +st862: + if ( ++p == pe ) + goto _test_eof862; +case 862: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st862; + case 32: goto st862; + case 40: goto tr2872; + case 41: goto tr2873; + case 1034: goto tr2875; + case 1083: goto tr2876; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2874; + goto tr1885; +tr2874: + { + 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 st268;} + } + } + goto st863; +tr2880: + { + // 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 st268;} + } + } + goto st863; +st863: + if ( ++p == pe ) + goto _test_eof863; +case 863: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2877; + case 32: goto tr2877; + case 40: goto tr2878; + case 41: goto tr2879; + case 1034: goto tr2881; + case 1083: goto tr2882; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2880; + goto tr1885; +tr2885: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st864; +tr2886: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st864; +tr2888: + { + s->line_counter++; + } + goto st864; +tr2947: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st864; +tr2877: + { + 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 st268;} + } + } + goto st864; +tr2878: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st864; +tr2879: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st864; +tr2881: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st864; +st864: + if ( ++p == pe ) + goto _test_eof864; +case 864: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st864; + case 32: goto st864; + case 40: goto tr2885; + case 41: goto tr2886; + case 1034: goto tr2888; + case 1083: goto tr2889; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2887; + goto tr2883; +tr2887: + { + 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 st268;} + } + } + goto st865; +tr2893: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st865; +st865: + if ( ++p == pe ) + goto _test_eof865; +case 865: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2890; + case 32: goto tr2890; + case 40: goto tr2891; + case 41: goto tr2892; + case 1034: goto tr2894; + case 1083: goto tr2895; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2893; + goto tr2883; +tr2897: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st866; +tr2898: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st866; +tr2900: + { + s->line_counter++; + } + goto st866; +tr2945: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st866; +tr2890: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + goto st866; +tr2891: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st866; +tr2892: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st866; +tr2894: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st866; +st866: + if ( ++p == pe ) + goto _test_eof866; +case 866: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st866; + case 32: goto st866; + case 40: goto tr2897; + case 41: goto tr2898; + case 1034: goto tr2900; + case 1083: goto tr2901; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2899; + goto tr2883; +tr2899: + { + 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 st268;} + } + } + goto st867; +tr2905: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st867; +st867: + if ( ++p == pe ) + goto _test_eof867; +case 867: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2902; + case 32: goto tr2902; + case 40: goto tr2903; + case 41: goto tr2904; + case 1034: goto tr2906; + case 1083: goto tr2907; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2905; + goto tr2883; +tr2909: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st868; +tr2910: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st868; +tr2912: + { + s->line_counter++; + } + goto st868; +tr2943: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st868; +tr2902: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + goto st868; +tr2903: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st868; +tr2904: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st868; +tr2906: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st868; +st868: + if ( ++p == pe ) + goto _test_eof868; +case 868: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st868; + case 32: goto st868; + case 40: goto tr2909; + case 41: goto tr2910; + case 1034: goto tr2912; + case 1083: goto tr2913; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2911; + goto tr1885; +tr2911: + { + 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 st268;} + } + } + goto st869; +tr2917: + { + // 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 st268;} + } + } + goto st869; +st869: + if ( ++p == pe ) + goto _test_eof869; +case 869: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2914; + case 32: goto tr2914; + case 40: goto tr2915; + case 41: goto tr2916; + case 1034: goto tr2918; + case 1083: goto tr2919; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr2917; + goto tr1885; +tr2921: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st870; +tr2922: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st870; +tr2924: + { + s->line_counter++; + } + goto st870; +tr2941: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st870; +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 st268;} + } + } + goto st870; +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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st870; +tr2916: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st870; +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 st268;} + } + } + { + s->line_counter++; + } + goto st870; +st870: + if ( ++p == pe ) + goto _test_eof870; +case 870: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st870; + case 32: goto st870; + case 40: goto tr2921; + case 41: goto tr2922; + case 42: goto tr2923; + case 92: goto tr2923; + case 95: goto tr2923; + case 1034: goto tr2924; + case 1083: goto tr2925; + } + if ( _widec < 64 ) { + if ( 45 <= _widec && _widec <= 57 ) + goto tr2923; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2923; + } else + goto tr2923; + goto tr71; +tr2923: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 871;goto st270;} } + goto st871; +st871: + if ( ++p == pe ) + goto _test_eof871; +case 871: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2926; + case 32: goto tr2926; + case 40: goto tr2927; + case 41: goto tr2928; + case 1034: goto tr2929; + case 1083: goto tr2930; + } + goto tr71; +tr2932: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st872; +tr2933: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st872; +tr2935: + { + s->line_counter++; + } + goto st872; +tr2939: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st872; +tr2926: + { + rdata_tail += s->dname_tmp_length; + } + goto st872; +tr2927: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st872; +tr2928: + { + rdata_tail += s->dname_tmp_length; + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st872; +tr2929: + { + rdata_tail += s->dname_tmp_length; + } + { + s->line_counter++; + } + goto st872; +st872: + if ( ++p == pe ) + goto _test_eof872; +case 872: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st872; + case 32: goto st872; + case 40: goto tr2932; + case 41: goto tr2933; + case 43: goto tr2934; + case 1034: goto tr2935; + case 1083: goto tr2936; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr2934; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr2934; + } else + goto tr2934; + goto tr71; +tr2934: + { p--; {stack[top++] = 873;goto st329;} } + goto st873; +st873: + if ( ++p == pe ) + goto _test_eof873; +case 873: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1546: goto tr2937; + case 1595: goto tr2937; + } + goto tr71; +tr2937: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1199; +st1199: + if ( ++p == pe ) + goto _test_eof1199; +case 1199: + goto st0; +tr2936: + { + s->buffer_length = 0; + } + goto st874; +tr2938: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st874; +tr2930: + { + rdata_tail += s->dname_tmp_length; + } + { + s->buffer_length = 0; + } + goto st874; +st874: + if ( ++p == pe ) + goto _test_eof874; +case 874: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2939; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2938; + goto tr71; +tr2925: + { + s->buffer_length = 0; + } + goto st875; +tr2940: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st875; +tr2919: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st875; +st875: + if ( ++p == pe ) + goto _test_eof875; +case 875: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2941; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2940; + goto tr71; +tr2913: + { + s->buffer_length = 0; + } + goto st876; +tr2942: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st876; +tr2907: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st876; +st876: + if ( ++p == pe ) + goto _test_eof876; +case 876: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2943; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2942; + goto tr71; +tr2901: + { + s->buffer_length = 0; + } + goto st877; +tr2944: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st877; +tr2895: + { + 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 st268;} + } + } 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 st268;} + } + + if (s->number64 <= UINT32_MAX) { + *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); + rdata_tail += 4; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {goto st268;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2945; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2944; + goto tr71; +tr2889: + { + s->buffer_length = 0; + } + goto st878; +tr2946: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st878; +tr2882: + { + 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 st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2947; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2946; + goto tr71; +tr2876: + { + s->buffer_length = 0; + } + goto st879; +tr2948: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st879; +tr2870: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2949; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2948; + goto tr71; +tr2863: + { + s->buffer_length = 0; + } + goto st880; +tr2950: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st880; +st880: + if ( ++p == pe ) + goto _test_eof880; +case 880: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2951; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2950; + goto tr71; +tr2858: + { + s->buffer_length = 0; + } + goto st881; +tr2952: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st881; +tr3269: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st881; +tr2852: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr2960: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr2968: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr2974: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr2984: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr2995: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3000: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3007: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3015: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3026: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3035: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3043: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3048: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3058: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3064: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3073: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3085: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3093: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3098: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3108: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3114: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3120: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3125: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3135: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3140: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3151: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3157: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3163: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3170: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3176: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3185: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3192: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3200: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3208: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3213: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3223: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3229: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3235: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3243: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3253: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3259: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +tr3276: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + { + s->buffer_length = 0; + } + goto st881; +st881: + if ( ++p == pe ) + goto _test_eof881; +case 881: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr2953; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr2952; + goto tr71; +st882: + if ( ++p == pe ) + goto _test_eof882; +case 882: + switch( (*p) ) { + case 65: goto st883; + case 97: goto st883; + } + goto tr2829; +st883: + if ( ++p == pe ) + goto _test_eof883; +case 883: + switch( (*p) ) { + case 65: goto st884; + case 97: goto st884; + } + goto tr2829; +st884: + if ( ++p == pe ) + goto _test_eof884; +case 884: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2956; + case 32: goto tr2956; + case 40: goto tr2957; + case 41: goto tr2958; + case 1034: goto tr2959; + case 1083: goto tr2960; + } + goto tr2829; +st885: + if ( ++p == pe ) + goto _test_eof885; +case 885: + switch( (*p) ) { + case 83: goto st886; + case 115: goto st886; + } + goto tr2829; +st886: + if ( ++p == pe ) + goto _test_eof886; +case 886: + switch( (*p) ) { + case 68: goto st887; + case 100: goto st887; + } + goto tr2829; +st887: + if ( ++p == pe ) + goto _test_eof887; +case 887: + switch( (*p) ) { + case 66: goto st888; + case 98: goto st888; + } + goto tr2829; +st888: + if ( ++p == pe ) + goto _test_eof888; +case 888: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2964; + case 32: goto tr2964; + case 40: goto tr2965; + case 41: goto tr2966; + case 1034: goto tr2967; + case 1083: goto tr2968; + } + goto tr2829; +st889: + if ( ++p == pe ) + goto _test_eof889; +case 889: + switch( (*p) ) { + case 76: goto st890; + case 108: goto st890; + } + goto tr2829; +st890: + if ( ++p == pe ) + goto _test_eof890; +case 890: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2970; + case 32: goto tr2970; + case 40: goto tr2971; + case 41: goto tr2972; + case 1034: goto tr2973; + case 1083: goto tr2974; + } + goto tr2829; +st891: + if ( ++p == pe ) + goto _test_eof891; +case 891: + switch( (*p) ) { + case 65: goto st892; + case 68: goto st894; + case 69: goto st901; + case 78: goto st904; + case 97: goto st892; + case 100: goto st894; + case 101: goto st901; + case 110: goto st904; + } + goto tr2829; +st892: + if ( ++p == pe ) + goto _test_eof892; +case 892: + switch( (*p) ) { + case 65: goto st893; + case 97: goto st893; + } + goto tr2829; +st893: + if ( ++p == pe ) + goto _test_eof893; +case 893: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2980; + case 32: goto tr2980; + case 40: goto tr2981; + case 41: goto tr2982; + case 1034: goto tr2983; + case 1083: goto tr2984; + } + goto tr2829; +st894: + if ( ++p == pe ) + goto _test_eof894; +case 894: + switch( (*p) ) { + case 78: goto st895; + case 83: goto st900; + case 110: goto st895; + case 115: goto st900; + } + goto tr2829; +st895: + if ( ++p == pe ) + goto _test_eof895; +case 895: + switch( (*p) ) { + case 83: goto st896; + case 115: goto st896; + } + goto tr2829; +st896: + if ( ++p == pe ) + goto _test_eof896; +case 896: + switch( (*p) ) { + case 75: goto st897; + case 107: goto st897; + } + goto tr2829; +st897: + if ( ++p == pe ) + goto _test_eof897; +case 897: + switch( (*p) ) { + case 69: goto st898; + case 101: goto st898; + } + goto tr2829; +st898: + if ( ++p == pe ) + goto _test_eof898; +case 898: + switch( (*p) ) { + case 89: goto st899; + case 121: goto st899; + } + goto tr2829; +st899: + if ( ++p == pe ) + goto _test_eof899; +case 899: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2991; + case 32: goto tr2991; + case 40: goto tr2992; + case 41: goto tr2993; + case 1034: goto tr2994; + case 1083: goto tr2995; + } + goto tr2829; +st900: + if ( ++p == pe ) + goto _test_eof900; +case 900: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr2996; + case 32: goto tr2996; + case 40: goto tr2997; + case 41: goto tr2998; + case 1034: goto tr2999; + case 1083: goto tr3000; + } + goto tr2829; +st901: + if ( ++p == pe ) + goto _test_eof901; +case 901: + switch( (*p) ) { + case 82: goto st902; + case 114: goto st902; + } + goto tr2829; +st902: + if ( ++p == pe ) + goto _test_eof902; +case 902: + switch( (*p) ) { + case 84: goto st903; + case 116: goto st903; + } + goto tr2829; +st903: + if ( ++p == pe ) + goto _test_eof903; +case 903: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3003; + case 32: goto tr3003; + case 40: goto tr3004; + case 41: goto tr3005; + case 1034: goto tr3006; + case 1083: goto tr3007; + } + goto tr2829; +st904: + if ( ++p == pe ) + goto _test_eof904; +case 904: + switch( (*p) ) { + case 65: goto st905; + case 97: goto st905; + } + goto tr2829; +st905: + if ( ++p == pe ) + goto _test_eof905; +case 905: + switch( (*p) ) { + case 77: goto st906; + case 109: goto st906; + } + goto tr2829; +st906: + if ( ++p == pe ) + goto _test_eof906; +case 906: + switch( (*p) ) { + case 69: goto st907; + case 101: goto st907; + } + goto tr2829; +st907: + if ( ++p == pe ) + goto _test_eof907; +case 907: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3011; + case 32: goto tr3011; + case 40: goto tr3012; + case 41: goto tr3013; + case 1034: goto tr3014; + case 1083: goto tr3015; + } + goto tr2829; +st908: + if ( ++p == pe ) + goto _test_eof908; +case 908: + switch( (*p) ) { + case 72: goto st909; + case 78: goto st913; + case 83: goto st921; + case 104: goto st909; + case 110: goto st913; + case 115: goto st921; + } + goto tr2829; +st909: + if ( ++p == pe ) + goto _test_eof909; +case 909: + switch( (*p) ) { + case 67: goto st910; + case 99: goto st910; + } + goto tr2829; +st910: + if ( ++p == pe ) + goto _test_eof910; +case 910: + switch( (*p) ) { + case 73: goto st911; + case 105: goto st911; + } + goto tr2829; +st911: + if ( ++p == pe ) + goto _test_eof911; +case 911: + switch( (*p) ) { + case 68: goto st912; + case 100: goto st912; + } + goto tr2829; +st912: + if ( ++p == pe ) + goto _test_eof912; +case 912: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3022; + case 32: goto tr3022; + case 40: goto tr3023; + case 41: goto tr3024; + case 1034: goto tr3025; + case 1083: goto tr3026; + } + goto tr2829; +st913: + if ( ++p == pe ) + goto _test_eof913; +case 913: + switch( (*p) ) { + case 65: goto st914; + case 83: goto st917; + case 97: goto st914; + case 115: goto st917; + } + goto tr2829; +st914: + if ( ++p == pe ) + goto _test_eof914; +case 914: + switch( (*p) ) { + case 77: goto st915; + case 109: goto st915; + } + goto tr2829; +st915: + if ( ++p == pe ) + goto _test_eof915; +case 915: + switch( (*p) ) { + case 69: goto st916; + case 101: goto st916; + } + goto tr2829; +st916: + if ( ++p == pe ) + goto _test_eof916; +case 916: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3031; + case 32: goto tr3031; + case 40: goto tr3032; + case 41: goto tr3033; + case 1034: goto tr3034; + case 1083: goto tr3035; + } + goto tr2829; +st917: + if ( ++p == pe ) + goto _test_eof917; +case 917: + switch( (*p) ) { + case 75: goto st918; + case 107: goto st918; + } + goto tr2829; +st918: + if ( ++p == pe ) + goto _test_eof918; +case 918: + switch( (*p) ) { + case 69: goto st919; + case 101: goto st919; + } + goto tr2829; +st919: + if ( ++p == pe ) + goto _test_eof919; +case 919: + switch( (*p) ) { + case 89: goto st920; + case 121: goto st920; + } + goto tr2829; +st920: + if ( ++p == pe ) + goto _test_eof920; +case 920: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3039; + case 32: goto tr3039; + case 40: goto tr3040; + case 41: goto tr3041; + case 1034: goto tr3042; + case 1083: goto tr3043; + } + goto tr2829; +st921: + if ( ++p == pe ) + goto _test_eof921; +case 921: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3044; + case 32: goto tr3044; + case 40: goto tr3045; + case 41: goto tr3046; + case 1034: goto tr3047; + case 1083: goto tr3048; + } + goto tr2829; +st922: + if ( ++p == pe ) + goto _test_eof922; +case 922: + switch( (*p) ) { + case 85: goto st923; + case 117: goto st923; + } + goto tr2829; +st923: + if ( ++p == pe ) + goto _test_eof923; +case 923: + switch( (*p) ) { + case 73: goto st924; + case 105: goto st924; + } + goto tr2829; +st924: + if ( ++p == pe ) + goto _test_eof924; +case 924: + switch( (*p) ) { + case 52: goto st925; + case 54: goto st927; + } + goto tr2829; +st925: + if ( ++p == pe ) + goto _test_eof925; +case 925: + if ( (*p) == 56 ) + goto st926; + goto tr2829; +st926: + if ( ++p == pe ) + goto _test_eof926; +case 926: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3054; + case 32: goto tr3054; + case 40: goto tr3055; + case 41: goto tr3056; + case 1034: goto tr3057; + case 1083: goto tr3058; + } + goto tr2829; +st927: + if ( ++p == pe ) + goto _test_eof927; +case 927: + if ( (*p) == 52 ) + goto st928; + goto tr2829; +st928: + if ( ++p == pe ) + goto _test_eof928; +case 928: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3060; + case 32: goto tr3060; + case 40: goto tr3061; + case 41: goto tr3062; + case 1034: goto tr3063; + case 1083: goto tr3064; + } + goto tr2829; +st929: + if ( ++p == pe ) + goto _test_eof929; +case 929: + switch( (*p) ) { + case 73: goto st930; + case 105: goto st930; + } + goto tr2829; +st930: + if ( ++p == pe ) + goto _test_eof930; +case 930: + switch( (*p) ) { + case 78: goto st931; + case 110: goto st931; + } + goto tr2829; +st931: + if ( ++p == pe ) + goto _test_eof931; +case 931: + switch( (*p) ) { + case 70: goto st932; + case 102: goto st932; + } + goto tr2829; +st932: + if ( ++p == pe ) + goto _test_eof932; +case 932: + switch( (*p) ) { + case 79: goto st933; + case 111: goto st933; + } + goto tr2829; +st933: + if ( ++p == pe ) + goto _test_eof933; +case 933: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3069; + case 32: goto tr3069; + case 40: goto tr3070; + case 41: goto tr3071; + case 1034: goto tr3072; + case 1083: goto tr3073; + } + goto tr2829; +st934: + if ( ++p == pe ) + goto _test_eof934; +case 934: + switch( (*p) ) { + case 80: goto st935; + case 112: goto st935; + } + goto tr2829; +st935: + if ( ++p == pe ) + goto _test_eof935; +case 935: + switch( (*p) ) { + case 83: goto st936; + case 115: goto st936; + } + goto tr2829; +st936: + if ( ++p == pe ) + goto _test_eof936; +case 936: + switch( (*p) ) { + case 69: goto st937; + case 101: goto st937; + } + goto tr2829; +st937: + if ( ++p == pe ) + goto _test_eof937; +case 937: + switch( (*p) ) { + case 67: goto st938; + case 99: goto st938; + } + goto tr2829; +st938: + if ( ++p == pe ) + goto _test_eof938; +case 938: + switch( (*p) ) { + case 75: goto st939; + case 107: goto st939; + } + goto tr2829; +st939: + if ( ++p == pe ) + goto _test_eof939; +case 939: + switch( (*p) ) { + case 69: goto st940; + case 101: goto st940; + } + goto tr2829; +st940: + if ( ++p == pe ) + goto _test_eof940; +case 940: + switch( (*p) ) { + case 89: goto st941; + case 121: goto st941; + } + goto tr2829; +st941: + if ( ++p == pe ) + goto _test_eof941; +case 941: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3081; + case 32: goto tr3081; + case 40: goto tr3082; + case 41: goto tr3083; + case 1034: goto tr3084; + case 1083: goto tr3085; + } + goto tr2829; +st942: + if ( ++p == pe ) + goto _test_eof942; +case 942: + switch( (*p) ) { + case 69: goto st943; + case 88: goto st945; + case 101: goto st943; + case 120: goto st945; + } + goto tr2829; +st943: + if ( ++p == pe ) + goto _test_eof943; +case 943: + switch( (*p) ) { + case 89: goto st944; + case 121: goto st944; + } + goto tr2829; +st944: + if ( ++p == pe ) + goto _test_eof944; +case 944: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3089; + case 32: goto tr3089; + case 40: goto tr3090; + case 41: goto tr3091; + case 1034: goto tr3092; + case 1083: goto tr3093; + } + goto tr2829; +st945: + if ( ++p == pe ) + goto _test_eof945; +case 945: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3094; + case 32: goto tr3094; + case 40: goto tr3095; + case 41: goto tr3096; + case 1034: goto tr3097; + case 1083: goto tr3098; + } + goto tr2829; +st946: + if ( ++p == pe ) + goto _test_eof946; +case 946: + switch( (*p) ) { + case 51: goto st947; + case 54: goto st949; + case 79: goto st951; + case 80: goto st953; + case 111: goto st951; + case 112: goto st953; + } + goto tr2829; +st947: + if ( ++p == pe ) + goto _test_eof947; +case 947: + if ( (*p) == 50 ) + goto st948; + goto tr2829; +st948: + if ( ++p == pe ) + goto _test_eof948; +case 948: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3104; + case 32: goto tr3104; + case 40: goto tr3105; + case 41: goto tr3106; + case 1034: goto tr3107; + case 1083: goto tr3108; + } + goto tr2829; +st949: + if ( ++p == pe ) + goto _test_eof949; +case 949: + if ( (*p) == 52 ) + goto st950; + goto tr2829; +st950: + if ( ++p == pe ) + goto _test_eof950; +case 950: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3110; + case 32: goto tr3110; + case 40: goto tr3111; + case 41: goto tr3112; + case 1034: goto tr3113; + case 1083: goto tr3114; + } + goto tr2829; +st951: + if ( ++p == pe ) + goto _test_eof951; +case 951: + switch( (*p) ) { + case 67: goto st952; + case 99: goto st952; + } + goto tr2829; +st952: + if ( ++p == pe ) + goto _test_eof952; +case 952: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3116; + case 32: goto tr3116; + case 40: goto tr3117; + case 41: goto tr3118; + case 1034: goto tr3119; + case 1083: goto tr3120; + } + goto tr2829; +st953: + if ( ++p == pe ) + goto _test_eof953; +case 953: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3121; + case 32: goto tr3121; + case 40: goto tr3122; + case 41: goto tr3123; + case 1034: goto tr3124; + case 1083: goto tr3125; + } + goto tr2829; +st954: + if ( ++p == pe ) + goto _test_eof954; +case 954: + switch( (*p) ) { + case 73: goto st955; + case 88: goto st959; + case 105: goto st955; + case 120: goto st959; + } + goto tr2829; +st955: + if ( ++p == pe ) + goto _test_eof955; +case 955: + switch( (*p) ) { + case 78: goto st956; + case 110: goto st956; + } + goto tr2829; +st956: + if ( ++p == pe ) + goto _test_eof956; +case 956: + switch( (*p) ) { + case 70: goto st957; + case 102: goto st957; + } + goto tr2829; +st957: + if ( ++p == pe ) + goto _test_eof957; +case 957: + switch( (*p) ) { + case 79: goto st958; + case 111: goto st958; + } + goto tr2829; +st958: + if ( ++p == pe ) + goto _test_eof958; +case 958: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3131; + case 32: goto tr3131; + case 40: goto tr3132; + case 41: goto tr3133; + case 1034: goto tr3134; + case 1083: goto tr3135; + } + goto tr2829; +st959: + if ( ++p == pe ) + goto _test_eof959; +case 959: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3136; + case 32: goto tr3136; + case 40: goto tr3137; + case 41: goto tr3138; + case 1034: goto tr3139; + case 1083: goto tr3140; + } + goto tr2829; +st960: + if ( ++p == pe ) + goto _test_eof960; +case 960: + switch( (*p) ) { + case 65: goto st961; + case 73: goto st965; + case 83: goto st967; + case 97: goto st961; + case 105: goto st965; + case 115: goto st967; + } + goto tr2829; +st961: + if ( ++p == pe ) + goto _test_eof961; +case 961: + switch( (*p) ) { + case 80: goto st962; + case 112: goto st962; + } + goto tr2829; +st962: + if ( ++p == pe ) + goto _test_eof962; +case 962: + switch( (*p) ) { + case 84: goto st963; + case 116: goto st963; + } + goto tr2829; +st963: + if ( ++p == pe ) + goto _test_eof963; +case 963: + switch( (*p) ) { + case 82: goto st964; + case 114: goto st964; + } + goto tr2829; +st964: + if ( ++p == pe ) + goto _test_eof964; +case 964: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3147; + case 32: goto tr3147; + case 40: goto tr3148; + case 41: goto tr3149; + case 1034: goto tr3150; + case 1083: goto tr3151; + } + goto tr2829; +st965: + if ( ++p == pe ) + goto _test_eof965; +case 965: + switch( (*p) ) { + case 68: goto st966; + case 100: goto st966; + } + goto tr2829; +st966: + if ( ++p == pe ) + goto _test_eof966; +case 966: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3153; + case 32: goto tr3153; + case 40: goto tr3154; + case 41: goto tr3155; + case 1034: goto tr3156; + case 1083: goto tr3157; + } + goto tr2829; +st967: + if ( ++p == pe ) + goto _test_eof967; +case 967: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3158; + case 32: goto tr3158; + case 40: goto tr3159; + case 41: goto tr3160; + case 69: goto st968; + case 101: goto st968; + case 1034: goto tr3162; + case 1083: goto tr3163; + } + goto tr2829; +st968: + if ( ++p == pe ) + goto _test_eof968; +case 968: + switch( (*p) ) { + case 67: goto st969; + case 99: goto st969; + } + goto tr2829; +st969: + if ( ++p == pe ) + goto _test_eof969; +case 969: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3165; + case 32: goto tr3165; + case 40: goto tr3166; + case 41: goto tr3167; + case 51: goto st970; + case 1034: goto tr3169; + case 1083: goto tr3170; + } + goto tr2829; +st970: + if ( ++p == pe ) + goto _test_eof970; +case 970: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3171; + case 32: goto tr3171; + case 40: goto tr3172; + case 41: goto tr3173; + case 80: goto st971; + case 112: goto st971; + case 1034: goto tr3175; + case 1083: goto tr3176; + } + goto tr2829; +st971: + if ( ++p == pe ) + goto _test_eof971; +case 971: + switch( (*p) ) { + case 65: goto st972; + case 97: goto st972; + } + goto tr2829; +st972: + if ( ++p == pe ) + goto _test_eof972; +case 972: + switch( (*p) ) { + case 82: goto st973; + case 114: goto st973; + } + goto tr2829; +st973: + if ( ++p == pe ) + goto _test_eof973; +case 973: + switch( (*p) ) { + case 65: goto st974; + case 97: goto st974; + } + goto tr2829; +st974: + if ( ++p == pe ) + goto _test_eof974; +case 974: + switch( (*p) ) { + case 77: goto st975; + case 109: goto st975; + } + goto tr2829; +st975: + if ( ++p == pe ) + goto _test_eof975; +case 975: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3181; + case 32: goto tr3181; + case 40: goto tr3182; + case 41: goto tr3183; + case 1034: goto tr3184; + case 1083: goto tr3185; + } + goto tr2829; +st976: + if ( ++p == pe ) + goto _test_eof976; +case 976: + switch( (*p) ) { + case 84: goto st977; + case 116: goto st977; + } + goto tr2829; +st977: + if ( ++p == pe ) + goto _test_eof977; +case 977: + switch( (*p) ) { + case 82: goto st978; + case 114: goto st978; + } + goto tr2829; +st978: + if ( ++p == pe ) + goto _test_eof978; +case 978: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3188; + case 32: goto tr3188; + case 40: goto tr3189; + case 41: goto tr3190; + case 1034: goto tr3191; + case 1083: goto tr3192; + } + goto tr2829; +st979: + if ( ++p == pe ) + goto _test_eof979; +case 979: + switch( (*p) ) { + case 80: goto st980; + case 82: goto st981; + case 84: goto st985; + case 112: goto st980; + case 114: goto st981; + case 116: goto st985; + } + goto tr2829; +st980: + if ( ++p == pe ) + goto _test_eof980; +case 980: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3196; + case 32: goto tr3196; + case 40: goto tr3197; + case 41: goto tr3198; + case 1034: goto tr3199; + case 1083: goto tr3200; + } + goto tr2829; +st981: + if ( ++p == pe ) + goto _test_eof981; +case 981: + switch( (*p) ) { + case 83: goto st982; + case 115: goto st982; + } + goto tr2829; +st982: + if ( ++p == pe ) + goto _test_eof982; +case 982: + switch( (*p) ) { + case 73: goto st983; + case 105: goto st983; + } + goto tr2829; +st983: + if ( ++p == pe ) + goto _test_eof983; +case 983: + switch( (*p) ) { + case 71: goto st984; + case 103: goto st984; + } + goto tr2829; +st984: + if ( ++p == pe ) + goto _test_eof984; +case 984: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3204; + case 32: goto tr3204; + case 40: goto tr3205; + case 41: goto tr3206; + case 1034: goto tr3207; + case 1083: goto tr3208; + } + goto tr2829; +st985: + if ( ++p == pe ) + goto _test_eof985; +case 985: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3209; + case 32: goto tr3209; + case 40: goto tr3210; + case 41: goto tr3211; + case 1034: goto tr3212; + case 1083: goto tr3213; + } + goto tr2829; +st986: + if ( ++p == pe ) + goto _test_eof986; +case 986: + switch( (*p) ) { + case 79: goto st987; + case 80: goto st989; + case 82: goto st991; + case 83: goto st993; + case 111: goto st987; + case 112: goto st989; + case 114: goto st991; + case 115: goto st993; + } + goto tr2829; +st987: + if ( ++p == pe ) + goto _test_eof987; +case 987: + switch( (*p) ) { + case 65: goto st988; + case 97: goto st988; + } + goto tr2829; +st988: + if ( ++p == pe ) + goto _test_eof988; +case 988: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3219; + case 32: goto tr3219; + case 40: goto tr3220; + case 41: goto tr3221; + case 1034: goto tr3222; + case 1083: goto tr3223; + } + goto tr2829; +st989: + if ( ++p == pe ) + goto _test_eof989; +case 989: + switch( (*p) ) { + case 70: goto st990; + case 102: goto st990; + } + goto tr2829; +st990: + if ( ++p == pe ) + goto _test_eof990; +case 990: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3225; + case 32: goto tr3225; + case 40: goto tr3226; + case 41: goto tr3227; + case 1034: goto tr3228; + case 1083: goto tr3229; + } + goto tr2829; +st991: + if ( ++p == pe ) + goto _test_eof991; +case 991: + switch( (*p) ) { + case 86: goto st992; + case 118: goto st992; + } + goto tr2829; +st992: + if ( ++p == pe ) + goto _test_eof992; +case 992: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr3234; + case 1083: goto tr3235; + } + goto tr2829; +st993: + if ( ++p == pe ) + goto _test_eof993; +case 993: + switch( (*p) ) { + case 72: goto st994; + case 104: goto st994; + } + goto tr2829; +st994: + if ( ++p == pe ) + goto _test_eof994; +case 994: + switch( (*p) ) { + case 70: goto st995; + case 102: goto st995; + } + goto tr2829; +st995: + if ( ++p == pe ) + goto _test_eof995; +case 995: + switch( (*p) ) { + case 80: goto st996; + case 112: goto st996; + } + goto tr2829; +st996: + if ( ++p == pe ) + goto _test_eof996; +case 996: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3239; + case 32: goto tr3239; + case 40: goto tr3240; + case 41: goto tr3241; + case 1034: goto tr3242; + case 1083: goto tr3243; + } + goto tr2829; +st997: + if ( ++p == pe ) + goto _test_eof997; +case 997: + switch( (*p) ) { + case 76: goto st998; + case 88: goto st1001; + case 89: goto st1003; + case 108: goto st998; + case 120: goto st1001; + case 121: goto st1003; + } + goto tr2829; +st998: + if ( ++p == pe ) + goto _test_eof998; +case 998: + switch( (*p) ) { + case 83: goto st999; + case 115: goto st999; + } + goto tr2829; +st999: + if ( ++p == pe ) + goto _test_eof999; +case 999: + switch( (*p) ) { + case 65: goto st1000; + case 97: goto st1000; + } + goto tr2829; +st1000: + if ( ++p == pe ) + goto _test_eof1000; +case 1000: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3249; + case 32: goto tr3249; + case 40: goto tr3250; + case 41: goto tr3251; + case 1034: goto tr3252; + case 1083: goto tr3253; + } + goto tr2829; +st1001: + if ( ++p == pe ) + goto _test_eof1001; +case 1001: + switch( (*p) ) { + case 84: goto st1002; + case 116: goto st1002; + } + goto tr2829; +st1002: + if ( ++p == pe ) + goto _test_eof1002; +case 1002: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3255; + case 32: goto tr3255; + case 40: goto tr3256; + case 41: goto tr3257; + case 1034: goto tr3258; + case 1083: goto tr3259; + } + goto tr2829; +st1003: + if ( ++p == pe ) + goto _test_eof1003; +case 1003: + switch( (*p) ) { + case 80: goto st1004; + case 112: goto st1004; + } + goto tr2829; +st1004: + if ( ++p == pe ) + goto _test_eof1004; +case 1004: + switch( (*p) ) { + case 69: goto st1005; + case 101: goto st1005; + } + goto tr2829; +st1005: + if ( ++p == pe ) + goto _test_eof1005; +case 1005: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3263; + goto tr3262; +tr3263: + { + 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 st268;} + } + } + goto st1006; +tr3267: + { + // 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 st268;} + } + } + goto st1006; +st1006: + if ( ++p == pe ) + goto _test_eof1006; +case 1006: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3264; + case 32: goto tr3264; + case 40: goto tr3265; + case 41: goto tr3266; + case 1034: goto tr3268; + case 1083: goto tr3269; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3267; + goto tr3262; +st1007: + if ( ++p == pe ) + goto _test_eof1007; +case 1007: + switch( (*p) ) { + case 82: goto st1008; + case 114: goto st1008; + } + goto tr2829; +st1008: + if ( ++p == pe ) + goto _test_eof1008; +case 1008: + switch( (*p) ) { + case 73: goto st1009; + case 105: goto st1009; + } + goto tr2829; +st1009: + if ( ++p == pe ) + goto _test_eof1009; +case 1009: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3272; + case 32: goto tr3272; + case 40: goto tr3273; + case 41: goto tr3274; + case 1034: goto tr3275; + case 1083: goto tr3276; + } + goto tr2829; +st1010: + if ( ++p == pe ) + goto _test_eof1010; +case 1010: + switch( (*p) ) { + case 42: goto tr3277; + case 92: goto tr3277; + case 95: goto tr3277; + } + if ( (*p) < 64 ) { + if ( 45 <= (*p) && (*p) <= 57 ) + goto tr3277; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr3277; + } else + goto tr3277; + goto tr71; +tr3277: + { + s->dname = rdata_tail; + } + { p--; {stack[top++] = 1011;goto st270;} } + goto st1011; +st1011: + if ( ++p == pe ) + goto _test_eof1011; +case 1011: + switch( (*p) ) { + case 32: goto tr3278; + case 59: goto tr3278; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3278; + } else if ( (*p) >= 9 ) + goto tr3278; + goto tr71; +tr3278: + { + rdata_tail += s->dname_tmp_length; + } + { p--; {stack[top++] = 1012;goto st336;} } + goto st1012; +st1012: + if ( ++p == pe ) + goto _test_eof1012; +case 1012: + switch( (*p) ) { + case 32: goto tr3279; + case 59: goto tr3279; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3279; + } else if ( (*p) >= 9 ) + goto tr3279; + goto tr71; +tr3279: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1200; +st1200: + if ( ++p == pe ) + goto _test_eof1200; +case 1200: + goto st0; +st1013: + if ( ++p == pe ) + goto _test_eof1013; +case 1013: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3280; + goto tr1885; +tr3280: + { + 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 st268;} + } + } + goto st1014; +tr3284: + { + // 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 st268;} + } + } + goto st1014; +st1014: + if ( ++p == pe ) + goto _test_eof1014; +case 1014: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3281; + case 32: goto tr3281; + case 40: goto tr3282; + case 41: goto tr3283; + case 1034: goto tr3285; + case 1083: goto tr3286; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3284; + goto tr1885; +tr3288: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1015; +tr3289: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1015; +tr3291: + { + s->line_counter++; + } + goto st1015; +tr3317: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1015; +tr3281: + { + 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 st268;} + } + } + goto st1015; +tr3282: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1015; +tr3283: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1015; +tr3285: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st1015; +st1015: + if ( ++p == pe ) + goto _test_eof1015; +case 1015: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1015; + case 32: goto st1015; + case 40: goto tr3288; + case 41: goto tr3289; + case 1034: goto tr3291; + case 1083: goto tr3292; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3290; + goto tr1885; +tr3290: + { + 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 st268;} + } + } + goto st1016; +tr3296: + { + // 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 st268;} + } + } + goto st1016; +st1016: + if ( ++p == pe ) + goto _test_eof1016; +case 1016: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3293; + case 32: goto tr3293; + case 40: goto tr3294; + case 41: goto tr3295; + case 1034: goto tr3297; + case 1083: goto tr3298; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3296; + goto tr1885; +tr3300: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1017; +tr3301: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1017; +tr3303: + { + s->line_counter++; + } + goto st1017; +tr3315: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1017; +tr3293: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1017; +tr3294: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1017; +tr3295: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1017; +tr3297: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1017; +st1017: + if ( ++p == pe ) + goto _test_eof1017; +case 1017: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1017; + case 32: goto st1017; + case 40: goto tr3300; + case 41: goto tr3301; + case 1034: goto tr3303; + case 1083: goto tr3304; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3302; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3302; + } else + goto tr3302; + goto tr71; +tr3302: + { p--; {stack[top++] = 1018;goto st487;} } + goto st1018; +st1018: + if ( ++p == pe ) + goto _test_eof1018; +case 1018: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1019; + case 32: goto st1019; + case 40: goto tr3306; + case 41: goto tr3307; + case 1034: goto tr3308; + case 1083: goto tr3309; + } + goto tr71; +tr3306: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1019; +tr3307: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1019; +tr3308: + { + s->line_counter++; + } + goto st1019; +tr3313: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1019; +st1019: + if ( ++p == pe ) + goto _test_eof1019; +case 1019: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1019; + case 32: goto st1019; + case 40: goto tr3306; + case 41: goto tr3307; + case 43: goto tr3310; + case 1034: goto tr3308; + case 1083: goto tr3309; + } + if ( _widec < 65 ) { + if ( 47 <= _widec && _widec <= 57 ) + goto tr3310; + } else if ( _widec > 90 ) { + if ( 97 <= _widec && _widec <= 122 ) + goto tr3310; + } else + goto tr3310; + goto tr71; +tr3310: + { p--; {stack[top++] = 1020;goto st329;} } + goto st1020; +st1020: + if ( ++p == pe ) + goto _test_eof1020; +case 1020: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1546: goto tr3311; + case 1595: goto tr3311; + } + goto tr71; +tr3311: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1201; +st1201: + if ( ++p == pe ) + goto _test_eof1201; +case 1201: + goto st0; +tr3309: + { + s->buffer_length = 0; + } + goto st1021; +tr3312: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1021; +st1021: + if ( ++p == pe ) + goto _test_eof1021; +case 1021: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3313; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3312; + goto tr71; +tr3304: + { + s->buffer_length = 0; + } + goto st1022; +tr3314: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1022; +tr3298: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1022; +st1022: + if ( ++p == pe ) + goto _test_eof1022; +case 1022: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3315; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3314; + goto tr71; +tr3292: + { + s->buffer_length = 0; + } + goto st1023; +tr3316: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1023; +tr3286: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st1023; +st1023: + if ( ++p == pe ) + goto _test_eof1023; +case 1023: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3317; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3316; + goto tr71; +st1024: + if ( ++p == pe ) + goto _test_eof1024; +case 1024: + if ( (*p) == 43 ) + goto tr3318; + if ( (*p) < 65 ) { + if ( 47 <= (*p) && (*p) <= 57 ) + goto tr3318; + } else if ( (*p) > 90 ) { + if ( 97 <= (*p) && (*p) <= 122 ) + goto tr3318; + } else + goto tr3318; + goto tr71; +tr3318: + { p--; {stack[top++] = 1025;goto st329;} } + goto st1025; +st1025: + if ( ++p == pe ) + goto _test_eof1025; +case 1025: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1152 + ((*p) - -128)); + if ( + !s->multiline ) _widec += 256; + } + switch( _widec ) { + case 1546: goto tr3319; + case 1595: goto tr3319; + } + goto tr71; +tr3319: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1202; +st1202: + if ( ++p == pe ) + goto _test_eof1202; +case 1202: + goto st0; +st1026: + if ( ++p == pe ) + goto _test_eof1026; +case 1026: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3320; + goto tr1885; +tr3320: + { + 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 st268;} + } + } + goto st1027; +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 st268;} + } + } + goto st1027; +st1027: + if ( ++p == pe ) + goto _test_eof1027; +case 1027: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr3325; + case 1083: goto tr3326; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3324; + goto tr1885; +tr3328: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1028; +tr3329: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1028; +tr3331: + { + s->line_counter++; + } + goto st1028; +tr3395: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1028; +tr3321: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1028; +tr3322: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1028; +tr3323: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1028; +tr3325: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1028; +st1028: + if ( ++p == pe ) + goto _test_eof1028; +case 1028: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1028; + case 32: goto st1028; + case 40: goto tr3328; + case 41: goto tr3329; + case 1034: goto tr3331; + case 1083: goto tr3332; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3330; + goto tr1885; +tr3330: + { + 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 st268;} + } + } + goto st1029; +tr3336: + { + // 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 st268;} + } + } + goto st1029; +st1029: + if ( ++p == pe ) + goto _test_eof1029; +case 1029: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3333; + case 32: goto tr3333; + case 40: goto tr3334; + case 41: goto tr3335; + case 1034: goto tr3337; + case 1083: goto tr3338; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3336; + goto tr1885; +tr3340: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1030; +tr3341: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1030; +tr3343: + { + s->line_counter++; + } + goto st1030; +tr3393: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1030; +tr3333: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1030; +tr3334: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1030; +tr3335: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1030; +tr3337: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1030; +st1030: + if ( ++p == pe ) + goto _test_eof1030; +case 1030: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1030; + case 32: goto st1030; + case 40: goto tr3340; + case 41: goto tr3341; + case 1034: goto tr3343; + case 1083: goto tr3344; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3342; + goto tr1885; +tr3342: + { + 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 st268;} + } + } + goto st1031; +tr3348: + { + // 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 st268;} + } + } + goto st1031; +st1031: + if ( ++p == pe ) + goto _test_eof1031; +case 1031: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3345; + case 32: goto tr3345; + case 40: goto tr3346; + case 41: goto tr3347; + case 1034: goto tr3349; + case 1083: goto tr3350; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3348; + goto tr1885; +tr3352: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1032; +tr3353: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1032; +tr3356: + { + s->line_counter++; + } + goto st1032; +tr3391: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1032; +tr3345: + { + 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 st268;} + } + } + goto st1032; +tr3346: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1032; +tr3347: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1032; +tr3349: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st1032; +st1032: + if ( ++p == pe ) + goto _test_eof1032; +case 1032: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1032; + case 32: goto st1032; + case 40: goto tr3352; + case 41: goto tr3353; + case 45: goto tr3354; + case 1034: goto tr3356; + case 1083: goto tr3357; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3355; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3355; + } else + goto tr3355; + goto tr2556; +tr3354: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1033; +st1033: + if ( ++p == pe ) + goto _test_eof1033; +case 1033: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr3361; + case 1083: goto tr3362; + } + goto tr2556; +tr3365: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1034; +tr3366: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1034; +tr3368: + { + s->line_counter++; + } + goto st1034; +tr3387: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1034; +tr3358: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + goto st1034; +tr3359: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1034; +tr3360: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1034; +tr3361: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1034; +st1034: + if ( ++p == pe ) + goto _test_eof1034; +case 1034: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1034; + case 32: goto st1034; + case 40: goto tr3365; + case 41: goto tr3366; + case 1034: goto tr3368; + case 1083: goto tr3369; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3367; + } else if ( _widec > 86 ) { + if ( 97 <= _widec && _widec <= 118 ) + goto tr3367; + } else + goto tr3367; + goto tr3363; +tr3367: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1035; +tr3382: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1035; +st1035: + if ( ++p == pe ) + goto _test_eof1035; +case 1035: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3370; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3370; + } else + goto tr3370; + goto tr3363; +tr3370: + { + *(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 st268;} + } + } + goto st1036; +st1036: + if ( ++p == pe ) + goto _test_eof1036; +case 1036: + if ( (*p) == 61 ) + goto st1047; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3371; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3371; + } else + goto tr3371; + goto tr3363; +tr3371: + { + *rdata_tail += third_base32hex_to_num[(uint8_t)(*p)]; + } + goto st1037; +st1037: + if ( ++p == pe ) + goto _test_eof1037; +case 1037: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3373; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3373; + } else + goto tr3373; + goto tr3363; +tr3373: + { + *(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 st268;} + } + } + goto st1038; +st1038: + if ( ++p == pe ) + goto _test_eof1038; +case 1038: + if ( (*p) == 61 ) + goto st1046; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3374; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3374; + } else + goto tr3374; + goto tr3363; +tr3374: + { + *(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 st268;} + } + } + goto st1039; +st1039: + if ( ++p == pe ) + goto _test_eof1039; +case 1039: + if ( (*p) == 61 ) + goto st1044; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3376; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3376; + } else + goto tr3376; + goto tr3363; +tr3376: + { + *rdata_tail += sixth_base32hex_to_num[(uint8_t)(*p)]; + } + goto st1040; +st1040: + if ( ++p == pe ) + goto _test_eof1040; +case 1040: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3378; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3378; + } else + goto tr3378; + goto tr3363; +tr3378: + { + *(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 st268;} + } + } + goto st1041; +st1041: + if ( ++p == pe ) + goto _test_eof1041; +case 1041: + if ( (*p) == 61 ) + goto st1042; + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3379; + } else if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3379; + } else + goto tr3379; + goto tr3363; +tr3379: + { + *(rdata_tail++) += eighth_base32hex_to_num[(uint8_t)(*p)]; + } + goto st1042; +st1042: + if ( ++p == pe ) + goto _test_eof1042; +case 1042: + switch( (*p) ) { + case 32: goto tr3381; + case 59: goto tr3381; + } + if ( (*p) < 48 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3381; + } else if ( (*p) >= 9 ) + goto tr3381; + } else if ( (*p) > 57 ) { + if ( (*p) > 86 ) { + if ( 97 <= (*p) && (*p) <= 118 ) + goto tr3382; + } else if ( (*p) >= 65 ) + goto tr3382; + } else + goto tr3382; + goto tr3363; +tr3381: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 1043;goto st336;} } + goto st1043; +st1043: + if ( ++p == pe ) + goto _test_eof1043; +case 1043: + switch( (*p) ) { + case 32: goto tr3383; + case 59: goto tr3383; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3383; + } else if ( (*p) >= 9 ) + goto tr3383; + goto tr71; +tr3383: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1203; +st1203: + if ( ++p == pe ) + goto _test_eof1203; +case 1203: + goto st0; +st1044: + if ( ++p == pe ) + goto _test_eof1044; +case 1044: + if ( (*p) == 61 ) + goto st1045; + goto tr3363; +st1045: + if ( ++p == pe ) + goto _test_eof1045; +case 1045: + if ( (*p) == 61 ) + goto st1042; + goto tr3363; +st1046: + if ( ++p == pe ) + goto _test_eof1046; +case 1046: + if ( (*p) == 61 ) + goto st1044; + goto tr3363; +st1047: + if ( ++p == pe ) + goto _test_eof1047; +case 1047: + if ( (*p) == 61 ) + goto st1048; + goto tr3363; +st1048: + if ( ++p == pe ) + goto _test_eof1048; +case 1048: + if ( (*p) == 61 ) + goto st1046; + goto tr3363; +tr3369: + { + s->buffer_length = 0; + } + goto st1049; +tr3386: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1049; +tr3362: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1049; +st1049: + if ( ++p == pe ) + goto _test_eof1049; +case 1049: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3387; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3386; + goto tr71; +tr3389: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1050; +tr3355: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1050; +st1050: + if ( ++p == pe ) + goto _test_eof1050; +case 1050: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3388; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3388; + } else + goto tr3388; + goto tr2556; +tr3388: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1051; +st1051: + if ( ++p == pe ) + goto _test_eof1051; +case 1051: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr3361; + case 1083: goto tr3362; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3389; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3389; + } else + goto tr3389; + goto tr2556; +tr3357: + { + s->buffer_length = 0; + } + goto st1052; +tr3390: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1052; +tr3350: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st1052; +st1052: + if ( ++p == pe ) + goto _test_eof1052; +case 1052: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3391; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3390; + goto tr71; +tr3344: + { + s->buffer_length = 0; + } + goto st1053; +tr3392: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1053; +tr3338: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1053; +st1053: + if ( ++p == pe ) + goto _test_eof1053; +case 1053: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3393; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3392; + goto tr71; +tr3332: + { + s->buffer_length = 0; + } + goto st1054; +tr3394: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1054; +tr3326: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1054; +st1054: + if ( ++p == pe ) + goto _test_eof1054; +case 1054: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3395; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3394; + goto tr71; +st1055: + if ( ++p == pe ) + goto _test_eof1055; +case 1055: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3396; + goto tr1885; +tr3396: + { + 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 st268;} + } + } + goto st1056; +tr3400: + { + // 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 st268;} + } + } + goto st1056; +st1056: + if ( ++p == pe ) + goto _test_eof1056; +case 1056: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3397; + case 32: goto tr3397; + case 40: goto tr3398; + case 41: goto tr3399; + case 1034: goto tr3401; + case 1083: goto tr3402; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3400; + goto tr1885; +tr3404: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1057; +tr3405: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1057; +tr3407: + { + s->line_counter++; + } + goto st1057; +tr3442: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1057; +tr3397: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1057; +tr3398: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1057; +tr3399: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1057; +tr3401: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1057; +st1057: + if ( ++p == pe ) + goto _test_eof1057; +case 1057: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1057; + case 32: goto st1057; + case 40: goto tr3404; + case 41: goto tr3405; + case 1034: goto tr3407; + case 1083: goto tr3408; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3406; + goto tr1885; +tr3406: + { + 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 st268;} + } + } + goto st1058; +tr3412: + { + // 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 st268;} + } + } + goto st1058; +st1058: + if ( ++p == pe ) + goto _test_eof1058; +case 1058: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3409; + case 32: goto tr3409; + case 40: goto tr3410; + case 41: goto tr3411; + case 1034: goto tr3413; + case 1083: goto tr3414; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3412; + goto tr1885; +tr3416: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1059; +tr3417: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1059; +tr3419: + { + s->line_counter++; + } + goto st1059; +tr3440: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1059; +tr3409: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1059; +tr3410: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1059; +tr3411: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1059; +tr3413: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1059; +st1059: + if ( ++p == pe ) + goto _test_eof1059; +case 1059: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1059; + case 32: goto st1059; + case 40: goto tr3416; + case 41: goto tr3417; + case 1034: goto tr3419; + case 1083: goto tr3420; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3418; + goto tr1885; +tr3418: + { + 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 st268;} + } + } + goto st1060; +tr3424: + { + // 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 st268;} + } + } + goto st1060; +st1060: + if ( ++p == pe ) + goto _test_eof1060; +case 1060: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3421; + case 32: goto tr3421; + case 40: goto tr3422; + case 41: goto tr3423; + case 1034: goto tr3425; + case 1083: goto tr3426; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3424; + goto tr1885; +tr3428: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1061; +tr3429: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1061; +tr3432: + { + s->line_counter++; + } + goto st1061; +tr3438: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1061; +tr3421: + { + 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 st268;} + } + } + goto st1061; +tr3422: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1061; +tr3423: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1061; +tr3425: + { + 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 st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1061; + case 32: goto st1061; + case 40: goto tr3428; + case 41: goto tr3429; + case 45: goto tr3430; + case 1034: goto tr3432; + case 1083: goto tr3433; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3431; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3431; + } else + goto tr3431; + goto tr2556; +tr3430: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1062; +st1062: + if ( ++p == pe ) + goto _test_eof1062; +case 1062: + switch( (*p) ) { + case 32: goto tr3434; + case 59: goto tr3434; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3434; + } else if ( (*p) >= 9 ) + goto tr3434; + goto tr2556; +tr3434: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1204; +st1204: + if ( ++p == pe ) + goto _test_eof1204; +case 1204: + goto st0; +tr3436: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1063; +tr3431: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1063; +st1063: + if ( ++p == pe ) + goto _test_eof1063; +case 1063: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3435; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3435; + } else + goto tr3435; + goto tr2556; +tr3435: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1064; +st1064: + if ( ++p == pe ) + goto _test_eof1064; +case 1064: + switch( (*p) ) { + case 32: goto tr3434; + case 59: goto tr3434; + } + if ( (*p) < 48 ) { + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3434; + } else if ( (*p) >= 9 ) + goto tr3434; + } else if ( (*p) > 57 ) { + if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3436; + } else if ( (*p) >= 65 ) + goto tr3436; + } else + goto tr3436; + goto tr2556; +tr3433: + { + s->buffer_length = 0; + } + goto st1065; +tr3437: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1065; +tr3426: + { + 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 st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3438; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3437; + goto tr71; +tr3420: + { + s->buffer_length = 0; + } + goto st1066; +tr3439: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1066; +tr3414: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1066; +st1066: + if ( ++p == pe ) + goto _test_eof1066; +case 1066: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3440; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3439; + goto tr71; +tr3408: + { + s->buffer_length = 0; + } + goto st1067; +tr3441: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1067; +tr3402: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3442; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3441; + goto tr71; +st1068: + if ( ++p == pe ) + goto _test_eof1068; +case 1068: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3443; + goto tr1885; +tr3443: + { + 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 st268;} + } + } + goto st1069; +tr3447: + { + // 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 st268;} + } + } + goto st1069; +st1069: + if ( ++p == pe ) + goto _test_eof1069; +case 1069: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3444; + case 32: goto tr3444; + case 40: goto tr3445; + case 41: goto tr3446; + case 1034: goto tr3448; + case 1083: goto tr3449; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3447; + goto tr1885; +tr3451: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1070; +tr3452: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1070; +tr3454: + { + s->line_counter++; + } + goto st1070; +tr3496: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1070; +tr3444: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1070; +tr3445: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1070; +tr3446: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1070; +tr3448: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1070; + case 32: goto st1070; + case 40: goto tr3451; + case 41: goto tr3452; + case 1034: goto tr3454; + case 1083: goto tr3455; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3453; + goto tr1885; +tr3453: + { + 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 st268;} + } + } + goto st1071; +tr3459: + { + // 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 st268;} + } + } + goto st1071; +st1071: + if ( ++p == pe ) + goto _test_eof1071; +case 1071: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr3460; + case 1083: goto tr3461; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3459; + goto tr1885; +tr3463: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1072; +tr3464: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1072; +tr3466: + { + s->line_counter++; + } + goto st1072; +tr3494: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1072; +tr3456: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1072; +tr3457: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1072; +tr3458: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1072; +tr3460: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1072; + case 32: goto st1072; + case 40: goto tr3463; + case 41: goto tr3464; + case 1034: goto tr3466; + case 1083: goto tr3467; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3465; + goto tr1885; +tr3465: + { + 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 st268;} + } + } + goto st1073; +tr3471: + { + // 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 st268;} + } + } + goto st1073; +st1073: + if ( ++p == pe ) + goto _test_eof1073; +case 1073: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3468; + case 32: goto tr3468; + case 40: goto tr3469; + case 41: goto tr3470; + case 1034: goto tr3472; + case 1083: goto tr3473; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3471; + goto tr1885; +tr3475: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1074; +tr3476: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1074; +tr3478: + { + s->line_counter++; + } + goto st1074; +tr3492: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1074; +tr3468: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1074; +tr3469: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1074; +tr3470: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1074; +tr3472: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + 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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1074; + case 32: goto st1074; + case 40: goto tr3475; + case 41: goto tr3476; + case 1034: goto tr3478; + case 1083: goto tr3479; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3477; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3477; + } else + goto tr3477; + goto tr2556; +tr3477: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1075; +st1075: + if ( ++p == pe ) + goto _test_eof1075; +case 1075: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3480; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3480; + } else + goto tr3480; + goto tr2556; +tr3482: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1076; +tr3483: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1076; +tr3484: + { + s->line_counter++; + } + goto st1076; +tr3490: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1076; +tr3480: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + 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; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1076; + case 32: goto st1076; + case 40: goto tr3482; + case 41: goto tr3483; + case 2058: goto tr3484; + case 2107: goto tr3485; + case 2314: goto tr3486; + case 2363: goto tr3486; + case 2570: goto tr3487; + case 2619: goto tr3488; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3477; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3477; + } else + goto tr3477; + goto tr2556; +tr3485: + { + s->buffer_length = 0; + } + goto st1077; +tr3489: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1077; +st1077: + if ( ++p == pe ) + goto _test_eof1077; +case 1077: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3490; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3489; + goto tr2556; +tr3486: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1205; +st1205: + if ( ++p == pe ) + goto _test_eof1205; +case 1205: + goto st0; +tr3487: + { + s->line_counter++; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1206; +st1206: + if ( ++p == pe ) + goto _test_eof1206; +case 1206: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + } + switch( _widec ) { + case 9: goto st1076; + case 32: goto st1076; + case 40: goto tr3482; + case 41: goto tr3483; + case 2058: goto tr3484; + case 2107: goto tr3485; + case 2314: goto tr3486; + case 2363: goto tr3486; + case 2570: goto tr3487; + case 2619: goto tr3488; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3477; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3477; + } else + goto tr3477; + goto tr2556; +tr3488: + { + s->buffer_length = 0; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1207; +st1207: + if ( ++p == pe ) + goto _test_eof1207; +case 1207: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3490; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3489; + goto tr2556; +tr3479: + { + s->buffer_length = 0; + } + goto st1078; +tr3491: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1078; +tr3473: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1078; +st1078: + if ( ++p == pe ) + goto _test_eof1078; +case 1078: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3492; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3491; + goto tr71; +tr3467: + { + s->buffer_length = 0; + } + goto st1079; +tr3493: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1079; +tr3461: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1079; +st1079: + if ( ++p == pe ) + goto _test_eof1079; +case 1079: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3494; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3493; + goto tr71; +tr3455: + { + s->buffer_length = 0; + } + goto st1080; +tr3495: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1080; +tr3449: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1080; +st1080: + if ( ++p == pe ) + goto _test_eof1080; +case 1080: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3496; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3495; + goto tr71; +st1081: + if ( ++p == pe ) + goto _test_eof1081; +case 1081: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3497; + goto tr1885; +tr3497: + { + 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 st268;} + } + } + goto st1082; +tr3501: + { + // 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 st268;} + } + } + goto st1082; +st1082: + if ( ++p == pe ) + goto _test_eof1082; +case 1082: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3498; + case 32: goto tr3498; + case 40: goto tr3499; + case 41: goto tr3500; + case 1034: goto tr3502; + case 1083: goto tr3503; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3501; + goto tr1885; +tr3505: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1083; +tr3506: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1083; +tr3508: + { + s->line_counter++; + } + goto st1083; +tr3513: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1083; +tr3498: + { + 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 st268;} + } + } + goto st1083; +tr3499: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1083; +tr3500: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1083; +tr3502: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st1083; +st1083: + if ( ++p == pe ) + goto _test_eof1083; +case 1083: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1083; + case 32: goto st1083; + case 40: goto tr3505; + case 41: goto tr3506; + case 46: goto tr3507; + case 1034: goto tr3508; + case 1083: goto tr3509; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3507; + goto tr1862; +tr3507: + { + 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 st268;} + } + } + goto st1084; +tr3511: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1084; +st1084: + if ( ++p == pe ) + goto _test_eof1084; +case 1084: + switch( (*p) ) { + case 32: goto tr3510; + case 46: goto tr3511; + case 59: goto tr3510; + } + if ( (*p) < 40 ) { + if ( 9 <= (*p) && (*p) <= 10 ) + goto tr3510; + } else if ( (*p) > 41 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3511; + } else + goto tr3510; + goto tr1862; +tr3510: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {goto st268;} + } + } + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1208; +st1208: + if ( ++p == pe ) + goto _test_eof1208; +case 1208: + goto st0; +tr3509: + { + s->buffer_length = 0; + } + goto st1085; +tr3512: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1085; +tr3503: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st1085; +st1085: + if ( ++p == pe ) + goto _test_eof1085; +case 1085: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3513; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3512; + goto tr71; +st1086: + if ( ++p == pe ) + goto _test_eof1086; +case 1086: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3514; + goto tr1885; +tr3514: + { + 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 st268;} + } + } + goto st1087; +tr3518: + { + // 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 st268;} + } + } + goto st1087; +st1087: + if ( ++p == pe ) + goto _test_eof1087; +case 1087: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3515; + case 32: goto tr3515; + case 40: goto tr3516; + case 41: goto tr3517; + case 1034: goto tr3519; + case 1083: goto tr3520; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3518; + goto tr1885; +tr3522: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1088; +tr3523: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1088; +tr3525: + { + s->line_counter++; + } + goto st1088; +tr3539: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1088; +tr3515: + { + 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 st268;} + } + } + goto st1088; +tr3516: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1088; +tr3517: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1088; +tr3519: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st1088; +st1088: + if ( ++p == pe ) + goto _test_eof1088; +case 1088: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1088; + case 32: goto st1088; + case 40: goto tr3522; + case 41: goto tr3523; + case 1034: goto tr3525; + case 1083: goto tr3526; + } + if ( _widec < 65 ) { + if ( 48 <= _widec && _widec <= 57 ) + goto tr3524; + } else if ( _widec > 70 ) { + if ( 97 <= _widec && _widec <= 102 ) + goto tr3524; + } else + goto tr3524; + goto tr2556; +tr3524: + { + 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 st268;} + } + } + goto st1089; +st1089: + if ( ++p == pe ) + goto _test_eof1089; +case 1089: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3527; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3527; + } else + goto tr3527; + goto tr2556; +tr3527: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1090; +st1090: + if ( ++p == pe ) + goto _test_eof1090; +case 1090: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3528; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3528; + } else + goto tr3528; + goto tr2556; +tr3528: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1091; +st1091: + if ( ++p == pe ) + goto _test_eof1091; +case 1091: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3529; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3529; + } else + goto tr3529; + goto tr2556; +tr3529: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1092; +st1092: + if ( ++p == pe ) + goto _test_eof1092; +case 1092: + if ( (*p) == 58 ) + goto tr3531; + goto tr3530; +tr3531: + { + s->item_length++; + } + goto st1093; +st1093: + if ( ++p == pe ) + goto _test_eof1093; +case 1093: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3532; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3532; + } else + goto tr3532; + goto tr2556; +tr3532: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1094; +st1094: + if ( ++p == pe ) + goto _test_eof1094; +case 1094: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3533; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3533; + } else + goto tr3533; + goto tr2556; +tr3533: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1095; +st1095: + if ( ++p == pe ) + goto _test_eof1095; +case 1095: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3534; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3534; + } else + goto tr3534; + goto tr2556; +tr3534: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1096; +st1096: + if ( ++p == pe ) + goto _test_eof1096; +case 1096: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3535; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3535; + } else + goto tr3535; + goto tr2556; +tr3535: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1097; +st1097: + if ( ++p == pe ) + goto _test_eof1097; +case 1097: + switch( (*p) ) { + case 32: goto tr3537; + case 58: goto tr3531; + case 59: goto tr3537; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3537; + } else if ( (*p) >= 9 ) + goto tr3537; + goto tr3536; +tr3537: + { + s->item_length++; + } + { + if (s->item_length != 4) { + WARN(ZS_BAD_L64_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1209; +st1209: + if ( ++p == pe ) + goto _test_eof1209; +case 1209: + goto st0; +tr3526: + { + s->buffer_length = 0; + } + goto st1098; +tr3538: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1098; +tr3520: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st1098; +st1098: + if ( ++p == pe ) + goto _test_eof1098; +case 1098: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3539; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3538; + goto tr71; +st1099: + if ( ++p == pe ) + goto _test_eof1099; +case 1099: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3540; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3540; + } else + goto tr3540; + goto tr2556; +tr3540: + { + 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 st268;} + } + } + goto st1100; +st1100: + if ( ++p == pe ) + goto _test_eof1100; +case 1100: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3541; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3541; + } else + goto tr3541; + goto tr2556; +tr3541: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1101; +st1101: + if ( ++p == pe ) + goto _test_eof1101; +case 1101: + if ( (*p) == 45 ) + goto tr3543; + goto tr3542; +tr3543: + { + s->item_length++; + } + goto st1102; +st1102: + if ( ++p == pe ) + goto _test_eof1102; +case 1102: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3544; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3544; + } else + goto tr3544; + goto tr2556; +tr3544: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1103; +st1103: + if ( ++p == pe ) + goto _test_eof1103; +case 1103: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3545; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3545; + } else + goto tr3545; + goto tr2556; +tr3545: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1104; +st1104: + if ( ++p == pe ) + goto _test_eof1104; +case 1104: + switch( (*p) ) { + case 32: goto tr3546; + case 45: goto tr3543; + case 59: goto tr3546; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3546; + } else if ( (*p) >= 9 ) + goto tr3546; + goto tr3542; +tr3546: + { + s->item_length++; + } + { + if (s->item_length != 6) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1210; +st1210: + if ( ++p == pe ) + goto _test_eof1210; +case 1210: + goto st0; +st1105: + if ( ++p == pe ) + goto _test_eof1105; +case 1105: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3547; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3547; + } else + goto tr3547; + goto tr2556; +tr3547: + { + 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 st268;} + } + } + goto st1106; +st1106: + if ( ++p == pe ) + goto _test_eof1106; +case 1106: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3548; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3548; + } else + goto tr3548; + goto tr2556; +tr3548: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1107; +st1107: + if ( ++p == pe ) + goto _test_eof1107; +case 1107: + if ( (*p) == 45 ) + goto tr3549; + goto tr3542; +tr3549: + { + s->item_length++; + } + goto st1108; +st1108: + if ( ++p == pe ) + goto _test_eof1108; +case 1108: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3550; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3550; + } else + goto tr3550; + goto tr2556; +tr3550: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + goto st1109; +st1109: + if ( ++p == pe ) + goto _test_eof1109; +case 1109: + if ( (*p) < 65 ) { + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3551; + } else if ( (*p) > 70 ) { + if ( 97 <= (*p) && (*p) <= 102 ) + goto tr3551; + } else + goto tr3551; + goto tr2556; +tr3551: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + goto st1110; +st1110: + if ( ++p == pe ) + goto _test_eof1110; +case 1110: + switch( (*p) ) { + case 32: goto tr3552; + case 45: goto tr3549; + case 59: goto tr3552; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3552; + } else if ( (*p) >= 9 ) + goto tr3552; + goto tr3542; +tr3552: + { + s->item_length++; + } + { + if (s->item_length != 8) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {goto st268;} + } + } + { + p--; {cs = stack[--top];goto _again;} + } + goto st1211; +st1211: + if ( ++p == pe ) + goto _test_eof1211; +case 1211: + goto st0; +st1111: + if ( ++p == pe ) + goto _test_eof1111; +case 1111: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3553; + goto tr1885; +tr3553: + { + 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 st268;} + } + } + goto st1112; +tr3557: + { + // 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 st268;} + } + } + goto st1112; +st1112: + if ( ++p == pe ) + goto _test_eof1112; +case 1112: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3554; + case 32: goto tr3554; + case 40: goto tr3555; + case 41: goto tr3556; + case 1034: goto tr3558; + case 1083: goto tr3559; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3557; + goto tr1885; +tr3561: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1113; +tr3562: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1113; +tr3564: + { + s->line_counter++; + } + goto st1113; +tr3582: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1113; +tr3554: + { + 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 st268;} + } + } + goto st1113; +tr3555: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1113; +tr3556: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1113; +tr3558: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st1113; +st1113: + if ( ++p == pe ) + goto _test_eof1113; +case 1113: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1113; + case 32: goto st1113; + case 40: goto tr3561; + case 41: goto tr3562; + case 1034: goto tr3564; + case 1083: goto tr3565; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3563; + goto tr1885; +tr3563: + { + 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 st268;} + } + } + goto st1114; +tr3569: + { + // 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 st268;} + } + } + goto st1114; +st1114: + if ( ++p == pe ) + goto _test_eof1114; +case 1114: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*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 1034: goto tr3570; + case 1083: goto tr3571; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3569; + goto tr1885; +tr3574: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1115; +tr3575: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1115; +tr3576: + { + s->line_counter++; + } + goto st1115; +tr3580: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1115; +tr3566: + { + 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 st268;} + } + } + goto st1115; +tr3567: + { + 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 st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1115; +tr3568: + { + 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 st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1115; +tr3570: + { + 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 st268;} + } + } + { + s->line_counter++; + } + goto st1115; +st1115: + if ( ++p == pe ) + goto _test_eof1115; +case 1115: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1115; + case 32: goto st1115; + case 40: goto tr3574; + case 41: goto tr3575; + case 1034: goto tr3576; + case 1083: goto tr3577; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr3572; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr3572; + } else + goto tr3572; + goto tr71; +tr3572: + { p--; {stack[top++] = 1116;goto st279;} } + goto st1116; +st1116: + if ( ++p == pe ) + goto _test_eof1116; +case 1116: + switch( (*p) ) { + case 32: goto tr3578; + case 59: goto tr3578; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3578; + } else if ( (*p) >= 9 ) + goto tr3578; + goto tr71; +tr3578: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1212; +st1212: + if ( ++p == pe ) + goto _test_eof1212; +case 1212: + goto st0; +tr3577: + { + s->buffer_length = 0; + } + goto st1117; +tr3579: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1117; +tr3571: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st1117; +st1117: + if ( ++p == pe ) + goto _test_eof1117; +case 1117: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3580; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3579; + goto tr71; +tr3565: + { + s->buffer_length = 0; + } + goto st1118; +tr3581: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1118; +tr3559: + { + 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 st268;} + } + } + { + s->buffer_length = 0; + } + goto st1118; +st1118: + if ( ++p == pe ) + goto _test_eof1118; +case 1118: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3582; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3581; + goto tr71; +st1119: + if ( ++p == pe ) + goto _test_eof1119; +case 1119: + if ( 48 <= (*p) && (*p) <= 57 ) + goto tr3583; + goto tr1885; +tr3583: + { + 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 st268;} + } + } + goto st1120; +tr3587: + { + // 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 st268;} + } + } + goto st1120; +st1120: + if ( ++p == pe ) + goto _test_eof1120; +case 1120: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3584; + case 32: goto tr3584; + case 40: goto tr3585; + case 41: goto tr3586; + case 1034: goto tr3588; + case 1083: goto tr3589; + } + if ( 48 <= _widec && _widec <= 57 ) + goto tr3587; + goto tr1885; +tr3592: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1121; +tr3593: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1121; +tr3594: + { + s->line_counter++; + } + goto st1121; +tr3611: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1121; +tr3584: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + goto st1121; +tr3585: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1121; +tr3586: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1121; +tr3588: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1121; +st1121: + if ( ++p == pe ) + goto _test_eof1121; +case 1121: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1121; + case 32: goto st1121; + case 40: goto tr3592; + case 41: goto tr3593; + case 1034: goto tr3594; + case 1083: goto tr3595; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr3590; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr3590; + } else + goto tr3590; + goto tr71; +tr3590: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {goto st268;} + } + } + { p--; {stack[top++] = 1122;goto st279;} } + goto st1122; +st1122: + if ( ++p == pe ) + goto _test_eof1122; +case 1122: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto tr3596; + case 32: goto tr3596; + case 40: goto tr3597; + case 41: goto tr3598; + case 1034: goto tr3599; + case 1083: goto tr3600; + } + goto tr71; +tr3603: + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1123; +tr3604: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1123; +tr3605: + { + s->line_counter++; + } + goto st1123; +tr3609: + { + s->buffer[s->buffer_length++] = 0; + } + { + s->line_counter++; + } + goto st1123; +tr3596: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + goto st1123; +tr3597: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == true) { + ERR(ZS_LEFT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = true; + } + goto st1123; +tr3598: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {goto st268;} + } + s->multiline = false; + } + goto st1123; +tr3599: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->line_counter++; + } + goto st1123; +st1123: + if ( ++p == pe ) + goto _test_eof1123; +case 1123: + _widec = (*p); + if ( (*p) > 10 ) { + if ( 59 <= (*p) && (*p) <= 59 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) >= 10 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + switch( _widec ) { + case 9: goto st1123; + case 32: goto st1123; + case 40: goto tr3603; + case 41: goto tr3604; + case 1034: goto tr3605; + case 1083: goto tr3606; + } + if ( _widec < 11 ) { + if ( _widec <= 8 ) + goto tr3601; + } else if ( _widec > 58 ) { + if ( 60 <= _widec ) + goto tr3601; + } else + goto tr3601; + goto tr71; +tr3601: + { p--; {stack[top++] = 1124;goto st279;} } + goto st1124; +st1124: + if ( ++p == pe ) + goto _test_eof1124; +case 1124: + switch( (*p) ) { + case 32: goto tr3607; + case 59: goto tr3607; + } + if ( (*p) > 10 ) { + if ( 40 <= (*p) && (*p) <= 41 ) + goto tr3607; + } else if ( (*p) >= 9 ) + goto tr3607; + goto tr71; +tr3607: + { + p--; {cs = stack[--top];goto _again;} + } + goto st1213; +st1213: + if ( ++p == pe ) + goto _test_eof1213; +case 1213: + goto st0; +tr3606: + { + s->buffer_length = 0; + } + goto st1125; +tr3608: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1125; +tr3600: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1125; +st1125: + if ( ++p == pe ) + goto _test_eof1125; +case 1125: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3609; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3608; + goto tr71; +tr3595: + { + s->buffer_length = 0; + } + goto st1126; +tr3610: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } + } + goto st1126; +tr3589: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {goto st268;} + } + } + { + s->buffer_length = 0; + } + goto st1126; +st1126: + if ( ++p == pe ) + goto _test_eof1126; +case 1126: + _widec = (*p); + if ( (*p) < 10 ) { + if ( (*p) <= 9 ) { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else if ( (*p) > 10 ) { + if ( 11 <= (*p) ) + { _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + } else { + _widec = (short)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + } + if ( _widec == 1034 ) + goto tr3611; + if ( 896 <= _widec && _widec <= 1151 ) + goto tr3610; + goto tr71; + } + _test_eof1127: cs = 1127; 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_eof1128: cs = 1128; 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_eof1129: cs = 1129; 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_eof1130: cs = 1130; 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_eof1131: cs = 1131; 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_eof1132: cs = 1132; 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_eof1133: cs = 1133; 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_eof1134: cs = 1134; 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_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_eof192: cs = 192; goto _test_eof; + _test_eof193: cs = 193; goto _test_eof; + _test_eof1135: cs = 1135; goto _test_eof; + _test_eof194: cs = 194; 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_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_eof1136: cs = 1136; 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_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_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_eof1137: cs = 1137; goto _test_eof; + _test_eof270: cs = 270; goto _test_eof; + _test_eof271: cs = 271; goto _test_eof; + _test_eof1138: cs = 1138; 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_eof1139: cs = 1139; goto _test_eof; + _test_eof1140: cs = 1140; 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_eof1141: cs = 1141; 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_eof1142: cs = 1142; goto _test_eof; + _test_eof305: cs = 305; goto _test_eof; + _test_eof306: cs = 306; goto _test_eof; + _test_eof307: cs = 307; goto _test_eof; + _test_eof308: cs = 308; goto _test_eof; + _test_eof309: cs = 309; goto _test_eof; + _test_eof310: cs = 310; 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_eof1143: cs = 1143; goto _test_eof; + _test_eof319: cs = 319; 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_eof1144: cs = 1144; 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_eof1145: cs = 1145; goto _test_eof; + _test_eof1146: cs = 1146; goto _test_eof; + _test_eof1147: cs = 1147; 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_eof1148: cs = 1148; goto _test_eof; + _test_eof1149: cs = 1149; goto _test_eof; + _test_eof343: cs = 343; goto _test_eof; + _test_eof344: cs = 344; goto _test_eof; + _test_eof345: cs = 345; goto _test_eof; + _test_eof1150: cs = 1150; 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_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_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_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_eof383: cs = 383; goto _test_eof; + _test_eof384: cs = 384; goto _test_eof; + _test_eof385: cs = 385; 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_eof1151: cs = 1151; goto _test_eof; + _test_eof1152: cs = 1152; goto _test_eof; + _test_eof1153: cs = 1153; 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_eof1154: cs = 1154; 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_eof1155: cs = 1155; goto _test_eof; + _test_eof1156: cs = 1156; goto _test_eof; + _test_eof1157: cs = 1157; goto _test_eof; + _test_eof484: cs = 484; goto _test_eof; + _test_eof485: cs = 485; goto _test_eof; + _test_eof1158: cs = 1158; 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_eof1159: cs = 1159; 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_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_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_eof556: cs = 556; goto _test_eof; + _test_eof557: cs = 557; 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_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_eof1160: cs = 1160; 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_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_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_eof1161: cs = 1161; goto _test_eof; + _test_eof634: cs = 634; goto _test_eof; + _test_eof635: cs = 635; goto _test_eof; + _test_eof1162: cs = 1162; 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_eof1163: cs = 1163; 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_eof1164: cs = 1164; 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_eof1165: cs = 1165; 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_eof1166: cs = 1166; 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_eof1167: cs = 1167; goto _test_eof; + _test_eof1168: cs = 1168; goto _test_eof; + _test_eof1169: cs = 1169; goto _test_eof; + _test_eof687: cs = 687; goto _test_eof; + _test_eof688: cs = 688; goto _test_eof; + _test_eof1170: cs = 1170; 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_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_eof1171: cs = 1171; goto _test_eof; + _test_eof1172: cs = 1172; goto _test_eof; + _test_eof1173: cs = 1173; 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_eof1174: cs = 1174; goto _test_eof; + _test_eof1175: cs = 1175; 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_eof1176: cs = 1176; goto _test_eof; + _test_eof1177: cs = 1177; 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_eof1178: cs = 1178; goto _test_eof; + _test_eof1179: cs = 1179; 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_eof1180: cs = 1180; 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_eof1181: cs = 1181; 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_eof1182: cs = 1182; 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_eof1183: cs = 1183; goto _test_eof; + _test_eof1184: cs = 1184; 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_eof1185: cs = 1185; 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_eof1186: cs = 1186; goto _test_eof; + _test_eof1187: cs = 1187; goto _test_eof; + _test_eof1188: cs = 1188; goto _test_eof; + _test_eof804: cs = 804; 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_eof1189: cs = 1189; goto _test_eof; + _test_eof1190: cs = 1190; goto _test_eof; + _test_eof1191: cs = 1191; 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_eof1192: cs = 1192; 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_eof1193: cs = 1193; goto _test_eof; + _test_eof1194: cs = 1194; goto _test_eof; + _test_eof830: cs = 830; goto _test_eof; + _test_eof1195: cs = 1195; goto _test_eof; + _test_eof1196: cs = 1196; goto _test_eof; + _test_eof831: cs = 831; goto _test_eof; + _test_eof1197: cs = 1197; goto _test_eof; + _test_eof1198: cs = 1198; 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_eof846: cs = 846; goto _test_eof; + _test_eof847: cs = 847; 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_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_eof1199: cs = 1199; 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_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_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_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_eof899: cs = 899; goto _test_eof; + _test_eof900: cs = 900; 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_eof928: cs = 928; goto _test_eof; + _test_eof929: cs = 929; goto _test_eof; + _test_eof930: cs = 930; 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_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_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_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_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_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_eof1003: cs = 1003; goto _test_eof; + _test_eof1004: cs = 1004; goto _test_eof; + _test_eof1005: cs = 1005; 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_eof1200: cs = 1200; 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_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_eof1201: cs = 1201; 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_eof1202: cs = 1202; goto _test_eof; + _test_eof1026: cs = 1026; 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_eof1039: cs = 1039; goto _test_eof; + _test_eof1040: cs = 1040; goto _test_eof; + _test_eof1041: cs = 1041; goto _test_eof; + _test_eof1042: cs = 1042; goto _test_eof; + _test_eof1043: cs = 1043; goto _test_eof; + _test_eof1203: cs = 1203; 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_eof1204: cs = 1204; 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_eof1205: cs = 1205; goto _test_eof; + _test_eof1206: cs = 1206; goto _test_eof; + _test_eof1207: cs = 1207; 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_eof1208: cs = 1208; goto _test_eof; + _test_eof1085: cs = 1085; 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_eof1209: cs = 1209; 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_eof1210: cs = 1210; 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_eof1211: cs = 1211; 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_eof1212: cs = 1212; 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_eof1213: cs = 1213; goto _test_eof; + _test_eof1125: cs = 1125; goto _test_eof; + _test_eof1126: cs = 1126; goto _test_eof; + + _test_eof: {} + if ( p == eof ) + { + switch ( cs ) { + case 7: + case 8: + case 151: + case 175: + case 177: + case 227: + case 241: + case 264: + case 318: + case 319: + case 325: + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 270: + case 271: + case 272: + case 277: + case 278: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 160: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 286: + { + WARN(ZS_BAD_TEXT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 291: + case 299: + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 300: + case 301: + case 302: + case 311: + { + ERR(ZS_BAD_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 313: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 316: + case 326: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 1131: + { + NOERR; + } + break; + case 152: + case 153: + case 154: + case 155: + case 156: + case 157: + case 158: + case 159: + case 195: + case 196: + case 197: + case 198: + case 199: + case 200: + case 201: + case 202: + case 203: + { + ERR(ZS_BAD_DIRECTIVE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 329: + case 330: + case 331: + case 332: + case 333: + case 334: + case 335: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 336: + case 337: + case 338: + case 339: + case 340: + case 341: + case 342: + case 343: + case 344: + case 345: + case 346: + case 347: + case 348: + case 349: + case 350: + case 351: + case 352: + case 353: + case 354: + case 355: + case 356: + case 357: + case 358: + case 359: + case 360: + case 361: + case 362: + case 363: + case 364: + case 365: + case 366: + case 367: + case 368: + case 369: + case 370: + case 371: + case 372: + case 373: + case 374: + case 375: + 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: + { + WARN(ZS_BAD_BITMAP); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 468: + case 475: + case 476: + case 477: + case 484: + case 486: + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + 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: + case 540: + case 541: + case 542: + case 543: + case 544: + case 545: + case 546: + case 547: + case 548: + case 549: + case 550: + case 551: + case 552: + case 553: + case 554: + case 555: + case 556: + case 557: + case 558: + 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 582: + case 583: + case 584: + case 585: + case 586: + case 587: + case 588: + case 589: + case 590: + { + WARN(ZS_BAD_ALGORITHM); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 591: + case 592: + case 593: + case 594: + case 595: + case 596: + case 597: + case 598: + case 599: + case 600: + case 601: + case 602: + 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: + { + WARN(ZS_BAD_CERT_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 5: + case 9: + case 10: + case 246: + case 634: + case 635: + case 636: + case 637: + case 638: + case 639: + case 653: + case 657: + case 661: + 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 680: + case 681: + case 682: + case 750: + case 751: + case 752: + case 753: + case 754: + 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 776: + case 777: + case 778: + case 779: + case 780: + case 781: + case 782: + case 790: + case 796: + case 797: + case 804: + case 805: + case 806: + case 815: + case 816: + case 855: + case 858: + case 859: + case 870: + case 871: + case 872: + case 873: + case 874: + case 875: + case 876: + case 877: + case 878: + case 879: + case 880: + case 881: + case 1010: + case 1011: + case 1012: + case 1017: + case 1018: + case 1019: + case 1020: + case 1021: + case 1022: + case 1023: + case 1024: + case 1025: + case 1043: + case 1049: + case 1052: + case 1053: + case 1054: + case 1065: + case 1066: + case 1067: + case 1078: + case 1079: + case 1080: + case 1085: + case 1098: + case 1115: + case 1116: + case 1117: + case 1118: + case 1121: + case 1122: + case 1123: + case 1124: + case 1125: + case 1126: + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + 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 39: + case 41: + case 42: + case 43: + case 45: + case 46: + case 47: + case 50: + case 51: + case 52: + case 53: + case 55: + case 57: + case 58: + case 59: + case 60: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 73: + case 74: + case 77: + case 78: + case 80: + case 82: + case 85: + case 86: + case 87: + case 88: + case 91: + case 92: + case 93: + case 94: + case 96: + case 99: + case 102: + case 103: + case 104: + case 105: + case 107: + case 108: + case 110: + case 112: + case 113: + case 114: + case 117: + case 118: + case 120: + case 122: + case 124: + case 125: + case 126: + case 128: + case 129: + case 130: + case 132: + case 134: + case 135: + case 138: + case 139: + case 141: + case 143: + case 144: + case 150: + case 165: + case 169: + case 230: + case 231: + case 233: + case 234: + case 235: + case 237: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 294: + case 295: + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 303: + case 304: + case 305: + case 310: + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 273: + case 274: + case 275: + case 276: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_DNAME_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 306: + case 307: + case 308: + case 309: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 320: + case 321: + case 322: + case 323: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 224: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 250: + case 251: + case 252: + case 253: + case 254: + case 255: + case 256: + case 257: + case 258: + case 259: + case 260: + case 261: + case 262: + case 263: + case 266: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 292: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 469: + case 470: + case 478: + case 479: + case 485: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 640: + case 641: + case 642: + case 644: + case 646: + case 648: + case 678: + case 679: + case 744: + case 745: + case 746: + case 747: + case 748: + case 749: + case 755: + case 756: + case 757: + case 758: + case 774: + case 775: + case 794: + case 795: + case 798: + case 799: + case 807: + case 808: + case 809: + case 810: + case 817: + case 818: + case 860: + case 861: + case 862: + case 863: + case 868: + case 869: + case 1013: + case 1014: + case 1015: + case 1016: + case 1026: + case 1027: + case 1028: + case 1029: + case 1030: + case 1031: + case 1055: + case 1056: + case 1057: + case 1058: + case 1059: + case 1060: + case 1068: + case 1069: + case 1070: + case 1071: + case 1072: + case 1073: + case 1081: + case 1082: + case 1086: + case 1087: + case 1111: + case 1112: + case 1113: + case 1114: + case 1119: + case 1120: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 136: + case 145: + case 161: + case 164: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 864: + case 865: + case 866: + case 867: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 279: + case 280: + case 285: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_TEXT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 683: + case 684: + case 685: + case 686: + { + s->long_string = false; + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 314: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 315: + case 317: + case 324: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 632: + case 633: + case 687: + case 688: + case 1083: + case 1084: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 783: + case 784: + case 785: + case 788: + case 789: + case 791: + { + WARN(ZS_BAD_APL); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 800: + case 801: + case 802: + case 803: + case 811: + case 812: + case 813: + case 814: + case 1032: + case 1033: + case 1050: + case 1051: + case 1061: + case 1062: + case 1063: + case 1064: + case 1074: + case 1075: + case 1076: + case 1077: + case 1088: + case 1089: + case 1090: + case 1091: + case 1093: + case 1094: + case 1095: + case 1096: + case 1099: + case 1100: + case 1102: + case 1103: + case 1105: + case 1106: + case 1108: + case 1109: + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 1034: + case 1035: + case 1036: + case 1037: + case 1038: + case 1039: + case 1040: + case 1041: + case 1042: + case 1044: + case 1045: + case 1046: + case 1047: + case 1048: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 819: + case 820: + case 823: + case 832: + case 833: + case 834: + case 839: + case 840: + case 841: + case 846: + case 847: + case 848: + case 851: + case 853: + case 854: + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 825: + case 826: + case 827: + case 828: + case 829: + case 830: + case 831: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 856: + case 857: + case 882: + case 883: + case 884: + case 885: + case 886: + case 887: + case 888: + case 889: + case 890: + case 891: + case 892: + case 893: + case 894: + case 895: + case 896: + case 897: + case 898: + case 899: + case 900: + 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: + case 956: + case 957: + case 958: + case 959: + case 960: + case 961: + case 962: + case 963: + case 964: + case 965: + case 966: + case 967: + case 968: + case 969: + case 970: + 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 986: + case 987: + case 988: + case 989: + case 990: + case 991: + case 992: + case 993: + case 994: + case 995: + case 996: + case 997: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1003: + case 1004: + case 1007: + case 1008: + case 1009: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 689: + case 690: + case 691: + case 692: + case 693: + case 694: + case 695: + case 696: + case 697: + case 698: + 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: + { + WARN(ZS_BAD_LOC_DATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 6: + case 11: + case 12: + case 13: + case 20: + case 21: + case 173: + case 176: + case 193: + case 226: + case 228: + case 229: + case 239: + case 240: + case 242: + case 243: + case 244: + case 245: + case 248: + case 249: + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 16: + case 207: + case 265: + case 267: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 4: + case 19: + case 27: + case 28: + case 31: + case 35: + case 40: + case 44: + case 48: + case 49: + case 54: + case 56: + case 61: + case 72: + case 75: + case 76: + case 79: + case 81: + case 83: + case 84: + case 89: + case 90: + case 95: + case 97: + case 98: + case 100: + case 101: + case 106: + case 109: + case 111: + case 115: + case 116: + case 119: + case 121: + case 123: + case 127: + case 131: + case 133: + case 140: + case 232: + case 236: + case 238: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 204: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 170: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 821: + case 822: + case 835: + case 836: + case 842: + case 843: + case 849: + case 850: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 1005: + case 1006: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 1: + case 142: + case 174: + case 206: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 137: + case 171: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 297: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 643: + case 645: + case 647: + case 649: + case 650: + case 651: + case 652: + case 654: + case 655: + case 656: + case 658: + case 659: + case 660: + case 662: + case 663: + case 664: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 2: + case 146: + case 147: + case 148: + case 149: + case 166: + case 167: + case 168: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 281: + case 282: + case 283: + case 284: + case 287: + case 288: + case 289: + case 290: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_TEXT_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_TEXT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 786: + case 787: + case 792: + case 793: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_APL); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 837: + case 844: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 471: + case 472: + case 473: + case 474: + case 480: + case 481: + case 482: + case 483: + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_HEX_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 1092: + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_CHAR_COLON); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 824: + case 852: + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 1101: + case 1104: + case 1107: + case 1110: + { + WARN(ZS_BAD_CHAR_DASH); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 1097: + { + WARN(ZS_BAD_CHAR_COLON); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_HEX_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 194: + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_DIRECTIVE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 172: + case 179: + case 180: + case 181: + case 182: + case 183: + case 184: + case 185: + case 186: + case 187: + case 188: + case 189: + case 190: + case 191: + case 192: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 163: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 208: + case 210: + 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: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 14: + case 178: + case 209: + case 225: + case 247: + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 293: + case 296: + case 298: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + ERR(ZS_BAD_TTL); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 838: + case 845: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_GATEWAY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 15: + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + break; + case 205: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_TIME_UNIT); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_NUMBER); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_RDATA); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + { + WARN(ZS_BAD_REST); + p--; { if ( p == pe ) + goto _test_eof268; +goto st268;} + } + 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; + } + + // 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..29205f6 --- /dev/null +++ b/src/libzscanner/scanner.c.t0 @@ -0,0 +1,8509 @@ + +/* 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 <http://www.gnu.org/licenses/>. + */ + +#include <arpa/inet.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 + +/*! \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, 12, 1, 13, 1, + 14, 1, 16, 1, 17, 1, 22, 1, + 23, 1, 25, 1, 26, 1, 28, 1, + 30, 1, 32, 1, 33, 1, 42, 1, + 43, 1, 44, 1, 46, 1, 48, 1, + 49, 1, 50, 1, 51, 1, 55, 1, + 56, 1, 58, 1, 60, 1, 62, 1, + 63, 1, 65, 1, 69, 1, 70, 1, + 73, 1, 74, 1, 77, 1, 80, 1, + 82, 1, 83, 1, 84, 1, 85, 1, + 86, 1, 87, 1, 88, 1, 89, 1, + 91, 1, 93, 1, 95, 1, 99, 1, + 100, 1, 104, 1, 105, 1, 109, 1, + 110, 1, 111, 1, 112, 1, 113, 1, + 114, 1, 115, 1, 116, 1, 117, 1, + 118, 1, 119, 1, 120, 1, 121, 1, + 122, 1, 124, 1, 125, 1, 126, 1, + 127, 1, 154, 1, 155, 1, 156, 1, + 157, 1, 158, 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, 241, 1, + 243, 1, 244, 1, 245, 1, 246, 1, + 253, 1, 254, 1, 259, 1, 261, 1, + 266, 1, 269, 1, 270, 1, 271, 1, + 272, 1, 274, 1, 275, 1, 276, 1, + 277, 1, 279, 2, 0, 46, 2, 1, + 0, 2, 1, 275, 2, 1, 322, 2, + 2, 5, 2, 2, 7, 2, 3, 5, + 2, 3, 7, 2, 4, 0, 2, 4, + 5, 2, 4, 7, 2, 4, 275, 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, 29, + 2, 8, 69, 2, 8, 73, 2, 9, + 10, 2, 11, 1, 2, 12, 13, 2, + 15, 16, 2, 17, 13, 2, 17, 14, + 2, 18, 23, 2, 18, 73, 2, 18, + 80, 2, 19, 0, 2, 19, 7, 2, + 21, 0, 2, 22, 12, 2, 25, 65, + 2, 25, 104, 2, 25, 115, 2, 26, + 0, 2, 26, 1, 2, 26, 2, 2, + 26, 3, 2, 26, 4, 2, 26, 242, + 2, 27, 24, 2, 28, 1, 2, 28, + 2, 2, 28, 3, 2, 28, 4, 2, + 28, 7, 2, 28, 89, 2, 29, 7, + 2, 30, 8, 2, 30, 274, 2, 30, + 279, 2, 31, 24, 2, 32, 0, 2, + 32, 1, 2, 32, 2, 2, 32, 3, + 2, 32, 4, 2, 32, 242, 2, 33, + 38, 2, 34, 33, 2, 35, 69, 2, + 35, 259, 2, 35, 274, 2, 35, 279, + 2, 39, 247, 2, 39, 248, 2, 39, + 249, 2, 39, 250, 2, 39, 251, 2, + 39, 252, 2, 42, 0, 2, 42, 1, + 2, 42, 2, 2, 42, 3, 2, 42, + 4, 2, 43, 0, 2, 43, 1, 2, + 43, 2, 2, 43, 3, 2, 43, 4, + 2, 44, 0, 2, 44, 1, 2, 44, + 2, 2, 44, 3, 2, 44, 4, 2, + 45, 273, 2, 46, 1, 2, 46, 2, + 2, 46, 3, 2, 46, 4, 2, 53, + 7, 2, 53, 44, 2, 53, 89, 2, + 54, 55, 2, 56, 1, 2, 56, 2, + 2, 56, 3, 2, 56, 4, 2, 57, + 274, 2, 58, 0, 2, 59, 60, 2, + 61, 62, 2, 63, 0, 2, 63, 58, + 2, 67, 0, 2, 67, 274, 2, 71, + 22, 2, 75, 65, 2, 76, 7, 2, + 77, 8, 2, 78, 22, 2, 80, 8, + 2, 86, 87, 2, 88, 1, 2, 88, + 2, 2, 88, 3, 2, 88, 4, 2, + 89, 1, 2, 89, 2, 2, 89, 3, + 2, 89, 4, 2, 89, 7, 2, 90, + 91, 2, 92, 274, 2, 93, 94, 2, + 95, 96, 2, 97, 98, 2, 97, 99, + 2, 97, 100, 2, 101, 102, 2, 103, + 274, 2, 106, 274, 2, 107, 0, 2, + 123, 274, 2, 125, 0, 2, 126, 0, + 2, 127, 0, 2, 128, 0, 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, 145, + 0, 2, 146, 0, 2, 147, 0, 2, + 148, 0, 2, 149, 0, 2, 150, 0, + 2, 151, 274, 2, 152, 274, 2, 153, + 274, 2, 154, 1, 2, 154, 2, 2, + 154, 3, 2, 154, 4, 2, 155, 1, + 2, 155, 2, 2, 155, 3, 2, 155, + 4, 2, 156, 1, 2, 156, 2, 2, + 156, 3, 2, 156, 4, 2, 157, 1, + 2, 157, 2, 2, 157, 3, 2, 157, + 4, 2, 158, 1, 2, 158, 2, 2, + 158, 3, 2, 158, 4, 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, 0, 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, 253, 1, 2, + 253, 2, 2, 253, 3, 2, 253, 4, + 2, 254, 1, 2, 254, 2, 2, 254, + 3, 2, 254, 4, 2, 257, 0, 2, + 258, 274, 2, 260, 104, 2, 265, 104, + 2, 274, 8, 2, 275, 1, 2, 275, + 4, 2, 278, 275, 2, 279, 8, 2, + 279, 274, 2, 280, 273, 2, 281, 273, + 2, 282, 273, 2, 283, 273, 2, 284, + 273, 2, 285, 273, 2, 286, 273, 2, + 287, 273, 2, 288, 273, 2, 289, 273, + 2, 290, 273, 2, 291, 273, 2, 292, + 273, 2, 293, 273, 2, 294, 273, 2, + 295, 273, 2, 296, 273, 2, 297, 273, + 2, 298, 273, 2, 299, 273, 2, 300, + 273, 2, 301, 273, 2, 302, 273, 2, + 303, 273, 2, 304, 273, 2, 305, 273, + 2, 306, 273, 2, 307, 273, 2, 308, + 273, 2, 309, 273, 2, 310, 273, 2, + 311, 273, 2, 312, 273, 2, 313, 273, + 2, 314, 273, 2, 315, 273, 2, 316, + 273, 2, 317, 273, 2, 318, 273, 2, + 319, 273, 2, 320, 273, 2, 321, 273, + 2, 322, 1, 3, 0, 46, 1, 3, + 0, 46, 2, 3, 0, 46, 3, 3, + 0, 46, 4, 3, 1, 7, 322, 3, + 1, 29, 7, 3, 1, 67, 0, 3, + 1, 107, 0, 3, 1, 240, 0, 3, + 1, 257, 0, 3, 1, 275, 322, 3, + 2, 7, 29, 3, 2, 29, 7, 3, + 3, 7, 29, 3, 3, 29, 7, 3, + 4, 7, 29, 3, 4, 29, 7, 3, + 4, 67, 0, 3, 4, 107, 0, 3, + 4, 240, 0, 3, 4, 257, 0, 3, + 4, 275, 7, 3, 5, 7, 2, 3, + 5, 7, 3, 3, 5, 7, 4, 3, + 6, 1, 322, 3, 6, 322, 1, 3, + 7, 2, 5, 3, 7, 2, 29, 3, + 7, 3, 5, 3, 7, 3, 29, 3, + 7, 4, 5, 3, 7, 4, 29, 3, + 7, 322, 1, 3, 9, 11, 1, 3, + 14, 20, 0, 3, 19, 7, 2, 3, + 19, 7, 3, 3, 19, 7, 4, 3, + 19, 79, 7, 3, 22, 12, 13, 3, + 26, 67, 0, 3, 28, 1, 89, 3, + 28, 2, 7, 3, 28, 2, 89, 3, + 28, 3, 7, 3, 28, 3, 89, 3, + 28, 4, 7, 3, 28, 4, 89, 3, + 28, 89, 7, 3, 28, 278, 275, 3, + 28, 280, 273, 3, 29, 1, 7, 3, + 29, 2, 7, 3, 29, 3, 7, 3, + 29, 4, 7, 3, 30, 85, 8, 3, + 30, 274, 8, 3, 30, 279, 8, 3, + 30, 279, 274, 3, 32, 1, 0, 3, + 32, 4, 0, 3, 34, 33, 275, 3, + 35, 151, 274, 3, 35, 153, 274, 3, + 35, 279, 8, 3, 35, 279, 274, 3, + 37, 39, 247, 3, 37, 39, 248, 3, + 37, 39, 249, 3, 37, 39, 250, 3, + 37, 39, 251, 3, 37, 39, 252, 3, + 39, 247, 1, 3, 39, 247, 2, 3, + 39, 247, 3, 3, 39, 247, 4, 3, + 39, 248, 1, 3, 39, 248, 2, 3, + 39, 248, 3, 3, 39, 248, 4, 3, + 39, 249, 1, 3, 39, 249, 2, 3, + 39, 249, 3, 3, 39, 249, 4, 3, + 39, 250, 1, 3, 39, 250, 2, 3, + 39, 250, 3, 3, 39, 250, 4, 3, + 39, 251, 1, 3, 39, 251, 2, 3, + 39, 251, 3, 3, 39, 251, 4, 3, + 39, 252, 1, 3, 39, 252, 2, 3, + 39, 252, 3, 3, 39, 252, 4, 3, + 45, 273, 1, 3, 45, 273, 2, 3, + 45, 273, 3, 3, 45, 273, 4, 3, + 45, 273, 275, 3, 47, 35, 69, 3, + 47, 35, 274, 3, 47, 35, 279, 3, + 52, 34, 33, 3, 53, 7, 2, 3, + 53, 7, 3, 3, 53, 7, 4, 3, + 53, 44, 0, 3, 53, 44, 1, 3, + 53, 44, 2, 3, 53, 44, 3, 3, + 53, 44, 4, 3, 53, 89, 1, 3, + 53, 89, 2, 3, 53, 89, 3, 3, + 53, 89, 4, 3, 63, 58, 0, 3, + 64, 59, 60, 3, 66, 25, 65, 3, + 68, 0, 1, 3, 71, 22, 12, 3, + 72, 0, 1, 3, 76, 2, 7, 3, + 76, 3, 7, 3, 76, 4, 7, 3, + 76, 7, 4, 3, 78, 22, 12, 3, + 81, 0, 1, 3, 84, 7, 1, 3, + 84, 7, 4, 3, 84, 27, 24, 3, + 84, 29, 7, 3, 86, 27, 24, 3, + 86, 87, 275, 3, 89, 2, 7, 3, + 89, 3, 7, 3, 89, 4, 7, 3, + 92, 103, 274, 3, 92, 151, 274, 3, + 93, 94, 0, 3, 93, 94, 1, 3, + 93, 94, 2, 3, 93, 94, 3, 3, + 93, 94, 4, 3, 95, 96, 0, 3, + 95, 96, 1, 3, 95, 96, 2, 3, + 95, 96, 3, 3, 95, 96, 4, 3, + 101, 102, 0, 3, 101, 102, 1, 3, + 101, 102, 2, 3, 101, 102, 3, 3, + 101, 102, 4, 3, 106, 108, 259, 3, + 106, 268, 274, 3, 151, 152, 274, 3, + 196, 240, 0, 3, 197, 240, 0, 3, + 198, 240, 0, 3, 199, 240, 0, 3, + 200, 240, 0, 3, 201, 240, 0, 3, + 202, 240, 0, 3, 203, 240, 0, 3, + 204, 240, 0, 3, 205, 240, 0, 3, + 206, 240, 0, 3, 207, 240, 0, 3, + 208, 240, 0, 3, 209, 240, 0, 3, + 210, 240, 0, 3, 211, 240, 0, 3, + 212, 240, 0, 3, 213, 240, 0, 3, + 214, 240, 0, 3, 215, 240, 0, 3, + 216, 240, 0, 3, 217, 240, 0, 3, + 218, 240, 0, 3, 219, 240, 0, 3, + 220, 240, 0, 3, 221, 240, 0, 3, + 222, 240, 0, 3, 223, 240, 0, 3, + 224, 240, 0, 3, 225, 240, 0, 3, + 226, 240, 0, 3, 227, 240, 0, 3, + 228, 240, 0, 3, 229, 240, 0, 3, + 230, 240, 0, 3, 231, 240, 0, 3, + 232, 240, 0, 3, 233, 240, 0, 3, + 234, 240, 0, 3, 235, 240, 0, 3, + 236, 240, 0, 3, 237, 240, 0, 3, + 238, 240, 0, 3, 239, 240, 0, 3, + 256, 34, 33, 3, 261, 262, 0, 3, + 261, 263, 0, 3, 264, 106, 274, 3, + 266, 267, 0, 3, 268, 106, 274, 3, + 274, 8, 85, 3, 275, 7, 1, 3, + 275, 7, 4, 3, 275, 27, 24, 3, + 275, 322, 1, 3, 277, 27, 24, 3, + 279, 274, 8, 3, 280, 273, 1, 3, + 280, 273, 2, 3, 280, 273, 3, 3, + 280, 273, 4, 3, 280, 273, 7, 3, + 280, 273, 275, 3, 281, 273, 1, 3, + 281, 273, 2, 3, 281, 273, 3, 3, + 281, 273, 4, 3, 281, 273, 275, 3, + 282, 273, 1, 3, 282, 273, 2, 3, + 282, 273, 3, 3, 282, 273, 4, 3, + 282, 273, 275, 3, 283, 273, 1, 3, + 283, 273, 2, 3, 283, 273, 3, 3, + 283, 273, 4, 3, 283, 273, 275, 3, + 284, 273, 1, 3, 284, 273, 2, 3, + 284, 273, 3, 3, 284, 273, 4, 3, + 284, 273, 275, 3, 285, 273, 1, 3, + 285, 273, 2, 3, 285, 273, 3, 3, + 285, 273, 4, 3, 285, 273, 275, 3, + 286, 273, 1, 3, 286, 273, 2, 3, + 286, 273, 3, 3, 286, 273, 4, 3, + 286, 273, 275, 3, 287, 273, 1, 3, + 287, 273, 2, 3, 287, 273, 3, 3, + 287, 273, 4, 3, 287, 273, 275, 3, + 288, 273, 1, 3, 288, 273, 2, 3, + 288, 273, 3, 3, 288, 273, 4, 3, + 288, 273, 275, 3, 289, 273, 1, 3, + 289, 273, 2, 3, 289, 273, 3, 3, + 289, 273, 4, 3, 289, 273, 275, 3, + 290, 273, 1, 3, 290, 273, 2, 3, + 290, 273, 3, 3, 290, 273, 4, 3, + 290, 273, 275, 3, 291, 273, 1, 3, + 291, 273, 2, 3, 291, 273, 3, 3, + 291, 273, 4, 3, 291, 273, 275, 3, + 292, 273, 1, 3, 292, 273, 2, 3, + 292, 273, 3, 3, 292, 273, 4, 3, + 292, 273, 275, 3, 293, 273, 1, 3, + 293, 273, 2, 3, 293, 273, 3, 3, + 293, 273, 4, 3, 293, 273, 275, 3, + 294, 273, 1, 3, 294, 273, 2, 3, + 294, 273, 3, 3, 294, 273, 4, 3, + 294, 273, 275, 3, 295, 273, 1, 3, + 295, 273, 2, 3, 295, 273, 3, 3, + 295, 273, 4, 3, 295, 273, 275, 3, + 296, 273, 1, 3, 296, 273, 2, 3, + 296, 273, 3, 3, 296, 273, 4, 3, + 296, 273, 275, 3, 297, 273, 1, 3, + 297, 273, 2, 3, 297, 273, 3, 3, + 297, 273, 4, 3, 297, 273, 275, 3, + 298, 273, 1, 3, 298, 273, 2, 3, + 298, 273, 3, 3, 298, 273, 4, 3, + 298, 273, 275, 3, 299, 273, 1, 3, + 299, 273, 2, 3, 299, 273, 3, 3, + 299, 273, 4, 3, 299, 273, 275, 3, + 300, 273, 1, 3, 300, 273, 2, 3, + 300, 273, 3, 3, 300, 273, 4, 3, + 300, 273, 275, 3, 301, 273, 1, 3, + 301, 273, 2, 3, 301, 273, 3, 3, + 301, 273, 4, 3, 301, 273, 275, 3, + 302, 273, 1, 3, 302, 273, 2, 3, + 302, 273, 3, 3, 302, 273, 4, 3, + 302, 273, 275, 3, 303, 273, 1, 3, + 303, 273, 2, 3, 303, 273, 3, 3, + 303, 273, 4, 3, 303, 273, 275, 3, + 304, 273, 1, 3, 304, 273, 2, 3, + 304, 273, 3, 3, 304, 273, 4, 3, + 304, 273, 275, 3, 305, 273, 1, 3, + 305, 273, 2, 3, 305, 273, 3, 3, + 305, 273, 4, 3, 305, 273, 275, 3, + 306, 273, 1, 3, 306, 273, 2, 3, + 306, 273, 3, 3, 306, 273, 4, 3, + 306, 273, 275, 3, 307, 273, 1, 3, + 307, 273, 2, 3, 307, 273, 3, 3, + 307, 273, 4, 3, 307, 273, 275, 3, + 308, 273, 1, 3, 308, 273, 2, 3, + 308, 273, 3, 3, 308, 273, 4, 3, + 308, 273, 275, 3, 309, 273, 1, 3, + 309, 273, 2, 3, 309, 273, 3, 3, + 309, 273, 4, 3, 309, 273, 275, 3, + 310, 273, 1, 3, 310, 273, 2, 3, + 310, 273, 3, 3, 310, 273, 4, 3, + 310, 273, 275, 3, 311, 273, 1, 3, + 311, 273, 2, 3, 311, 273, 3, 3, + 311, 273, 4, 3, 311, 273, 275, 3, + 312, 273, 1, 3, 312, 273, 2, 3, + 312, 273, 3, 3, 312, 273, 4, 3, + 312, 273, 275, 3, 313, 273, 1, 3, + 313, 273, 2, 3, 313, 273, 3, 3, + 313, 273, 4, 3, 313, 273, 275, 3, + 314, 273, 1, 3, 314, 273, 2, 3, + 314, 273, 3, 3, 314, 273, 4, 3, + 314, 273, 275, 3, 315, 273, 1, 3, + 315, 273, 2, 3, 315, 273, 3, 3, + 315, 273, 4, 3, 315, 273, 275, 3, + 316, 273, 1, 3, 316, 273, 2, 3, + 316, 273, 3, 3, 316, 273, 4, 3, + 316, 273, 275, 3, 317, 273, 1, 3, + 317, 273, 2, 3, 317, 273, 3, 3, + 317, 273, 4, 3, 317, 273, 275, 3, + 318, 273, 1, 3, 318, 273, 2, 3, + 318, 273, 3, 3, 318, 273, 4, 3, + 318, 273, 275, 3, 319, 273, 1, 3, + 319, 273, 2, 3, 319, 273, 3, 3, + 319, 273, 4, 3, 319, 273, 275, 3, + 320, 273, 1, 3, 320, 273, 2, 3, + 320, 273, 3, 3, 320, 273, 4, 3, + 320, 273, 275, 3, 321, 273, 1, 3, + 321, 273, 2, 3, 321, 273, 3, 3, + 321, 273, 4, 3, 321, 273, 275, 3, + 322, 1, 6, 4, 1, 7, 322, 29, + 4, 1, 275, 29, 7, 4, 4, 275, + 7, 29, 4, 4, 275, 29, 7, 4, + 6, 1, 7, 322, 4, 6, 1, 81, + 0, 4, 6, 68, 0, 1, 4, 6, + 72, 0, 1, 4, 6, 81, 0, 1, + 4, 7, 6, 322, 1, 4, 7, 68, + 0, 1, 4, 7, 322, 1, 6, 4, + 7, 322, 1, 29, 4, 17, 14, 20, + 0, 4, 19, 79, 7, 2, 4, 19, + 79, 7, 3, 4, 19, 79, 7, 4, + 4, 26, 1, 67, 0, 4, 26, 4, + 67, 0, 4, 28, 1, 7, 322, 4, + 28, 1, 278, 275, 4, 28, 1, 280, + 273, 4, 28, 2, 89, 7, 4, 28, + 2, 278, 275, 4, 28, 2, 280, 273, + 4, 28, 3, 89, 7, 4, 28, 3, + 278, 275, 4, 28, 3, 280, 273, 4, + 28, 4, 89, 7, 4, 28, 4, 278, + 275, 4, 28, 4, 280, 273, 4, 28, + 280, 273, 7, 4, 30, 35, 279, 8, + 4, 30, 47, 35, 279, 4, 30, 279, + 274, 8, 4, 34, 33, 27, 24, 4, + 35, 279, 274, 8, 4, 37, 34, 33, + 38, 4, 37, 39, 247, 1, 4, 37, + 39, 247, 2, 4, 37, 39, 247, 3, + 4, 37, 39, 247, 4, 4, 37, 39, + 248, 1, 4, 37, 39, 248, 2, 4, + 37, 39, 248, 3, 4, 37, 39, 248, + 4, 4, 37, 39, 249, 1, 4, 37, + 39, 249, 2, 4, 37, 39, 249, 3, + 4, 37, 39, 249, 4, 4, 37, 39, + 250, 1, 4, 37, 39, 250, 2, 4, + 37, 39, 250, 3, 4, 37, 39, 250, + 4, 4, 37, 39, 251, 1, 4, 37, + 39, 251, 2, 4, 37, 39, 251, 3, + 4, 37, 39, 251, 4, 4, 37, 39, + 252, 1, 4, 37, 39, 252, 2, 4, + 37, 39, 252, 3, 4, 37, 39, 252, + 4, 4, 39, 249, 257, 0, 4, 39, + 250, 257, 0, 4, 39, 251, 257, 0, + 4, 39, 252, 257, 0, 4, 40, 36, + 34, 33, 4, 41, 36, 34, 33, 4, + 45, 273, 1, 275, 4, 45, 273, 4, + 275, 4, 47, 35, 8, 69, 4, 53, + 52, 34, 33, 4, 71, 22, 12, 13, + 4, 78, 22, 12, 13, 4, 84, 29, + 1, 7, 4, 84, 29, 2, 7, 4, + 84, 29, 3, 7, 4, 84, 29, 4, + 7, 4, 86, 87, 27, 24, 4, 89, + 1, 7, 322, 4, 92, 151, 152, 274, + 4, 93, 94, 1, 0, 4, 93, 94, + 4, 0, 4, 95, 96, 1, 0, 4, + 95, 96, 4, 0, 4, 101, 102, 1, + 0, 4, 101, 102, 4, 0, 4, 196, + 1, 240, 0, 4, 196, 4, 240, 0, + 4, 197, 1, 240, 0, 4, 197, 4, + 240, 0, 4, 198, 1, 240, 0, 4, + 198, 4, 240, 0, 4, 199, 1, 240, + 0, 4, 199, 4, 240, 0, 4, 200, + 1, 240, 0, 4, 200, 4, 240, 0, + 4, 201, 1, 240, 0, 4, 201, 4, + 240, 0, 4, 202, 1, 240, 0, 4, + 202, 4, 240, 0, 4, 203, 1, 240, + 0, 4, 203, 4, 240, 0, 4, 204, + 1, 240, 0, 4, 204, 4, 240, 0, + 4, 205, 1, 240, 0, 4, 205, 4, + 240, 0, 4, 206, 1, 240, 0, 4, + 206, 4, 240, 0, 4, 207, 1, 240, + 0, 4, 207, 4, 240, 0, 4, 208, + 1, 240, 0, 4, 208, 4, 240, 0, + 4, 209, 1, 240, 0, 4, 209, 4, + 240, 0, 4, 210, 1, 240, 0, 4, + 210, 4, 240, 0, 4, 211, 1, 240, + 0, 4, 211, 4, 240, 0, 4, 212, + 1, 240, 0, 4, 212, 4, 240, 0, + 4, 213, 1, 240, 0, 4, 213, 4, + 240, 0, 4, 214, 1, 240, 0, 4, + 214, 4, 240, 0, 4, 215, 1, 240, + 0, 4, 215, 4, 240, 0, 4, 216, + 1, 240, 0, 4, 216, 4, 240, 0, + 4, 217, 1, 240, 0, 4, 217, 4, + 240, 0, 4, 218, 1, 240, 0, 4, + 218, 4, 240, 0, 4, 219, 1, 240, + 0, 4, 219, 4, 240, 0, 4, 220, + 1, 240, 0, 4, 220, 4, 240, 0, + 4, 221, 1, 240, 0, 4, 221, 4, + 240, 0, 4, 222, 1, 240, 0, 4, + 222, 4, 240, 0, 4, 223, 1, 240, + 0, 4, 223, 4, 240, 0, 4, 224, + 1, 240, 0, 4, 224, 4, 240, 0, + 4, 225, 1, 240, 0, 4, 225, 4, + 240, 0, 4, 226, 1, 240, 0, 4, + 226, 4, 240, 0, 4, 227, 1, 240, + 0, 4, 227, 4, 240, 0, 4, 228, + 1, 240, 0, 4, 228, 4, 240, 0, + 4, 229, 1, 240, 0, 4, 229, 4, + 240, 0, 4, 230, 1, 240, 0, 4, + 230, 4, 240, 0, 4, 231, 1, 240, + 0, 4, 231, 4, 240, 0, 4, 232, + 1, 240, 0, 4, 232, 4, 240, 0, + 4, 233, 1, 240, 0, 4, 233, 4, + 240, 0, 4, 234, 1, 240, 0, 4, + 234, 4, 240, 0, 4, 235, 1, 240, + 0, 4, 235, 4, 240, 0, 4, 236, + 1, 240, 0, 4, 236, 4, 240, 0, + 4, 237, 1, 240, 0, 4, 237, 4, + 240, 0, 4, 238, 1, 240, 0, 4, + 238, 4, 240, 0, 4, 239, 1, 240, + 0, 4, 239, 4, 240, 0, 4, 275, + 7, 322, 1, 4, 280, 273, 1, 275, + 4, 280, 273, 2, 7, 4, 280, 273, + 3, 7, 4, 280, 273, 4, 7, 4, + 280, 273, 4, 275, 4, 281, 273, 1, + 275, 4, 281, 273, 4, 275, 4, 282, + 273, 1, 275, 4, 282, 273, 4, 275, + 4, 283, 273, 1, 275, 4, 283, 273, + 4, 275, 4, 284, 273, 1, 275, 4, + 284, 273, 4, 275, 4, 285, 273, 1, + 275, 4, 285, 273, 4, 275, 4, 286, + 273, 1, 275, 4, 286, 273, 4, 275, + 4, 287, 273, 1, 275, 4, 287, 273, + 4, 275, 4, 288, 273, 1, 275, 4, + 288, 273, 4, 275, 4, 289, 273, 1, + 275, 4, 289, 273, 4, 275, 4, 290, + 273, 1, 275, 4, 290, 273, 4, 275, + 4, 291, 273, 1, 275, 4, 291, 273, + 4, 275, 4, 292, 273, 1, 275, 4, + 292, 273, 4, 275, 4, 293, 273, 1, + 275, 4, 293, 273, 4, 275, 4, 294, + 273, 1, 275, 4, 294, 273, 4, 275, + 4, 295, 273, 1, 275, 4, 295, 273, + 4, 275, 4, 296, 273, 1, 275, 4, + 296, 273, 4, 275, 4, 297, 273, 1, + 275, 4, 297, 273, 4, 275, 4, 298, + 273, 1, 275, 4, 298, 273, 4, 275, + 4, 299, 273, 1, 275, 4, 299, 273, + 4, 275, 4, 300, 273, 1, 275, 4, + 300, 273, 4, 275, 4, 301, 273, 1, + 275, 4, 301, 273, 4, 275, 4, 302, + 273, 1, 275, 4, 302, 273, 4, 275, + 4, 303, 273, 1, 275, 4, 303, 273, + 4, 275, 4, 304, 273, 1, 275, 4, + 304, 273, 4, 275, 4, 305, 273, 1, + 275, 4, 305, 273, 4, 275, 4, 306, + 273, 1, 275, 4, 306, 273, 4, 275, + 4, 307, 273, 1, 275, 4, 307, 273, + 4, 275, 4, 308, 273, 1, 275, 4, + 308, 273, 4, 275, 4, 309, 273, 1, + 275, 4, 309, 273, 4, 275, 4, 310, + 273, 1, 275, 4, 310, 273, 4, 275, + 4, 311, 273, 1, 275, 4, 311, 273, + 4, 275, 4, 312, 273, 1, 275, 4, + 312, 273, 4, 275, 4, 313, 273, 1, + 275, 4, 313, 273, 4, 275, 4, 314, + 273, 1, 275, 4, 314, 273, 4, 275, + 4, 315, 273, 1, 275, 4, 315, 273, + 4, 275, 4, 316, 273, 1, 275, 4, + 316, 273, 4, 275, 4, 317, 273, 1, + 275, 4, 317, 273, 4, 275, 4, 318, + 273, 1, 275, 4, 318, 273, 4, 275, + 4, 319, 273, 1, 275, 4, 319, 273, + 4, 275, 4, 320, 273, 1, 275, 4, + 320, 273, 4, 275, 4, 321, 273, 1, + 275, 4, 321, 273, 4, 275, 5, 19, + 7, 72, 0, 1, 5, 28, 1, 89, + 7, 322, 5, 28, 1, 280, 273, 275, + 5, 28, 2, 280, 273, 7, 5, 28, + 3, 280, 273, 7, 5, 28, 4, 280, + 273, 7, 5, 28, 4, 280, 273, 275, + 5, 30, 35, 279, 274, 8, 5, 34, + 33, 275, 27, 24, 5, 37, 39, 249, + 257, 0, 5, 37, 39, 250, 257, 0, + 5, 37, 39, 251, 257, 0, 5, 37, + 39, 252, 257, 0, 5, 39, 249, 1, + 257, 0, 5, 39, 249, 4, 257, 0, + 5, 39, 250, 1, 257, 0, 5, 39, + 250, 4, 257, 0, 5, 39, 251, 1, + 257, 0, 5, 39, 251, 4, 257, 0, + 5, 39, 252, 1, 257, 0, 5, 39, + 252, 4, 257, 0, 5, 47, 35, 279, + 274, 8, 5, 53, 7, 68, 0, 1, + 5, 76, 7, 81, 0, 1, 5, 86, + 87, 275, 27, 24, 5, 255, 40, 36, + 34, 33, 5, 280, 273, 1, 7, 322, + 5, 280, 273, 4, 275, 7, 5, 280, + 273, 275, 7, 4, 6, 19, 79, 7, + 81, 0, 1, 6, 28, 1, 280, 273, + 7, 322, 6, 28, 4, 280, 273, 275, + 7, 6, 30, 47, 35, 279, 274, 8, + 6, 37, 39, 249, 1, 257, 0, 6, + 37, 39, 249, 4, 257, 0, 6, 37, + 39, 250, 1, 257, 0, 6, 37, 39, + 250, 4, 257, 0, 6, 37, 39, 251, + 1, 257, 0, 6, 37, 39, 251, 4, + 257, 0, 6, 37, 39, 252, 1, 257, + 0, 6, 37, 39, 252, 4, 257, 0, + 6, 280, 273, 1, 275, 7, 322, 6, + 280, 273, 275, 7, 322, 1, 7, 28, + 1, 280, 273, 275, 7, 322 +}; + +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, + 50, 52, 52, 52, 52, 54, 54, 54, + 54, 56, 58, 58, 58, 58, 58, 60, + 60, 62, 62, 62, 62, 62, 64, 64, + 66, 68, 68, 68, 68, 68, 68, 68, + 68, 70, 70, 70, 72, 74, 74, 74, + 76, 76, 78, 78, 80, 82, 82, 82, + 82, 82, 84, 86, 86, 86, 86, 86, + 88, 88, 90, 92, 92, 94, 96, 96, + 96, 96, 96, 98, 98, 98, 100, 100, + 102, 102, 102, 102, 104, 106, 106, 106, + 108, 108, 110, 110, 112, 112, 112, 112, + 114, 114, 114, 114, 116, 116, 118, 118, + 118, 118, 120, 120, 120, 122, 125, 127, + 127, 129, 131, 133, 135, 135, 137, 140, + 140, 140, 140, 140, 140, 140, 140, 140, + 140, 142, 144, 147, 149, 151, 154, 156, + 156, 158, 161, 163, 165, 167, 169, 171, + 174, 176, 178, 180, 182, 184, 186, 188, + 190, 192, 194, 196, 198, 200, 202, 204, + 206, 208, 211, 213, 213, 213, 213, 213, + 213, 213, 213, 213, 213, 215, 217, 219, + 222, 224, 226, 228, 230, 232, 234, 236, + 238, 240, 242, 244, 246, 248, 250, 252, + 254, 256, 258, 263, 268, 273, 278, 278, + 278, 280, 280, 280, 280, 282, 282, 284, + 287, 289, 291, 296, 301, 306, 311, 314, + 316, 321, 326, 328, 330, 332, 334, 336, + 338, 340, 342, 344, 346, 348, 350, 352, + 354, 357, 360, 362, 365, 365, 365, 365, + 365, 365, 365, 365, 365, 365, 365, 365, + 365, 365, 365, 365, 365, 365, 366, 366, + 366, 366, 366, 367, 369, 371, 373, 375, + 375, 377, 377, 379, 382, 384, 386, 386, + 388, 390, 390, 390, 390, 390, 390, 392, + 395, 397, 399, 401, 403, 403, 405, 407, + 407, 407, 407, 407, 407, 409, 412, 414, + 417, 420, 420, 420, 420, 420, 422, 425, + 425, 427, 429, 431, 431, 431, 433, 436, + 436, 436, 438, 438, 438, 438, 438, 438, + 440, 442, 442, 442, 444, 444, 444, 444, + 446, 446, 446, 446, 446, 448, 448, 448, + 448, 450, 450, 450, 450, 452, 454, 454, + 454, 454, 454, 456, 456, 458, 458, 458, + 458, 458, 460, 460, 460, 460, 460, 460, + 460, 460, 462, 462, 462, 464, 466, 466, + 466, 468, 468, 470, 470, 472, 474, 474, + 474, 474, 474, 476, 478, 478, 478, 478, + 478, 480, 480, 482, 484, 484, 486, 488, + 488, 488, 488, 488, 490, 490, 490, 492, + 492, 494, 494, 494, 494, 496, 498, 498, + 498, 500, 500, 502, 502, 504, 504, 504, + 504, 506, 506, 506, 506, 508, 508, 510, + 510, 510, 510, 512, 512, 512, 514, 514, + 514, 514, 516, 516, 518, 520, 522, 524, + 526, 526, 528, 531, 534, 537, 539, 541, + 543, 545, 545, 547, 550, 553, 555, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 558, 560, 562, + 564, 566, 568, 570, 572, 574, 576, 578, + 580, 582, 582, 582, 582, 582, 585, 587, + 587, 589, 592, 594, 594, 596, 599, 601, + 601, 603, 606, 609, 612, 612, 614, 616, + 616, 619, 619, 621, 623, 623, 626, 626, + 628, 630, 630, 633, 633, 635, 637, 640, + 640, 640, 640, 642, 644, 646, 648, 650, + 652, 654, 656, 658, 660, 662, 664, 666, + 668, 670, 672, 672, 674, 676, 678, 680, + 682, 684, 686, 688, 691, 693, 695, 698, + 700, 702, 704, 707, 709, 711, 713, 716, + 718, 720, 722, 725, 727, 730, 732, 734, + 737, 740, 743, 745, 748, 750, 752, 755, + 758, 758, 760, 762, 764, 766, 768, 770, + 770, 773, 776, 779, 779, 781, 783, 785, + 787, 789, 791, 793, 795, 797, 799, 799, + 802, 805, 808, 811, 814, 814, 816, 818, + 820, 822, 824, 826, 828, 831, 834, 837, + 839, 839, 839, 839, 839, 839, 841, 844, + 844, 844, 844, 844, 846, 848, 850, 852, + 854, 856, 856, 858, 861, 864, 867, 870, + 870, 872, 874, 876, 878, 878, 880, 883, + 886, 889, 889, 891, 893, 895, 897, 899, + 901, 907, 918, 920, 923, 929, 932, 943, + 946, 949, 952, 954, 956, 958, 960, 966, + 969, 972, 974, 976, 978, 980, 986, 989, + 992, 994, 996, 998, 1000, 1006, 1009, 1012, + 1015, 1015, 1017, 1019, 1021, 1023, 1025, 1027, + 1029, 1031, 1033, 1035, 1037, 1039, 1041, 1043, + 1045, 1047, 1049, 1052, 1055, 1058, 1061, 1064, + 1067, 1070, 1073, 1073, 1073, 1075, 1075, 1075, + 1075, 1077, 1077, 1079, 1079, 1079, 1081, 1081, + 1081, 1081, 1081, 1081, 1083, 1085, 1085, 1085, + 1087, 1087, 1087, 1087, 1089, 1089, 1089, 1089, + 1089, 1091, 1091, 1091, 1091, 1093, 1093, 1093, + 1093, 1095, 1097, 1097, 1097, 1097, 1097, 1099, + 1099, 1101, 1101, 1101, 1101, 1101, 1103, 1103, + 1103, 1103, 1103, 1103, 1103, 1103, 1105, 1105, + 1105, 1107, 1109, 1109, 1109, 1111, 1111, 1113, + 1113, 1115, 1117, 1117, 1117, 1117, 1117, 1119, + 1121, 1121, 1121, 1121, 1121, 1123, 1123, 1125, + 1127, 1127, 1129, 1131, 1131, 1131, 1131, 1131, + 1133, 1133, 1133, 1135, 1135, 1137, 1137, 1137, + 1137, 1139, 1141, 1141, 1141, 1143, 1143, 1145, + 1145, 1147, 1147, 1147, 1147, 1149, 1149, 1149, + 1149, 1151, 1151, 1153, 1153, 1153, 1153, 1155, + 1155, 1155, 1157, 1157, 1157, 1157, 1157, 1159, + 1161, 1163, 1165, 1167, 1169, 1171, 1174, 1177, + 1180, 1180, 1182, 1182, 1184, 1186, 1188, 1190, + 1192, 1194, 1196, 1198, 1198, 1198, 1198, 1198, + 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, + 1198, 1198, 1201, 1201, 1203, 1206, 1209, 1212, + 1212, 1214, 1216, 1218, 1220, 1222, 1224, 1224, + 1224, 1224, 1227, 1230, 1233, 1233, 1235, 1237, + 1239, 1241, 1243, 1245, 1245, 1247, 1250, 1253, + 1256, 1259, 1259, 1261, 1263, 1263, 1266, 1266, + 1268, 1270, 1270, 1270, 1270, 1270, 1270, 1270, + 1270, 1270, 1270, 1273, 1273, 1273, 1273, 1273, + 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, + 1273, 1275, 1277, 1279, 1281, 1281, 1284, 1287, + 1287, 1289, 1291, 1293, 1295, 1295, 1298, 1301, + 1303, 1305, 1307, 1309, 1311, 1313, 1315, 1317, + 1319, 1321, 1321, 1321, 1321, 1321, 1321, 1321, + 1321, 1323, 1323, 1325, 1328, 1328, 1330, 1333, + 1333, 1335, 1338, 1340, 1340, 1342, 1345, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1350, 1353, 1353, 1353, 1355, 1358, 1360, + 1363, 1365, 1368, 1370, 1373, 1373, 1373, 1373, + 1373, 1375, 1378, 1378, 1380, 1383, 1383, 1385, + 1388, 1388, 1394, 1397, 1408, 1411, 1422, 1425, + 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1427, + 1430, 1430, 1430, 1430, 1430, 1430 +}; + +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, 0, + 2, 0, 0, 0, 2, 0, 0, 0, + 2, 2, 0, 0, 0, 0, 2, 0, + 2, 0, 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, 2, 0, 2, + 0, 0, 0, 2, 2, 0, 0, 2, + 0, 2, 0, 2, 0, 0, 0, 2, + 0, 0, 0, 2, 0, 2, 0, 0, + 0, 2, 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, 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, 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, + 3, 3, 2, 3, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 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, 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, 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, 2, 0, + 2, 0, 0, 0, 2, 2, 0, 0, + 2, 0, 2, 0, 2, 0, 0, 0, + 2, 0, 0, 0, 2, 0, 2, 0, + 0, 0, 2, 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, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 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, 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, 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, 2, 0, 2, 0, 0, 0, + 2, 2, 0, 0, 2, 0, 2, 0, + 2, 0, 0, 0, 2, 0, 0, 0, + 2, 0, 2, 0, 0, 0, 2, 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, 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, 2, + 2, 2, 2, 2, 2, 2, 2, 2, + 2, 0, 0, 0, 0, 0, 0, 0, + 2, 0, 2, 3, 0, 2, 3, 0, + 2, 3, 2, 0, 2, 3, 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, 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, -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, + -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, -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, -128, 9, 10, 10, + 11, 127, -128, 9, 10, 10, 11, 127, + 10, 10, 59, 59, -128, 9, 10, 10, + 11, 127, 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, + -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, + 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, -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, -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, 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, + 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, 0 +}; + +static const char _zone_scanner_cond_spaces[] = { + 0, 0, 0, 0, 0, 0, 5, 5, + 5, 5, 0, 0, 0, 0, 0, 0, + 0, 5, 5, 5, 5, 0, 0, 0, + 5, 5, 0, 0, 0, 0, 5, 5, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 0, 0, 0, 0, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 5, 5, 5, 5, 5, 5, 5, + 5, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5, 5, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5, 5, + 5, 5, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5, 5, + 5, 5, 5, 5, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5, 5, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5, 5, 0, 0, + 0, 5, 5, 5, 5, 5, 5, 5, + 5, 0, 0, 0, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 0, 0, + 0, 0, 0, 0, 0, 0, 5, 5, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 5, 5, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 5, 5, 5, 5, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, + 0, 0, 0, 5, 5, 5, 5, 0, + 0, 0, 5, 5, 5, 5, 5, 5, + 0, 0, 0, 5, 5, 5, 5, 5, + 5, 0, 0, 0, 5, 5, 5, 5, + 5, 5, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 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, 5, 5, 5, + 5, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 5, 5, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5, 5, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 8, 11, 8, + 8, 8, 11, 3, 6, 3, 3, 3, + 3, 3, 3, 6, 3, 3, 1, 1, + 6, 6, 6, 4, 9, 4, 4, 4, + 9, 7, 7, 7, 8, 11, 8, 8, + 8, 3, 3, 3, 11, 3, 3, 10, + 10, 10, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 8, 11, 8, 8, 8, 11, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 8, 11, 8, 8, + 8, 11, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 8, 11, 8, 8, 8, 11, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 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, 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, 5, 5, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 5, + 5, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 5, 5, 5, 5, 5, + 5, 0, 0, 5, 5, 0, 0, 0, + 5, 5, 0, 0, 0, 5, 5, 0, + 0, 0, 0, 0, 5, 5, 0, 0, + 0, 0, 0, 0, 5, 5, 0, 0, + 0, 5, 5, 0, 0, 0, 5, 5, + 0, 0, 0, 5, 5, 0, 0, 0, + 5, 5, 0, 0, 0, 5, 5, 0, + 0, 0, 5, 5, 0, 0, 0, 5, + 5, 0, 0, 0, 4, 9, 4, 4, + 4, 9, 7, 7, 7, 3, 6, 3, + 3, 3, 3, 3, 3, 6, 3, 3, + 6, 6, 6, 8, 11, 8, 8, 8, + 3, 3, 3, 11, 3, 3, 10, 10, + 10, 5, 5, 0, 0, 0, 0 +}; + +static const short _zone_scanner_key_offsets[] = { + 0, 0, 40, 58, 94, 110, 127, 135, + 143, 144, 145, 148, 167, 186, 192, 244, + 264, 302, 310, 312, 322, 336, 350, 354, + 356, 358, 360, 362, 372, 382, 384, 386, + 396, 398, 400, 402, 412, 418, 420, 422, + 424, 434, 438, 440, 442, 452, 454, 456, + 458, 468, 478, 480, 482, 484, 485, 495, + 496, 506, 508, 510, 512, 514, 524, 528, + 534, 570, 572, 574, 576, 578, 580, 582, + 584, 594, 598, 600, 610, 620, 626, 627, + 637, 638, 648, 650, 660, 670, 674, 676, + 678, 680, 690, 700, 706, 708, 710, 712, + 722, 724, 734, 746, 748, 759, 771, 773, + 775, 777, 779, 789, 791, 793, 803, 809, + 819, 821, 823, 825, 835, 845, 853, 855, + 865, 867, 877, 879, 889, 891, 893, 895, + 905, 911, 913, 915, 925, 927, 937, 939, + 941, 943, 955, 957, 959, 969, 972, 1012, + 1016, 1022, 1060, 1078, 1086, 1098, 1106, 1109, + 1110, 1116, 1118, 1120, 1122, 1124, 1126, 1128, + 1134, 1140, 1178, 1181, 1199, 1237, 1240, 1248, + 1260, 1268, 1271, 1287, 1337, 1355, 1374, 1414, + 1420, 1434, 1448, 1500, 1516, 1530, 1540, 1550, + 1562, 1574, 1588, 1600, 1614, 1624, 1638, 1654, + 1668, 1678, 1684, 1698, 1700, 1702, 1704, 1706, + 1708, 1714, 1716, 1718, 1724, 1732, 1752, 1792, + 1798, 1816, 1868, 1884, 1898, 1908, 1918, 1930, + 1942, 1956, 1968, 1982, 1992, 2006, 2022, 2036, + 2046, 2061, 2101, 2115, 2129, 2145, 2161, 2163, + 2165, 2175, 2177, 2179, 2181, 2191, 2193, 2203, + 2209, 2223, 2237, 2253, 2269, 2285, 2301, 2304, + 2356, 2370, 2384, 2398, 2410, 2418, 2426, 2436, + 2446, 2458, 2468, 2480, 2488, 2500, 2514, 2526, + 2534, 2540, 2546, 2556, 2562, 2563, 2564, 2575, + 2591, 2607, 2609, 2611, 2613, 2629, 2635, 2641, + 2647, 2659, 2665, 2667, 2669, 2681, 2687, 2693, + 2699, 2701, 2703, 2709, 2715, 2723, 2743, 2751, + 2752, 2762, 2774, 2784, 2787, 2793, 2809, 2819, + 2837, 2845, 2846, 2848, 2850, 2852, 2862, 2870, + 2873, 2879, 2891, 2899, 2917, 2927, 2945, 2953, + 2954, 2956, 2958, 2960, 2970, 2978, 2984, 3000, + 3003, 3006, 3013, 3020, 3028, 3036, 3053, 3056, + 3057, 3067, 3107, 3123, 3125, 3127, 3137, 3140, + 3148, 3150, 3160, 3164, 3166, 3168, 3170, 3172, + 3182, 3192, 3194, 3196, 3206, 3208, 3210, 3212, + 3222, 3228, 3230, 3232, 3234, 3244, 3248, 3250, + 3252, 3262, 3264, 3266, 3268, 3278, 3288, 3290, + 3292, 3294, 3295, 3305, 3306, 3316, 3318, 3320, + 3322, 3324, 3334, 3336, 3338, 3340, 3342, 3344, + 3346, 3348, 3358, 3362, 3364, 3374, 3384, 3390, + 3391, 3401, 3402, 3412, 3414, 3424, 3434, 3438, + 3440, 3442, 3444, 3454, 3464, 3470, 3472, 3474, + 3476, 3486, 3488, 3498, 3510, 3512, 3523, 3535, + 3537, 3539, 3541, 3543, 3553, 3555, 3557, 3567, + 3573, 3583, 3585, 3587, 3589, 3599, 3609, 3617, + 3619, 3629, 3631, 3641, 3643, 3653, 3655, 3657, + 3659, 3669, 3675, 3677, 3679, 3689, 3691, 3701, + 3703, 3705, 3707, 3719, 3721, 3723, 3733, 3735, + 3737, 3739, 3749, 3751, 3761, 3767, 3775, 3783, + 3795, 3801, 3817, 3820, 3823, 3826, 3832, 3841, + 3851, 3863, 3869, 3885, 3888, 3891, 3899, 3902, + 3914, 3922, 3926, 3932, 3934, 3941, 3943, 3945, + 3947, 3949, 3950, 3951, 3953, 3955, 3957, 3958, + 3964, 3968, 3972, 3973, 3975, 3977, 3979, 3981, + 3987, 3989, 3991, 3993, 3995, 3996, 3997, 3999, + 4001, 4003, 4004, 4005, 4006, 4012, 4013, 4014, + 4016, 4018, 4020, 4021, 4022, 4023, 4029, 4031, + 4032, 4033, 4034, 4035, 4041, 4042, 4043, 4049, + 4051, 4053, 4055, 4057, 4059, 4061, 4063, 4069, + 4071, 4073, 4075, 4077, 4079, 4081, 4085, 4087, + 4089, 4095, 4097, 4099, 4105, 4107, 4109, 4113, + 4115, 4116, 4122, 4124, 4126, 4129, 4136, 4138, + 4140, 4142, 4144, 4145, 4146, 4148, 4150, 4152, + 4153, 4159, 4160, 4161, 4167, 4168, 4169, 4175, + 4189, 4197, 4199, 4201, 4203, 4205, 4207, 4213, + 4219, 4221, 4223, 4225, 4227, 4229, 4235, 4239, + 4241, 4247, 4249, 4251, 4257, 4259, 4261, 4263, + 4269, 4271, 4273, 4279, 4283, 4285, 4291, 4293, + 4295, 4301, 4303, 4305, 4307, 4313, 4315, 4317, + 4323, 4326, 4335, 4344, 4350, 4359, 4365, 4380, + 4386, 4394, 4402, 4410, 4428, 4436, 4454, 4462, + 4480, 4488, 4506, 4514, 4526, 4534, 4537, 4545, + 4557, 4565, 4568, 4576, 4588, 4596, 4599, 4607, + 4619, 4627, 4630, 4633, 4636, 4642, 4648, 4660, + 4666, 4669, 4678, 4684, 4699, 4705, 4708, 4710, + 4718, 4733, 4739, 4742, 4748, 4758, 4774, 4777, + 4784, 4797, 4799, 4807, 4817, 4825, 4835, 4844, + 4852, 4858, 4866, 4874, 4884, 4892, 4902, 4911, + 4919, 4925, 4934, 4936, 4950, 4962, 4976, 4988, + 5002, 5014, 5028, 5038, 5041, 5054, 5067, 5070, + 5083, 5096, 5106, 5109, 5122, 5135, 5145, 5148, + 5161, 5174, 5184, 5187, 5193, 5196, 5204, 5212, + 5215, 5218, 5221, 5227, 5230, 5238, 5246, 5249, + 5252, 5254, 5262, 5270, 5278, 5286, 5294, 5309, + 5315, 5318, 5321, 5324, 5326, 5334, 5342, 5350, + 5362, 5368, 5380, 5386, 5398, 5404, 5419, 5425, + 5428, 5431, 5434, 5437, 5440, 5446, 5452, 5460, + 5468, 5480, 5486, 5499, 5501, 5504, 5507, 5510, + 5523, 5525, 5526, 5529, 5532, 5534, 5546, 5549, + 5550, 5557, 5564, 5566, 5574, 5586, 5592, 5600, + 5608, 5620, 5626, 5642, 5645, 5648, 5651, 5654, + 5656, 5664, 5672, 5680, 5692, 5698, 5714, 5717, + 5720, 5723, 5725, 5733, 5743, 5749, 5757, 5765, + 5772, 5806, 5819, 5821, 5824, 5838, 5841, 5882, + 5891, 5894, 5897, 5903, 5911, 5919, 5928, 5965, + 5968, 5971, 5977, 5985, 5993, 6006, 6047, 6050, + 6053, 6059, 6067, 6075, 6090, 6124, 6127, 6130, + 6133, 6163, 6175, 6187, 6193, 6201, 6209, 6217, + 6225, 6233, 6241, 6249, 6257, 6265, 6273, 6288, + 6294, 6307, 6309, 6312, 6315, 6318, 6321, 6324, + 6327, 6330, 6333, 6335, 6337, 6343, 6345, 6347, + 6349, 6355, 6357, 6363, 6371, 6373, 6379, 6383, + 6385, 6387, 6389, 6391, 6397, 6403, 6405, 6407, + 6413, 6415, 6417, 6419, 6425, 6431, 6433, 6435, + 6437, 6443, 6447, 6449, 6451, 6457, 6459, 6461, + 6463, 6469, 6475, 6477, 6479, 6481, 6482, 6488, + 6489, 6495, 6497, 6499, 6501, 6503, 6509, 6511, + 6513, 6515, 6517, 6519, 6521, 6523, 6529, 6533, + 6535, 6541, 6547, 6553, 6554, 6560, 6561, 6567, + 6569, 6575, 6581, 6585, 6587, 6589, 6591, 6597, + 6603, 6609, 6611, 6613, 6615, 6621, 6623, 6629, + 6637, 6639, 6646, 6654, 6656, 6658, 6660, 6662, + 6668, 6670, 6672, 6678, 6684, 6690, 6692, 6694, + 6696, 6702, 6708, 6716, 6718, 6724, 6726, 6732, + 6734, 6740, 6742, 6744, 6746, 6752, 6758, 6760, + 6762, 6768, 6770, 6776, 6778, 6780, 6782, 6790, + 6792, 6794, 6800, 6809, 6815, 6821, 6823, 6831, + 6839, 6847, 6859, 6865, 6878, 6880, 6883, 6886, + 6889, 6896, 6898, 6900, 6908, 6916, 6924, 6932, + 6940, 6953, 6959, 6971, 6977, 6984, 6990, 6997, + 7004, 7010, 7017, 7029, 7035, 7036, 7037, 7038, + 7039, 7040, 7043, 7049, 7061, 7064, 7067, 7070, + 7072, 7080, 7088, 7096, 7104, 7112, 7125, 7131, + 7137, 7149, 7152, 7155, 7158, 7160, 7168, 7176, + 7184, 7192, 7200, 7212, 7218, 7234, 7237, 7240, + 7243, 7246, 7248, 7256, 7265, 7274, 7277, 7279, + 7287, 7299, 7305, 7311, 7317, 7318, 7324, 7330, + 7336, 7342, 7349, 7352, 7358, 7364, 7365, 7371, + 7377, 7384, 7390, 7396, 7397, 7403, 7409, 7416, + 7418, 7426, 7434, 7442, 7454, 7460, 7463, 7466, + 7468, 7476, 7488, 7494, 7506, 7512, 7515, 7518, + 7536, 7569, 7617, 7667, 7685, 7735, 7753, 7786, + 7851, 7916, 7916, 7916, 7916, 7928, 7928, 7928, + 7928, 7944, 7944, 7961, 7964, 7964, 8004, 8007, + 8007, 8023, 8026, 8038, 8038, 8054, 8057, 8060, + 8060, 8060, 8060, 8060, 8060, 8060, 8060, 8060, + 8060, 8076, 8079, 8079, 8079, 8089, 8092, 8104, + 8107, 8119, 8122, 8134, 8137, 8137, 8137, 8137, + 8137, 8150, 8153, 8153, 8169, 8172, 8172, 8188, + 8191, 8191, 8205, 8208, 8221, 8224, 8265, 8274, + 8274, 8274, 8274, 8274, 8274, 8274, 8274, 8290, + 8293, 8293, 8293, 8293, 8293, 8293 +}; + +static const short _zone_scanner_trans_keys[] = { + 9, 32, 40, 41, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 80, 82, + 83, 84, 85, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 112, 114, 115, + 116, 117, 778, 827, 1034, 1083, 48, 57, + 9, 32, 40, 41, 68, 72, 77, 83, + 87, 100, 104, 109, 115, 119, 1034, 1083, + 48, 57, 9, 32, 40, 41, 65, 67, + 68, 69, 72, 73, 75, 76, 77, 78, + 80, 82, 83, 84, 85, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 112, + 114, 115, 116, 117, 1034, 1083, 9, 32, + 40, 41, 65, 70, 80, 97, 102, 112, + 2058, 2107, 2314, 2363, 2570, 2619, 9, 32, + 40, 41, 92, 2058, 2107, 2314, 2363, 2570, + 2619, -128, 8, 11, 58, 60, 127, 9, + 32, 40, 41, 778, 827, 1034, 1083, 9, + 32, 40, 41, 778, 827, 1034, 1083, 10, + 35, 1034, 896, 1151, 9, 32, 40, 41, + 92, 1802, 1851, 2058, 2107, 2314, 2363, 2570, + 2619, -128, 8, 11, 58, 60, 127, 9, + 32, 40, 41, 92, 1802, 1851, 2058, 2107, + 2314, 2363, 2570, 2619, -128, 8, 11, 58, + 60, 127, 778, 1034, 640, 895, 896, 1151, + 9, 32, 40, 41, 58, 65, 67, 68, + 69, 72, 73, 75, 76, 77, 78, 80, + 82, 83, 84, 85, 92, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 112, + 114, 115, 116, 117, 1802, 1851, 2058, 2107, + 2314, 2363, 2570, 2619, -128, 8, 11, 47, + 48, 57, 60, 127, 9, 32, 40, 41, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 778, 827, 1034, 1083, 48, 57, + 9, 32, 40, 41, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 80, 82, + 83, 84, 85, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 112, 114, 115, + 116, 117, 778, 827, 1034, 1083, 65, 68, + 69, 78, 97, 100, 101, 110, 65, 97, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 777, 778, 800, 808, 809, 827, + 1033, 1034, 1056, 1064, 1065, 1083, 896, 1151, + 777, 778, 800, 808, 809, 827, 1033, 1034, + 1056, 1064, 1065, 1083, 896, 1151, 78, 83, + 110, 115, 83, 115, 75, 107, 69, 101, + 89, 121, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 82, 114, + 84, 116, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 65, 97, 77, 109, + 69, 101, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 72, 78, 83, 104, + 110, 115, 67, 99, 73, 105, 68, 100, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 65, 83, 97, 115, 77, 109, + 69, 101, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 75, 107, 69, 101, + 89, 121, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 85, 117, + 73, 105, 52, 54, 56, 9, 32, 40, + 41, 2058, 2107, 2314, 2363, 2570, 2619, 52, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 73, 105, 78, 110, 70, 102, + 79, 111, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 78, 80, 110, 112, + 9, 32, 40, 41, 1034, 1083, 9, 32, + 40, 41, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 80, 82, 83, 84, + 85, 97, 99, 100, 101, 104, 105, 107, + 108, 109, 110, 112, 114, 115, 116, 117, + 1034, 1083, 80, 112, 83, 115, 69, 101, + 67, 99, 75, 107, 69, 101, 89, 121, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 69, 88, 101, 120, 89, 121, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 51, 54, 79, 80, + 111, 112, 50, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 52, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 67, 99, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 73, 88, + 105, 120, 78, 110, 70, 102, 79, 111, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 65, 73, 83, 97, + 105, 115, 80, 112, 84, 116, 82, 114, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 68, 100, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 9, 32, + 40, 41, 69, 101, 2058, 2107, 2314, 2363, + 2570, 2619, 67, 99, 9, 32, 40, 41, + 51, 2058, 2107, 2314, 2363, 2570, 2619, 9, + 32, 40, 41, 80, 112, 2058, 2107, 2314, + 2363, 2570, 2619, 65, 97, 82, 114, 65, + 97, 77, 109, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 84, 116, 82, + 114, 9, 32, 40, 41, 2058, 2107, 2314, + 2363, 2570, 2619, 80, 82, 84, 112, 114, + 116, 9, 32, 40, 41, 2058, 2107, 2314, + 2363, 2570, 2619, 83, 115, 73, 105, 71, + 103, 9, 32, 40, 41, 2058, 2107, 2314, + 2363, 2570, 2619, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 79, 80, 82, + 83, 111, 112, 114, 115, 65, 97, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 70, 102, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 86, 118, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 72, 104, 70, 102, 80, 112, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 76, 88, 89, 108, 120, 121, 83, + 115, 65, 97, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 84, 116, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 80, 112, 69, 101, 48, 57, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 48, 57, 82, 114, 73, 105, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 1034, 896, 1151, 9, 32, 40, 41, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 80, 82, 83, 84, 85, 97, + 99, 100, 101, 104, 105, 107, 108, 109, + 110, 112, 114, 115, 116, 117, 778, 827, + 1034, 1083, 48, 57, 78, 80, 110, 112, + 9, 32, 40, 41, 1034, 1083, 9, 32, + 40, 41, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 80, 82, 83, 84, + 85, 97, 99, 100, 101, 104, 105, 107, + 108, 109, 110, 112, 114, 115, 116, 117, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 68, 72, + 77, 83, 87, 100, 104, 109, 115, 119, + 48, 57, 9, 32, 40, 41, 1034, 1083, + 48, 57, 1034, 896, 1151, 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, 1034, 1083, 9, 32, 40, 41, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 80, 82, 83, 84, 85, 97, + 99, 100, 101, 104, 105, 107, 108, 109, + 110, 112, 114, 115, 116, 117, 1034, 1083, + 48, 57, 1034, 896, 1151, 9, 32, 40, + 41, 68, 72, 77, 83, 87, 100, 104, + 109, 115, 119, 1034, 1083, 48, 57, 9, + 32, 40, 41, 65, 67, 68, 69, 72, + 73, 75, 76, 77, 78, 80, 82, 83, + 84, 85, 97, 99, 100, 101, 104, 105, + 107, 108, 109, 110, 112, 114, 115, 116, + 117, 1034, 1083, 48, 57, 1034, 896, 1151, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 1034, 896, 1151, 9, + 32, 40, 41, 65, 70, 80, 97, 102, + 112, 2058, 2107, 2314, 2363, 2570, 2619, 9, + 32, 40, 41, 58, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 80, 82, + 83, 84, 85, 92, 97, 99, 100, 101, + 104, 105, 107, 108, 109, 110, 112, 114, + 115, 116, 117, 2058, 2107, 2314, 2363, 2570, + 2619, -128, 8, 11, 47, 48, 57, 60, + 127, 9, 32, 40, 41, 65, 70, 80, + 97, 102, 112, 1802, 1851, 2058, 2107, 2314, + 2363, 2570, 2619, 9, 32, 40, 41, 92, + 1802, 1851, 2058, 2107, 2314, 2363, 2570, 2619, + -128, 8, 11, 58, 60, 127, 9, 32, + 40, 41, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 80, 82, 83, 84, + 85, 97, 99, 100, 101, 104, 105, 107, + 108, 109, 110, 112, 114, 115, 116, 117, + 778, 827, 1034, 1083, 48, 57, 778, 1034, + 640, 895, 896, 1151, 9, 32, 40, 41, + 778, 827, 1034, 1083, -128, 8, 11, 58, + 60, 127, 9, 32, 40, 41, 778, 827, + 1034, 1083, -128, 8, 11, 58, 60, 127, + 9, 32, 40, 41, 58, 65, 67, 68, + 69, 72, 73, 75, 76, 77, 78, 80, + 82, 83, 84, 85, 92, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 112, + 114, 115, 116, 117, 1802, 1851, 2058, 2107, + 2314, 2363, 2570, 2619, -128, 8, 11, 47, + 48, 57, 60, 127, 9, 32, 40, 41, + 65, 68, 69, 78, 97, 100, 101, 110, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 72, 78, 83, 104, 110, 115, 778, 827, + 1034, 1083, 9, 32, 40, 41, 85, 117, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 73, 105, 778, 827, 1034, 1083, 9, 32, + 40, 41, 78, 80, 110, 112, 778, 827, + 1034, 1083, 9, 32, 40, 41, 69, 88, + 101, 120, 778, 827, 1034, 1083, 9, 32, + 40, 41, 51, 54, 79, 80, 111, 112, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 73, 88, 105, 120, 778, 827, 1034, 1083, + 9, 32, 40, 41, 65, 73, 83, 97, + 105, 115, 778, 827, 1034, 1083, 9, 32, + 40, 41, 84, 116, 778, 827, 1034, 1083, + 9, 32, 40, 41, 80, 82, 84, 112, + 114, 116, 778, 827, 1034, 1083, 9, 32, + 40, 41, 79, 80, 82, 83, 111, 112, + 114, 115, 778, 827, 1034, 1083, 9, 32, + 40, 41, 76, 88, 89, 108, 120, 121, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 82, 114, 778, 827, 1034, 1083, 778, 1034, + 640, 895, 896, 1151, 9, 32, 40, 41, + 73, 79, 84, 105, 111, 116, 778, 827, + 1034, 1083, 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, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 778, 827, 1034, 1083, 48, 57, + 9, 32, 40, 41, 65, 67, 68, 69, + 72, 73, 75, 76, 77, 78, 80, 82, + 83, 84, 85, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 112, 114, 115, + 116, 117, 778, 827, 1034, 1083, 48, 57, + 778, 1034, 640, 895, 896, 1151, 9, 32, + 40, 41, 65, 70, 80, 97, 102, 112, + 1802, 1851, 2058, 2107, 2314, 2363, 2570, 2619, + 9, 32, 40, 41, 58, 65, 67, 68, + 69, 72, 73, 75, 76, 77, 78, 80, + 82, 83, 84, 85, 92, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 112, + 114, 115, 116, 117, 1802, 1851, 2058, 2107, + 2314, 2363, 2570, 2619, -128, 8, 11, 47, + 48, 57, 60, 127, 9, 32, 40, 41, + 65, 68, 69, 78, 97, 100, 101, 110, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 72, 78, 83, 104, 110, 115, 778, 827, + 1034, 1083, 9, 32, 40, 41, 85, 117, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 73, 105, 778, 827, 1034, 1083, 9, 32, + 40, 41, 78, 80, 110, 112, 778, 827, + 1034, 1083, 9, 32, 40, 41, 69, 88, + 101, 120, 778, 827, 1034, 1083, 9, 32, + 40, 41, 51, 54, 79, 80, 111, 112, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 73, 88, 105, 120, 778, 827, 1034, 1083, + 9, 32, 40, 41, 65, 73, 83, 97, + 105, 115, 778, 827, 1034, 1083, 9, 32, + 40, 41, 84, 116, 778, 827, 1034, 1083, + 9, 32, 40, 41, 80, 82, 84, 112, + 114, 116, 778, 827, 1034, 1083, 9, 32, + 40, 41, 79, 80, 82, 83, 111, 112, + 114, 115, 778, 827, 1034, 1083, 9, 32, + 40, 41, 76, 88, 89, 108, 120, 121, + 778, 827, 1034, 1083, 9, 32, 40, 41, + 82, 114, 778, 827, 1034, 1083, 9, 32, + 35, 40, 41, 778, 827, 1034, 1083, -128, + 8, 11, 58, 60, 127, 9, 32, 40, + 41, 65, 67, 68, 69, 72, 73, 75, + 76, 77, 78, 80, 82, 83, 84, 85, + 97, 99, 100, 101, 104, 105, 107, 108, + 109, 110, 112, 114, 115, 116, 117, 778, + 827, 1034, 1083, 48, 57, 777, 778, 800, + 808, 809, 827, 1033, 1034, 1056, 1064, 1065, + 1083, 896, 1151, 777, 778, 800, 808, 809, + 827, 1033, 1034, 1056, 1064, 1065, 1083, 896, + 1151, 777, 778, 800, 808, 809, 827, 1033, + 1034, 1056, 1064, 1065, 1083, 640, 895, 896, + 1151, 777, 778, 800, 808, 809, 827, 1033, + 1034, 1056, 1064, 1065, 1083, 640, 895, 896, + 1151, 65, 97, 65, 97, 9, 32, 40, + 41, 2058, 2107, 2314, 2363, 2570, 2619, 83, + 115, 68, 100, 66, 98, 9, 32, 40, + 41, 2058, 2107, 2314, 2363, 2570, 2619, 76, + 108, 9, 32, 40, 41, 2058, 2107, 2314, + 2363, 2570, 2619, 778, 1034, 640, 895, 896, + 1151, 9, 32, 40, 41, 778, 827, 1034, + 1083, -128, 8, 11, 58, 60, 127, 9, + 32, 40, 41, 778, 827, 1034, 1083, -128, + 8, 11, 58, 60, 127, 777, 778, 800, + 808, 809, 827, 1033, 1034, 1056, 1064, 1065, + 1083, 640, 895, 896, 1151, 777, 778, 800, + 808, 809, 827, 1033, 1034, 1056, 1064, 1065, + 1083, 640, 895, 896, 1151, 777, 778, 800, + 808, 809, 827, 1033, 1034, 1056, 1064, 1065, + 1083, 640, 895, 896, 1151, 777, 778, 800, + 808, 809, 827, 1033, 1034, 1056, 1064, 1065, + 1083, 640, 895, 896, 1151, 1034, 896, 1151, + 9, 32, 40, 41, 58, 65, 67, 68, + 69, 72, 73, 75, 76, 77, 78, 80, + 82, 83, 84, 85, 92, 97, 99, 100, + 101, 104, 105, 107, 108, 109, 110, 112, + 114, 115, 116, 117, 1802, 1851, 2058, 2107, + 2314, 2363, 2570, 2619, -128, 8, 11, 47, + 48, 57, 60, 127, 777, 778, 800, 808, + 809, 827, 1033, 1034, 1056, 1064, 1065, 1083, + 896, 1151, 777, 778, 800, 808, 809, 827, + 1033, 1034, 1056, 1064, 1065, 1083, 896, 1151, + 9, 32, 40, 41, 65, 68, 69, 78, + 97, 100, 101, 110, 1034, 1083, 9, 32, + 40, 41, 72, 78, 83, 104, 110, 115, + 1034, 1083, 9, 32, 40, 41, 85, 117, + 1034, 1083, 9, 32, 40, 41, 73, 105, + 1034, 1083, 9, 32, 40, 41, 78, 80, + 110, 112, 1034, 1083, 9, 32, 40, 41, + 69, 88, 101, 120, 1034, 1083, 9, 32, + 40, 41, 51, 54, 79, 80, 111, 112, + 1034, 1083, 9, 32, 40, 41, 73, 88, + 105, 120, 1034, 1083, 9, 32, 40, 41, + 65, 73, 83, 97, 105, 115, 1034, 1083, + 9, 32, 40, 41, 84, 116, 1034, 1083, + 9, 32, 40, 41, 80, 82, 84, 112, + 114, 116, 1034, 1083, 9, 32, 40, 41, + 79, 80, 82, 83, 111, 112, 114, 115, + 1034, 1083, 9, 32, 40, 41, 76, 88, + 89, 108, 120, 121, 1034, 1083, 9, 32, + 40, 41, 82, 114, 1034, 1083, 778, 1034, + 640, 895, 896, 1151, 778, 1034, 640, 895, + 896, 1151, 9, 32, 40, 41, 78, 80, + 110, 112, 1034, 1083, 778, 1034, 640, 895, + 896, 1151, 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, 34, 92, 522, 32, 126, 32, + 59, 9, 10, 40, 41, 32, 47, 48, + 57, 58, 126, 48, 57, 48, 57, 9, + 34, 92, 522, 32, 126, 9, 32, 40, + 41, 1034, 1083, 9, 32, 40, 41, 1034, + 1083, 48, 57, 9, 32, 40, 41, 68, + 72, 77, 83, 87, 100, 104, 109, 115, + 119, 778, 827, 1034, 1083, 48, 57, 9, + 32, 40, 41, 778, 827, 1034, 1083, 10, + 9, 32, 40, 41, 778, 827, 1034, 1083, + 48, 57, 68, 72, 77, 83, 87, 100, + 104, 109, 115, 119, 48, 57, 9, 32, + 40, 41, 778, 827, 1034, 1083, 48, 57, + 1034, 896, 1151, 9, 32, 40, 41, 1034, + 1083, 9, 32, 40, 41, 42, 46, 92, + 95, 1034, 1083, 45, 57, 65, 90, 97, + 122, 42, 46, 92, 95, 45, 57, 65, + 90, 97, 122, 9, 32, 40, 41, 42, + 45, 92, 95, 778, 827, 1034, 1083, 47, + 57, 65, 90, 97, 122, 9, 32, 40, + 41, 778, 827, 1034, 1083, 10, 48, 57, + 48, 57, 48, 57, 42, 46, 92, 95, + 45, 57, 65, 90, 97, 122, 9, 32, + 40, 41, 778, 827, 1034, 1083, 1034, 896, + 1151, 9, 32, 40, 41, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, -128, 8, 11, + 58, 60, 127, 9, 32, 40, 41, 778, + 827, 1034, 1083, 9, 32, 40, 41, 42, + 46, 92, 95, 778, 827, 1034, 1083, 45, + 57, 65, 90, 97, 122, 42, 46, 92, + 95, 45, 57, 65, 90, 97, 122, 9, + 32, 40, 41, 42, 45, 92, 95, 778, + 827, 1034, 1083, 47, 57, 65, 90, 97, + 122, 9, 32, 40, 41, 778, 827, 1034, + 1083, 10, 48, 57, 48, 57, 48, 57, + 42, 46, 92, 95, 45, 57, 65, 90, + 97, 122, 9, 32, 40, 41, 778, 827, + 1034, 1083, 778, 1034, 640, 895, 896, 1151, + 9, 32, 40, 41, 42, 46, 92, 95, + 1034, 1083, 45, 57, 65, 90, 97, 122, + 1034, 896, 1151, 1034, 896, 1151, 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, 2058, 2107, 2314, 2363, 2570, 2619, 47, + 57, 65, 90, 97, 122, 1034, 896, 1151, + 61, 9, 32, 40, 41, 2058, 2107, 2314, + 2363, 2570, 2619, 9, 32, 40, 41, 65, + 67, 68, 69, 72, 73, 75, 76, 77, + 78, 80, 82, 83, 84, 85, 97, 99, + 100, 101, 104, 105, 107, 108, 109, 110, + 112, 114, 115, 116, 117, 2058, 2107, 2314, + 2363, 2570, 2619, 9, 32, 40, 41, 65, + 70, 80, 97, 102, 112, 2058, 2107, 2314, + 2363, 2570, 2619, 65, 97, 65, 97, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 1034, 896, 1151, 65, 68, 69, 78, + 97, 100, 101, 110, 65, 97, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 78, 83, 110, 115, 83, 115, 75, 107, + 69, 101, 89, 121, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 82, 114, 84, 116, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 65, 97, + 77, 109, 69, 101, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 72, 78, + 83, 104, 110, 115, 67, 99, 73, 105, + 68, 100, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 65, 83, 97, 115, + 77, 109, 69, 101, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 75, 107, + 69, 101, 89, 121, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 85, 117, 73, 105, 52, 54, 56, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 52, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 73, 105, 78, 110, + 70, 102, 79, 111, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 80, 112, + 83, 115, 69, 101, 67, 99, 75, 107, + 69, 101, 89, 121, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 69, 88, + 101, 120, 89, 121, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 51, 54, 79, 80, 111, 112, 50, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 52, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 67, 99, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 73, 88, 105, 120, 78, 110, + 70, 102, 79, 111, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 65, 73, 83, 97, 105, 115, 80, 112, + 84, 116, 82, 114, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 68, 100, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 9, 32, 40, 41, 69, 101, + 2058, 2107, 2314, 2363, 2570, 2619, 67, 99, + 9, 32, 40, 41, 51, 2058, 2107, 2314, + 2363, 2570, 2619, 9, 32, 40, 41, 80, + 112, 2058, 2107, 2314, 2363, 2570, 2619, 65, + 97, 82, 114, 65, 97, 77, 109, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 84, 116, 82, 114, 9, 32, 40, + 41, 2058, 2107, 2314, 2363, 2570, 2619, 80, + 82, 84, 112, 114, 116, 9, 32, 40, + 41, 2058, 2107, 2314, 2363, 2570, 2619, 83, + 115, 73, 105, 71, 103, 9, 32, 40, + 41, 2058, 2107, 2314, 2363, 2570, 2619, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 79, 80, 82, 83, 111, 112, 114, + 115, 65, 97, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 70, 102, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 86, 118, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 72, 104, 70, + 102, 80, 112, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 76, 88, 89, + 108, 120, 121, 83, 115, 65, 97, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 84, 116, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 80, 112, 69, + 101, 48, 57, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 48, 57, 82, + 114, 73, 105, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 83, 115, 68, + 100, 66, 98, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 76, 108, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 9, 32, 40, 41, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, 48, 57, 9, + 32, 40, 41, 1034, 1083, 48, 57, 9, + 32, 40, 41, 1034, 1083, 48, 57, 65, + 70, 97, 102, 48, 57, 65, 70, 97, + 102, 9, 32, 40, 41, 2058, 2107, 2314, + 2363, 2570, 2619, 48, 57, 65, 70, 97, + 102, 1034, 896, 1151, 1034, 896, 1151, 1034, + 896, 1151, 9, 32, 40, 41, 1034, 1083, + 9, 32, 40, 41, 48, 1034, 1083, 49, + 57, 9, 32, 40, 41, 778, 827, 1034, + 1083, 48, 57, 9, 32, 40, 41, 1034, + 1083, 48, 57, 65, 70, 97, 102, 48, + 57, 65, 70, 97, 102, 9, 32, 40, + 41, 2058, 2107, 2314, 2363, 2570, 2619, 48, + 57, 65, 70, 97, 102, 1034, 896, 1151, + 1034, 896, 1151, 9, 32, 40, 41, 1034, + 1083, 48, 57, 1034, 896, 1151, 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, 1034, 1083, 9, 32, 40, + 41, 42, 92, 95, 1034, 1083, 45, 57, + 64, 90, 97, 122, 9, 32, 40, 41, + 1034, 1083, 9, 32, 40, 41, 1034, 1083, + 48, 57, 9, 32, 40, 41, 1034, 1083, + 48, 57, 9, 32, 40, 41, 1034, 1083, + 48, 57, 9, 32, 40, 41, 68, 72, + 77, 83, 87, 100, 104, 109, 115, 119, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 68, 72, 77, 83, 87, 100, + 104, 109, 115, 119, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 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, 1034, 896, + 1151, 9, 32, 40, 41, 1034, 1083, 48, + 57, 68, 72, 77, 83, 87, 100, 104, + 109, 115, 119, 48, 57, 9, 32, 40, + 41, 1034, 1083, 48, 57, 1034, 896, 1151, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 68, 72, 77, 83, 87, 100, 104, 109, + 115, 119, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 1034, 896, 1151, 9, + 32, 40, 41, 1034, 1083, 48, 57, 68, + 72, 77, 83, 87, 100, 104, 109, 115, + 119, 48, 57, 9, 32, 40, 41, 1034, + 1083, 48, 57, 1034, 896, 1151, 1034, 896, + 1151, 1034, 896, 1151, 32, 59, 9, 10, + 40, 41, 9, 32, 40, 41, 1034, 1083, + 9, 32, 40, 41, 1034, 1083, -128, 8, + 11, 58, 60, 127, 32, 59, 9, 10, + 40, 41, 1034, 896, 1151, 42, 92, 95, + 45, 57, 64, 90, 97, 122, 9, 32, + 40, 41, 1034, 1083, 9, 32, 40, 41, + 42, 92, 95, 1034, 1083, 45, 57, 64, + 90, 97, 122, 32, 59, 9, 10, 40, + 41, 1034, 896, 1151, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 42, 92, 95, 1034, 1083, 45, + 57, 64, 90, 97, 122, 32, 59, 9, + 10, 40, 41, 1034, 896, 1151, 32, 59, + 9, 10, 40, 41, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + -128, 8, 11, 58, 60, 127, 1034, 896, + 1151, 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, 1034, 1083, 48, 57, 9, + 32, 40, 41, 78, 83, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 78, 83, 1034, + 1083, 48, 57, 9, 32, 40, 41, 46, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 78, 83, 1034, 1083, 9, 32, 40, 41, + 1034, 1083, 9, 32, 40, 41, 1034, 1083, + 48, 57, 9, 32, 40, 41, 1034, 1083, + 48, 57, 9, 32, 40, 41, 69, 87, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 69, 87, 1034, 1083, 48, 57, 9, 32, + 40, 41, 46, 1034, 1083, 48, 57, 9, + 32, 40, 41, 69, 87, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, 9, 32, 40, + 41, 45, 1034, 1083, 48, 57, 48, 57, + 9, 32, 40, 41, 46, 109, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 48, 57, 9, 32, 40, 41, 46, 109, + 2058, 2107, 2314, 2363, 2570, 2619, 48, 57, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 48, 57, 9, 32, 40, 41, + 46, 109, 2058, 2107, 2314, 2363, 2570, 2619, + 48, 57, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 9, 32, + 40, 41, 46, 109, 2058, 2107, 2314, 2363, + 2570, 2619, 48, 57, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 1034, 896, + 1151, 9, 32, 40, 41, 109, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 9, 32, + 40, 41, 109, 2058, 2107, 2314, 2363, 2570, + 2619, 48, 57, 1034, 896, 1151, 9, 32, + 40, 41, 109, 2058, 2107, 2314, 2363, 2570, + 2619, 48, 57, 9, 32, 40, 41, 109, + 2058, 2107, 2314, 2363, 2570, 2619, 48, 57, + 9, 32, 40, 41, 2058, 2107, 2314, 2363, + 2570, 2619, 1034, 896, 1151, 9, 32, 40, + 41, 109, 2058, 2107, 2314, 2363, 2570, 2619, + 48, 57, 9, 32, 40, 41, 109, 2058, + 2107, 2314, 2363, 2570, 2619, 48, 57, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 1034, 896, 1151, 9, 32, 40, 41, + 109, 2058, 2107, 2314, 2363, 2570, 2619, 48, + 57, 9, 32, 40, 41, 109, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 1034, 896, 1151, 9, 32, 40, 41, 1034, + 1083, 1034, 896, 1151, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 1034, 896, 1151, 1034, + 896, 1151, 1034, 896, 1151, 9, 32, 40, + 41, 1034, 1083, 1034, 896, 1151, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 1034, 896, + 1151, 1034, 896, 1151, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 42, 92, 95, 1034, 1083, 45, + 57, 64, 90, 97, 122, 32, 59, 9, + 10, 40, 41, 1034, 896, 1151, 1034, 896, + 1151, 1034, 896, 1151, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, -128, 8, 11, 58, + 60, 127, 9, 32, 40, 41, 1034, 1083, + 9, 32, 40, 41, 1034, 1083, -128, 8, + 11, 58, 60, 127, 9, 32, 40, 41, + 1034, 1083, 9, 32, 40, 41, 1034, 1083, + -128, 8, 11, 58, 60, 127, 9, 32, + 40, 41, 1034, 1083, 9, 32, 40, 41, + 42, 92, 95, 1034, 1083, 45, 57, 64, + 90, 97, 122, 32, 59, 9, 10, 40, + 41, 1034, 896, 1151, 1034, 896, 1151, 1034, + 896, 1151, 1034, 896, 1151, 1034, 896, 1151, + 48, 57, 65, 90, 97, 122, 9, 32, + 40, 41, 1034, 1083, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 65, 90, 97, 122, + 9, 32, 40, 41, 1034, 1083, 9, 32, + 40, 41, 43, 1034, 1083, 47, 57, 65, + 90, 97, 122, 1546, 1595, 1034, 896, 1151, + 1034, 896, 1151, 1034, 896, 1151, 9, 32, + 33, 40, 41, 49, 50, 2058, 2107, 2314, + 2363, 2570, 2619, 49, 50, 58, 46, 48, + 57, 47, 46, 57, 48, 57, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 48, 57, 1034, 896, 1151, 58, 46, 48, + 58, 65, 70, 97, 102, 47, 46, 58, + 65, 70, 97, 102, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 65, 90, + 97, 122, 9, 32, 40, 41, 1034, 1083, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 65, 70, 97, 102, 48, 57, 65, 70, + 97, 102, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 65, 70, + 97, 102, 1034, 896, 1151, 1034, 896, 1151, + 1034, 896, 1151, 1034, 896, 1151, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 65, 70, 97, 102, 48, 57, 65, 70, + 97, 102, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 65, 70, + 97, 102, 1034, 896, 1151, 1034, 896, 1151, + 1034, 896, 1151, 48, 57, 9, 32, 40, + 41, 1034, 1083, 48, 57, 9, 32, 40, + 41, 48, 49, 50, 51, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, 9, 32, 40, + 41, 1034, 1083, 48, 57, 9, 32, 40, + 41, 1034, 1083, 48, 57, 9, 32, 40, + 41, 46, 1034, 1083, 6153, 6176, 6184, 6185, + 6409, 6432, 6440, 6441, 6665, 6688, 6696, 6697, + 9482, 9531, 9738, 9787, 10250, 10299, 10506, 10555, + 10762, 10811, 11274, 11323, 11530, 11579, 11786, 11835, + 12298, 12347, 12554, 12603, 12810, 12859, 3081, 3104, + 3112, 3113, 3115, 4106, 4155, 3119, 3129, 3137, + 3162, 3169, 3194, 1546, 1595, 4106, 3968, 4223, + 4617, 4640, 4648, 4649, 13578, 13627, 13834, 13883, + 14346, 14395, 14602, 14651, 14858, 14907, 5642, 5504, + 5759, 3115, 6153, 6176, 6184, 6185, 6409, 6432, + 6440, 6441, 6665, 6688, 6696, 6697, 9482, 9531, + 9738, 9787, 10250, 10299, 10506, 10555, 10762, 10811, + 11274, 11323, 11530, 11579, 11786, 11835, 12298, 12347, + 12554, 12603, 12810, 12859, 3119, 3129, 3137, 3162, + 3169, 3194, 7690, 8202, 8714, 7552, 7807, 8064, + 8319, 8576, 8831, 1034, 896, 1151, 1034, 896, + 1151, 9, 32, 40, 41, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, 48, 57, 9, + 32, 40, 41, 1034, 1083, 48, 57, 9, + 32, 40, 41, 46, 1034, 1083, 48, 57, + 46, 6153, 6176, 6184, 6185, 6409, 6432, 6440, + 6441, 6665, 6688, 6696, 6697, 9482, 9531, 9738, + 9787, 10250, 10299, 10506, 10555, 10762, 10811, 11274, + 11323, 11530, 11579, 11786, 11835, 12298, 12347, 12554, + 12603, 12810, 12859, 48, 57, 1034, 896, 1151, + 1034, 896, 1151, 9, 32, 40, 41, 1034, + 1083, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 46, 1034, 1083, + 48, 58, 65, 70, 97, 102, 46, 6153, + 6176, 6184, 6185, 6409, 6432, 6440, 6441, 6665, + 6688, 6696, 6697, 9482, 9531, 9738, 9787, 10250, + 10299, 10506, 10555, 10762, 10811, 11274, 11323, 11530, + 11579, 11786, 11835, 12298, 12347, 12554, 12603, 12810, + 12859, 48, 58, 65, 70, 97, 102, 1034, + 896, 1151, 1034, 896, 1151, 9, 32, 40, + 41, 1034, 1083, 9, 32, 40, 41, 1034, + 1083, 48, 57, 9, 32, 40, 41, 1034, + 1083, 48, 57, 9, 32, 40, 41, 42, + 92, 95, 1034, 1083, 45, 57, 64, 90, + 97, 122, 6153, 6176, 6184, 6185, 6409, 6432, + 6440, 6441, 6665, 6688, 6696, 6697, 9482, 9531, + 9738, 9787, 10250, 10299, 10506, 10555, 10762, 10811, + 11274, 11323, 11530, 11579, 11786, 11835, 12298, 12347, + 12554, 12603, 12810, 12859, 1034, 896, 1151, 1034, + 896, 1151, 1034, 896, 1151, 65, 67, 68, + 69, 72, 73, 75, 76, 77, 78, 80, + 82, 83, 84, 85, 97, 99, 100, 101, + 104, 105, 107, 108, 109, 110, 112, 114, + 115, 116, 117, 9, 32, 40, 41, 65, + 70, 80, 97, 102, 112, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, 48, 57, 65, + 90, 97, 122, 9, 32, 40, 41, 1034, + 1083, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 1034, 1083, 48, + 57, 9, 32, 40, 41, 42, 92, 95, + 1034, 1083, 45, 57, 64, 90, 97, 122, + 9, 32, 40, 41, 1034, 1083, 9, 32, + 40, 41, 43, 1034, 1083, 47, 57, 65, + 90, 97, 122, 1546, 1595, 1034, 896, 1151, + 1034, 896, 1151, 1034, 896, 1151, 1034, 896, + 1151, 1034, 896, 1151, 1034, 896, 1151, 1034, + 896, 1151, 1034, 896, 1151, 65, 97, 65, + 97, 9, 32, 40, 41, 1034, 1083, 83, + 115, 68, 100, 66, 98, 9, 32, 40, + 41, 1034, 1083, 76, 108, 9, 32, 40, + 41, 1034, 1083, 65, 68, 69, 78, 97, + 100, 101, 110, 65, 97, 9, 32, 40, + 41, 1034, 1083, 78, 83, 110, 115, 83, + 115, 75, 107, 69, 101, 89, 121, 9, + 32, 40, 41, 1034, 1083, 9, 32, 40, + 41, 1034, 1083, 82, 114, 84, 116, 9, + 32, 40, 41, 1034, 1083, 65, 97, 77, + 109, 69, 101, 9, 32, 40, 41, 1034, + 1083, 72, 78, 83, 104, 110, 115, 67, + 99, 73, 105, 68, 100, 9, 32, 40, + 41, 1034, 1083, 65, 83, 97, 115, 77, + 109, 69, 101, 9, 32, 40, 41, 1034, + 1083, 75, 107, 69, 101, 89, 121, 9, + 32, 40, 41, 1034, 1083, 9, 32, 40, + 41, 1034, 1083, 85, 117, 73, 105, 52, + 54, 56, 9, 32, 40, 41, 1034, 1083, + 52, 9, 32, 40, 41, 1034, 1083, 73, + 105, 78, 110, 70, 102, 79, 111, 9, + 32, 40, 41, 1034, 1083, 80, 112, 83, + 115, 69, 101, 67, 99, 75, 107, 69, + 101, 89, 121, 9, 32, 40, 41, 1034, + 1083, 69, 88, 101, 120, 89, 121, 9, + 32, 40, 41, 1034, 1083, 9, 32, 40, + 41, 1034, 1083, 51, 54, 79, 80, 111, + 112, 50, 9, 32, 40, 41, 1034, 1083, + 52, 9, 32, 40, 41, 1034, 1083, 67, + 99, 9, 32, 40, 41, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, 73, 88, 105, + 120, 78, 110, 70, 102, 79, 111, 9, + 32, 40, 41, 1034, 1083, 9, 32, 40, + 41, 1034, 1083, 65, 73, 83, 97, 105, + 115, 80, 112, 84, 116, 82, 114, 9, + 32, 40, 41, 1034, 1083, 68, 100, 9, + 32, 40, 41, 1034, 1083, 9, 32, 40, + 41, 69, 101, 1034, 1083, 67, 99, 9, + 32, 40, 41, 51, 1034, 1083, 9, 32, + 40, 41, 80, 112, 1034, 1083, 65, 97, + 82, 114, 65, 97, 77, 109, 9, 32, + 40, 41, 1034, 1083, 84, 116, 82, 114, + 9, 32, 40, 41, 1034, 1083, 80, 82, + 84, 112, 114, 116, 9, 32, 40, 41, + 1034, 1083, 83, 115, 73, 105, 71, 103, + 9, 32, 40, 41, 1034, 1083, 9, 32, + 40, 41, 1034, 1083, 79, 80, 82, 83, + 111, 112, 114, 115, 65, 97, 9, 32, + 40, 41, 1034, 1083, 70, 102, 9, 32, + 40, 41, 1034, 1083, 86, 118, 9, 32, + 40, 41, 1034, 1083, 72, 104, 70, 102, + 80, 112, 9, 32, 40, 41, 1034, 1083, + 76, 88, 89, 108, 120, 121, 83, 115, + 65, 97, 9, 32, 40, 41, 1034, 1083, + 84, 116, 9, 32, 40, 41, 1034, 1083, + 80, 112, 69, 101, 48, 57, 9, 32, + 40, 41, 1034, 1083, 48, 57, 82, 114, + 73, 105, 9, 32, 40, 41, 1034, 1083, + 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, 1034, 1083, 48, 57, 9, + 32, 40, 41, 1034, 1083, 48, 57, 9, + 32, 40, 41, 1034, 1083, 48, 57, 9, + 32, 40, 41, 1034, 1083, 48, 57, 65, + 90, 97, 122, 9, 32, 40, 41, 1034, + 1083, 9, 32, 40, 41, 43, 1034, 1083, + 47, 57, 65, 90, 97, 122, 1546, 1595, + 1034, 896, 1151, 1034, 896, 1151, 1034, 896, + 1151, 43, 47, 57, 65, 90, 97, 122, + 1546, 1595, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 45, 1034, 1083, 48, 57, 65, 70, 97, + 102, 9, 32, 40, 41, 1034, 1083, 9, + 32, 40, 41, 1034, 1083, 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, + 1034, 896, 1151, 48, 57, 65, 70, 97, + 102, 9, 32, 40, 41, 1034, 1083, 48, + 57, 65, 70, 97, 102, 1034, 896, 1151, + 1034, 896, 1151, 1034, 896, 1151, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 45, 1034, 1083, 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, 1034, 896, 1151, + 1034, 896, 1151, 1034, 896, 1151, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 65, 70, 97, 102, 48, 57, 65, 70, + 97, 102, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 65, 70, + 97, 102, 1034, 896, 1151, 1034, 896, 1151, + 1034, 896, 1151, 1034, 896, 1151, 48, 57, + 9, 32, 40, 41, 1034, 1083, 48, 57, + 9, 32, 40, 41, 46, 1034, 1083, 48, + 57, 32, 46, 59, 9, 10, 40, 41, + 48, 57, 1034, 896, 1151, 48, 57, 9, + 32, 40, 41, 1034, 1083, 48, 57, 9, + 32, 40, 41, 1034, 1083, 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, 1034, 896, 1151, + 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, 1034, 1083, + 48, 57, 9, 32, 40, 41, 1034, 1083, + 48, 57, 9, 32, 40, 41, 1034, 1083, + 48, 57, 9, 32, 40, 41, 1034, 1083, + -128, 8, 11, 58, 60, 127, 32, 59, + 9, 10, 40, 41, 1034, 896, 1151, 1034, + 896, 1151, 48, 57, 9, 32, 40, 41, + 1034, 1083, 48, 57, 9, 32, 40, 41, + 1034, 1083, -128, 8, 11, 58, 60, 127, + 9, 32, 40, 41, 1034, 1083, 9, 32, + 40, 41, 1034, 1083, -128, 8, 11, 58, + 60, 127, 32, 59, 9, 10, 40, 41, + 1034, 896, 1151, 1034, 896, 1151, 9, 32, + 36, 40, 41, 42, 92, 95, 778, 827, + 1034, 1083, 45, 57, 64, 90, 97, 122, + 9, 32, 36, 40, 41, 42, 58, 92, + 95, 1802, 1851, 2058, 2107, 2314, 2363, 2570, + 2619, -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, 80, 82, 83, 84, 85, 92, 95, + 97, 99, 100, 101, 104, 105, 107, 108, + 109, 110, 112, 114, 115, 116, 117, 778, + 827, 1034, 1083, 45, 57, 64, 90, 98, + 122, 9, 32, 36, 40, 41, 42, 65, + 67, 68, 69, 72, 73, 75, 76, 77, + 78, 80, 82, 83, 84, 85, 92, 95, + 97, 99, 100, 101, 104, 105, 107, 108, + 109, 110, 112, 114, 115, 116, 117, 778, + 827, 1034, 1083, 45, 47, 48, 57, 64, + 90, 98, 122, 9, 32, 36, 40, 41, + 42, 92, 95, 778, 827, 1034, 1083, 45, + 57, 64, 90, 97, 122, 9, 32, 36, + 40, 41, 42, 65, 67, 68, 69, 72, + 73, 75, 76, 77, 78, 80, 82, 83, + 84, 85, 92, 95, 97, 99, 100, 101, + 104, 105, 107, 108, 109, 110, 112, 114, + 115, 116, 117, 778, 827, 1034, 1083, 45, + 47, 48, 57, 64, 90, 98, 122, 9, + 32, 36, 40, 41, 42, 92, 95, 778, + 827, 1034, 1083, 45, 57, 64, 90, 97, + 122, 9, 32, 36, 40, 41, 42, 58, + 92, 95, 1802, 1851, 2058, 2107, 2314, 2363, + 2570, 2619, -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, 80, 82, 83, 84, 85, + 92, 95, 97, 99, 100, 101, 104, 105, + 107, 108, 109, 110, 112, 114, 115, 116, + 117, 1802, 1851, 2058, 2107, 2314, 2363, 2570, + 2619, -128, 8, 11, 44, 45, 47, 48, + 57, 60, 63, 64, 90, 91, 96, 98, + 122, 123, 127, 9, 32, 36, 40, 41, + 42, 58, 65, 67, 68, 69, 72, 73, + 75, 76, 77, 78, 80, 82, 83, 84, + 85, 92, 95, 97, 99, 100, 101, 104, + 105, 107, 108, 109, 110, 112, 114, 115, + 116, 117, 1802, 1851, 2058, 2107, 2314, 2363, + 2570, 2619, -128, 8, 11, 44, 45, 47, + 48, 57, 60, 63, 64, 90, 91, 96, + 98, 122, 123, 127, 32, 33, 59, 92, + 9, 10, 35, 39, 40, 41, 42, 126, + 9, 32, 40, 41, 42, 46, 92, 95, + 1034, 1083, 45, 57, 65, 90, 97, 122, + 9, 32, 40, 41, 43, 2058, 2107, 2314, + 2363, 2570, 2619, 47, 57, 65, 90, 97, + 122, 1034, 896, 1151, 9, 32, 40, 41, + 65, 67, 68, 69, 72, 73, 75, 76, + 77, 78, 80, 82, 83, 84, 85, 97, + 99, 100, 101, 104, 105, 107, 108, 109, + 110, 112, 114, 115, 116, 117, 2058, 2107, + 2314, 2363, 2570, 2619, 1034, 896, 1151, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 48, 57, 65, 70, 97, 102, 1034, + 896, 1151, 9, 32, 40, 41, 1034, 1083, + 48, 57, 65, 70, 97, 102, 9, 32, + 40, 41, 2058, 2107, 2314, 2363, 2570, 2619, + 48, 57, 65, 70, 97, 102, 1034, 896, + 1151, 1034, 896, 1151, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, -128, 8, + 11, 58, 60, 127, 1034, 896, 1151, 9, + 32, 40, 41, 2058, 2107, 2314, 2363, 2570, + 2619, 1034, 896, 1151, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 48, 57, + 1034, 896, 1151, 9, 32, 40, 41, 2058, + 2107, 2314, 2363, 2570, 2619, 48, 57, 1034, + 896, 1151, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 1034, 896, + 1151, 9, 32, 33, 40, 41, 49, 50, + 2058, 2107, 2314, 2363, 2570, 2619, 1034, 896, + 1151, 9, 32, 40, 41, 2058, 2107, 2314, + 2363, 2570, 2619, 48, 57, 65, 70, 97, + 102, 1034, 896, 1151, 9, 32, 40, 41, + 2058, 2107, 2314, 2363, 2570, 2619, 48, 57, + 65, 70, 97, 102, 1034, 896, 1151, 4617, + 4640, 4648, 4649, 13578, 13627, 13834, 13883, 14346, + 14395, 14602, 14651, 14858, 14907, 5642, 5504, 5759, + 3081, 3104, 3112, 3113, 3115, 4106, 4155, 3119, + 3129, 3137, 3162, 3169, 3194, 4106, 3968, 4223, + 3115, 6153, 6176, 6184, 6185, 6409, 6432, 6440, + 6441, 6665, 6688, 6696, 6697, 9482, 9531, 9738, + 9787, 10250, 10299, 10506, 10555, 10762, 10811, 11274, + 11323, 11530, 11579, 11786, 11835, 12298, 12347, 12554, + 12603, 12810, 12859, 3119, 3129, 3137, 3162, 3169, + 3194, 7690, 8202, 8714, 7552, 7807, 8064, 8319, + 8576, 8831, 9, 32, 40, 41, 2058, 2107, + 2314, 2363, 2570, 2619, 48, 57, 65, 70, + 97, 102, 1034, 896, 1151, 0 +}; + +static const char _zone_scanner_single_lengths[] = { + 0, 38, 16, 36, 16, 11, 8, 8, + 1, 1, 1, 13, 13, 2, 44, 18, + 38, 8, 2, 10, 12, 12, 4, 2, + 2, 2, 2, 10, 10, 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, 2, 2, 2, 2, 10, 4, 6, + 36, 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, 10, 6, 10, + 2, 2, 2, 10, 10, 8, 2, 10, + 2, 10, 2, 10, 2, 2, 2, 10, + 6, 2, 2, 10, 2, 10, 2, 2, + 0, 10, 2, 2, 10, 1, 38, 4, + 6, 36, 16, 6, 10, 6, 1, 1, + 6, 2, 2, 2, 2, 2, 2, 2, + 6, 36, 1, 16, 36, 1, 6, 10, + 6, 1, 16, 42, 18, 13, 38, 2, + 8, 8, 44, 16, 14, 10, 10, 12, + 12, 14, 12, 14, 10, 14, 16, 14, + 10, 2, 14, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 8, 18, 38, 2, + 18, 44, 16, 14, 10, 10, 12, 12, + 14, 12, 14, 10, 14, 16, 14, 10, + 9, 38, 12, 12, 12, 12, 2, 2, + 10, 2, 2, 2, 10, 2, 10, 2, + 8, 8, 12, 12, 12, 12, 1, 44, + 12, 12, 14, 12, 8, 8, 10, 10, + 12, 10, 12, 8, 12, 14, 12, 8, + 2, 2, 10, 2, 1, 1, 5, 6, + 6, 0, 0, 0, 6, 2, 2, 2, + 4, 0, 0, 0, 4, 4, 2, 0, + 0, 0, 4, 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, 40, 16, 2, 2, 10, 1, 8, + 2, 10, 4, 2, 2, 2, 2, 10, + 10, 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, 2, 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, 10, 6, + 10, 2, 2, 2, 10, 10, 8, 2, + 10, 2, 10, 2, 10, 2, 2, 2, + 10, 6, 2, 2, 10, 2, 10, 2, + 2, 0, 10, 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, 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, + 30, 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, 8, 2, 6, 4, 2, + 2, 2, 2, 6, 6, 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, 2, 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, 6, 6, 6, 2, 2, 2, + 6, 6, 8, 2, 6, 2, 6, 2, + 6, 2, 2, 2, 6, 6, 2, 2, + 6, 2, 6, 2, 2, 0, 6, 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, 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, 12, + 17, 42, 42, 12, 42, 12, 17, 47, + 47, 0, 0, 0, 4, 0, 0, 0, + 10, 0, 11, 1, 0, 40, 1, 0, + 10, 1, 6, 0, 10, 1, 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, 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, + 1, 1, 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, 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, + 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, + 2, 2, 0, 2, 0, 0, 3, 5, + 5, 1, 1, 1, 5, 2, 2, 2, + 4, 3, 1, 1, 4, 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, 1, 1, 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, 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, 1, 1, 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, 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, 3, + 8, 3, 4, 3, 4, 3, 8, 9, + 9, 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, 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, 0, 0, 0, 0 +}; + +static const short _zone_scanner_index_offsets[] = { + 0, 0, 40, 58, 95, 112, 127, 136, + 145, 147, 149, 152, 169, 186, 191, 240, + 260, 299, 308, 311, 322, 336, 350, 355, + 358, 361, 364, 367, 378, 389, 392, 395, + 406, 409, 412, 415, 426, 433, 436, 439, + 442, 453, 458, 461, 464, 475, 478, 481, + 484, 495, 506, 509, 512, 515, 517, 528, + 530, 541, 544, 547, 550, 553, 564, 569, + 576, 613, 616, 619, 622, 625, 628, 631, + 634, 645, 650, 653, 664, 675, 682, 684, + 695, 697, 708, 711, 722, 733, 738, 741, + 744, 747, 758, 769, 776, 779, 782, 785, + 796, 799, 810, 823, 826, 838, 851, 854, + 857, 860, 863, 874, 877, 880, 891, 898, + 909, 912, 915, 918, 929, 940, 949, 952, + 963, 966, 977, 980, 991, 994, 997, 1000, + 1011, 1018, 1021, 1024, 1035, 1038, 1049, 1052, + 1055, 1057, 1069, 1072, 1075, 1086, 1089, 1129, + 1134, 1141, 1179, 1197, 1205, 1217, 1225, 1228, + 1230, 1237, 1240, 1243, 1246, 1249, 1252, 1255, + 1260, 1267, 1305, 1308, 1326, 1364, 1367, 1375, + 1387, 1395, 1398, 1415, 1462, 1481, 1498, 1538, + 1543, 1555, 1567, 1616, 1633, 1648, 1659, 1670, + 1683, 1696, 1711, 1724, 1739, 1750, 1765, 1782, + 1797, 1808, 1813, 1828, 1831, 1834, 1837, 1840, + 1843, 1848, 1851, 1854, 1859, 1868, 1888, 1928, + 1933, 1952, 2001, 2018, 2033, 2044, 2055, 2068, + 2081, 2096, 2109, 2124, 2135, 2150, 2167, 2182, + 2193, 2206, 2246, 2260, 2274, 2289, 2304, 2307, + 2310, 2321, 2324, 2327, 2330, 2341, 2344, 2355, + 2360, 2372, 2384, 2399, 2414, 2429, 2444, 2447, + 2496, 2510, 2524, 2539, 2552, 2561, 2570, 2581, + 2592, 2605, 2616, 2629, 2638, 2651, 2666, 2679, + 2688, 2693, 2698, 2709, 2714, 2716, 2718, 2727, + 2739, 2751, 2753, 2755, 2757, 2769, 2774, 2779, + 2784, 2793, 2797, 2799, 2801, 2810, 2816, 2821, + 2825, 2827, 2829, 2835, 2842, 2850, 2870, 2879, + 2881, 2891, 2903, 2913, 2916, 2923, 2937, 2945, + 2961, 2970, 2972, 2974, 2976, 2978, 2986, 2995, + 2998, 3005, 3015, 3024, 3040, 3048, 3064, 3073, + 3075, 3077, 3079, 3081, 3089, 3098, 3103, 3117, + 3120, 3123, 3128, 3133, 3139, 3145, 3160, 3163, + 3165, 3176, 3217, 3234, 3237, 3240, 3251, 3254, + 3263, 3266, 3277, 3282, 3285, 3288, 3291, 3294, + 3305, 3316, 3319, 3322, 3333, 3336, 3339, 3342, + 3353, 3360, 3363, 3366, 3369, 3380, 3385, 3388, + 3391, 3402, 3405, 3408, 3411, 3422, 3433, 3436, + 3439, 3442, 3444, 3455, 3457, 3468, 3471, 3474, + 3477, 3480, 3491, 3494, 3497, 3500, 3503, 3506, + 3509, 3512, 3523, 3528, 3531, 3542, 3553, 3560, + 3562, 3573, 3575, 3586, 3589, 3600, 3611, 3616, + 3619, 3622, 3625, 3636, 3647, 3654, 3657, 3660, + 3663, 3674, 3677, 3688, 3701, 3704, 3716, 3729, + 3732, 3735, 3738, 3741, 3752, 3755, 3758, 3769, + 3776, 3787, 3790, 3793, 3796, 3807, 3818, 3827, + 3830, 3841, 3844, 3855, 3858, 3869, 3872, 3875, + 3878, 3889, 3896, 3899, 3902, 3913, 3916, 3927, + 3930, 3933, 3935, 3947, 3950, 3953, 3964, 3967, + 3970, 3973, 3984, 3987, 3998, 4005, 4013, 4021, + 4031, 4035, 4049, 4052, 4055, 4058, 4065, 4074, + 4084, 4094, 4098, 4112, 4115, 4118, 4126, 4129, + 4141, 4147, 4152, 4157, 4160, 4166, 4169, 4172, + 4175, 4178, 4180, 4182, 4185, 4188, 4191, 4193, + 4198, 4203, 4208, 4210, 4213, 4216, 4219, 4222, + 4227, 4230, 4233, 4236, 4239, 4241, 4243, 4246, + 4249, 4252, 4254, 4256, 4258, 4263, 4265, 4267, + 4270, 4273, 4276, 4278, 4280, 4282, 4287, 4290, + 4292, 4294, 4296, 4298, 4303, 4305, 4307, 4312, + 4315, 4318, 4321, 4324, 4327, 4330, 4333, 4338, + 4341, 4344, 4347, 4350, 4353, 4356, 4361, 4364, + 4367, 4372, 4375, 4378, 4383, 4386, 4389, 4394, + 4397, 4399, 4404, 4407, 4410, 4414, 4420, 4423, + 4426, 4429, 4432, 4434, 4436, 4439, 4442, 4445, + 4447, 4452, 4454, 4456, 4461, 4463, 4465, 4470, + 4484, 4490, 4493, 4496, 4499, 4502, 4505, 4510, + 4517, 4520, 4523, 4526, 4529, 4532, 4537, 4542, + 4545, 4550, 4553, 4556, 4561, 4564, 4567, 4570, + 4575, 4578, 4581, 4586, 4591, 4594, 4599, 4602, + 4605, 4610, 4613, 4616, 4619, 4624, 4627, 4630, + 4635, 4638, 4645, 4652, 4657, 4664, 4671, 4684, + 4691, 4699, 4707, 4715, 4733, 4741, 4759, 4767, + 4785, 4793, 4809, 4815, 4827, 4833, 4836, 4844, + 4856, 4864, 4867, 4875, 4887, 4895, 4898, 4906, + 4918, 4926, 4929, 4932, 4935, 4940, 4947, 4957, + 4962, 4965, 4972, 4979, 4992, 4997, 5000, 5002, + 5010, 5023, 5028, 5031, 5036, 5047, 5061, 5064, + 5069, 5078, 5080, 5088, 5098, 5106, 5116, 5125, + 5134, 5141, 5149, 5157, 5167, 5175, 5185, 5194, + 5203, 5210, 5219, 5221, 5235, 5247, 5261, 5273, + 5287, 5299, 5313, 5324, 5327, 5340, 5353, 5356, + 5369, 5382, 5393, 5396, 5409, 5422, 5433, 5436, + 5449, 5462, 5473, 5476, 5483, 5486, 5494, 5502, + 5505, 5508, 5511, 5518, 5521, 5529, 5537, 5540, + 5543, 5545, 5553, 5561, 5569, 5577, 5585, 5598, + 5603, 5606, 5609, 5612, 5614, 5622, 5630, 5638, + 5648, 5655, 5665, 5672, 5682, 5689, 5702, 5707, + 5710, 5713, 5716, 5719, 5722, 5726, 5733, 5741, + 5749, 5759, 5766, 5777, 5780, 5783, 5786, 5789, + 5803, 5806, 5808, 5811, 5814, 5816, 5828, 5831, + 5833, 5838, 5843, 5845, 5853, 5863, 5870, 5878, + 5886, 5896, 5900, 5914, 5917, 5920, 5923, 5926, + 5928, 5936, 5944, 5952, 5962, 5966, 5980, 5983, + 5986, 5989, 5991, 5999, 6010, 6017, 6025, 6033, + 6041, 6076, 6087, 6090, 6093, 6108, 6111, 6150, + 6157, 6160, 6163, 6170, 6178, 6186, 6195, 6232, + 6235, 6238, 6245, 6253, 6261, 6272, 6311, 6314, + 6317, 6324, 6332, 6340, 6353, 6388, 6391, 6394, + 6397, 6428, 6441, 6451, 6458, 6466, 6474, 6482, + 6490, 6498, 6506, 6514, 6522, 6530, 6538, 6551, + 6558, 6569, 6572, 6575, 6578, 6581, 6584, 6587, + 6590, 6593, 6596, 6599, 6602, 6609, 6612, 6615, + 6618, 6625, 6628, 6635, 6644, 6647, 6654, 6659, + 6662, 6665, 6668, 6671, 6678, 6685, 6688, 6691, + 6698, 6701, 6704, 6707, 6714, 6721, 6724, 6727, + 6730, 6737, 6742, 6745, 6748, 6755, 6758, 6761, + 6764, 6771, 6778, 6781, 6784, 6787, 6789, 6796, + 6798, 6805, 6808, 6811, 6814, 6817, 6824, 6827, + 6830, 6833, 6836, 6839, 6842, 6845, 6852, 6857, + 6860, 6867, 6874, 6881, 6883, 6890, 6892, 6899, + 6902, 6909, 6916, 6921, 6924, 6927, 6930, 6937, + 6944, 6951, 6954, 6957, 6960, 6967, 6970, 6977, + 6986, 6989, 6997, 7006, 7009, 7012, 7015, 7018, + 7025, 7028, 7031, 7038, 7045, 7052, 7055, 7058, + 7061, 7068, 7075, 7084, 7087, 7094, 7097, 7104, + 7107, 7114, 7117, 7120, 7123, 7130, 7137, 7140, + 7143, 7150, 7153, 7160, 7163, 7166, 7168, 7176, + 7179, 7182, 7189, 7196, 7201, 7206, 7208, 7216, + 7224, 7232, 7242, 7249, 7260, 7263, 7266, 7269, + 7272, 7277, 7280, 7282, 7290, 7298, 7306, 7314, + 7322, 7333, 7340, 7350, 7354, 7359, 7363, 7368, + 7373, 7377, 7382, 7390, 7395, 7397, 7399, 7401, + 7403, 7405, 7408, 7412, 7422, 7425, 7428, 7431, + 7433, 7441, 7449, 7457, 7465, 7473, 7484, 7489, + 7493, 7501, 7504, 7507, 7510, 7512, 7520, 7528, + 7536, 7544, 7552, 7562, 7566, 7580, 7583, 7586, + 7589, 7592, 7594, 7602, 7611, 7618, 7621, 7623, + 7631, 7641, 7645, 7649, 7653, 7655, 7659, 7663, + 7667, 7671, 7677, 7680, 7684, 7688, 7690, 7694, + 7698, 7704, 7708, 7712, 7714, 7718, 7722, 7728, + 7730, 7738, 7746, 7754, 7764, 7769, 7772, 7775, + 7777, 7785, 7795, 7802, 7812, 7817, 7820, 7823, + 7839, 7865, 7911, 7958, 7974, 8021, 8037, 8063, + 8120, 8177, 8178, 8179, 8180, 8189, 8190, 8191, + 8192, 8206, 8207, 8222, 8225, 8226, 8267, 8270, + 8271, 8285, 8288, 8298, 8299, 8313, 8316, 8319, + 8320, 8321, 8322, 8323, 8324, 8325, 8326, 8327, + 8328, 8342, 8345, 8346, 8347, 8358, 8361, 8373, + 8376, 8388, 8391, 8403, 8406, 8407, 8408, 8409, + 8410, 8424, 8427, 8428, 8442, 8445, 8446, 8460, + 8463, 8464, 8479, 8482, 8493, 8496, 8535, 8542, + 8543, 8544, 8545, 8546, 8547, 8548, 8549, 8563, + 8566, 8567, 8568, 8569, 8570, 8571 +}; + +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, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 4, 0, + 25, 25, 26, 27, 29, 30, 31, 32, + 33, 29, 30, 31, 32, 33, 34, 35, + 28, 24, 37, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 36, 58, + 58, 59, 60, 61, 62, 63, 61, 62, + 63, 64, 65, 66, 66, 67, 68, 57, + 70, 70, 72, 73, 74, 75, 76, 69, + 69, 77, 78, 69, 69, 69, 71, 80, + 80, 81, 82, 83, 84, 83, 84, 79, + 86, 86, 87, 88, 89, 90, 89, 90, + 85, 92, 91, 94, 93, 96, 95, 71, + 97, 97, 98, 99, 74, 83, 84, 83, + 100, 101, 102, 83, 103, 69, 69, 69, + 79, 104, 104, 105, 106, 74, 89, 90, + 89, 107, 108, 109, 89, 110, 69, 69, + 69, 79, 92, 112, 91, 111, 79, 113, + 113, 115, 116, 69, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 74, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 20, 21, 133, 134, 135, + 136, 137, 138, 69, 69, 117, 69, 114, + 140, 140, 141, 142, 29, 30, 31, 32, + 33, 29, 30, 31, 32, 33, 83, 84, + 143, 144, 28, 139, 146, 146, 147, 148, + 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 40, + 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 89, 90, + 149, 150, 145, 151, 152, 153, 154, 151, + 152, 153, 154, 36, 155, 155, 36, 156, + 156, 157, 158, 159, 160, 161, 161, 162, + 163, 57, 80, 83, 80, 81, 82, 84, + 164, 83, 164, 165, 166, 167, 95, 79, + 86, 89, 86, 87, 88, 90, 168, 89, + 168, 169, 170, 171, 95, 79, 172, 173, + 172, 173, 36, 174, 174, 36, 175, 175, + 36, 176, 176, 36, 177, 177, 36, 178, + 178, 179, 180, 181, 182, 183, 183, 184, + 185, 57, 186, 186, 187, 188, 189, 190, + 191, 191, 192, 193, 57, 194, 194, 36, + 195, 195, 36, 196, 196, 197, 198, 199, + 200, 201, 201, 202, 203, 57, 204, 204, + 36, 205, 205, 36, 206, 206, 36, 207, + 207, 208, 209, 210, 211, 212, 212, 213, + 214, 57, 215, 216, 217, 215, 216, 217, + 36, 218, 218, 36, 219, 219, 36, 220, + 220, 36, 221, 221, 222, 223, 224, 225, + 226, 226, 227, 228, 57, 229, 230, 229, + 230, 36, 231, 231, 36, 232, 232, 36, + 233, 233, 234, 235, 236, 237, 238, 238, + 239, 240, 57, 241, 241, 36, 242, 242, + 36, 243, 243, 36, 244, 244, 245, 246, + 247, 248, 249, 249, 250, 251, 57, 252, + 252, 253, 254, 255, 256, 257, 257, 258, + 259, 57, 260, 260, 36, 261, 261, 36, + 262, 263, 36, 264, 36, 265, 265, 266, + 267, 268, 269, 270, 270, 271, 272, 57, + 273, 36, 274, 274, 275, 276, 277, 278, + 279, 279, 280, 281, 57, 282, 282, 36, + 283, 283, 36, 284, 284, 36, 285, 285, + 36, 286, 286, 287, 288, 289, 290, 291, + 291, 292, 293, 57, 294, 295, 294, 295, + 36, 296, 296, 297, 298, 299, 300, 36, + 301, 301, 302, 303, 304, 305, 306, 307, + 308, 309, 310, 311, 312, 313, 314, 315, + 316, 317, 318, 304, 305, 306, 307, 308, + 309, 310, 311, 312, 313, 314, 315, 316, + 317, 318, 319, 320, 36, 295, 295, 36, + 321, 321, 36, 322, 322, 36, 323, 323, + 36, 324, 324, 36, 325, 325, 36, 326, + 326, 36, 327, 327, 328, 329, 330, 331, + 332, 332, 333, 334, 57, 335, 336, 335, + 336, 36, 337, 337, 36, 338, 338, 339, + 340, 341, 342, 343, 343, 344, 345, 57, + 346, 346, 347, 348, 349, 350, 351, 351, + 352, 353, 57, 354, 355, 356, 357, 356, + 357, 36, 358, 36, 359, 359, 360, 361, + 362, 363, 364, 364, 365, 366, 57, 367, + 36, 368, 368, 369, 370, 371, 372, 373, + 373, 374, 375, 57, 376, 376, 36, 377, + 377, 378, 379, 380, 381, 382, 382, 383, + 384, 57, 385, 385, 386, 387, 388, 389, + 390, 390, 391, 392, 57, 393, 394, 393, + 394, 36, 395, 395, 36, 396, 396, 36, + 397, 397, 36, 398, 398, 399, 400, 401, + 402, 403, 403, 404, 405, 57, 406, 406, + 407, 408, 409, 410, 411, 411, 412, 413, + 57, 414, 415, 416, 414, 415, 416, 36, + 417, 417, 36, 418, 418, 36, 419, 419, + 36, 420, 420, 421, 422, 423, 424, 425, + 425, 426, 427, 57, 428, 428, 36, 429, + 429, 430, 431, 432, 433, 434, 434, 435, + 436, 57, 437, 437, 438, 439, 440, 440, + 441, 442, 443, 443, 444, 445, 57, 446, + 446, 36, 447, 447, 448, 449, 450, 451, + 452, 453, 453, 454, 455, 57, 456, 456, + 457, 458, 459, 459, 460, 461, 462, 462, + 463, 464, 57, 465, 465, 36, 466, 466, + 36, 467, 467, 36, 468, 468, 36, 469, + 469, 470, 471, 472, 473, 474, 474, 475, + 476, 57, 477, 477, 36, 478, 478, 36, + 479, 479, 480, 481, 482, 483, 484, 484, + 485, 486, 57, 487, 488, 489, 487, 488, + 489, 36, 490, 490, 491, 492, 493, 494, + 495, 495, 496, 497, 57, 498, 498, 36, + 499, 499, 36, 500, 500, 36, 501, 501, + 502, 503, 504, 505, 506, 506, 507, 508, + 57, 509, 509, 510, 511, 512, 513, 514, + 514, 515, 516, 57, 517, 518, 519, 520, + 517, 518, 519, 520, 36, 521, 521, 36, + 522, 522, 523, 524, 525, 526, 527, 527, + 528, 529, 57, 530, 530, 36, 531, 531, + 532, 533, 534, 535, 536, 536, 537, 538, + 57, 539, 539, 36, 540, 540, 541, 542, + 543, 544, 545, 545, 546, 547, 57, 548, + 548, 36, 549, 549, 36, 550, 550, 36, + 551, 551, 552, 553, 554, 555, 556, 556, + 557, 558, 57, 559, 560, 561, 559, 560, + 561, 36, 562, 562, 36, 563, 563, 36, + 564, 564, 565, 566, 567, 568, 569, 569, + 570, 571, 57, 572, 572, 36, 573, 573, + 574, 575, 576, 577, 578, 578, 579, 580, + 57, 581, 581, 36, 582, 582, 36, 584, + 583, 586, 586, 587, 588, 590, 591, 592, + 592, 593, 594, 589, 585, 595, 595, 36, + 596, 596, 36, 597, 597, 598, 599, 600, + 601, 602, 602, 603, 604, 57, 606, 605, + 36, 607, 607, 608, 609, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 610, 611, 4, + 0, 612, 295, 612, 295, 36, 613, 613, + 614, 615, 616, 617, 36, 618, 618, 619, + 620, 622, 623, 624, 625, 626, 627, 628, + 629, 630, 631, 632, 633, 634, 635, 636, + 622, 623, 624, 625, 626, 627, 628, 629, + 630, 631, 632, 633, 634, 635, 636, 637, + 638, 621, 583, 639, 639, 640, 641, 643, + 644, 645, 646, 647, 643, 644, 645, 646, + 647, 648, 649, 642, 24, 639, 639, 640, + 641, 648, 649, 650, 24, 652, 653, 654, + 655, 656, 652, 653, 654, 655, 656, 651, + 24, 657, 657, 658, 659, 661, 662, 660, + 24, 664, 663, 36, 666, 665, 668, 669, + 670, 668, 669, 670, 667, 671, 671, 667, + 672, 672, 667, 673, 673, 667, 674, 674, + 667, 675, 675, 667, 676, 676, 667, 677, + 677, 677, 677, 667, 679, 679, 680, 681, + 682, 683, 678, 684, 684, 685, 686, 5, + 6, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 687, 688, 4, + 583, 691, 689, 690, 693, 693, 694, 695, + 29, 30, 31, 32, 33, 29, 30, 31, + 32, 33, 696, 697, 28, 692, 698, 698, + 699, 700, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, + 19, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, + 701, 702, 4, 583, 704, 703, 36, 25, + 25, 26, 27, 34, 35, 705, 24, 707, + 708, 709, 710, 711, 707, 708, 709, 710, + 711, 706, 24, 712, 712, 713, 714, 716, + 717, 715, 24, 719, 718, 36, 721, 721, + 722, 723, 61, 62, 63, 61, 62, 63, + 724, 725, 66, 66, 726, 727, 720, 728, + 728, 729, 730, 69, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 74, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 731, 732, 69, 69, 733, + 734, 69, 69, 117, 69, 585, 736, 736, + 737, 738, 61, 62, 63, 61, 62, 63, + 83, 84, 739, 740, 741, 742, 743, 744, + 735, 745, 745, 746, 747, 74, 89, 90, + 748, 107, 108, 109, 749, 110, 69, 69, + 69, 79, 750, 750, 751, 752, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 89, 90, 753, 754, + 4, 0, 92, 756, 91, 755, 85, 757, + 757, 758, 759, 760, 761, 760, 761, 91, + 91, 91, 79, 762, 762, 763, 764, 92, + 765, 92, 765, 91, 91, 91, 85, 766, + 766, 767, 768, 69, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 74, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 89, 90, 753, 769, 108, + 109, 753, 770, 69, 69, 117, 69, 114, + 80, 80, 81, 82, 151, 152, 153, 154, + 151, 152, 153, 154, 83, 84, 83, 84, + 735, 80, 80, 81, 82, 215, 216, 217, + 215, 216, 217, 83, 84, 83, 84, 735, + 80, 80, 81, 82, 260, 260, 83, 84, + 83, 84, 735, 80, 80, 81, 82, 282, + 282, 83, 84, 83, 84, 735, 80, 80, + 81, 82, 612, 295, 612, 295, 83, 84, + 83, 84, 735, 80, 80, 81, 82, 335, + 336, 335, 336, 83, 84, 83, 84, 735, + 80, 80, 81, 82, 354, 355, 356, 357, + 356, 357, 83, 84, 83, 84, 735, 80, + 80, 81, 82, 393, 394, 393, 394, 83, + 84, 83, 84, 735, 80, 80, 81, 82, + 414, 415, 416, 414, 415, 416, 83, 84, + 83, 84, 735, 80, 80, 81, 82, 477, + 477, 83, 84, 83, 84, 735, 80, 80, + 81, 82, 487, 488, 489, 487, 488, 489, + 83, 84, 83, 84, 735, 80, 80, 81, + 82, 517, 518, 519, 520, 517, 518, 519, + 520, 83, 84, 83, 84, 735, 80, 80, + 81, 82, 559, 560, 561, 559, 560, 561, + 83, 84, 83, 84, 735, 80, 80, 81, + 82, 595, 595, 83, 84, 83, 84, 735, + 92, 772, 91, 771, 79, 80, 80, 81, + 82, 668, 669, 670, 668, 669, 670, 83, + 84, 83, 84, 773, 774, 774, 667, 775, + 775, 667, 776, 776, 667, 777, 777, 667, + 778, 778, 667, 779, 779, 779, 779, 667, + 780, 780, 667, 781, 781, 667, 782, 782, + 782, 782, 667, 784, 784, 785, 786, 83, + 84, 787, 788, 783, 790, 790, 791, 792, + 29, 30, 31, 32, 33, 29, 30, 31, + 32, 33, 83, 84, 793, 794, 28, 789, + 795, 795, 796, 797, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 89, 90, 798, 799, 4, 0, + 92, 801, 91, 800, 145, 803, 803, 804, + 805, 61, 62, 63, 61, 62, 63, 83, + 84, 806, 807, 741, 742, 808, 809, 802, + 810, 810, 811, 812, 69, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 74, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 89, 90, 813, 769, + 108, 109, 814, 770, 69, 69, 117, 69, + 114, 784, 784, 785, 786, 151, 152, 153, + 154, 151, 152, 153, 154, 83, 84, 787, + 788, 802, 784, 784, 785, 786, 215, 216, + 217, 215, 216, 217, 83, 84, 787, 788, + 802, 784, 784, 785, 786, 260, 260, 83, + 84, 787, 788, 802, 784, 784, 785, 786, + 282, 282, 83, 84, 787, 788, 802, 784, + 784, 785, 786, 612, 295, 612, 295, 83, + 84, 787, 788, 802, 784, 784, 785, 786, + 335, 336, 335, 336, 83, 84, 787, 788, + 802, 784, 784, 785, 786, 354, 355, 356, + 357, 356, 357, 83, 84, 787, 788, 802, + 784, 784, 785, 786, 393, 394, 393, 394, + 83, 84, 787, 788, 802, 784, 784, 785, + 786, 414, 415, 416, 414, 415, 416, 83, + 84, 787, 788, 802, 784, 784, 785, 786, + 477, 477, 83, 84, 787, 788, 802, 784, + 784, 785, 786, 487, 488, 489, 487, 488, + 489, 83, 84, 787, 788, 802, 784, 784, + 785, 786, 517, 518, 519, 520, 517, 518, + 519, 520, 83, 84, 787, 788, 802, 784, + 784, 785, 786, 559, 560, 561, 559, 560, + 561, 83, 84, 787, 788, 802, 784, 784, + 785, 786, 595, 595, 83, 84, 787, 788, + 802, 815, 815, 94, 817, 818, 93, 93, + 819, 820, 93, 93, 93, 816, 821, 821, + 822, 823, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, + 19, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, + 83, 84, 824, 825, 4, 114, 80, 83, + 80, 81, 82, 84, 826, 827, 826, 828, + 829, 830, 689, 79, 86, 89, 86, 87, + 88, 90, 831, 756, 831, 832, 833, 834, + 689, 85, 757, 760, 757, 758, 759, 761, + 835, 827, 835, 836, 837, 838, 91, 771, + 79, 762, 92, 762, 763, 764, 765, 839, + 756, 839, 840, 841, 842, 91, 771, 79, + 843, 843, 36, 844, 844, 36, 845, 845, + 846, 847, 848, 849, 850, 850, 851, 852, + 57, 853, 853, 36, 854, 854, 36, 855, + 855, 36, 856, 856, 857, 858, 859, 860, + 861, 861, 862, 863, 57, 864, 864, 36, + 865, 865, 866, 867, 868, 869, 870, 870, + 871, 872, 57, 666, 874, 665, 873, 79, + 875, 875, 876, 877, 878, 761, 878, 761, + 665, 665, 665, 79, 879, 879, 880, 881, + 882, 765, 882, 765, 665, 665, 665, 85, + 875, 878, 875, 876, 877, 761, 883, 827, + 883, 884, 885, 838, 665, 873, 79, 879, + 882, 879, 880, 881, 765, 886, 756, 886, + 887, 888, 842, 665, 873, 79, 757, 760, + 757, 758, 759, 761, 889, 760, 889, 890, + 891, 167, 91, 111, 79, 762, 92, 762, + 763, 764, 765, 892, 92, 892, 893, 894, + 171, 91, 111, 79, 896, 895, 71, 897, + 897, 898, 899, 69, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 74, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 83, 84, 824, 900, 101, + 102, 824, 901, 69, 69, 117, 69, 114, + 80, 83, 80, 81, 82, 84, 902, 827, + 902, 903, 904, 838, 895, 79, 86, 89, + 86, 87, 88, 90, 905, 756, 905, 906, + 907, 842, 895, 79, 679, 679, 680, 681, + 151, 152, 153, 154, 151, 152, 153, 154, + 682, 683, 908, 679, 679, 680, 681, 215, + 216, 217, 215, 216, 217, 682, 683, 908, + 679, 679, 680, 681, 260, 260, 682, 683, + 908, 679, 679, 680, 681, 282, 282, 682, + 683, 908, 679, 679, 680, 681, 612, 295, + 612, 295, 682, 683, 908, 679, 679, 680, + 681, 335, 336, 335, 336, 682, 683, 908, + 679, 679, 680, 681, 354, 355, 356, 357, + 356, 357, 682, 683, 908, 679, 679, 680, + 681, 393, 394, 393, 394, 682, 683, 908, + 679, 679, 680, 681, 414, 415, 416, 414, + 415, 416, 682, 683, 908, 679, 679, 680, + 681, 477, 477, 682, 683, 908, 679, 679, + 680, 681, 487, 488, 489, 487, 488, 489, + 682, 683, 908, 679, 679, 680, 681, 517, + 518, 519, 520, 517, 518, 519, 520, 682, + 683, 908, 679, 679, 680, 681, 559, 560, + 561, 559, 560, 561, 682, 683, 908, 679, + 679, 680, 681, 595, 595, 682, 683, 908, + 666, 910, 665, 909, 85, 666, 912, 665, + 911, 145, 679, 679, 680, 681, 294, 295, + 294, 295, 682, 683, 908, 92, 914, 91, + 913, 145, 916, 915, 918, 917, 920, 921, + 922, 923, 920, 920, 920, 920, 919, 924, + 925, 926, 924, 927, 925, 924, 924, 925, + 925, 925, 919, 928, 929, 929, 928, 930, + 929, 928, 928, 929, 929, 929, 919, 931, + 925, 933, 932, 934, 932, 935, 936, 937, + 935, 938, 936, 935, 935, 936, 936, 936, + 932, 928, 928, 928, 928, 919, 939, 939, + 939, 939, 919, 942, 943, 941, 941, 940, + 944, 941, 944, 943, 944, 941, 945, 941, + 940, 941, 947, 941, 946, 948, 946, 949, + 946, 950, 951, 950, 953, 950, 951, 952, + 951, 946, 954, 955, 956, 954, 954, 940, + 944, 944, 944, 944, 957, 954, 958, 954, + 946, 959, 946, 960, 946, 961, 962, 963, + 961, 961, 946, 965, 965, 966, 967, 968, + 969, 964, 965, 965, 966, 967, 968, 969, + 971, 970, 973, 973, 974, 975, 977, 978, + 979, 980, 981, 977, 978, 979, 980, 981, + 982, 983, 982, 983, 976, 972, 985, 985, + 986, 987, 988, 989, 988, 989, 984, 991, + 990, 973, 973, 974, 975, 982, 983, 982, + 983, 992, 972, 995, 996, 997, 998, 999, + 995, 996, 997, 998, 999, 994, 993, 1000, + 1000, 1001, 1002, 1004, 1005, 1004, 1005, 1003, + 972, 1007, 1006, 964, 1009, 1009, 1010, 1011, + 1012, 1013, 1008, 1009, 1009, 1010, 1011, 1014, + 1015, 1016, 1014, 1012, 1013, 1014, 1014, 1014, + 1008, 1017, 1018, 1019, 1017, 1017, 1017, 1017, + 1008, 1021, 1021, 1022, 1023, 1024, 1024, 1025, + 1024, 1026, 1027, 1026, 1027, 1024, 1024, 1024, + 1020, 1028, 1028, 1029, 1030, 1031, 1032, 1031, + 1032, 1020, 1034, 1033, 1035, 1017, 1037, 1036, + 1038, 1036, 1039, 1040, 1041, 1039, 1039, 1039, + 1039, 1036, 1021, 1021, 1022, 1023, 1026, 1027, + 1026, 1027, 1020, 1043, 1042, 1008, 1044, 1044, + 1045, 1046, 1047, 1048, 690, 1044, 1044, 1045, + 1046, 1047, 1048, 1049, 1049, 1049, 1050, 1052, + 1052, 1053, 1054, 1055, 1056, 1055, 1057, 1051, + 1059, 1059, 1060, 1061, 1062, 1063, 1064, 1062, + 1065, 1066, 1065, 1067, 1062, 1062, 1062, 1058, + 1069, 1070, 1071, 1069, 1069, 1069, 1069, 1068, + 1072, 1072, 1073, 1074, 1075, 1075, 1076, 1075, + 1077, 1078, 1077, 1078, 1075, 1075, 1075, 1058, + 1079, 1079, 1080, 1081, 1065, 1066, 1065, 1066, + 85, 1083, 1082, 1084, 1069, 1086, 1085, 1087, + 1085, 1088, 1089, 1090, 1088, 1088, 1088, 1088, + 1085, 1072, 1072, 1073, 1074, 1077, 1078, 1077, + 1078, 1058, 1083, 1092, 1082, 1091, 85, 1093, + 1093, 1094, 1095, 1062, 1063, 1064, 1062, 1096, + 1097, 1062, 1062, 1062, 1068, 1099, 1098, 690, + 1101, 1100, 690, 1103, 1103, 1103, 1103, 1102, + 1104, 1104, 1104, 1104, 1102, 1105, 1106, 1105, + 1105, 1105, 1102, 1107, 1108, 1107, 1107, 1107, + 1102, 1108, 1108, 1109, 1110, 1103, 1111, 1112, + 1113, 1113, 1114, 1115, 1103, 1103, 1103, 1102, + 1117, 1116, 1102, 1108, 1102, 1119, 1119, 1120, + 1121, 1122, 1123, 1124, 1124, 1125, 1126, 1118, + 1127, 1127, 1128, 1129, 1130, 1131, 1132, 1133, + 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, + 1142, 1143, 1144, 1130, 1131, 1132, 1133, 1134, + 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, + 1143, 1144, 1145, 1146, 1147, 1147, 1148, 1149, + 1118, 1150, 1150, 1151, 1152, 1153, 1154, 1155, + 1153, 1154, 1155, 1156, 1157, 1158, 1158, 1159, + 1160, 1118, 1161, 1161, 1118, 1162, 1162, 1118, + 1163, 1163, 1164, 1165, 1166, 1167, 1168, 1168, + 1169, 1170, 1118, 1172, 1171, 1118, 1173, 1174, + 1175, 1176, 1173, 1174, 1175, 1176, 1118, 1177, + 1177, 1118, 1178, 1178, 1179, 1180, 1181, 1182, + 1183, 1183, 1184, 1185, 1118, 1186, 1187, 1186, + 1187, 1118, 1188, 1188, 1118, 1189, 1189, 1118, + 1190, 1190, 1118, 1191, 1191, 1118, 1192, 1192, + 1193, 1194, 1195, 1196, 1197, 1197, 1198, 1199, + 1118, 1200, 1200, 1201, 1202, 1203, 1204, 1205, + 1205, 1206, 1207, 1118, 1208, 1208, 1118, 1209, + 1209, 1118, 1210, 1210, 1211, 1212, 1213, 1214, + 1215, 1215, 1216, 1217, 1118, 1218, 1218, 1118, + 1219, 1219, 1118, 1220, 1220, 1118, 1221, 1221, + 1222, 1223, 1224, 1225, 1226, 1226, 1227, 1228, + 1118, 1229, 1230, 1231, 1229, 1230, 1231, 1118, + 1232, 1232, 1118, 1233, 1233, 1118, 1234, 1234, + 1118, 1235, 1235, 1236, 1237, 1238, 1239, 1240, + 1240, 1241, 1242, 1118, 1243, 1244, 1243, 1244, + 1118, 1245, 1245, 1118, 1246, 1246, 1118, 1247, + 1247, 1248, 1249, 1250, 1251, 1252, 1252, 1253, + 1254, 1118, 1255, 1255, 1118, 1256, 1256, 1118, + 1257, 1257, 1118, 1258, 1258, 1259, 1260, 1261, + 1262, 1263, 1263, 1264, 1265, 1118, 1266, 1266, + 1267, 1268, 1269, 1270, 1271, 1271, 1272, 1273, + 1118, 1274, 1274, 1118, 1275, 1275, 1118, 1276, + 1277, 1118, 1278, 1118, 1279, 1279, 1280, 1281, + 1282, 1283, 1284, 1284, 1285, 1286, 1118, 1287, + 1118, 1288, 1288, 1289, 1290, 1291, 1292, 1293, + 1293, 1294, 1295, 1118, 1296, 1296, 1118, 1297, + 1297, 1118, 1298, 1298, 1118, 1299, 1299, 1118, + 1300, 1300, 1301, 1302, 1303, 1304, 1305, 1305, + 1306, 1307, 1118, 1308, 1308, 1118, 1309, 1309, + 1118, 1310, 1310, 1118, 1311, 1311, 1118, 1312, + 1312, 1118, 1313, 1313, 1118, 1314, 1314, 1118, + 1315, 1315, 1316, 1317, 1318, 1319, 1320, 1320, + 1321, 1322, 1118, 1323, 1324, 1323, 1324, 1118, + 1325, 1325, 1118, 1326, 1326, 1327, 1328, 1329, + 1330, 1331, 1331, 1332, 1333, 1118, 1334, 1334, + 1335, 1336, 1337, 1338, 1339, 1339, 1340, 1341, + 1118, 1342, 1343, 1344, 1345, 1344, 1345, 1118, + 1346, 1118, 1347, 1347, 1348, 1349, 1350, 1351, + 1352, 1352, 1353, 1354, 1118, 1355, 1118, 1356, + 1356, 1357, 1358, 1359, 1360, 1361, 1361, 1362, + 1363, 1118, 1364, 1364, 1118, 1365, 1365, 1366, + 1367, 1368, 1369, 1370, 1370, 1371, 1372, 1118, + 1373, 1373, 1374, 1375, 1376, 1377, 1378, 1378, + 1379, 1380, 1118, 1381, 1382, 1381, 1382, 1118, + 1383, 1383, 1118, 1384, 1384, 1118, 1385, 1385, + 1118, 1386, 1386, 1387, 1388, 1389, 1390, 1391, + 1391, 1392, 1393, 1118, 1394, 1394, 1395, 1396, + 1397, 1398, 1399, 1399, 1400, 1401, 1118, 1402, + 1403, 1404, 1402, 1403, 1404, 1118, 1405, 1405, + 1118, 1406, 1406, 1118, 1407, 1407, 1118, 1408, + 1408, 1409, 1410, 1411, 1412, 1413, 1413, 1414, + 1415, 1118, 1416, 1416, 1118, 1417, 1417, 1418, + 1419, 1420, 1421, 1422, 1422, 1423, 1424, 1118, + 1425, 1425, 1426, 1427, 1428, 1428, 1429, 1430, + 1431, 1431, 1432, 1433, 1118, 1434, 1434, 1118, + 1435, 1435, 1436, 1437, 1438, 1439, 1440, 1441, + 1441, 1442, 1443, 1118, 1444, 1444, 1445, 1446, + 1447, 1447, 1448, 1449, 1450, 1450, 1451, 1452, + 1118, 1453, 1453, 1118, 1454, 1454, 1118, 1455, + 1455, 1118, 1456, 1456, 1118, 1457, 1457, 1458, + 1459, 1460, 1461, 1462, 1462, 1463, 1464, 1118, + 1465, 1465, 1118, 1466, 1466, 1118, 1467, 1467, + 1468, 1469, 1470, 1471, 1472, 1472, 1473, 1474, + 1118, 1475, 1476, 1477, 1475, 1476, 1477, 1118, + 1478, 1478, 1479, 1480, 1481, 1482, 1483, 1483, + 1484, 1485, 1118, 1486, 1486, 1118, 1487, 1487, + 1118, 1488, 1488, 1118, 1489, 1489, 1490, 1491, + 1492, 1493, 1494, 1494, 1495, 1496, 1118, 1497, + 1497, 1498, 1499, 1500, 1501, 1502, 1502, 1503, + 1504, 1118, 1505, 1506, 1507, 1508, 1505, 1506, + 1507, 1508, 1118, 1509, 1509, 1118, 1510, 1510, + 1511, 1512, 1513, 1514, 1515, 1515, 1516, 1517, + 1118, 1518, 1518, 1118, 1519, 1519, 1520, 1521, + 1522, 1523, 1524, 1524, 1525, 1526, 1118, 1527, + 1527, 1118, 1528, 1528, 1529, 1530, 1531, 1532, + 1533, 1533, 1534, 1535, 1118, 1536, 1536, 1118, + 1537, 1537, 1118, 1538, 1538, 1118, 1539, 1539, + 1540, 1541, 1542, 1543, 1544, 1544, 1545, 1546, + 1118, 1547, 1548, 1549, 1547, 1548, 1549, 1118, + 1550, 1550, 1118, 1551, 1551, 1118, 1552, 1552, + 1553, 1554, 1555, 1556, 1557, 1557, 1558, 1559, + 1118, 1560, 1560, 1118, 1561, 1561, 1562, 1563, + 1564, 1565, 1566, 1566, 1567, 1568, 1118, 1569, + 1569, 1118, 1570, 1570, 1118, 1571, 1118, 1572, + 1572, 1573, 1574, 1576, 1577, 1578, 1578, 1579, + 1580, 1575, 1118, 1581, 1581, 1118, 1582, 1582, + 1118, 1583, 1583, 1584, 1585, 1586, 1587, 1588, + 1588, 1589, 1590, 1118, 1591, 1591, 1118, 1592, + 1592, 1118, 1593, 1593, 1118, 1594, 1594, 1595, + 1596, 1597, 1598, 1599, 1599, 1600, 1601, 1118, + 1602, 1602, 1118, 1603, 1603, 1604, 1605, 1606, + 1607, 1608, 1608, 1609, 1610, 1118, 1612, 1612, + 1613, 1614, 1615, 1616, 1611, 1612, 1612, 1613, + 1614, 1615, 1616, 1618, 1617, 1619, 1619, 1620, + 1621, 1623, 1624, 1622, 1617, 1626, 1626, 1627, + 1628, 1630, 1631, 1629, 1629, 1629, 1625, 1632, + 1632, 1632, 1625, 1633, 1633, 1634, 1635, 1636, + 1637, 1638, 1638, 1639, 1640, 1629, 1629, 1629, + 1625, 1642, 1641, 1625, 1644, 1643, 1611, 1646, + 1645, 1611, 1647, 1647, 1648, 1649, 1650, 1651, + 1611, 1647, 1647, 1648, 1649, 1652, 1650, 1651, + 1653, 1617, 1654, 1654, 1655, 1656, 1658, 1658, + 1659, 1660, 1657, 1617, 1661, 1661, 1662, 1663, + 1665, 1666, 1664, 1664, 1664, 1625, 1667, 1667, + 1667, 1625, 1668, 1668, 1669, 1670, 1671, 1672, + 1673, 1673, 1674, 1675, 1664, 1664, 1664, 1625, + 1677, 1676, 1625, 1679, 1678, 1611, 1680, 1680, + 1681, 1682, 1683, 1684, 1657, 1617, 1686, 1685, + 1611, 1689, 1690, 1691, 1692, 1693, 1689, 1690, + 1691, 1692, 1693, 1688, 1687, 1694, 1694, 1694, + 1694, 1695, 1687, 1696, 1697, 1696, 1697, 1687, + 1698, 1698, 1698, 1698, 1687, 1699, 1699, 1687, + 1700, 1701, 1700, 1700, 1700, 1687, 1702, 1702, + 1687, 1703, 1703, 1687, 1704, 1704, 1687, 1705, + 1705, 1687, 1706, 1687, 1707, 1687, 1708, 1708, + 1687, 1709, 1709, 1687, 1710, 1710, 1687, 1711, + 1687, 1712, 1712, 1712, 1712, 1687, 1713, 1714, + 1713, 1714, 1687, 1715, 1716, 1715, 1716, 1687, + 1717, 1687, 1718, 1718, 1687, 1719, 1719, 1687, + 1720, 1720, 1687, 1721, 1721, 1687, 1722, 1722, + 1722, 1722, 1687, 1723, 1723, 1687, 1724, 1724, + 1687, 1725, 1725, 1687, 1726, 1727, 1687, 1728, + 1687, 1729, 1687, 1730, 1730, 1687, 1731, 1731, + 1687, 1732, 1732, 1687, 1733, 1687, 1734, 1687, + 1735, 1687, 1736, 1736, 1736, 1736, 1687, 1737, + 1687, 1738, 1687, 1739, 1739, 1687, 1740, 1740, + 1687, 1741, 1741, 1687, 1742, 1687, 1743, 1687, + 1744, 1687, 1745, 1745, 1745, 1745, 1687, 1746, + 1747, 1687, 1748, 1687, 1749, 1687, 1750, 1687, + 1751, 1687, 1752, 1752, 1752, 1752, 1687, 1753, + 1687, 1754, 1687, 1755, 1755, 1755, 1755, 1687, + 1756, 1756, 1687, 1757, 1757, 1687, 1758, 1758, + 1687, 1759, 1759, 1687, 1760, 1760, 1687, 1761, + 1761, 1687, 1762, 1762, 1687, 1763, 1763, 1763, + 1763, 1687, 1764, 1764, 1687, 1765, 1765, 1687, + 1766, 1766, 1687, 1767, 1767, 1687, 1768, 1768, + 1687, 1769, 1769, 1687, 1770, 1771, 1770, 1771, + 1687, 1772, 1772, 1687, 1773, 1773, 1687, 1774, + 1774, 1774, 1774, 1687, 1775, 1775, 1687, 1776, + 1776, 1687, 1777, 1777, 1777, 1777, 1687, 1778, + 1778, 1687, 1779, 1779, 1687, 1780, 1781, 1780, + 1781, 1687, 1782, 1782, 1687, 1783, 1687, 1784, + 1784, 1784, 1784, 1687, 1785, 1785, 1687, 1786, + 1786, 1687, 1787, 1788, 1789, 1687, 1790, 1791, + 1790, 1790, 1790, 1687, 1792, 1792, 1687, 1793, + 1793, 1687, 1794, 1794, 1687, 1795, 1795, 1687, + 1796, 1687, 1797, 1687, 1798, 1798, 1687, 1799, + 1799, 1687, 1800, 1800, 1687, 1801, 1687, 1802, + 1802, 1802, 1802, 1687, 1803, 1687, 1804, 1687, + 1805, 1805, 1805, 1805, 1687, 1806, 1687, 1807, + 1687, 1808, 1808, 1808, 1808, 1687, 1811, 1812, + 1813, 1814, 1815, 1816, 1811, 1812, 1813, 1814, + 1815, 1816, 1810, 1809, 1817, 1817, 1817, 1817, + 1818, 1809, 1819, 1819, 1809, 1820, 1820, 1809, + 1821, 1821, 1809, 1822, 1822, 1809, 1823, 1823, + 1809, 1824, 1824, 1824, 1824, 1809, 1825, 1826, + 1827, 1825, 1826, 1827, 1809, 1828, 1828, 1809, + 1829, 1829, 1809, 1830, 1830, 1809, 1831, 1831, + 1809, 1832, 1832, 1809, 1833, 1833, 1833, 1833, + 1809, 1834, 1835, 1834, 1835, 1809, 1836, 1836, + 1809, 1837, 1837, 1837, 1837, 1809, 1838, 1838, + 1809, 1839, 1839, 1809, 1840, 1840, 1840, 1840, + 1809, 1841, 1841, 1809, 1842, 1842, 1809, 1843, + 1843, 1809, 1844, 1844, 1844, 1844, 1809, 1845, + 1845, 1809, 1846, 1846, 1809, 1847, 1847, 1847, + 1847, 1809, 1848, 1849, 1848, 1849, 1809, 1850, + 1850, 1809, 1851, 1851, 1851, 1851, 1809, 1852, + 1852, 1809, 1853, 1853, 1809, 1854, 1854, 1854, + 1854, 1809, 1855, 1855, 1809, 1856, 1856, 1809, + 1857, 1857, 1809, 1858, 1858, 1858, 1858, 1809, + 1859, 1859, 1809, 1860, 1860, 1809, 1861, 1861, + 1861, 1861, 1809, 1863, 1863, 1862, 1864, 1865, + 1864, 1864, 1864, 1865, 1862, 1866, 1866, 1866, + 1866, 1866, 1866, 71, 1867, 1867, 1867, 1867, + 71, 1868, 1868, 1868, 1868, 1868, 1868, 71, + 1869, 1869, 1870, 1871, 1872, 1873, 71, 1874, + 1874, 1875, 1876, 1877, 1877, 1877, 1878, 1879, + 1877, 1877, 1877, 71, 1880, 1880, 1881, 1882, + 1883, 1884, 71, 1886, 1886, 1887, 1888, 1890, + 1891, 1889, 1885, 1892, 1892, 1893, 1894, 1896, + 1897, 1895, 1885, 1898, 1898, 1899, 1900, 1902, + 1903, 1901, 1885, 1905, 1905, 1906, 1907, 1909, + 1910, 1911, 1912, 1913, 1909, 1910, 1911, 1912, + 1913, 1914, 1915, 1908, 1904, 1916, 1916, 1917, + 1918, 1920, 1921, 1919, 1885, 1922, 1922, 1923, + 1924, 1926, 1927, 1928, 1929, 1930, 1926, 1927, + 1928, 1929, 1930, 1931, 1932, 1925, 1904, 1933, + 1933, 1934, 1935, 1937, 1938, 1936, 1885, 1939, + 1939, 1940, 1941, 1943, 1944, 1945, 1946, 1947, + 1943, 1944, 1945, 1946, 1947, 1948, 1949, 1942, + 1904, 1950, 1950, 1951, 1952, 1954, 1955, 1953, + 1885, 1956, 1956, 1958, 1959, 1960, 1961, 1962, + 1958, 1959, 1960, 1961, 1962, 1956, 1956, 1957, + 1904, 1956, 1956, 1956, 1956, 1963, 1904, 1965, + 1966, 1967, 1968, 1969, 1965, 1966, 1967, 1968, + 1969, 1964, 1904, 1970, 1970, 1970, 1970, 1971, + 1904, 1973, 1972, 71, 1939, 1939, 1940, 1941, + 1948, 1949, 1974, 1904, 1976, 1977, 1978, 1979, + 1980, 1976, 1977, 1978, 1979, 1980, 1975, 1904, + 1981, 1981, 1982, 1983, 1985, 1986, 1984, 1904, + 1988, 1987, 71, 1922, 1922, 1923, 1924, 1931, + 1932, 1989, 1904, 1991, 1992, 1993, 1994, 1995, + 1991, 1992, 1993, 1994, 1995, 1990, 1904, 1996, + 1996, 1997, 1998, 2000, 2001, 1999, 1904, 2003, + 2002, 71, 1905, 1905, 1906, 1907, 1914, 1915, + 2004, 1904, 2006, 2007, 2008, 2009, 2010, 2006, + 2007, 2008, 2009, 2010, 2005, 1904, 2011, 2011, + 2012, 2013, 2015, 2016, 2014, 1904, 2018, 2017, + 71, 2020, 2019, 71, 2022, 2021, 71, 71, + 71, 71, 71, 2023, 2024, 2024, 2025, 2026, + 2027, 2028, 71, 2030, 2030, 2031, 2032, 2033, + 2034, 2029, 2029, 2029, 71, 2035, 2035, 2035, + 2035, 71, 2037, 2036, 71, 2038, 2038, 2038, + 2038, 2038, 2038, 71, 2039, 2039, 2040, 2041, + 2042, 2043, 71, 2044, 2044, 2045, 2046, 2047, + 2047, 2047, 2048, 2049, 2047, 2047, 2047, 71, + 2050, 2050, 2050, 2050, 71, 2052, 2051, 71, + 2053, 1885, 2054, 2054, 2055, 2056, 2058, 2059, + 2057, 1885, 2060, 2060, 2061, 2062, 2063, 2063, + 2063, 2064, 2065, 2063, 2063, 2063, 71, 2066, + 2066, 2066, 2066, 71, 2068, 2067, 71, 2070, + 2070, 2070, 2070, 2069, 2071, 2071, 2072, 2073, + 2074, 2075, 2076, 2076, 2077, 2078, 2070, 2080, + 2080, 2081, 2082, 2083, 2084, 2085, 2085, 2086, + 2087, 2079, 2079, 2079, 2070, 2089, 2088, 2070, + 2090, 2090, 2090, 2090, 1862, 2091, 2092, 2091, + 2091, 2091, 2092, 2092, 2092, 1862, 2094, 2093, + 2095, 2095, 2096, 2097, 2099, 2100, 2098, 2093, + 2101, 2101, 2102, 2103, 2105, 2106, 2107, 2108, + 2104, 2093, 2109, 2109, 2110, 2111, 2113, 2114, + 2112, 2093, 2115, 2115, 2116, 2117, 2105, 2106, + 2119, 2120, 2118, 2093, 2121, 2121, 2122, 2123, + 2124, 2126, 2127, 2125, 2093, 2128, 2128, 2129, + 2130, 2105, 2106, 2131, 2132, 2093, 2133, 2133, + 2134, 2135, 2136, 2137, 2093, 2133, 2133, 2134, + 2135, 2136, 2137, 2138, 2093, 2139, 2139, 2140, + 2141, 2143, 2144, 2142, 2093, 2145, 2145, 2146, + 2147, 2149, 2150, 2151, 2152, 2148, 2093, 2153, + 2153, 2154, 2155, 2157, 2158, 2156, 2093, 2159, + 2159, 2160, 2161, 2149, 2150, 2163, 2164, 2162, + 2093, 2165, 2165, 2166, 2167, 2168, 2170, 2171, + 2169, 2093, 2172, 2172, 2173, 2174, 2149, 2150, + 2175, 2176, 2093, 2177, 2177, 2178, 2179, 2180, + 2181, 2093, 2177, 2177, 2178, 2179, 2182, 2180, + 2181, 2183, 2093, 2184, 2093, 2185, 2185, 2186, + 2187, 2188, 2190, 2191, 2192, 2193, 2193, 2194, + 2195, 2189, 2093, 2196, 2196, 2197, 2198, 2200, + 2201, 2202, 2202, 2203, 2204, 2199, 2093, 2205, + 2205, 2206, 2207, 2208, 2210, 2211, 2212, 2213, + 2213, 2214, 2215, 2209, 2093, 2216, 2216, 2217, + 2218, 2220, 2221, 2202, 2202, 2222, 2223, 2219, + 2093, 2224, 2224, 2225, 2226, 2227, 2229, 2230, + 2231, 2232, 2232, 2233, 2234, 2228, 2093, 2235, + 2235, 2236, 2237, 2239, 2240, 2202, 2202, 2241, + 2242, 2238, 2093, 2243, 2243, 2244, 2245, 2246, + 2243, 2248, 2249, 2250, 2250, 2251, 2252, 2247, + 2093, 2253, 2253, 2254, 2255, 2256, 2257, 2202, + 2202, 2258, 2259, 2093, 2261, 2260, 2093, 2262, + 2262, 2263, 2264, 2262, 2266, 2267, 2268, 2268, + 2269, 2270, 2265, 2093, 2243, 2243, 2244, 2245, + 2243, 2248, 2249, 2250, 2250, 2251, 2252, 2271, + 2093, 2273, 2272, 2093, 2274, 2274, 2275, 2276, + 2278, 2279, 2280, 2281, 2281, 2282, 2283, 2277, + 2093, 2224, 2224, 2225, 2226, 2229, 2230, 2231, + 2232, 2232, 2233, 2234, 2284, 2093, 2235, 2235, + 2236, 2237, 2239, 2240, 2202, 2202, 2241, 2242, + 2093, 2286, 2285, 2093, 2287, 2287, 2288, 2289, + 2291, 2292, 2293, 2294, 2294, 2295, 2296, 2290, + 2093, 2205, 2205, 2206, 2207, 2210, 2211, 2212, + 2213, 2213, 2214, 2215, 2297, 2093, 2216, 2216, + 2217, 2218, 2220, 2221, 2202, 2202, 2222, 2223, + 2093, 2299, 2298, 2093, 2300, 2300, 2301, 2302, + 2304, 2305, 2306, 2307, 2307, 2308, 2309, 2303, + 2093, 2185, 2185, 2186, 2187, 2190, 2191, 2192, + 2193, 2193, 2194, 2195, 2310, 2093, 2196, 2196, + 2197, 2198, 2200, 2201, 2202, 2202, 2203, 2204, + 2093, 2312, 2311, 2093, 2313, 2313, 2314, 2315, + 2316, 2317, 2093, 2319, 2318, 2093, 2320, 2320, + 2321, 2322, 2324, 2325, 2323, 2093, 2165, 2165, + 2166, 2167, 2170, 2171, 2326, 2093, 2328, 2327, + 2093, 2330, 2329, 2093, 2332, 2331, 2093, 2333, + 2333, 2334, 2335, 2336, 2337, 2093, 2339, 2338, + 2093, 2340, 2340, 2341, 2342, 2344, 2345, 2343, + 2093, 2121, 2121, 2122, 2123, 2126, 2127, 2346, + 2093, 2348, 2347, 2093, 2350, 2349, 2093, 2351, + 1885, 2352, 2352, 2353, 2354, 2356, 2357, 2355, + 1885, 2358, 2358, 2359, 2360, 2362, 2363, 2361, + 1885, 2364, 2364, 2365, 2366, 2368, 2369, 2367, + 1885, 2370, 2370, 2371, 2372, 2374, 2375, 2373, + 1885, 2376, 2376, 2377, 2378, 2380, 2381, 2379, + 1885, 2382, 2382, 2383, 2384, 2385, 2385, 2385, + 2386, 2387, 2385, 2385, 2385, 71, 2388, 2388, + 2388, 2388, 71, 2390, 2389, 71, 2392, 2391, + 71, 2394, 2393, 71, 2395, 1885, 2396, 2396, + 2397, 2398, 2400, 2401, 2399, 1885, 2402, 2402, + 2403, 2404, 2406, 2407, 2405, 1885, 2408, 2408, + 2409, 2410, 2412, 2413, 2411, 1885, 2415, 2415, + 2416, 2417, 2418, 2419, 2414, 2414, 2414, 71, + 2420, 2420, 2421, 2422, 2423, 2424, 71, 2426, + 2426, 2427, 2428, 2429, 2430, 2425, 2425, 2425, + 71, 2431, 2431, 2432, 2433, 2434, 2435, 71, + 2437, 2437, 2438, 2439, 2440, 2441, 2436, 2436, + 2436, 71, 2442, 2442, 2443, 2444, 2445, 2446, + 71, 2447, 2447, 2448, 2449, 2450, 2450, 2450, + 2451, 2452, 2450, 2450, 2450, 71, 2453, 2453, + 2453, 2453, 71, 2455, 2454, 71, 2457, 2456, + 71, 2459, 2458, 71, 2461, 2460, 71, 2463, + 2462, 71, 2464, 2464, 2464, 71, 2465, 2465, + 2466, 2467, 2468, 2469, 71, 2465, 2465, 2466, + 2467, 2468, 2469, 2470, 1885, 2471, 2471, 2472, + 2473, 2475, 2476, 2474, 1885, 2477, 2477, 2478, + 2479, 2481, 2482, 2480, 2480, 2480, 71, 2483, + 2483, 2484, 2485, 2486, 2487, 71, 2483, 2483, + 2484, 2485, 2488, 2486, 2487, 2488, 2488, 2488, + 71, 2489, 2489, 71, 2491, 2490, 71, 2493, + 2492, 71, 2495, 2494, 71, 2497, 2497, 2498, + 2499, 2500, 2501, 2502, 2503, 2504, 2505, 2505, + 2506, 2507, 2496, 2508, 2509, 2496, 2510, 2496, + 2512, 2512, 2511, 2514, 2513, 2511, 2515, 2496, + 2516, 2516, 2517, 2518, 2520, 2521, 2522, 2522, + 2523, 2524, 2519, 2496, 2526, 2525, 71, 2527, + 2496, 2528, 2528, 2528, 2528, 2511, 2530, 2529, + 2529, 2529, 2511, 2531, 1885, 2532, 2532, 2533, + 2534, 2536, 2537, 2535, 1885, 2538, 2538, 2539, + 2540, 2542, 2543, 2541, 2541, 2541, 71, 2544, + 2544, 2545, 2546, 2547, 2548, 71, 2544, 2544, + 2545, 2546, 2547, 2548, 2549, 1885, 2550, 2550, + 2551, 2552, 2554, 2555, 2553, 1885, 2557, 2557, + 2558, 2559, 2561, 2562, 2560, 2560, 2560, 2556, + 2563, 2563, 2563, 2556, 2564, 2564, 2565, 2566, + 2567, 2568, 2569, 2569, 2570, 2571, 2560, 2560, + 2560, 2556, 2573, 2572, 2556, 2575, 2574, 71, + 2577, 2576, 71, 2579, 2578, 71, 2580, 1885, + 2581, 2581, 2582, 2583, 2585, 2586, 2584, 1885, + 2587, 2587, 2588, 2589, 2591, 2592, 2590, 1885, + 2593, 2593, 2594, 2595, 2597, 2598, 2596, 1885, + 2599, 2599, 2600, 2601, 2603, 2604, 2602, 2602, + 2602, 2556, 2605, 2605, 2605, 2556, 2606, 2606, + 2607, 2608, 2609, 2610, 2611, 2611, 2612, 2613, + 2602, 2602, 2602, 2556, 2615, 2614, 2556, 2617, + 2616, 71, 2619, 2618, 71, 2620, 1885, 2621, + 2621, 2622, 2623, 2625, 2626, 2624, 1885, 2628, + 2628, 2629, 2630, 2631, 2632, 2633, 2634, 2635, + 2636, 2627, 2637, 2637, 2638, 2639, 2640, 2641, + 2627, 2637, 2637, 2638, 2639, 2640, 2641, 2643, + 2642, 2644, 2644, 2645, 2646, 2648, 2649, 2647, + 2642, 2650, 2650, 2651, 2652, 2653, 2654, 2655, + 2627, 2657, 2657, 2658, 2659, 2660, 2660, 2661, + 2662, 2663, 2663, 2664, 2665, 2666, 2666, 2666, + 2666, 2667, 2668, 2666, 2666, 2669, 2670, 2671, + 2672, 2666, 2666, 2673, 2674, 2675, 2676, 2666, + 2666, 2677, 2678, 2656, 2657, 2657, 2658, 2659, + 2680, 2667, 2668, 2680, 2680, 2680, 2679, 2666, + 2666, 2679, 2682, 2681, 2679, 2660, 2660, 2661, + 2662, 2666, 2666, 2666, 2666, 2671, 2672, 2666, + 2666, 2673, 2674, 2679, 2684, 2683, 2679, 2680, + 2657, 2657, 2658, 2659, 2660, 2660, 2661, 2662, + 2663, 2663, 2664, 2665, 2666, 2666, 2666, 2666, + 2667, 2668, 2666, 2666, 2669, 2670, 2671, 2672, + 2666, 2666, 2673, 2674, 2675, 2676, 2666, 2666, + 2677, 2678, 2680, 2680, 2680, 2679, 2682, 2684, + 2686, 2681, 2683, 2685, 2679, 2688, 2687, 2627, + 2690, 2689, 2627, 2691, 2691, 2692, 2693, 2694, + 2695, 2627, 2691, 2691, 2692, 2693, 2694, 2695, + 2696, 2642, 2697, 2697, 2698, 2699, 2701, 2702, + 2700, 2642, 2704, 2704, 2705, 2706, 2707, 2708, + 2709, 2707, 2703, 2711, 2712, 2712, 2713, 2714, + 2715, 2715, 2716, 2717, 2718, 2718, 2719, 2720, + 2721, 2721, 2721, 2721, 2722, 2723, 2721, 2721, + 2724, 2725, 2726, 2727, 2721, 2721, 2728, 2729, + 2730, 2731, 2721, 2721, 2732, 2733, 2711, 2710, + 2735, 2734, 2627, 2737, 2736, 2627, 2738, 2738, + 2739, 2740, 2741, 2742, 2627, 2738, 2738, 2739, + 2740, 2741, 2742, 2743, 2642, 2744, 2744, 2745, + 2746, 2748, 2749, 2747, 2642, 2750, 2750, 2751, + 2752, 2753, 2754, 2755, 2753, 2753, 2753, 2703, + 2756, 2757, 2757, 2758, 2759, 2760, 2760, 2761, + 2762, 2763, 2763, 2764, 2765, 2766, 2766, 2766, + 2766, 2767, 2768, 2766, 2766, 2769, 2770, 2771, + 2772, 2766, 2766, 2773, 2774, 2775, 2776, 2766, + 2766, 2777, 2778, 2756, 2756, 2756, 2710, 2780, + 2779, 2627, 2782, 2781, 2627, 2783, 2783, 2784, + 2785, 2786, 2787, 2627, 2783, 2783, 2784, 2785, + 2786, 2787, 2788, 2642, 2789, 2789, 2790, 2791, + 2793, 2794, 2792, 2642, 2795, 2795, 2796, 2797, + 2798, 2798, 2798, 2799, 2800, 2798, 2798, 2798, + 2627, 2801, 2801, 2802, 2803, 2804, 2804, 2805, + 2806, 2807, 2807, 2808, 2809, 2810, 2810, 2810, + 2810, 2811, 2812, 2810, 2810, 2813, 2814, 2815, + 2816, 2810, 2810, 2817, 2818, 2819, 2820, 2810, + 2810, 2821, 2822, 2656, 2824, 2823, 2627, 2826, + 2825, 2627, 2828, 2827, 71, 2830, 2831, 2832, + 2833, 2834, 2835, 2836, 2837, 2838, 2839, 2840, + 2841, 2842, 2843, 2844, 2830, 2831, 2832, 2833, + 2834, 2835, 2836, 2837, 2838, 2839, 2840, 2841, + 2842, 2843, 2844, 2829, 2845, 2845, 2846, 2847, + 2848, 2849, 2850, 2848, 2849, 2850, 2851, 2852, + 2829, 2853, 2853, 2854, 2855, 2857, 2858, 2856, + 2856, 2856, 71, 2859, 2859, 2860, 2861, 2862, + 2863, 71, 2859, 2859, 2860, 2861, 2862, 2863, + 2864, 1885, 2865, 2865, 2866, 2867, 2869, 2870, + 2868, 1885, 2871, 2871, 2872, 2873, 2875, 2876, + 2874, 1885, 2877, 2877, 2878, 2879, 2881, 2882, + 2880, 1885, 2884, 2884, 2885, 2886, 2888, 2889, + 2887, 2883, 2890, 2890, 2891, 2892, 2894, 2895, + 2893, 2883, 2896, 2896, 2897, 2898, 2900, 2901, + 2899, 2883, 2902, 2902, 2903, 2904, 2906, 2907, + 2905, 2883, 2908, 2908, 2909, 2910, 2912, 2913, + 2911, 1885, 2914, 2914, 2915, 2916, 2918, 2919, + 2917, 1885, 2920, 2920, 2921, 2922, 2923, 2923, + 2923, 2924, 2925, 2923, 2923, 2923, 71, 2926, + 2926, 2927, 2928, 2929, 2930, 71, 2931, 2931, + 2932, 2933, 2934, 2935, 2936, 2934, 2934, 2934, + 71, 2937, 2937, 71, 2939, 2938, 71, 2941, + 2940, 71, 2943, 2942, 71, 2945, 2944, 71, + 2947, 2946, 71, 2949, 2948, 71, 2951, 2950, + 71, 2953, 2952, 71, 2954, 2954, 2829, 2955, + 2955, 2829, 2956, 2956, 2957, 2958, 2959, 2960, + 2829, 2961, 2961, 2829, 2962, 2962, 2829, 2963, + 2963, 2829, 2964, 2964, 2965, 2966, 2967, 2968, + 2829, 2969, 2969, 2829, 2970, 2970, 2971, 2972, + 2973, 2974, 2829, 2975, 2976, 2977, 2978, 2975, + 2976, 2977, 2978, 2829, 2979, 2979, 2829, 2980, + 2980, 2981, 2982, 2983, 2984, 2829, 2985, 2986, + 2985, 2986, 2829, 2987, 2987, 2829, 2988, 2988, + 2829, 2989, 2989, 2829, 2990, 2990, 2829, 2991, + 2991, 2992, 2993, 2994, 2995, 2829, 2996, 2996, + 2997, 2998, 2999, 3000, 2829, 3001, 3001, 2829, + 3002, 3002, 2829, 3003, 3003, 3004, 3005, 3006, + 3007, 2829, 3008, 3008, 2829, 3009, 3009, 2829, + 3010, 3010, 2829, 3011, 3011, 3012, 3013, 3014, + 3015, 2829, 3016, 3017, 3018, 3016, 3017, 3018, + 2829, 3019, 3019, 2829, 3020, 3020, 2829, 3021, + 3021, 2829, 3022, 3022, 3023, 3024, 3025, 3026, + 2829, 3027, 3028, 3027, 3028, 2829, 3029, 3029, + 2829, 3030, 3030, 2829, 3031, 3031, 3032, 3033, + 3034, 3035, 2829, 3036, 3036, 2829, 3037, 3037, + 2829, 3038, 3038, 2829, 3039, 3039, 3040, 3041, + 3042, 3043, 2829, 3044, 3044, 3045, 3046, 3047, + 3048, 2829, 3049, 3049, 2829, 3050, 3050, 2829, + 3051, 3052, 2829, 3053, 2829, 3054, 3054, 3055, + 3056, 3057, 3058, 2829, 3059, 2829, 3060, 3060, + 3061, 3062, 3063, 3064, 2829, 3065, 3065, 2829, + 3066, 3066, 2829, 3067, 3067, 2829, 3068, 3068, + 2829, 3069, 3069, 3070, 3071, 3072, 3073, 2829, + 3074, 3074, 2829, 3075, 3075, 2829, 3076, 3076, + 2829, 3077, 3077, 2829, 3078, 3078, 2829, 3079, + 3079, 2829, 3080, 3080, 2829, 3081, 3081, 3082, + 3083, 3084, 3085, 2829, 3086, 3087, 3086, 3087, + 2829, 3088, 3088, 2829, 3089, 3089, 3090, 3091, + 3092, 3093, 2829, 3094, 3094, 3095, 3096, 3097, + 3098, 2829, 3099, 3100, 3101, 3102, 3101, 3102, + 2829, 3103, 2829, 3104, 3104, 3105, 3106, 3107, + 3108, 2829, 3109, 2829, 3110, 3110, 3111, 3112, + 3113, 3114, 2829, 3115, 3115, 2829, 3116, 3116, + 3117, 3118, 3119, 3120, 2829, 3121, 3121, 3122, + 3123, 3124, 3125, 2829, 3126, 3127, 3126, 3127, + 2829, 3128, 3128, 2829, 3129, 3129, 2829, 3130, + 3130, 2829, 3131, 3131, 3132, 3133, 3134, 3135, + 2829, 3136, 3136, 3137, 3138, 3139, 3140, 2829, + 3141, 3142, 3143, 3141, 3142, 3143, 2829, 3144, + 3144, 2829, 3145, 3145, 2829, 3146, 3146, 2829, + 3147, 3147, 3148, 3149, 3150, 3151, 2829, 3152, + 3152, 2829, 3153, 3153, 3154, 3155, 3156, 3157, + 2829, 3158, 3158, 3159, 3160, 3161, 3161, 3162, + 3163, 2829, 3164, 3164, 2829, 3165, 3165, 3166, + 3167, 3168, 3169, 3170, 2829, 3171, 3171, 3172, + 3173, 3174, 3174, 3175, 3176, 2829, 3177, 3177, + 2829, 3178, 3178, 2829, 3179, 3179, 2829, 3180, + 3180, 2829, 3181, 3181, 3182, 3183, 3184, 3185, + 2829, 3186, 3186, 2829, 3187, 3187, 2829, 3188, + 3188, 3189, 3190, 3191, 3192, 2829, 3193, 3194, + 3195, 3193, 3194, 3195, 2829, 3196, 3196, 3197, + 3198, 3199, 3200, 2829, 3201, 3201, 2829, 3202, + 3202, 2829, 3203, 3203, 2829, 3204, 3204, 3205, + 3206, 3207, 3208, 2829, 3209, 3209, 3210, 3211, + 3212, 3213, 2829, 3214, 3215, 3216, 3217, 3214, + 3215, 3216, 3217, 2829, 3218, 3218, 2829, 3219, + 3219, 3220, 3221, 3222, 3223, 2829, 3224, 3224, + 2829, 3225, 3225, 3226, 3227, 3228, 3229, 2829, + 3230, 3230, 2829, 3231, 3231, 3232, 3233, 3234, + 3235, 2829, 3236, 3236, 2829, 3237, 3237, 2829, + 3238, 3238, 2829, 3239, 3239, 3240, 3241, 3242, + 3243, 2829, 3244, 3245, 3246, 3244, 3245, 3246, + 2829, 3247, 3247, 2829, 3248, 3248, 2829, 3249, + 3249, 3250, 3251, 3252, 3253, 2829, 3254, 3254, + 2829, 3255, 3255, 3256, 3257, 3258, 3259, 2829, + 3260, 3260, 2829, 3261, 3261, 2829, 3263, 3262, + 3264, 3264, 3265, 3266, 3268, 3269, 3267, 3262, + 3270, 3270, 2829, 3271, 3271, 2829, 3272, 3272, + 3273, 3274, 3275, 3276, 2829, 3277, 3277, 3277, + 3277, 3277, 3277, 71, 3278, 3278, 3278, 3278, + 71, 3279, 3279, 3279, 3279, 71, 3280, 1885, + 3281, 3281, 3282, 3283, 3285, 3286, 3284, 1885, + 3287, 3287, 3288, 3289, 3291, 3292, 3290, 1885, + 3293, 3293, 3294, 3295, 3297, 3298, 3296, 1885, + 3299, 3299, 3300, 3301, 3303, 3304, 3302, 3302, + 3302, 71, 3305, 3305, 3306, 3307, 3308, 3309, + 71, 3305, 3305, 3306, 3307, 3310, 3308, 3309, + 3310, 3310, 3310, 71, 3311, 3311, 71, 3313, + 3312, 71, 3315, 3314, 71, 3317, 3316, 71, + 3318, 3318, 3318, 3318, 71, 3319, 3319, 71, + 3320, 1885, 3321, 3321, 3322, 3323, 3325, 3326, + 3324, 1885, 3327, 3327, 3328, 3329, 3331, 3332, + 3330, 1885, 3333, 3333, 3334, 3335, 3337, 3338, + 3336, 1885, 3339, 3339, 3340, 3341, 3343, 3344, + 3342, 1885, 3345, 3345, 3346, 3347, 3349, 3350, + 3348, 1885, 3351, 3351, 3352, 3353, 3354, 3356, + 3357, 3355, 3355, 3355, 2556, 3358, 3358, 3359, + 3360, 3361, 3362, 2556, 3364, 3364, 3365, 3366, + 3368, 3369, 3367, 3367, 3367, 3363, 3370, 3370, + 3370, 3363, 3372, 3371, 3371, 3371, 3363, 3373, + 3373, 3373, 3363, 3375, 3374, 3374, 3374, 3363, + 3377, 3376, 3376, 3376, 3363, 3378, 3378, 3378, + 3363, 3380, 3379, 3379, 3379, 3363, 3381, 3381, + 3381, 3381, 3382, 3382, 3382, 3363, 3383, 3383, + 3383, 3383, 71, 3384, 3363, 3380, 3363, 3377, + 3363, 3385, 3363, 3375, 3363, 3387, 3386, 71, + 3388, 3388, 3388, 2556, 3358, 3358, 3359, 3360, + 3361, 3362, 3389, 3389, 3389, 2556, 3391, 3390, + 71, 3393, 3392, 71, 3395, 3394, 71, 3396, + 1885, 3397, 3397, 3398, 3399, 3401, 3402, 3400, + 1885, 3403, 3403, 3404, 3405, 3407, 3408, 3406, + 1885, 3409, 3409, 3410, 3411, 3413, 3414, 3412, + 1885, 3415, 3415, 3416, 3417, 3419, 3420, 3418, + 1885, 3421, 3421, 3422, 3423, 3425, 3426, 3424, + 1885, 3427, 3427, 3428, 3429, 3430, 3432, 3433, + 3431, 3431, 3431, 2556, 3434, 3434, 3434, 3434, + 2556, 3435, 3435, 3435, 2556, 3434, 3434, 3434, + 3434, 3436, 3436, 3436, 2556, 3438, 3437, 71, + 3440, 3439, 71, 3442, 3441, 71, 3443, 1885, + 3444, 3444, 3445, 3446, 3448, 3449, 3447, 1885, + 3450, 3450, 3451, 3452, 3454, 3455, 3453, 1885, + 3456, 3456, 3457, 3458, 3460, 3461, 3459, 1885, + 3462, 3462, 3463, 3464, 3466, 3467, 3465, 1885, + 3468, 3468, 3469, 3470, 3472, 3473, 3471, 1885, + 3474, 3474, 3475, 3476, 3478, 3479, 3477, 3477, + 3477, 2556, 3480, 3480, 3480, 2556, 3481, 3481, + 3482, 3483, 3484, 3485, 3486, 3486, 3487, 3488, + 3477, 3477, 3477, 2556, 3490, 3489, 2556, 3492, + 3491, 71, 3494, 3493, 71, 3496, 3495, 71, + 3497, 1885, 3498, 3498, 3499, 3500, 3502, 3503, + 3501, 1885, 3504, 3504, 3505, 3506, 3507, 3508, + 3509, 3507, 1862, 3510, 3511, 3510, 3510, 3510, + 3511, 1862, 3513, 3512, 71, 3514, 1885, 3515, + 3515, 3516, 3517, 3519, 3520, 3518, 1885, 3521, + 3521, 3522, 3523, 3525, 3526, 3524, 3524, 3524, + 2556, 3527, 3527, 3527, 2556, 3528, 3528, 3528, + 2556, 3529, 3529, 3529, 2556, 3531, 3530, 3532, + 3532, 3532, 2556, 3533, 3533, 3533, 2556, 3534, + 3534, 3534, 2556, 3535, 3535, 3535, 2556, 3537, + 3531, 3537, 3537, 3537, 3536, 3539, 3538, 71, + 3540, 3540, 3540, 2556, 3541, 3541, 3541, 2556, + 3543, 3542, 3544, 3544, 3544, 2556, 3545, 3545, + 3545, 2556, 3546, 3543, 3546, 3546, 3546, 3542, + 3547, 3547, 3547, 2556, 3548, 3548, 3548, 2556, + 3549, 3542, 3550, 3550, 3550, 2556, 3551, 3551, + 3551, 2556, 3552, 3549, 3552, 3552, 3552, 3542, + 3553, 1885, 3554, 3554, 3555, 3556, 3558, 3559, + 3557, 1885, 3560, 3560, 3561, 3562, 3564, 3565, + 3563, 1885, 3566, 3566, 3567, 3568, 3570, 3571, + 3569, 1885, 3573, 3573, 3574, 3575, 3576, 3577, + 3572, 3572, 3572, 71, 3578, 3578, 3578, 3578, + 71, 3580, 3579, 71, 3582, 3581, 71, 3583, + 1885, 3584, 3584, 3585, 3586, 3588, 3589, 3587, + 1885, 3591, 3591, 3592, 3593, 3594, 3595, 3590, + 3590, 3590, 71, 3596, 3596, 3597, 3598, 3599, + 3600, 71, 3602, 3602, 3603, 3604, 3605, 3606, + 3601, 3601, 3601, 71, 3607, 3607, 3607, 3607, + 71, 3609, 3608, 71, 3611, 3610, 71, 3613, + 3613, 3614, 3615, 3616, 3617, 3617, 3617, 3618, + 3619, 3620, 3621, 3617, 3617, 3617, 3612, 3622, + 3622, 3623, 3624, 3625, 3626, 69, 3627, 3626, + 3618, 3619, 3628, 3629, 3630, 3631, 3632, 3633, + 69, 69, 3626, 69, 3626, 69, 3626, 69, + 783, 3635, 3635, 3614, 3636, 3637, 3617, 3638, + 3639, 3640, 3641, 3642, 3643, 3644, 3645, 3646, + 3647, 3648, 3649, 3650, 3651, 3652, 3617, 3617, + 3638, 3639, 3640, 3641, 3642, 3643, 3644, 3645, + 3646, 3647, 3648, 3649, 3650, 3651, 3652, 3618, + 3619, 3653, 3654, 3617, 3617, 3617, 3634, 3635, + 3635, 3614, 3636, 3637, 3617, 3657, 3658, 3659, + 3660, 3661, 3662, 3663, 3664, 3665, 3666, 3667, + 3668, 3669, 3670, 3671, 3617, 3617, 3657, 3658, + 3659, 3660, 3661, 3662, 3663, 3664, 3665, 3666, + 3667, 3668, 3669, 3670, 3671, 3618, 3619, 3653, + 3654, 3617, 3656, 3617, 3617, 3655, 3673, 3673, + 3674, 3675, 3676, 3677, 3677, 3677, 3678, 3679, + 3680, 3681, 3677, 3677, 3677, 3672, 3613, 3613, + 3614, 3682, 3683, 3617, 3657, 3658, 3659, 3660, + 3661, 3662, 3663, 3664, 3665, 3666, 3667, 3668, + 3669, 3670, 3671, 3617, 3617, 3657, 3658, 3659, + 3660, 3661, 3662, 3663, 3664, 3665, 3666, 3667, + 3668, 3669, 3670, 3671, 3618, 3619, 3684, 3685, + 3617, 3656, 3617, 3617, 3655, 3686, 3686, 3614, + 3687, 3688, 3617, 3617, 3617, 83, 84, 3689, + 3690, 3617, 3617, 3617, 783, 3691, 3691, 3623, + 3692, 3693, 3626, 69, 3627, 3626, 83, 84, + 3689, 3694, 101, 102, 3689, 3695, 69, 69, + 3626, 69, 3626, 69, 3626, 69, 783, 3622, + 3622, 3623, 3624, 3625, 3626, 69, 3698, 3699, + 3700, 3701, 3702, 3703, 3704, 3705, 3706, 3707, + 3708, 3709, 3710, 3711, 3712, 3627, 3626, 3698, + 3699, 3700, 3701, 3702, 3703, 3704, 3705, 3706, + 3707, 3708, 3709, 3710, 3711, 3712, 3618, 3619, + 3628, 3629, 3630, 3631, 3632, 3633, 69, 69, + 3626, 3697, 69, 3626, 69, 3626, 69, 3696, + 3691, 3691, 3623, 3692, 3693, 3626, 69, 3698, + 3699, 3700, 3701, 3702, 3703, 3704, 3705, 3706, + 3707, 3708, 3709, 3710, 3711, 3712, 3627, 3626, + 3698, 3699, 3700, 3701, 3702, 3703, 3704, 3705, + 3706, 3707, 3708, 3709, 3710, 3711, 3712, 83, + 84, 3713, 3694, 101, 102, 3713, 3695, 69, + 69, 3626, 3697, 69, 3626, 69, 3626, 69, + 3696, 690, 690, 690, 944, 941, 944, 943, + 944, 941, 945, 941, 940, 690, 690, 690, + 1093, 1093, 1094, 1095, 1062, 1063, 1064, 1062, + 1096, 1097, 1062, 1062, 1062, 1068, 690, 1108, + 1108, 1109, 1110, 1103, 1111, 1112, 1113, 1113, + 1114, 1115, 1103, 1103, 1103, 1102, 1117, 1116, + 1102, 690, 1127, 1127, 1128, 1129, 1130, 1131, + 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, + 1140, 1141, 1142, 1143, 1144, 1130, 1131, 1132, + 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, + 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1147, + 1148, 1149, 1118, 1172, 1171, 1118, 690, 1633, + 1633, 1634, 1635, 1636, 1637, 1638, 1638, 1639, + 1640, 1629, 1629, 1629, 1625, 1642, 1641, 1625, + 1661, 1661, 1662, 1663, 1665, 1666, 1664, 1664, + 1664, 1625, 1611, 1668, 1668, 1669, 1670, 1671, + 1672, 1673, 1673, 1674, 1675, 1664, 1664, 1664, + 1625, 1677, 1676, 1625, 1679, 1678, 1611, 690, + 690, 690, 690, 690, 690, 690, 690, 690, + 2080, 2080, 2081, 2082, 2083, 2084, 2085, 2085, + 2086, 2087, 2079, 2079, 2079, 2070, 2089, 2088, + 2070, 690, 690, 2253, 2253, 2254, 2255, 2256, + 2257, 2202, 2202, 2258, 2259, 2093, 2261, 2260, + 2093, 2235, 2235, 2236, 2237, 2239, 2240, 2202, + 2202, 2241, 2242, 2238, 2093, 2273, 2272, 2093, + 2216, 2216, 2217, 2218, 2220, 2221, 2202, 2202, + 2222, 2223, 2219, 2093, 2286, 2285, 2093, 2196, + 2196, 2197, 2198, 2200, 2201, 2202, 2202, 2203, + 2204, 2199, 2093, 2299, 2298, 2093, 690, 690, + 690, 690, 2497, 2497, 2498, 2499, 2500, 2501, + 2502, 2503, 2504, 2505, 2505, 2506, 2507, 2496, + 2526, 2525, 71, 690, 2564, 2564, 2565, 2566, + 2567, 2568, 2569, 2569, 2570, 2571, 2560, 2560, + 2560, 2556, 2573, 2572, 2556, 690, 2606, 2606, + 2607, 2608, 2609, 2610, 2611, 2611, 2612, 2613, + 2602, 2602, 2602, 2556, 2615, 2614, 2556, 690, + 2660, 2660, 2661, 2662, 2666, 2666, 2666, 2666, + 2671, 2672, 2666, 2666, 2673, 2674, 2679, 2684, + 2683, 2679, 2657, 2657, 2658, 2659, 2680, 2667, + 2668, 2680, 2680, 2680, 2679, 2682, 2681, 2679, + 2680, 2657, 2657, 2658, 2659, 2660, 2660, 2661, + 2662, 2663, 2663, 2664, 2665, 2666, 2666, 2666, + 2666, 2667, 2668, 2666, 2666, 2669, 2670, 2671, + 2672, 2666, 2666, 2673, 2674, 2675, 2676, 2666, + 2666, 2677, 2678, 2680, 2680, 2680, 2679, 2682, + 2684, 2686, 2681, 2683, 2685, 2679, 690, 690, + 690, 690, 690, 690, 690, 3481, 3481, 3482, + 3483, 3484, 3485, 3486, 3486, 3487, 3488, 3477, + 3477, 3477, 2556, 3490, 3489, 2556, 690, 690, + 690, 690, 690, 690, 0 +}; + +static const short _zone_scanner_trans_targs[] = { + 0, 1, 1, 1, 2, 4, 17, 36, + 50, 57, 143, 73, 77, 85, 91, 107, + 110, 117, 128, 138, 1127, 151, 1132, 264, + 0, 3, 3, 3, 2, 166, 166, 166, + 166, 166, 3, 169, 0, 3, 3, 3, + 4, 17, 36, 50, 57, 62, 73, 77, + 85, 91, 107, 110, 117, 128, 138, 3, + 169, 0, 5, 5, 5, 230, 233, 237, + 5, 10, 6, 11, 20, 6, 5, 0, + 5, 5, 9, 5, 10, 11, 20, 0, + 7, 7, 7, 1127, 8, 0, 7, 7, + 7, 1127, 8, 8, 1127, 6, 6, 10, + 5, 12, 12, 12, 13, 1133, 176, 244, + 12, 12, 12, 13, 1133, 176, 244, 13, + 1128, 14, 0, 14, 14, 15, 172, 179, + 180, 181, 182, 183, 184, 185, 186, 187, + 188, 189, 190, 191, 192, 1135, 239, 1133, + 240, 1136, 242, 0, 16, 16, 16, 1129, + 267, 0, 16, 16, 16, 1129, 267, 18, + 22, 29, 32, 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, + 41, 49, 38, 39, 40, 5, 5, 5, + 5, 10, 6, 11, 20, 42, 45, 43, + 44, 5, 5, 5, 5, 10, 6, 11, + 20, 46, 47, 48, 5, 5, 5, 5, + 10, 6, 11, 20, 5, 5, 5, 5, + 10, 6, 11, 20, 51, 52, 53, 55, + 54, 5, 5, 5, 5, 10, 6, 11, + 20, 56, 5, 5, 5, 5, 10, 6, + 11, 20, 58, 59, 60, 61, 5, 5, + 5, 5, 10, 6, 11, 20, 63, 66, + 64, 64, 64, 64, 141, 64, 64, 64, + 4, 17, 36, 50, 57, 65, 73, 77, + 85, 91, 107, 110, 117, 128, 138, 64, + 141, 67, 68, 69, 70, 71, 72, 5, + 5, 5, 5, 10, 6, 11, 20, 74, + 76, 75, 5, 5, 5, 5, 10, 6, + 11, 20, 5, 5, 5, 5, 10, 6, + 11, 20, 78, 80, 82, 84, 79, 5, + 5, 5, 5, 10, 6, 11, 20, 81, + 5, 5, 5, 5, 10, 6, 11, 20, + 83, 5, 5, 5, 5, 10, 6, 11, + 20, 5, 5, 5, 5, 10, 6, 11, + 20, 86, 90, 87, 88, 89, 5, 5, + 5, 5, 10, 6, 11, 20, 5, 5, + 5, 5, 10, 6, 11, 20, 92, 96, + 98, 93, 94, 95, 5, 5, 5, 5, + 10, 6, 11, 20, 97, 5, 5, 5, + 5, 10, 6, 11, 20, 5, 5, 5, + 99, 5, 10, 6, 11, 20, 100, 5, + 5, 5, 101, 5, 10, 6, 11, 20, + 5, 5, 5, 102, 5, 10, 6, 11, + 20, 103, 104, 105, 106, 5, 5, 5, + 5, 10, 6, 11, 20, 108, 109, 5, + 5, 5, 5, 10, 6, 11, 20, 111, + 112, 116, 5, 5, 5, 5, 10, 6, + 11, 20, 113, 114, 115, 5, 5, 5, + 5, 10, 6, 11, 20, 5, 5, 5, + 5, 10, 6, 11, 20, 118, 120, 122, + 124, 119, 5, 5, 5, 5, 10, 6, + 11, 20, 121, 5, 5, 5, 5, 10, + 6, 11, 20, 123, 5, 5, 5, 5, + 10, 6, 11, 20, 125, 126, 127, 5, + 5, 5, 5, 10, 6, 11, 20, 129, + 132, 134, 130, 131, 5, 5, 5, 5, + 10, 6, 11, 20, 133, 5, 5, 5, + 5, 10, 6, 11, 20, 135, 136, 0, + 137, 0, 5, 5, 5, 137, 5, 10, + 6, 11, 20, 139, 140, 5, 5, 5, + 5, 10, 6, 11, 20, 141, 64, 142, + 142, 142, 1130, 265, 144, 145, 145, 145, + 145, 150, 145, 145, 145, 146, 4, 17, + 36, 50, 57, 65, 73, 77, 85, 91, + 107, 110, 117, 128, 138, 145, 150, 64, + 64, 64, 146, 147, 147, 147, 147, 147, + 64, 141, 148, 148, 149, 149, 149, 149, + 149, 64, 64, 64, 148, 64, 141, 150, + 145, 151, 1127, 0, 153, 195, 201, 154, + 155, 156, 157, 158, 159, 1131, 0, 161, + 161, 161, 161, 162, 161, 161, 161, 161, + 162, 162, 0, 161, 0, 164, 164, 164, + 164, 165, 164, 164, 164, 164, 165, 165, + 164, 167, 167, 168, 168, 168, 168, 168, + 3, 3, 3, 167, 3, 169, 169, 3, + 0, 171, 171, 171, 171, 246, 247, 248, + 171, 171, 171, 171, 246, 247, 248, 0, + 173, 173, 173, 1128, 13, 1133, 176, 1134, + 244, 173, 173, 173, 1128, 1134, 174, 174, + 174, 1132, 175, 175, 1132, 177, 177, 177, + 1127, 8, 177, 177, 177, 8, 178, 178, + 178, 193, 228, 193, 1135, 0, 196, 197, + 198, 199, 200, 1131, 202, 203, 1131, 0, + 174, 174, 174, 1132, 175, 0, 206, 206, + 206, 1130, 207, 206, 206, 206, 1130, 207, + 207, 1130, 0, 209, 209, 209, 1135, 193, + 1136, 228, 209, 209, 209, 1135, 1136, 225, + 0, 225, 225, 225, 226, 174, 174, 174, + 1132, 175, 227, 1132, 227, 227, 175, 227, + 227, 227, 175, 229, 229, 229, 193, 229, + 229, 229, 193, 231, 232, 5, 5, 5, + 5, 10, 6, 11, 20, 234, 235, 236, + 5, 5, 5, 5, 10, 6, 11, 20, + 238, 5, 5, 5, 5, 10, 6, 11, + 20, 239, 1135, 241, 241, 241, 1127, 241, + 241, 241, 1127, 243, 243, 243, 243, 243, + 243, 245, 245, 245, 245, 245, 245, 246, + 171, 178, 178, 178, 193, 228, 249, 249, + 249, 249, 249, 249, 0, 264, 1132, 265, + 1130, 267, 1129, 269, 1137, 269, 1137, 0, + 271, 277, 278, 273, 1138, 271, 272, 273, + 1138, 271, 273, 274, 0, 275, 276, 1138, + 271, 272, 273, 1138, 0, 280, 285, 281, + 1139, 1140, 0, 282, 283, 284, 1139, 280, + 1140, 281, 285, 286, 287, 0, 288, 289, + 290, 285, 286, 287, 0, 292, 292, 292, + 292, 299, 0, 293, 0, 294, 294, 294, + 293, 296, 296, 296, 296, 296, 1141, 295, + 0, 294, 294, 294, 1141, 295, 295, 1141, + 297, 0, 297, 298, 298, 298, 298, 298, + 294, 294, 294, 297, 1141, 295, 299, 292, + 0, 301, 301, 301, 301, 311, 302, 310, + 306, 302, 303, 306, 0, 304, 304, 304, + 302, 306, 1142, 305, 304, 304, 304, 1142, + 305, 305, 1142, 307, 0, 308, 309, 302, + 303, 306, 311, 301, 313, 313, 313, 313, + 328, 314, 0, 0, 315, 315, 315, 1143, + 319, 325, 0, 315, 315, 315, 316, 324, + 320, 1143, 319, 325, 0, 316, 317, 320, + 318, 318, 318, 316, 320, 1143, 319, 318, + 318, 318, 319, 1143, 321, 0, 322, 323, + 316, 317, 320, 325, 1144, 326, 326, 326, + 326, 327, 327, 326, 328, 313, 0, 330, + 331, 332, 335, 333, 333, 333, 333, 333, + 334, 1145, 1146, 1147, 334, 333, 0, 337, + 337, 337, 337, 342, 1148, 1149, 1150, 337, + 337, 337, 338, 343, 360, 374, 381, 386, + 394, 398, 406, 412, 428, 431, 438, 449, + 459, 337, 342, 1148, 1149, 1150, 337, 337, + 337, 339, 462, 466, 337, 342, 1148, 1149, + 1150, 340, 341, 337, 337, 337, 337, 342, + 1148, 1149, 1150, 342, 337, 344, 346, 353, + 356, 345, 337, 337, 337, 337, 342, 1148, + 1149, 1150, 347, 352, 348, 349, 350, 351, + 337, 337, 337, 337, 342, 1148, 1149, 1150, + 337, 337, 337, 337, 342, 1148, 1149, 1150, + 354, 355, 337, 337, 337, 337, 342, 1148, + 1149, 1150, 357, 358, 359, 337, 337, 337, + 337, 342, 1148, 1149, 1150, 361, 365, 373, + 362, 363, 364, 337, 337, 337, 337, 342, + 1148, 1149, 1150, 366, 369, 367, 368, 337, + 337, 337, 337, 342, 1148, 1149, 1150, 370, + 371, 372, 337, 337, 337, 337, 342, 1148, + 1149, 1150, 337, 337, 337, 337, 342, 1148, + 1149, 1150, 375, 376, 377, 379, 378, 337, + 337, 337, 337, 342, 1148, 1149, 1150, 380, + 337, 337, 337, 337, 342, 1148, 1149, 1150, + 382, 383, 384, 385, 337, 337, 337, 337, + 342, 1148, 1149, 1150, 387, 388, 389, 390, + 391, 392, 393, 337, 337, 337, 337, 342, + 1148, 1149, 1150, 395, 397, 396, 337, 337, + 337, 337, 342, 1148, 1149, 1150, 337, 337, + 337, 337, 342, 1148, 1149, 1150, 399, 401, + 403, 405, 400, 337, 337, 337, 337, 342, + 1148, 1149, 1150, 402, 337, 337, 337, 337, + 342, 1148, 1149, 1150, 404, 337, 337, 337, + 337, 342, 1148, 1149, 1150, 337, 337, 337, + 337, 342, 1148, 1149, 1150, 407, 411, 408, + 409, 410, 337, 337, 337, 337, 342, 1148, + 1149, 1150, 337, 337, 337, 337, 342, 1148, + 1149, 1150, 413, 417, 419, 414, 415, 416, + 337, 337, 337, 337, 342, 1148, 1149, 1150, + 418, 337, 337, 337, 337, 342, 1148, 1149, + 1150, 337, 337, 337, 420, 337, 342, 1148, + 1149, 1150, 421, 337, 337, 337, 422, 337, + 342, 1148, 1149, 1150, 337, 337, 337, 423, + 337, 342, 1148, 1149, 1150, 424, 425, 426, + 427, 337, 337, 337, 337, 342, 1148, 1149, + 1150, 429, 430, 337, 337, 337, 337, 342, + 1148, 1149, 1150, 432, 433, 437, 337, 337, + 337, 337, 342, 1148, 1149, 1150, 434, 435, + 436, 337, 337, 337, 337, 342, 1148, 1149, + 1150, 337, 337, 337, 337, 342, 1148, 1149, + 1150, 439, 441, 443, 445, 440, 337, 337, + 337, 337, 342, 1148, 1149, 1150, 442, 337, + 337, 337, 337, 342, 1148, 1149, 1150, 444, + 337, 337, 337, 337, 342, 1148, 1149, 1150, + 446, 447, 448, 337, 337, 337, 337, 342, + 1148, 1149, 1150, 450, 453, 455, 451, 452, + 337, 337, 337, 337, 342, 1148, 1149, 1150, + 454, 337, 337, 337, 337, 342, 1148, 1149, + 1150, 456, 457, 458, 337, 337, 337, 458, + 337, 342, 1148, 1149, 1150, 460, 461, 337, + 337, 337, 337, 342, 1148, 1149, 1150, 463, + 464, 465, 337, 337, 337, 337, 342, 1148, + 1149, 1150, 467, 337, 337, 337, 337, 342, + 1148, 1149, 1150, 0, 469, 469, 469, 469, + 476, 0, 470, 471, 471, 471, 470, 471, + 475, 0, 471, 471, 471, 472, 471, 475, + 473, 473, 473, 473, 473, 474, 1151, 1152, + 1153, 474, 473, 475, 471, 476, 469, 478, + 478, 478, 478, 486, 479, 485, 1154, 1154, + 1154, 485, 1155, 1154, 1158, 480, 480, 480, + 481, 480, 484, 482, 482, 482, 482, 482, + 483, 1155, 1156, 1157, 483, 482, 484, 480, + 480, 480, 480, 480, 484, 486, 478, 0, + 488, 489, 504, 543, 551, 564, 1159, 488, + 490, 491, 1159, 492, 1159, 493, 494, 495, + 496, 497, 498, 499, 500, 501, 502, 503, + 1159, 505, 534, 506, 512, 507, 508, 509, + 510, 511, 1159, 513, 514, 515, 516, 525, + 517, 518, 519, 520, 521, 522, 523, 524, + 1159, 526, 527, 528, 529, 530, 531, 532, + 533, 1159, 535, 540, 536, 537, 538, 539, + 1159, 541, 542, 1159, 544, 545, 546, 547, + 548, 549, 550, 1159, 552, 553, 554, 555, + 556, 557, 558, 561, 559, 560, 1159, 562, + 563, 1159, 565, 566, 567, 570, 568, 569, + 1159, 571, 572, 573, 585, 588, 1159, 574, + 575, 576, 577, 578, 579, 580, 581, 582, + 583, 584, 1159, 586, 587, 1159, 589, 590, + 1159, 0, 592, 593, 599, 616, 619, 625, + 629, 1160, 592, 594, 595, 596, 597, 598, + 1160, 600, 606, 612, 601, 602, 603, 604, + 605, 1160, 607, 609, 608, 1160, 610, 611, + 1160, 613, 614, 615, 1160, 617, 618, 1160, + 620, 622, 621, 1160, 623, 624, 1160, 626, + 627, 628, 1160, 630, 631, 1160, 0, 633, + 1161, 633, 635, 1162, 637, 638, 638, 638, + 638, 667, 638, 638, 638, 639, 638, 667, + 640, 640, 640, 640, 666, 0, 640, 640, + 640, 641, 640, 666, 642, 642, 642, 641, + 642, 665, 642, 642, 642, 643, 642, 665, + 0, 644, 644, 644, 643, 662, 662, 662, + 662, 662, 644, 661, 644, 644, 644, 645, + 644, 661, 646, 646, 646, 645, 658, 658, + 658, 658, 658, 646, 657, 646, 646, 646, + 647, 646, 657, 648, 648, 648, 647, 654, + 654, 654, 654, 654, 648, 653, 648, 648, + 648, 649, 648, 653, 1163, 649, 650, 650, + 650, 650, 650, 651, 651, 652, 652, 652, + 652, 652, 1163, 651, 653, 648, 655, 655, + 656, 656, 656, 656, 656, 648, 648, 648, + 655, 648, 653, 657, 646, 659, 659, 660, + 660, 660, 660, 660, 646, 646, 646, 659, + 646, 657, 661, 644, 663, 663, 664, 664, + 664, 664, 664, 644, 644, 644, 663, 644, + 661, 665, 642, 666, 640, 667, 638, 669, + 670, 670, 670, 670, 672, 671, 670, 670, + 670, 670, 672, 1164, 672, 670, 674, 675, + 675, 675, 675, 677, 675, 675, 675, 676, + 675, 677, 1165, 677, 675, 679, 680, 680, + 680, 679, 680, 682, 680, 680, 680, 681, + 680, 682, 1166, 682, 680, 684, 0, 685, + 685, 685, 685, 686, 1167, 1168, 1169, 684, + 685, 685, 685, 685, 686, 1167, 1168, 1169, + 686, 685, 688, 1170, 688, 0, 690, 691, + 691, 691, 690, 691, 743, 691, 691, 691, + 692, 696, 738, 691, 743, 693, 693, 693, + 692, 693, 742, 693, 693, 693, 694, 693, + 742, 695, 695, 695, 740, 694, 695, 739, + 695, 695, 695, 695, 739, 697, 697, 697, + 697, 737, 698, 699, 699, 699, 698, 699, + 736, 699, 699, 699, 700, 704, 731, 699, + 736, 701, 701, 701, 700, 701, 735, 701, + 701, 701, 702, 701, 735, 703, 703, 703, + 733, 702, 703, 732, 703, 703, 703, 703, + 732, 705, 705, 705, 705, 730, 706, 707, + 707, 708, 708, 708, 727, 707, 729, 708, + 726, 1171, 1178, 1179, 708, 708, 708, 709, + 708, 726, 1171, 1178, 1179, 710, 710, 710, + 723, 709, 725, 710, 722, 1171, 1176, 1177, + 710, 710, 710, 711, 710, 722, 1176, 1177, + 712, 712, 712, 719, 711, 721, 712, 718, + 1171, 1174, 1175, 712, 712, 712, 713, 712, + 718, 1174, 1175, 714, 714, 714, 716, 713, + 714, 715, 1171, 1172, 1173, 714, 714, 714, + 714, 715, 1172, 1173, 715, 714, 714, 714, + 714, 717, 714, 715, 1171, 1172, 1173, 717, + 718, 712, 712, 712, 712, 720, 721, 712, + 718, 1171, 1174, 1175, 720, 722, 710, 710, + 710, 710, 724, 725, 710, 722, 1171, 1176, + 1177, 724, 726, 708, 708, 708, 708, 728, + 729, 708, 726, 1171, 1178, 1179, 728, 730, + 705, 705, 705, 705, 705, 730, 732, 703, + 703, 703, 703, 734, 703, 732, 734, 735, + 701, 736, 699, 737, 697, 697, 697, 697, + 697, 737, 739, 695, 695, 695, 695, 741, + 695, 739, 741, 742, 693, 743, 691, 745, + 746, 746, 746, 745, 746, 754, 746, 746, + 746, 747, 746, 754, 748, 748, 748, 747, + 748, 753, 748, 748, 748, 749, 748, 753, + 750, 750, 750, 749, 750, 752, 750, 750, + 750, 751, 750, 752, 1180, 752, 750, 753, + 748, 754, 746, 756, 757, 757, 757, 756, + 757, 771, 757, 757, 757, 758, 757, 771, + 759, 759, 759, 758, 759, 770, 760, 759, + 759, 759, 759, 770, 761, 761, 761, 761, + 769, 762, 761, 761, 761, 761, 769, 763, + 763, 763, 763, 768, 764, 763, 763, 763, + 763, 768, 765, 765, 765, 765, 767, 765, + 765, 765, 766, 765, 767, 1181, 767, 765, + 768, 763, 769, 761, 770, 759, 771, 757, + 773, 774, 774, 774, 774, 782, 775, 776, + 776, 776, 775, 776, 781, 776, 776, 776, + 777, 776, 781, 778, 778, 778, 778, 780, + 779, 1182, 780, 778, 781, 776, 782, 774, + 0, 783, 784, 783, 783, 785, 791, 783, + 790, 1183, 1184, 1185, 785, 791, 786, 0, + 787, 787, 788, 789, 783, 783, 783, 789, + 783, 790, 1183, 1184, 1185, 790, 783, 792, + 793, 793, 788, 795, 796, 796, 796, 795, + 796, 806, 796, 796, 796, 797, 796, 806, + 798, 798, 798, 798, 805, 799, 800, 800, + 800, 799, 800, 804, 0, 800, 800, 800, + 801, 800, 804, 802, 802, 802, 802, 802, + 803, 1186, 1187, 1188, 803, 802, 804, 800, + 805, 798, 806, 796, 808, 809, 809, 809, + 808, 809, 816, 809, 809, 809, 810, 809, + 816, 811, 811, 811, 810, 811, 815, 811, + 811, 811, 812, 811, 815, 813, 813, 813, + 813, 813, 814, 1189, 1190, 1191, 814, 813, + 815, 811, 816, 809, 818, 819, 819, 819, + 818, 819, 855, 0, 819, 819, 819, 820, + 834, 841, 848, 819, 855, 821, 821, 821, + 821, 833, 0, 822, 823, 823, 823, 822, + 823, 832, 823, 823, 823, 824, 823, 832, + 0, 825, 825, 825, 828, 828, 828, 830, + 830, 830, 1192, 825, 827, 1195, 1196, 828, + 829, 1193, 1194, 830, 831, 1197, 1198, 0, + 826, 827, 825, 829, 828, 831, 830, 832, + 823, 833, 821, 835, 835, 835, 835, 840, + 836, 837, 837, 837, 836, 837, 839, 0, + 837, 837, 837, 838, 837, 839, 0, 838, + 825, 825, 825, 828, 828, 828, 830, 830, + 830, 1192, 825, 827, 1195, 1196, 828, 829, + 1193, 1194, 830, 831, 1197, 1198, 839, 837, + 840, 835, 842, 842, 842, 842, 847, 843, + 844, 844, 844, 843, 844, 846, 844, 844, + 844, 845, 844, 846, 845, 825, 825, 825, + 828, 828, 828, 830, 830, 830, 1192, 825, + 827, 1195, 1196, 828, 829, 1193, 1194, 830, + 831, 1197, 1198, 846, 844, 847, 842, 849, + 849, 849, 849, 854, 850, 851, 851, 851, + 850, 851, 853, 851, 851, 851, 852, 851, + 853, 825, 825, 825, 828, 828, 828, 830, + 830, 830, 1192, 825, 827, 1195, 1196, 828, + 829, 1193, 1194, 830, 831, 1197, 1198, 853, + 851, 854, 849, 855, 819, 0, 857, 891, + 908, 922, 929, 934, 942, 946, 954, 960, + 976, 979, 986, 997, 1007, 858, 858, 858, + 882, 885, 889, 858, 881, 858, 858, 858, + 859, 858, 881, 860, 860, 860, 860, 880, + 861, 862, 862, 862, 861, 862, 879, 862, + 862, 862, 863, 862, 879, 864, 864, 864, + 863, 864, 878, 0, 864, 864, 864, 865, + 864, 878, 866, 866, 866, 865, 866, 877, + 866, 866, 866, 867, 866, 877, 868, 868, + 868, 867, 868, 876, 868, 868, 868, 869, + 868, 876, 870, 870, 870, 869, 870, 875, + 870, 870, 870, 871, 870, 875, 872, 872, + 872, 872, 874, 872, 872, 872, 873, 872, + 874, 1199, 874, 872, 875, 870, 876, 868, + 877, 866, 878, 864, 879, 862, 880, 860, + 881, 858, 883, 884, 858, 858, 858, 858, + 881, 886, 887, 888, 858, 858, 858, 858, + 881, 890, 858, 858, 858, 858, 881, 892, + 894, 901, 904, 893, 858, 858, 858, 858, + 881, 895, 900, 896, 897, 898, 899, 858, + 858, 858, 858, 881, 858, 858, 858, 858, + 881, 902, 903, 858, 858, 858, 858, 881, + 905, 906, 907, 858, 858, 858, 858, 881, + 909, 913, 921, 910, 911, 912, 858, 858, + 858, 858, 881, 914, 917, 915, 916, 858, + 858, 858, 858, 881, 918, 919, 920, 858, + 858, 858, 858, 881, 858, 858, 858, 858, + 881, 923, 924, 925, 927, 926, 858, 858, + 858, 858, 881, 928, 858, 858, 858, 858, + 881, 930, 931, 932, 933, 858, 858, 858, + 858, 881, 935, 936, 937, 938, 939, 940, + 941, 858, 858, 858, 858, 881, 943, 945, + 944, 858, 858, 858, 858, 881, 858, 858, + 858, 858, 881, 947, 949, 951, 953, 948, + 858, 858, 858, 858, 881, 950, 858, 858, + 858, 858, 881, 952, 858, 858, 858, 858, + 881, 858, 858, 858, 858, 881, 955, 959, + 956, 957, 958, 858, 858, 858, 858, 881, + 858, 858, 858, 858, 881, 961, 965, 967, + 962, 963, 964, 858, 858, 858, 858, 881, + 966, 858, 858, 858, 858, 881, 858, 858, + 858, 968, 858, 881, 969, 858, 858, 858, + 970, 858, 881, 858, 858, 858, 971, 858, + 881, 972, 973, 974, 975, 858, 858, 858, + 858, 881, 977, 978, 858, 858, 858, 858, + 881, 980, 981, 985, 858, 858, 858, 858, + 881, 982, 983, 984, 858, 858, 858, 858, + 881, 858, 858, 858, 858, 881, 987, 989, + 991, 993, 988, 858, 858, 858, 858, 881, + 990, 858, 858, 858, 858, 881, 992, 858, + 858, 858, 858, 881, 994, 995, 996, 858, + 858, 858, 858, 881, 998, 1001, 1003, 999, + 1000, 858, 858, 858, 858, 881, 1002, 858, + 858, 858, 858, 881, 1004, 1005, 0, 1006, + 858, 858, 858, 1006, 858, 881, 1008, 1009, + 858, 858, 858, 858, 881, 1011, 1012, 1200, + 1014, 1015, 1015, 1015, 1014, 1015, 1023, 1015, + 1015, 1015, 1016, 1015, 1023, 1017, 1017, 1017, + 1016, 1017, 1022, 1017, 1017, 1017, 1018, 1017, + 1022, 1019, 1019, 1019, 1019, 1021, 1020, 1201, + 1021, 1019, 1022, 1017, 1023, 1015, 1025, 1202, + 1027, 1028, 1028, 1028, 1027, 1028, 1054, 1028, + 1028, 1028, 1029, 1028, 1054, 1030, 1030, 1030, + 1029, 1030, 1053, 1030, 1030, 1030, 1031, 1030, + 1053, 1032, 1032, 1032, 1031, 1032, 1052, 1032, + 1032, 1032, 1033, 1050, 1032, 1052, 1034, 1034, + 1034, 1034, 1049, 0, 1034, 1034, 1034, 1035, + 1034, 1049, 1036, 1037, 1047, 1038, 1039, 1046, + 1040, 1044, 1041, 1042, 1042, 1043, 1035, 1203, + 1045, 1048, 1049, 1034, 1051, 1050, 1052, 1032, + 1053, 1030, 1054, 1028, 1056, 1057, 1057, 1057, + 1056, 1057, 1067, 1057, 1057, 1057, 1058, 1057, + 1067, 1059, 1059, 1059, 1058, 1059, 1066, 1059, + 1059, 1059, 1060, 1059, 1066, 1061, 1061, 1061, + 1060, 1061, 1065, 1061, 1061, 1061, 1062, 1063, + 1061, 1065, 1204, 1064, 1063, 1065, 1061, 1066, + 1059, 1067, 1057, 1069, 1070, 1070, 1070, 1069, + 1070, 1080, 1070, 1070, 1070, 1071, 1070, 1080, + 1072, 1072, 1072, 1071, 1072, 1079, 1072, 1072, + 1072, 1073, 1072, 1079, 1074, 1074, 1074, 1073, + 1074, 1078, 1074, 1074, 1074, 1075, 1074, 1078, + 1076, 1076, 1076, 1076, 1076, 1077, 1205, 1206, + 1207, 1077, 1076, 1078, 1074, 1079, 1072, 1080, + 1070, 1082, 1083, 1083, 1083, 1082, 1083, 1085, + 1083, 1083, 1083, 1084, 1083, 1085, 1208, 1084, + 1085, 1083, 1087, 1088, 1088, 1088, 1087, 1088, + 1098, 1088, 1088, 1088, 1089, 1088, 1098, 1090, + 1091, 1092, 0, 1093, 1094, 1095, 1096, 1097, + 0, 1209, 1098, 1088, 1100, 1101, 0, 1102, + 1103, 1104, 1210, 1106, 1107, 1108, 1109, 1110, + 1211, 1112, 1113, 1113, 1113, 1112, 1113, 1118, + 1113, 1113, 1113, 1114, 1113, 1118, 1115, 1115, + 1115, 1114, 1115, 1117, 1116, 1115, 1115, 1115, + 1115, 1117, 1212, 1117, 1115, 1118, 1113, 1120, + 1121, 1121, 1121, 1120, 1121, 1126, 1122, 1121, + 1121, 1121, 1121, 1126, 1123, 1123, 1123, 1123, + 1125, 1124, 1123, 1123, 1123, 1123, 1125, 1213, + 1125, 1123, 1126, 1121, 0, 1, 152, 1, + 1, 160, 1127, 151, 1132, 264, 14, 194, + 14, 14, 204, 224, 1135, 239, 1133, 240, + 1136, 242, 0, 142, 142, 142, 170, 250, + 251, 252, 253, 266, 255, 256, 257, 258, + 259, 260, 261, 262, 263, 1130, 265, 0, + 163, 170, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 259, 260, 261, 262, 263, + 0, 1, 152, 1, 1, 160, 1127, 151, + 1132, 264, 1, 1, 1132, 264, 174, 174, + 174, 1132, 175, 178, 178, 178, 193, 228, + 0, 205, 208, 210, 211, 212, 213, 214, + 215, 216, 217, 218, 219, 220, 221, 222, + 223, 1132 +}; + +static const short _zone_scanner_trans_actions[] = { + 2399, 0, 5, 7, 561, 720, 720, 720, + 720, 720, 720, 720, 720, 720, 720, 720, + 720, 720, 720, 720, 3, 9, 3, 9, + 2555, 101, 738, 741, 43, 57, 55, 53, + 0, 59, 735, 744, 361, 0, 5, 7, + 95, 95, 95, 95, 95, 95, 95, 95, + 95, 95, 95, 95, 95, 95, 95, 3, + 9, 2007, 2010, 3007, 3011, 0, 0, 0, + 3003, 3015, 3023, 4731, 4751, 355, 0, 353, + 5, 7, 359, 3, 9, 369, 396, 1992, + 13, 417, 420, 2271, 423, 15, 0, 5, + 7, 2136, 9, 11, 2243, 2001, 357, 11, + 411, 13, 378, 384, 393, 4726, 2983, 2223, + 0, 5, 7, 9, 2991, 1998, 396, 11, + 2239, 0, 4031, 5, 7, 2387, 2679, 2679, + 2679, 2679, 2679, 2679, 2679, 2679, 2679, 2679, + 2679, 2679, 2679, 2679, 2679, 3, 9, 1995, + 1998, 369, 396, 5292, 747, 2683, 2687, 4246, + 2691, 2004, 0, 5, 7, 372, 9, 0, + 0, 0, 0, 0, 2133, 3831, 3835, 3827, + 3839, 3843, 5156, 5161, 408, 2227, 2231, 2235, + 11, 399, 402, 405, 0, 0, 0, 0, + 0, 0, 2106, 3651, 3655, 3647, 3659, 3663, + 5066, 5071, 2103, 3631, 3635, 3627, 3639, 3643, + 5056, 5061, 0, 0, 2064, 3371, 3375, 3367, + 3379, 3383, 4926, 4931, 0, 0, 0, 2016, + 3051, 3055, 3047, 3059, 3063, 4766, 4771, 0, + 0, 0, 0, 0, 0, 2091, 3551, 3555, + 3547, 3559, 3563, 5016, 5021, 0, 0, 0, + 0, 2067, 3391, 3395, 3387, 3399, 3403, 4936, + 4941, 0, 0, 0, 2088, 3531, 3535, 3527, + 3539, 3543, 5006, 5011, 2073, 3431, 3435, 3427, + 3439, 3443, 4956, 4961, 0, 0, 0, 0, + 0, 2124, 3771, 3775, 3767, 3779, 3783, 5126, + 5131, 0, 2127, 3791, 3795, 3787, 3799, 3803, + 5136, 5141, 0, 0, 0, 0, 2025, 3111, + 3115, 3107, 3119, 3123, 4796, 4801, 0, 0, + 99, 726, 729, 723, 732, 0, 5, 7, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 3, + 9, 0, 0, 0, 0, 0, 0, 2079, + 3471, 3475, 3467, 3479, 3483, 4976, 4981, 0, + 0, 0, 2046, 3251, 3255, 3247, 3259, 3263, + 4866, 4871, 2061, 3351, 3355, 3347, 3359, 3363, + 4916, 4921, 0, 0, 0, 0, 0, 2115, + 3711, 3715, 3707, 3719, 3723, 5096, 5101, 0, + 2118, 3731, 3735, 3727, 3739, 3743, 5106, 5111, + 0, 2052, 3291, 3295, 3287, 3299, 3303, 4886, + 4891, 2121, 3751, 3755, 3747, 3759, 3763, 5116, + 5121, 0, 0, 0, 0, 0, 2028, 3131, + 3135, 3127, 3139, 3143, 4806, 4811, 2031, 3151, + 3155, 3147, 3159, 3163, 4816, 4821, 0, 0, + 0, 0, 0, 0, 2058, 3331, 3335, 3327, + 3339, 3343, 4906, 4911, 0, 2112, 3691, 3695, + 3687, 3699, 3703, 5086, 5091, 2013, 3031, 3035, + 0, 3027, 3039, 3043, 4756, 4761, 0, 2085, + 3511, 3515, 0, 3507, 3519, 3523, 4996, 5001, + 2094, 3571, 3575, 0, 3567, 3579, 3583, 5026, + 5031, 0, 0, 0, 0, 2097, 3591, 3595, + 3587, 3599, 3603, 5036, 5041, 0, 0, 2022, + 3091, 3095, 3087, 3099, 3103, 4786, 4791, 0, + 0, 0, 2037, 3191, 3195, 3187, 3199, 3203, + 4836, 4841, 0, 0, 0, 2082, 3491, 3495, + 3487, 3499, 3503, 4986, 4991, 2043, 3231, 3235, + 3227, 3239, 3243, 4856, 4861, 0, 0, 0, + 0, 0, 2019, 3071, 3075, 3067, 3079, 3083, + 4776, 4781, 0, 2109, 3671, 3675, 3667, 3679, + 3683, 5076, 5081, 0, 2055, 3311, 3315, 3307, + 3319, 3323, 4896, 4901, 0, 0, 0, 2076, + 3451, 3455, 3447, 3459, 3463, 4966, 4971, 0, + 0, 0, 0, 0, 2100, 3611, 3615, 3607, + 3619, 3623, 5046, 5051, 0, 2034, 3171, 3175, + 3167, 3179, 3183, 4826, 4831, 0, 0, 573, + 561, 2403, 639, 2531, 2535, 43, 2527, 2539, + 2543, 4191, 4196, 0, 0, 2130, 3811, 3815, + 3807, 3819, 3823, 5146, 5151, 11, 411, 0, + 5, 7, 3, 9, 0, 99, 726, 729, + 723, 732, 0, 5, 7, 561, 97, 97, + 97, 97, 97, 97, 97, 97, 97, 97, + 97, 97, 97, 97, 97, 3, 9, 101, + 738, 741, 43, 57, 55, 53, 0, 59, + 735, 744, 2559, 43, 57, 55, 53, 0, + 59, 660, 2599, 2603, 4206, 2595, 2607, 11, + 411, 11, 411, 93, 89, 89, 89, 0, + 0, 0, 0, 0, 0, 87, 39, 37, + 510, 513, 507, 516, 0, 5, 7, 3, + 9, 11, 0, 411, 4016, 522, 2315, 2323, + 2307, 2331, 0, 5, 7, 3, 9, 11, + 411, 2559, 43, 57, 55, 53, 0, 59, + 660, 2599, 2603, 4206, 2595, 2607, 11, 411, + 2375, 2343, 3971, 3986, 3956, 4001, 5178, 5202, + 0, 5, 7, 3, 9, 369, 396, 2999, + 3019, 4736, 4741, 5322, 4746, 5431, 5334, 5424, + 5328, 0, 5, 7, 372, 2179, 0, 5, + 7, 372, 9, 11, 2239, 426, 2247, 2255, + 3896, 2263, 11, 375, 381, 390, 0, 5, + 7, 9, 396, 11, 2239, 2975, 0, 0, + 0, 0, 0, 81, 0, 0, 77, 2367, + 519, 2311, 2319, 3946, 2327, 5361, 2335, 3961, + 3976, 5172, 3991, 0, 5, 7, 372, 9, + 11, 2239, 4021, 4006, 5184, 5190, 5347, 5196, + 5438, 5354, 0, 5, 7, 372, 2179, 2339, + 531, 3966, 3981, 3951, 3996, 13, 378, 384, + 2155, 393, 408, 3871, 2227, 2231, 2235, 11, + 399, 402, 405, 408, 2227, 2231, 2235, 11, + 399, 402, 405, 0, 0, 2049, 3271, 3275, + 3267, 3279, 3283, 4876, 4881, 0, 0, 0, + 2040, 3211, 3215, 3207, 3219, 3223, 4846, 4851, + 0, 2070, 3411, 3415, 3407, 3419, 3423, 4946, + 4951, 11, 411, 426, 2247, 2255, 3906, 11, + 375, 381, 3847, 408, 2227, 2231, 11, 399, + 402, 408, 2227, 2231, 11, 399, 402, 11, + 411, 13, 378, 384, 393, 2223, 408, 2227, + 2231, 11, 399, 402, 534, 11, 411, 11, + 411, 11, 2239, 438, 2275, 17, 441, 31, + 2299, 29, 0, 474, 2279, 21, 23, 0, + 465, 444, 19, 447, 456, 25, 25, 3916, + 450, 453, 27, 471, 684, 65, 0, 0, + 1, 681, 2615, 687, 69, 69, 690, 693, + 2611, 71, 65, 0, 0, 67, 687, 69, + 69, 693, 71, 71, 75, 0, 5, 7, + 3, 9, 564, 561, 4201, 13, 417, 420, + 43, 57, 55, 53, 0, 59, 3901, 423, + 432, 0, 5, 7, 2623, 9, 11, 3881, + 2559, 2547, 43, 57, 55, 53, 0, 59, + 654, 2563, 2567, 4206, 5298, 2571, 11, 411, + 79, 0, 5, 7, 3, 9, 4211, 702, + 2627, 21, 23, 0, 435, 468, 2283, 2287, + 444, 19, 5166, 2291, 0, 5, 7, 2631, + 9, 11, 3886, 447, 459, 25, 25, 450, + 453, 27, 11, 411, 0, 5, 7, 3, + 9, 705, 83, 711, 708, 2635, 2639, 5304, + 2647, 2643, 717, 0, 5, 7, 4216, 714, + 2651, 2655, 9, 9, 85, 21, 23, 0, + 2295, 3921, 3926, 444, 19, 5340, 3931, 0, + 5, 7, 11, 3891, 447, 462, 25, 25, + 450, 453, 27, 11, 3876, 0, 5, 7, + 3, 9, 11, 411, 11, 411, 125, 117, + 119, 121, 0, 123, 0, 5, 7, 3, + 9, 1, 366, 387, 11, 411, 325, 323, + 1896, 1899, 1893, 1902, 2947, 4716, 4721, 0, + 5, 7, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 3, 9, 1905, 2171, 2215, 239, 1392, + 1395, 0, 0, 0, 1389, 1398, 2779, 4296, + 4301, 0, 0, 265, 1548, 1551, 1545, 1554, + 2831, 4426, 4431, 11, 411, 0, 0, 0, + 0, 0, 321, 1884, 1887, 1881, 1890, 2943, + 4706, 4711, 0, 0, 0, 0, 0, 0, + 303, 1776, 1779, 1773, 1782, 2907, 4616, 4621, + 301, 1764, 1767, 1761, 1770, 2903, 4606, 4611, + 0, 0, 275, 1608, 1611, 1605, 1614, 2851, + 4476, 4481, 0, 0, 0, 243, 1416, 1419, + 1413, 1422, 2787, 4316, 4321, 0, 0, 0, + 0, 0, 0, 293, 1716, 1719, 1713, 1722, + 2887, 4566, 4571, 0, 0, 0, 0, 277, + 1620, 1623, 1617, 1626, 2855, 4486, 4491, 0, + 0, 0, 291, 1704, 1707, 1701, 1710, 2883, + 4556, 4561, 281, 1644, 1647, 1641, 1650, 2863, + 4506, 4511, 0, 0, 0, 0, 0, 315, + 1848, 1851, 1845, 1854, 2931, 4676, 4681, 0, + 317, 1860, 1863, 1857, 1866, 2935, 4686, 4691, + 0, 0, 0, 0, 249, 1452, 1455, 1449, + 1458, 2799, 4346, 4351, 0, 0, 0, 0, + 0, 0, 0, 285, 1668, 1671, 1665, 1674, + 2871, 4526, 4531, 0, 0, 0, 263, 1536, + 1539, 1533, 1542, 2827, 4416, 4421, 273, 1596, + 1599, 1593, 1602, 2847, 4466, 4471, 0, 0, + 0, 0, 0, 309, 1812, 1815, 1809, 1818, + 2919, 4646, 4651, 0, 311, 1824, 1827, 1821, + 1830, 2923, 4656, 4661, 0, 267, 1560, 1563, + 1557, 1566, 2835, 4436, 4441, 313, 1836, 1839, + 1833, 1842, 2927, 4666, 4671, 0, 0, 0, + 0, 0, 251, 1464, 1467, 1461, 1470, 2803, + 4356, 4361, 253, 1476, 1479, 1473, 1482, 2807, + 4366, 4371, 0, 0, 0, 0, 0, 0, + 271, 1584, 1587, 1581, 1590, 2843, 4456, 4461, + 0, 307, 1800, 1803, 1797, 1806, 2915, 4636, + 4641, 241, 1404, 1407, 0, 1401, 1410, 2783, + 4306, 4311, 0, 289, 1692, 1695, 0, 1689, + 1698, 2879, 4546, 4551, 295, 1728, 1731, 0, + 1725, 1734, 2891, 4576, 4581, 0, 0, 0, + 0, 297, 1740, 1743, 1737, 1746, 2895, 4586, + 4591, 0, 0, 247, 1440, 1443, 1437, 1446, + 2795, 4336, 4341, 0, 0, 0, 257, 1500, + 1503, 1497, 1506, 2815, 4386, 4391, 0, 0, + 0, 287, 1680, 1683, 1677, 1686, 2875, 4536, + 4541, 261, 1524, 1527, 1521, 1530, 2823, 4406, + 4411, 0, 0, 0, 0, 0, 245, 1428, + 1431, 1425, 1434, 2791, 4326, 4331, 0, 305, + 1788, 1791, 1785, 1794, 2911, 4626, 4631, 0, + 269, 1572, 1575, 1569, 1578, 2839, 4446, 4451, + 0, 0, 0, 283, 1656, 1659, 1653, 1662, + 2867, 4516, 4521, 0, 0, 0, 0, 0, + 299, 1752, 1755, 1749, 1758, 2899, 4596, 4601, + 0, 255, 1488, 1491, 1485, 1494, 2811, 4376, + 4381, 0, 0, 561, 237, 1380, 1383, 43, + 1377, 1386, 2775, 4286, 4291, 0, 0, 319, + 1872, 1875, 1869, 1878, 2939, 4696, 4701, 0, + 0, 0, 259, 1512, 1515, 1509, 1518, 2819, + 4396, 4401, 0, 279, 1632, 1635, 1629, 1638, + 2859, 4496, 4501, 339, 0, 5, 7, 3, + 9, 567, 561, 51, 645, 648, 43, 642, + 651, 2763, 0, 5, 7, 113, 3, 9, + 115, 0, 5, 7, 3, 9, 780, 2167, + 2211, 11, 411, 11, 411, 11, 411, 0, + 5, 7, 3, 9, 561, 561, 363, 2143, + 2147, 43, 1, 2139, 2151, 0, 5, 7, + 113, 3, 9, 115, 0, 5, 7, 3, + 9, 780, 2167, 2211, 11, 411, 11, 411, + 51, 645, 648, 642, 651, 11, 411, 345, + 561, 0, 0, 0, 0, 0, 594, 43, + 0, 0, 789, 0, 792, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 798, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 810, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 813, 0, 0, 0, 0, 0, 0, 0, + 0, 816, 0, 0, 0, 0, 0, 0, + 819, 0, 0, 822, 0, 0, 0, 0, + 0, 0, 0, 825, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 828, 0, + 0, 831, 0, 0, 0, 0, 0, 0, + 786, 0, 0, 0, 0, 0, 795, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 801, 0, 0, 804, 0, 0, + 807, 347, 561, 0, 0, 0, 0, 0, + 0, 609, 43, 0, 0, 0, 0, 0, + 852, 0, 0, 0, 0, 0, 0, 0, + 0, 855, 0, 0, 0, 849, 0, 0, + 843, 0, 0, 0, 846, 0, 0, 861, + 0, 0, 0, 840, 0, 0, 834, 0, + 0, 0, 837, 0, 0, 858, 753, 750, + 2703, 103, 537, 540, 537, 41, 546, 549, + 543, 552, 0, 5, 7, 537, 3, 9, + 41, 546, 549, 543, 552, 570, 0, 5, + 7, 561, 3, 9, 49, 630, 633, 43, + 627, 636, 0, 5, 7, 561, 3, 9, + 2551, 49, 630, 633, 43, 57, 55, 53, + 0, 59, 627, 636, 0, 5, 7, 561, + 3, 9, 49, 630, 633, 43, 57, 55, + 53, 0, 59, 627, 636, 0, 5, 7, + 561, 3, 9, 49, 630, 633, 43, 57, + 55, 53, 0, 59, 627, 636, 0, 5, + 7, 561, 3, 9, 624, 43, 57, 55, + 53, 0, 59, 2559, 43, 57, 55, 53, + 0, 59, 2575, 4206, 11, 411, 2559, 43, + 57, 55, 53, 0, 59, 657, 2583, 2587, + 4206, 2579, 2591, 11, 411, 2559, 43, 57, + 55, 53, 0, 59, 657, 2583, 2587, 4206, + 2579, 2591, 11, 411, 2559, 43, 57, 55, + 53, 0, 59, 657, 2583, 2587, 4206, 2579, + 2591, 11, 411, 11, 411, 11, 411, 477, + 35, 492, 495, 489, 498, 477, 0, 5, + 7, 3, 9, 486, 11, 411, 537, 41, + 546, 549, 543, 552, 0, 5, 7, 537, + 3, 9, 540, 11, 411, 561, 47, 615, + 618, 43, 612, 621, 0, 5, 7, 537, + 3, 9, 540, 11, 411, 2619, 699, 35, + 492, 495, 489, 498, 2303, 3936, 3941, 477, + 0, 5, 7, 3, 9, 696, 2163, 2207, + 11, 411, 750, 2723, 103, 1983, 2951, 327, + 1911, 1914, 43, 1908, 1917, 0, 5, 7, + 561, 0, 0, 3, 9, 331, 1935, 1938, + 43, 1932, 1941, 0, 5, 7, 4186, 3, + 9, 576, 2435, 2439, 0, 43, 2431, 2443, + 0, 5, 7, 3, 9, 0, 5, 7, + 3, 9, 561, 329, 1923, 1926, 43, 1920, + 1929, 0, 5, 7, 561, 0, 0, 3, + 9, 333, 1947, 1950, 43, 1944, 1953, 0, + 5, 7, 4186, 3, 9, 579, 2451, 2455, + 0, 43, 2447, 2459, 0, 5, 7, 3, + 9, 0, 5, 7, 3, 9, 0, 4181, + 5316, 582, 2467, 2471, 0, 43, 582, 2463, + 2475, 4161, 5244, 5250, 0, 5, 7, 4181, + 3, 9, 1980, 2175, 2219, 585, 2483, 2487, + 0, 43, 585, 2479, 2491, 4166, 5256, 5262, + 0, 5, 7, 4181, 3, 9, 2175, 2219, + 588, 2499, 2503, 0, 43, 588, 2495, 2507, + 4171, 5268, 5274, 0, 5, 7, 4181, 3, + 9, 2175, 2219, 591, 2515, 2519, 0, 43, + 2511, 2523, 4176, 5280, 5286, 0, 5, 7, + 3, 9, 2175, 2219, 11, 411, 2427, 4146, + 4151, 4036, 4141, 4156, 5238, 5410, 5417, 558, + 11, 411, 2423, 4126, 4131, 4036, 2423, 4121, + 4136, 5232, 5396, 5403, 558, 11, 411, 2419, + 4106, 4111, 4036, 2419, 4101, 4116, 5226, 5382, + 5389, 558, 11, 411, 2415, 4086, 4091, 4036, + 2415, 4081, 4096, 5220, 5368, 5375, 558, 11, + 411, 337, 1971, 1974, 1968, 1977, 11, 411, + 2411, 4066, 4071, 4036, 4061, 4076, 558, 11, + 411, 11, 411, 11, 411, 335, 1959, 1962, + 1956, 1965, 11, 411, 2407, 4046, 4051, 4036, + 4041, 4056, 558, 11, 411, 11, 411, 561, + 47, 615, 618, 43, 612, 621, 0, 5, + 7, 561, 3, 9, 47, 615, 618, 43, + 612, 621, 0, 5, 7, 561, 3, 9, + 47, 615, 618, 43, 612, 621, 0, 5, + 7, 537, 3, 9, 540, 11, 411, 11, + 411, 11, 411, 561, 47, 615, 618, 43, + 612, 621, 0, 5, 7, 561, 3, 9, + 47, 615, 618, 43, 612, 621, 477, 0, + 5, 7, 3, 9, 35, 492, 495, 489, + 498, 477, 0, 5, 7, 3, 9, 35, + 492, 495, 489, 498, 477, 0, 5, 7, + 3, 9, 35, 492, 495, 489, 498, 0, + 5, 7, 537, 3, 9, 540, 11, 411, + 11, 411, 11, 411, 11, 411, 11, 411, + 351, 0, 5, 7, 3, 9, 561, 47, + 615, 618, 43, 612, 621, 0, 5, 7, + 349, 3, 9, 0, 5, 7, 3, 9, + 127, 1, 11, 411, 11, 411, 11, 411, + 774, 0, 762, 5, 7, 765, 768, 3, + 9, 1, 366, 387, 109, 111, 0, 2695, + 750, 103, 105, 561, 771, 2751, 2755, 43, + 2747, 2759, 2743, 4276, 4281, 11, 411, 0, + 750, 103, 107, 561, 47, 615, 618, 43, + 612, 621, 0, 5, 7, 349, 3, 9, + 0, 5, 7, 3, 9, 561, 45, 600, + 603, 43, 597, 606, 777, 0, 5, 7, + 113, 3, 9, 115, 0, 5, 7, 3, + 9, 1, 366, 387, 11, 411, 11, 411, + 11, 411, 11, 411, 561, 45, 600, 603, + 43, 597, 606, 0, 5, 7, 561, 3, + 9, 45, 600, 603, 43, 597, 606, 0, + 5, 7, 113, 3, 9, 115, 0, 5, + 7, 3, 9, 1, 366, 387, 11, 411, + 11, 411, 11, 411, 561, 45, 600, 603, + 43, 597, 606, 864, 0, 5, 7, 145, + 147, 149, 151, 3, 9, 0, 5, 7, + 3, 9, 2391, 561, 45, 600, 603, 43, + 597, 606, 0, 5, 7, 0, 3, 9, + 2771, 0, 5, 7, 0, 5, 7, 0, + 5, 7, 1, 3, 9, 366, 387, 3, + 9, 366, 387, 3, 9, 366, 387, 867, + 127, 11, 411, 11, 411, 11, 411, 11, + 411, 11, 411, 0, 5, 7, 3, 9, + 561, 45, 600, 603, 43, 597, 606, 2699, + 0, 5, 7, 750, 3, 9, 4251, 103, + 756, 2711, 2715, 756, 2711, 2715, 756, 2711, + 2715, 2703, 2707, 2719, 4256, 4261, 2707, 2719, + 4256, 4261, 2707, 2719, 4256, 4261, 11, 411, + 11, 411, 0, 5, 7, 3, 9, 561, + 45, 600, 603, 43, 597, 606, 0, 5, + 7, 750, 3, 9, 103, 759, 2731, 2735, + 759, 2731, 2735, 759, 2731, 2735, 2723, 2727, + 2739, 4266, 4271, 2727, 2739, 4266, 4271, 2727, + 2739, 4266, 4271, 11, 411, 11, 411, 0, + 5, 7, 3, 9, 561, 45, 600, 603, + 43, 597, 606, 0, 5, 7, 537, 3, + 9, 41, 546, 549, 41, 546, 549, 41, + 546, 549, 540, 543, 552, 2379, 2383, 543, + 552, 2379, 2383, 543, 552, 2379, 2383, 11, + 411, 11, 411, 11, 411, 870, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 153, 876, 879, + 0, 0, 0, 873, 882, 0, 5, 7, + 349, 3, 9, 0, 5, 7, 3, 9, + 561, 45, 600, 603, 43, 597, 606, 0, + 5, 7, 561, 3, 9, 49, 630, 633, + 43, 627, 636, 678, 0, 5, 7, 663, + 3, 9, 63, 669, 672, 61, 666, 675, + 0, 5, 7, 663, 3, 9, 63, 669, + 672, 61, 666, 675, 0, 5, 7, 561, + 3, 9, 47, 615, 618, 43, 612, 621, + 0, 5, 7, 537, 3, 9, 41, 546, + 549, 543, 552, 0, 5, 7, 127, 3, + 9, 1, 11, 411, 11, 411, 11, 411, + 11, 411, 11, 411, 11, 411, 11, 411, + 11, 411, 0, 0, 179, 1032, 1035, 1029, + 1038, 0, 0, 0, 173, 996, 999, 993, + 1002, 0, 193, 1116, 1119, 1113, 1122, 0, + 0, 0, 0, 0, 235, 1368, 1371, 1365, + 1374, 0, 0, 0, 0, 0, 0, 217, + 1260, 1263, 1257, 1266, 215, 1248, 1251, 1245, + 1254, 0, 0, 189, 1092, 1095, 1089, 1098, + 0, 0, 0, 157, 900, 903, 897, 906, + 0, 0, 0, 0, 0, 0, 207, 1200, + 1203, 1197, 1206, 0, 0, 0, 0, 191, + 1104, 1107, 1101, 1110, 0, 0, 0, 205, + 1188, 1191, 1185, 1194, 195, 1128, 1131, 1125, + 1134, 0, 0, 0, 0, 0, 229, 1332, + 1335, 1329, 1338, 0, 231, 1344, 1347, 1341, + 1350, 0, 0, 0, 0, 163, 936, 939, + 933, 942, 0, 0, 0, 0, 0, 0, + 0, 199, 1152, 1155, 1149, 1158, 0, 0, + 0, 177, 1020, 1023, 1017, 1026, 187, 1080, + 1083, 1077, 1086, 0, 0, 0, 0, 0, + 223, 1296, 1299, 1293, 1302, 0, 225, 1308, + 1311, 1305, 1314, 0, 181, 1044, 1047, 1041, + 1050, 227, 1320, 1323, 1317, 1326, 0, 0, + 0, 0, 0, 165, 948, 951, 945, 954, + 167, 960, 963, 957, 966, 0, 0, 0, + 0, 0, 0, 185, 1068, 1071, 1065, 1074, + 0, 221, 1284, 1287, 1281, 1290, 155, 888, + 891, 0, 885, 894, 0, 203, 1176, 1179, + 0, 1173, 1182, 209, 1212, 1215, 0, 1209, + 1218, 0, 0, 0, 0, 211, 1224, 1227, + 1221, 1230, 0, 0, 161, 924, 927, 921, + 930, 0, 0, 0, 171, 984, 987, 981, + 990, 0, 0, 0, 201, 1164, 1167, 1161, + 1170, 175, 1008, 1011, 1005, 1014, 0, 0, + 0, 0, 0, 159, 912, 915, 909, 918, + 0, 219, 1272, 1275, 1269, 1278, 0, 183, + 1056, 1059, 1053, 1062, 0, 0, 0, 197, + 1140, 1143, 1137, 1146, 0, 0, 0, 0, + 0, 213, 1236, 1239, 1233, 1242, 0, 169, + 972, 975, 969, 978, 0, 0, 2395, 561, + 47, 615, 618, 43, 612, 621, 0, 0, + 233, 1356, 1359, 1353, 1362, 537, 555, 1, + 561, 47, 615, 618, 43, 612, 621, 0, + 5, 7, 561, 3, 9, 45, 600, 603, + 43, 597, 606, 0, 5, 7, 349, 3, + 9, 0, 5, 7, 3, 9, 127, 1, + 11, 411, 11, 411, 11, 411, 127, 1, + 561, 45, 600, 603, 43, 597, 606, 0, + 5, 7, 561, 3, 9, 45, 600, 603, + 43, 597, 606, 0, 5, 7, 561, 3, + 9, 47, 615, 618, 43, 612, 621, 0, + 5, 7, 33, 480, 3, 9, 35, 492, + 495, 489, 498, 783, 0, 5, 7, 483, + 3, 9, 131, 133, 0, 135, 137, 0, + 139, 0, 141, 143, 0, 501, 129, 1, + 0, 0, 11, 411, 115, 113, 11, 411, + 11, 411, 11, 411, 561, 45, 600, 603, + 43, 597, 606, 0, 5, 7, 561, 3, + 9, 45, 600, 603, 43, 597, 606, 0, + 5, 7, 561, 3, 9, 47, 615, 618, + 43, 612, 621, 0, 5, 7, 33, 480, + 3, 9, 486, 115, 113, 11, 411, 11, + 411, 11, 411, 561, 45, 600, 603, 43, + 597, 606, 0, 5, 7, 561, 3, 9, + 45, 600, 603, 43, 597, 606, 0, 5, + 7, 561, 3, 9, 45, 600, 603, 43, + 597, 606, 0, 5, 7, 113, 3, 9, + 115, 0, 5, 7, 3, 9, 1, 366, + 387, 11, 411, 11, 411, 11, 411, 11, + 411, 561, 47, 615, 618, 43, 612, 621, + 0, 5, 7, 750, 3, 9, 2703, 103, + 11, 411, 561, 47, 615, 618, 43, 612, + 621, 0, 5, 7, 1989, 3, 9, 115, + 113, 115, 2767, 343, 113, 115, 113, 115, + 2971, 2967, 11, 411, 1986, 115, 2963, 341, + 113, 115, 2955, 1986, 115, 341, 113, 115, + 2959, 561, 47, 615, 618, 43, 612, 621, + 0, 5, 7, 561, 3, 9, 47, 615, + 618, 43, 612, 621, 73, 0, 5, 7, + 3, 9, 1, 11, 411, 11, 411, 561, + 45, 600, 603, 43, 597, 606, 477, 0, + 5, 7, 3, 9, 35, 492, 495, 489, + 498, 73, 0, 5, 7, 3, 9, 1, + 11, 411, 11, 411, 528, 525, 0, 2351, + 2355, 504, 414, 423, 2347, 2359, 525, 355, + 2187, 2195, 2987, 2995, 2159, 2203, 2979, 2983, + 3856, 3866, 2371, 525, 2187, 2195, 2675, 2675, + 2675, 2675, 2675, 2675, 2675, 2675, 2675, 2675, + 2675, 2675, 2675, 2675, 2675, 2159, 2203, 4011, + 4026, 4241, 4241, 4241, 4241, 4241, 4241, 4241, + 4241, 4241, 4241, 4241, 4241, 4241, 4241, 4241, + 2363, 2671, 91, 4226, 4231, 2667, 2659, 2663, + 4221, 4236, 2187, 2195, 2159, 2203, 429, 2251, + 2259, 3911, 2267, 429, 2183, 2191, 2199, 3861, + 5208, 5214, 5310, 5310, 5310, 5310, 5310, 5310, + 5310, 5310, 5310, 5310, 5310, 5310, 5310, 5310, + 5310, 3851 +}; + +static const short _zone_scanner_eof_actions[] = { + 0, 2399, 2555, 361, 2007, 353, 1992, 15, + 15, 353, 353, 1992, 1992, 1992, 4031, 5292, + 2004, 361, 361, 2007, 1992, 1992, 361, 361, + 361, 361, 361, 2007, 2007, 361, 361, 2007, + 361, 361, 361, 2007, 361, 361, 361, 361, + 2007, 361, 361, 361, 2007, 361, 361, 361, + 2007, 2007, 361, 361, 361, 361, 2007, 361, + 2007, 361, 361, 361, 361, 2007, 361, 361, + 361, 361, 361, 361, 361, 361, 361, 361, + 2007, 361, 361, 2007, 2007, 361, 361, 2007, + 361, 2007, 361, 2007, 2007, 361, 361, 361, + 361, 2007, 2007, 361, 361, 361, 361, 2007, + 361, 2007, 2007, 361, 2007, 2007, 361, 361, + 361, 361, 2007, 361, 361, 2007, 361, 2007, + 361, 361, 361, 2007, 2007, 361, 361, 2007, + 361, 2007, 361, 2007, 361, 361, 361, 2007, + 361, 361, 361, 2007, 361, 2007, 361, 361, + 573, 2403, 361, 361, 2007, 361, 2399, 361, + 361, 573, 2555, 2555, 2555, 2555, 361, 15, + 93, 93, 93, 93, 93, 93, 93, 93, + 39, 573, 0, 4016, 573, 361, 2555, 2555, + 2555, 361, 2375, 2403, 2999, 1992, 2399, 15, + 1992, 15, 4031, 2999, 2999, 2999, 2999, 2999, + 2999, 2999, 2999, 2999, 2999, 2999, 2999, 2999, + 2999, 1992, 2975, 93, 93, 93, 93, 93, + 93, 93, 93, 93, 2367, 5361, 2399, 2004, + 4021, 4031, 4021, 4021, 4021, 4021, 4021, 4021, + 4021, 4021, 4021, 4021, 4021, 4021, 4021, 4021, + 531, 4031, 1992, 15, 1992, 1992, 361, 361, + 2007, 361, 361, 361, 2007, 361, 2007, 1992, + 1992, 15, 1992, 1992, 1992, 1992, 353, 4031, + 1992, 1992, 534, 534, 534, 534, 534, 534, + 534, 534, 534, 534, 534, 534, 534, 534, + 15, 2004, 534, 2004, 0, 0, 31, 31, + 31, 456, 456, 456, 456, 31, 31, 684, + 684, 2615, 2615, 2615, 2615, 684, 67, 2615, + 2615, 2615, 2615, 75, 564, 4201, 432, 432, + 4201, 2547, 4201, 75, 79, 79, 79, 435, + 435, 435, 459, 459, 459, 459, 435, 79, + 0, 83, 711, 717, 85, 717, 15, 15, + 462, 462, 462, 462, 717, 15, 85, 0, + 0, 125, 125, 125, 125, 125, 125, 125, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 325, 325, 325, 325, + 325, 325, 325, 325, 339, 567, 567, 2763, + 2763, 2763, 2763, 339, 339, 339, 567, 567, + 2763, 2763, 2763, 2763, 339, 567, 339, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 347, + 347, 347, 347, 347, 347, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, + 753, 753, 353, 353, 353, 353, 353, 353, + 570, 570, 570, 2551, 570, 2551, 570, 2551, + 570, 2551, 2551, 2551, 2551, 353, 2551, 2551, + 2551, 353, 2551, 2551, 2551, 353, 2551, 2551, + 2551, 353, 353, 353, 353, 353, 353, 353, + 353, 353, 353, 353, 353, 353, 570, 570, + 353, 353, 353, 699, 699, 699, 699, 753, + 753, 1983, 1983, 1983, 1983, 1983, 1983, 1983, + 1983, 1983, 1983, 1983, 1983, 1983, 1983, 1983, + 1983, 1983, 1983, 1983, 1983, 1983, 1983, 1983, + 1983, 1983, 1983, 1983, 1983, 1983, 1983, 1983, + 1983, 1983, 1983, 1983, 1983, 1983, 1983, 1983, + 1983, 1983, 1983, 1983, 1983, 1983, 1983, 1983, + 1983, 1983, 1983, 1983, 1983, 1983, 1983, 1983, + 570, 570, 570, 570, 570, 570, 353, 353, + 353, 353, 353, 570, 570, 570, 570, 353, + 353, 353, 353, 353, 353, 353, 353, 353, + 353, 353, 353, 353, 353, 353, 570, 570, + 353, 353, 353, 353, 353, 353, 353, 774, + 774, 774, 2695, 2695, 774, 774, 353, 774, + 2695, 2695, 570, 570, 353, 353, 570, 570, + 777, 777, 777, 777, 353, 353, 353, 570, + 570, 570, 570, 777, 777, 777, 777, 353, + 353, 570, 570, 864, 864, 2391, 2391, 864, + 2771, 867, 867, 867, 867, 867, 867, 867, + 864, 864, 864, 2391, 2391, 2699, 4251, 864, + 864, 864, 2391, 2391, 2699, 4251, 864, 864, + 864, 2391, 2391, 864, 2771, 864, 864, 353, + 870, 870, 353, 353, 570, 570, 570, 570, + 678, 678, 678, 678, 570, 570, 353, 353, + 353, 353, 353, 353, 353, 353, 353, 353, + 353, 353, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, + 870, 870, 870, 870, 870, 2395, 2395, 870, + 870, 870, 353, 353, 353, 570, 570, 570, + 570, 353, 353, 353, 353, 353, 353, 353, + 353, 353, 570, 570, 570, 570, 570, 570, + 777, 777, 783, 783, 783, 783, 783, 783, + 783, 783, 783, 353, 783, 783, 783, 783, + 783, 353, 777, 777, 353, 353, 353, 570, + 570, 570, 570, 570, 570, 777, 777, 777, + 777, 353, 353, 353, 570, 570, 570, 570, + 570, 570, 777, 777, 777, 777, 353, 353, + 353, 570, 570, 753, 753, 353, 570, 570, + 777, 777, 777, 777, 2767, 777, 777, 777, + 777, 2971, 353, 777, 777, 2963, 777, 777, + 2963, 777, 777, 2963, 777, 777, 2963, 570, + 570, 570, 570, 353, 353, 353, 353, 570, + 570, 353, 353, 353, 353, 353, 353, 0, + 0, 0, 0, 91, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 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 = 1127; + + // 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(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-emtpy 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. + (void)madvise(start, size, MADV_SEQUENTIAL); + } + + // Set the scanner input limits. + s->input.start = start; + s->input.current = start; + s->input.end = start + size; + + // 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; +} + +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)(640 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + break; + } + case 1: { + _widec = (short)(1152 + ((*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)(2688 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + break; + } + case 4: { + _widec = (short)(4224 + ((*p) - -128)); + if ( + s->number64 == 0 ) _widec += 256; + break; + } + case 5: { + _widec = (short)(1664 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + break; + } + case 6: { + _widec = (short)(3200 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + break; + } + case 7: { + _widec = (short)(4736 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + break; + } + case 8: { + _widec = (short)(5760 + ((*p) - -128)); + if ( + s->number64 != 0 ) _widec += 256; + if ( + s->number64 == 0 ) _widec += 512; + break; + } + case 9: { + _widec = (short)(12928 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + !s->multiline ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + break; + } + case 10: { + _widec = (short)(6784 + ((*p) - -128)); + if ( + s->multiline ) _widec += 256; + if ( + s->number64 != 0 ) _widec += 512; + if ( + s->number64 == 0 ) _widec += 1024; + break; + } + case 11: { + _widec = (short)(8832 + ((*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 = 268;goto _again;} + } + s->multiline = true; + } + break; + case 3: + { + if (s->multiline == false) { + ERR(ZS_RIGHT_PARENTHESIS); + p--; {cs = 268;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; + } + break; + case 7: + { + s->buffer[0] = 0; + s->buffer_length = 0; + } + break; + case 8: + { + WARN(ZS_BAD_REST); + p--; {cs = 268;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 the multiline context. + s->multiline = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + 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 = 1127;goto _again;} + } else { + // Return if external processing. + p--; cs = 1127; {p++; goto _out; } + } + } + break; + case 12: + { + s->item_length = 0; + s->item_length_position = s->dname_tmp_length++; + } + break; + case 13: + { + // 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 = 268;goto _again;} + } + } + break; + case 14: + { + // 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 = 268;goto _again;} + } + } + break; + case 15: + { + 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 = 268;goto _again;} + } + } + break; + case 16: + { + (s->dname)[s->dname_tmp_length] *= 10; + (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; + } + break; + case 17: + { + s->dname_tmp_length++; + } + break; + case 18: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + break; + case 19: + { + // Enough room for the terminal label is guaranteed (_label_exit). + (s->dname)[s->dname_tmp_length++] = 0; + } + break; + case 20: + { + // 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 = 268;goto _again;} + } + } + break; + case 21: + { + // 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 22: + { + s->item_length_position = 0; + s->dname_tmp_length = 0; + } + break; + case 23: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {cs = 268;goto _again;} + } + break; + case 24: + { p--; {stack[top++] = cs; cs = 270;goto _again;} } + break; + case 25: + { + if (rdata_tail <= rdata_stop) { + s->item_length_location = rdata_tail++; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 26: + { + s->item_length = rdata_tail - s->item_length_location - 1; + + if (s->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } else { + WARN(ZS_ITEM_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 27: + { + s->dname = s->r_owner; + s->r_owner_length = 0; + } + break; + case 28: + { + s->r_owner_length = s->dname_tmp_length; + } + break; + case 29: + { + if (s->r_owner_length == 0) { + WARN(ZS_BAD_PREVIOUS_OWNER); + p--; {cs = 268;goto _again;} + } + } + break; + case 30: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {cs = 268;goto _again;} + } + break; + case 31: + { + s->dname = rdata_tail; + } + break; + case 32: + { + rdata_tail += s->dname_tmp_length; + } + break; + case 33: + { + // 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 = 268;goto _again;} + } + } + break; + case 34: + { + s->number64 = 0; + } + break; + case 35: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + break; + case 36: + { + s->decimal_counter = 0; + } + break; + case 37: + { + s->number64_tmp = s->number64; + } + break; + case 38: + { + s->decimal_counter++; + } + break; + case 39: + { + 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 = 268;goto _again;} + } + } + break; + case 40: + { + s->decimals = 2; + } + break; + case 41: + { + s->decimals = 3; + } + break; + case 42: + { + if (s->number64 <= UINT8_MAX) { + *rdata_tail = (uint8_t)(s->number64); + rdata_tail += 1; + } else { + WARN(ZS_NUMBER8_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 43: + { + 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 = 268;goto _again;} + } + } + break; + case 44: + { + 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 = 268;goto _again;} + } + } + break; + case 45: + { + if (s->number64 <= UINT16_MAX) { + s->r_type = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 46: + { + if (s->number64 <= UINT16_MAX) { + s->r_data_length = (uint16_t)(s->number64); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 47: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {cs = 268;goto _again;} + } + break; + case 48: + { if (s->number64 <= (UINT32_MAX / 60)) { + s->number64 *= 60; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 49: + { if (s->number64 <= (UINT32_MAX / 3600)) { + s->number64 *= 3600; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 50: + { if (s->number64 <= (UINT32_MAX / 86400)) { + s->number64 *= 86400; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 51: + { if (s->number64 <= (UINT32_MAX / 604800)) { + s->number64 *= 604800; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 52: + { + s->number64_tmp = s->number64; + } + break; + case 53: + { + if (s->number64 + s->number64_tmp < UINT32_MAX) { + s->number64 += s->number64_tmp; + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 54: + { + s->buffer_length = 0; + } + break; + case 55: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 56: + { + 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 = 268;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 = 268;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 = 268;goto _again;} + } + } else { + WARN(ZS_BAD_TIMESTAMP_LENGTH); + p--; {cs = 268;goto _again;} + } + } + break; + case 57: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; {cs = 268;goto _again;} + } + break; + case 58: + { + 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 = 268;goto _again;} + } + } + + *(rdata_tail++) = (*p); + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 59: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {cs = 268;goto _again;} + } + break; + case 60: + { + WARN(ZS_BAD_TEXT); + p--; {cs = 268;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 = 268;goto _again;} + } + } + + *rdata_tail = 0; + s->item_length++; + } else { + WARN(ZS_TEXT_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 62: + { + 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 = 268;goto _again;} + } + } + break; + case 63: + { + rdata_tail++; + } + break; + case 64: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + break; + case 65: + { p--; {stack[top++] = cs; cs = 279;goto _again;} } + break; + case 66: + { + s->long_string = true; + } + break; + case 67: + { + s->long_string = false; + } + break; + case 68: + { + if (s->number64 <= UINT32_MAX) { + s->default_ttl = (uint32_t)(s->number64); + } else { + ERR(ZS_NUMBER32_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 69: + { + ERR(ZS_BAD_TTL); + p--; {cs = 268;goto _again;} + } + break; + case 70: + { p--; {stack[top++] = cs; cs = 291;goto _again;} } + break; + case 71: + { + s->dname = s->zone_origin; + } + break; + case 72: + { + s->zone_origin_length = s->dname_tmp_length; + } + break; + case 73: + { + ERR(ZS_BAD_ORIGIN); + p--; {cs = 268;goto _again;} + } + break; + case 74: + { p--; {stack[top++] = cs; cs = 300;goto _again;} } + break; + case 75: + { + rdata_tail = s->r_data; + } + break; + case 76: + { + size_t len = rdata_tail - s->r_data; + if (len >= sizeof(s->include_filename)) { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {cs = 268;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 77: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {cs = 268;goto _again;} + } + break; + case 78: + { + s->dname = s->r_data; + } + break; + case 79: + { + s->r_data_length = s->dname_tmp_length; + } + break; + case 80: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {cs = 268;goto _again;} + } + break; + case 81: + { + // 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 = 268;goto _again;} + } + memcpy(s->include_filename, s->buffer, ret); + } + + // 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 = 268;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 = 268;goto _again;} + } + zs_deinit(ss); + free(ss); + } else { + s->state = ZS_STATE_INCLUDE; + p--; cs = 1127; {p++; goto _out; } + } + } + break; + case 82: + { p--; {stack[top++] = cs; cs = 312;goto _again;} } + break; + case 83: + { + ERR(ZS_OK); + } + break; + case 84: + { + NOERR; + } + break; + case 85: + { + ERR(ZS_BAD_DIRECTIVE); + p--; {cs = 268;goto _again;} + } + break; + case 86: + { + s->r_class = s->default_class; + } + break; + case 87: + { + s->r_ttl = s->default_ttl; + } + break; + case 88: + { + s->r_class = KNOT_CLASS_IN; + } + break; + case 89: + { + if (s->number64 <= UINT32_MAX) { + s->r_ttl = (uint32_t)(s->number64); + } else { + WARN(ZS_NUMBER32_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 90: + { + s->buffer_length = 0; + } + break; + case 91: + { + if (s->buffer_length < sizeof(s->buffer) - 1) { + s->buffer[s->buffer_length++] = (*p); + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 92: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {cs = 268;goto _again;} + } + break; + case 93: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV4); + p--; {cs = 268;goto _again;} + } + } + break; + case 94: + { + memcpy(rdata_tail, s->addr, ZS_INET4_ADDR_LENGTH); + rdata_tail += ZS_INET4_ADDR_LENGTH; + } + break; + case 95: + { + s->buffer[s->buffer_length] = 0; + + if (inet_pton(AF_INET6, (char *)s->buffer, s->addr) <= 0) { + WARN(ZS_BAD_IPV6); + p--; {cs = 268;goto _again;} + } + } + break; + case 96: + { + memcpy(rdata_tail, s->addr, ZS_INET6_ADDR_LENGTH); + rdata_tail += ZS_INET6_ADDR_LENGTH; + } + break; + case 97: + { + memset(&(s->apl), 0, sizeof(s->apl)); + } + break; + case 98: + { + s->apl.excl_flag = 128; // dec 128 = bin 10000000. + } + break; + case 99: + { + s->apl.addr_family = 1; + } + break; + case 100: + { + s->apl.addr_family = 2; + } + break; + case 101: + { + 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 = 268;goto _again;} + } + } + break; + case 102: + { + // 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 = 268;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) { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;goto _again;} + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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 103: + { + WARN(ZS_BAD_APL); + p--; {cs = 268;goto _again;} + } + break; + case 104: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 105: + { + *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; + rdata_tail++; + } + break; + case 106: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {cs = 268;goto _again;} + } + break; + case 107: + { + if ((rdata_tail - s->r_data) != s->r_data_length) { + WARN(ZS_BAD_RDATA_LENGTH); + p--; {cs = 268;goto _again;} + } + } + break; + case 108: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 268;goto _again;} + } + break; + case 109: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 110: + { + *(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 = 268;goto _again;} + } + } + break; + case 111: + { + *(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 = 268;goto _again;} + } + } + break; + case 112: + { + *(rdata_tail++) += fourth_base64_to_num[(uint8_t)(*p)]; + } + break; + case 113: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; {cs = 268;goto _again;} + } + break; + case 114: + { p--; {stack[top++] = cs; cs = 329;goto _again;} } + break; + case 115: + { + if (rdata_tail <= rdata_stop) { + *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; + } else { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 116: + { + *(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 = 268;goto _again;} + } + } + break; + case 117: + { + *rdata_tail += third_base32hex_to_num[(uint8_t)(*p)]; + } + break; + case 118: + { + *(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 = 268;goto _again;} + } + } + break; + case 119: + { + *(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 = 268;goto _again;} + } + } + break; + case 120: + { + *rdata_tail += sixth_base32hex_to_num[(uint8_t)(*p)]; + } + break; + case 121: + { + *(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 = 268;goto _again;} + } + } + break; + case 122: + { + *(rdata_tail++) += eighth_base32hex_to_num[(uint8_t)(*p)]; + } + break; + case 123: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; {cs = 268;goto _again;} + } + break; + case 124: + { + *(rdata_tail++) = 0; + } + break; + case 125: + { + *(rdata_tail++) = 1; + } + break; + case 126: + { + *(rdata_tail++) = 2; + } + break; + case 127: + { + *(rdata_tail++) = 3; + } + break; + case 128: + { + *(rdata_tail++) = 5; + } + break; + case 129: + { + *(rdata_tail++) = 6; + } + break; + case 130: + { + *(rdata_tail++) = 7; + } + break; + case 131: + { + *(rdata_tail++) = 8; + } + break; + case 132: + { + *(rdata_tail++) = 10; + } + break; + case 133: + { + *(rdata_tail++) = 12; + } + break; + case 134: + { + *(rdata_tail++) = 13; + } + break; + case 135: + { + *(rdata_tail++) = 14; + } + break; + case 136: + { + *(rdata_tail++) = 15; + } + break; + case 137: + { + *(rdata_tail++) = 16; + } + break; + case 138: + { + *(rdata_tail++) = 252; + } + break; + case 139: + { + *(rdata_tail++) = 253; + } + break; + case 140: + { + *(rdata_tail++) = 254; + } + break; + case 141: + { + *((uint16_t *)rdata_tail) = htons(1); + rdata_tail += 2; + } + break; + case 142: + { + *((uint16_t *)rdata_tail) = htons(2); + rdata_tail += 2; + } + break; + case 143: + { + *((uint16_t *)rdata_tail) = htons(3); + rdata_tail += 2; + } + break; + case 144: + { + *((uint16_t *)rdata_tail) = htons(4); + rdata_tail += 2; + } + break; + case 145: + { + *((uint16_t *)rdata_tail) = htons(5); + rdata_tail += 2; + } + break; + case 146: + { + *((uint16_t *)rdata_tail) = htons(6); + rdata_tail += 2; + } + break; + case 147: + { + *((uint16_t *)rdata_tail) = htons(7); + rdata_tail += 2; + } + break; + case 148: + { + *((uint16_t *)rdata_tail) = htons(8); + rdata_tail += 2; + } + break; + case 149: + { + *((uint16_t *)rdata_tail) = htons(253); + rdata_tail += 2; + } + break; + case 150: + { + *((uint16_t *)rdata_tail) = htons(254); + rdata_tail += 2; + } + break; + case 151: + { + WARN(ZS_BAD_GATEWAY); + p--; {cs = 268;goto _again;} + } + break; + case 152: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {cs = 268;goto _again;} + } + break; + case 153: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 268;goto _again;} + } + break; + case 154: + { type_num(KNOT_RRTYPE_A, &rdata_tail); } + break; + case 155: + { type_num(KNOT_RRTYPE_NS, &rdata_tail); } + break; + case 156: + { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } + break; + case 157: + { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } + break; + case 158: + { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } + break; + case 159: + { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } + break; + case 160: + { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } + break; + case 161: + { type_num(KNOT_RRTYPE_MX, &rdata_tail); } + break; + case 162: + { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } + break; + case 163: + { type_num(KNOT_RRTYPE_RP, &rdata_tail); } + break; + case 164: + { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } + break; + case 165: + { type_num(KNOT_RRTYPE_RT, &rdata_tail); } + break; + case 166: + { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } + break; + case 167: + { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } + break; + case 168: + { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } + break; + case 169: + { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } + break; + case 170: + { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } + break; + case 171: + { type_num(KNOT_RRTYPE_KX, &rdata_tail); } + break; + case 172: + { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } + break; + case 173: + { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } + break; + case 174: + { type_num(KNOT_RRTYPE_APL, &rdata_tail); } + break; + case 175: + { type_num(KNOT_RRTYPE_DS, &rdata_tail); } + break; + case 176: + { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } + break; + case 177: + { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } + break; + case 178: + { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } + break; + case 179: + { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } + break; + case 180: + { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } + break; + case 181: + { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } + break; + case 182: + { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } + break; + case 183: + { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } + break; + case 184: + { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } + break; + case 185: + { type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + break; + case 186: + { type_num(KNOT_RRTYPE_CDNSKEY, &rdata_tail); } + break; + case 187: + { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } + break; + case 188: + { type_num(KNOT_RRTYPE_NID, &rdata_tail); } + break; + case 189: + { type_num(KNOT_RRTYPE_L32, &rdata_tail); } + break; + case 190: + { type_num(KNOT_RRTYPE_L64, &rdata_tail); } + break; + case 191: + { type_num(KNOT_RRTYPE_LP, &rdata_tail); } + break; + case 192: + { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } + break; + case 193: + { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } + break; + case 194: + { type_num(KNOT_RRTYPE_URI, &rdata_tail); } + break; + case 195: + { type_num(KNOT_RRTYPE_CAA, &rdata_tail); } + break; + case 196: + { + if (s->number64 <= UINT16_MAX) { + window_add_bit(s->number64, s); + } else { + WARN(ZS_NUMBER16_OVERFLOW); + p--; {cs = 268;goto _again;} + } + } + break; + case 197: + { window_add_bit(KNOT_RRTYPE_A, s); } + break; + case 198: + { window_add_bit(KNOT_RRTYPE_NS, s); } + break; + case 199: + { window_add_bit(KNOT_RRTYPE_CNAME, s); } + break; + case 200: + { window_add_bit(KNOT_RRTYPE_SOA, s); } + break; + case 201: + { window_add_bit(KNOT_RRTYPE_PTR, s); } + break; + case 202: + { window_add_bit(KNOT_RRTYPE_HINFO, s); } + break; + case 203: + { window_add_bit(KNOT_RRTYPE_MINFO, s); } + break; + case 204: + { window_add_bit(KNOT_RRTYPE_MX, s); } + break; + case 205: + { window_add_bit(KNOT_RRTYPE_TXT, s); } + break; + case 206: + { window_add_bit(KNOT_RRTYPE_RP, s); } + break; + case 207: + { window_add_bit(KNOT_RRTYPE_AFSDB, s); } + break; + case 208: + { window_add_bit(KNOT_RRTYPE_RT, s); } + break; + case 209: + { window_add_bit(KNOT_RRTYPE_KEY, s); } + break; + case 210: + { window_add_bit(KNOT_RRTYPE_AAAA, s); } + break; + case 211: + { window_add_bit(KNOT_RRTYPE_LOC, s); } + break; + case 212: + { window_add_bit(KNOT_RRTYPE_SRV, s); } + break; + case 213: + { window_add_bit(KNOT_RRTYPE_NAPTR, s); } + break; + case 214: + { window_add_bit(KNOT_RRTYPE_KX, s); } + break; + case 215: + { window_add_bit(KNOT_RRTYPE_CERT, s); } + break; + case 216: + { window_add_bit(KNOT_RRTYPE_DNAME, s); } + break; + case 217: + { window_add_bit(KNOT_RRTYPE_APL, s); } + break; + case 218: + { window_add_bit(KNOT_RRTYPE_DS, s); } + break; + case 219: + { window_add_bit(KNOT_RRTYPE_SSHFP, s); } + break; + case 220: + { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } + break; + case 221: + { window_add_bit(KNOT_RRTYPE_RRSIG, s); } + break; + case 222: + { window_add_bit(KNOT_RRTYPE_NSEC, s); } + break; + case 223: + { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } + break; + case 224: + { window_add_bit(KNOT_RRTYPE_DHCID, s); } + break; + case 225: + { window_add_bit(KNOT_RRTYPE_NSEC3, s); } + break; + case 226: + { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } + break; + case 227: + { window_add_bit(KNOT_RRTYPE_TLSA, s); } + break; + case 228: + { window_add_bit(KNOT_RRTYPE_CDS, s); } + break; + case 229: + { window_add_bit(KNOT_RRTYPE_CDNSKEY, s); } + break; + case 230: + { window_add_bit(KNOT_RRTYPE_SPF, s); } + break; + case 231: + { window_add_bit(KNOT_RRTYPE_NID, s); } + break; + case 232: + { window_add_bit(KNOT_RRTYPE_L32, s); } + break; + case 233: + { window_add_bit(KNOT_RRTYPE_L64, s); } + break; + case 234: + { window_add_bit(KNOT_RRTYPE_LP, s); } + break; + case 235: + { window_add_bit(KNOT_RRTYPE_EUI48, s); } + break; + case 236: + { window_add_bit(KNOT_RRTYPE_EUI64, s); } + break; + case 237: + { window_add_bit(KNOT_RRTYPE_URI, s); } + break; + case 238: + { window_add_bit(KNOT_RRTYPE_CAA, s); } + break; + case 239: + { + memset(s->windows, 0, sizeof(s->windows)); + s->last_window = -1; + } + break; + case 240: + { + 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 = 268;goto _again;} + } + } + } + } + break; + case 241: + { + WARN(ZS_BAD_BITMAP); + p--; {cs = 268;goto _again;} + } + break; + case 242: + { p--; {stack[top++] = cs; cs = 336;goto _again;} } + break; + case 243: + { + if (s->number64 <= 90) { + s->loc.d1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 244: + { + if (s->number64 <= 180) { + s->loc.d2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 245: + { + if (s->number64 <= 59) { + s->loc.m1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 246: + { + if (s->number64 <= 59) { + s->loc.m2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 247: + { + if (s->number64 <= 59999) { + s->loc.s1 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 248: + { + if (s->number64 <= 59999) { + s->loc.s2 = (uint32_t)(s->number64); + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 249: + { + 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 = 268;goto _again;} + } + } + break; + case 250: + { + if (s->number64 <= 9000000000ULL) { + s->loc.siz = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 251: + { + if (s->number64 <= 9000000000ULL) { + s->loc.hp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 252: + { + if (s->number64 <= 9000000000ULL) { + s->loc.vp = s->number64; + } else { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268;goto _again;} + } + } + break; + case 253: + { + s->loc.lat_sign = -1; + } + break; + case 254: + { + s->loc.long_sign = -1; + } + break; + case 255: + { + s->loc.alt_sign = -1; + } + break; + case 256: + { + 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 257: + { + // 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 258: + { + WARN(ZS_BAD_LOC_DATA); + p--; {cs = 268;goto _again;} + } + break; + case 259: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 268;goto _again;} + } + break; + case 260: + { + s->item_length = 0; + } + break; + case 261: + { + s->item_length++; + } + break; + case 262: + { + if (s->item_length != 6) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {cs = 268;goto _again;} + } + } + break; + case 263: + { + if (s->item_length != 8) { + WARN(ZS_BAD_EUI_LENGTH); + p--; {cs = 268;goto _again;} + } + } + break; + case 264: + { + WARN(ZS_BAD_CHAR_DASH); + p--; {cs = 268;goto _again;} + } + break; + case 265: + { + s->item_length = 0; + } + break; + case 266: + { + s->item_length++; + } + break; + case 267: + { + if (s->item_length != 4) { + WARN(ZS_BAD_L64_LENGTH); + p--; {cs = 268;goto _again;} + } + } + break; + case 268: + { + WARN(ZS_BAD_CHAR_COLON); + p--; {cs = 268;goto _again;} + } + break; + case 269: + { + WARN(ZS_BAD_ALGORITHM); + p--; {cs = 268;goto _again;} + } + break; + case 270: + { + WARN(ZS_BAD_CERT_TYPE); + p--; {cs = 268;goto _again;} + } + break; + case 271: + { p--; {stack[top++] = cs; cs = 487;goto _again;} } + break; + case 272: + { p--; {stack[top++] = cs; cs = 591;goto _again;} } + break; + case 273: + { + rdata_tail = s->r_data; + } + break; + case 274: + { + WARN(ZS_BAD_RDATA); + p--; {cs = 268;goto _again;} + } + break; + case 275: + { + p--; + switch (s->r_type) { + case KNOT_RRTYPE_A: + {stack[top++] = cs; cs = 632;goto _again;} + case KNOT_RRTYPE_NS: + case KNOT_RRTYPE_CNAME: + case KNOT_RRTYPE_PTR: + case KNOT_RRTYPE_DNAME: + {stack[top++] = cs; cs = 634;goto _again;} + case KNOT_RRTYPE_SOA: + {stack[top++] = cs; cs = 636;goto _again;} + case KNOT_RRTYPE_HINFO: + {stack[top++] = cs; cs = 668;goto _again;} + case KNOT_RRTYPE_MINFO: + case KNOT_RRTYPE_RP: + {stack[top++] = cs; cs = 673;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 = 678;goto _again;} + case KNOT_RRTYPE_TXT: + case KNOT_RRTYPE_SPF: + {stack[top++] = cs; cs = 683;goto _again;} + case KNOT_RRTYPE_AAAA: + {stack[top++] = cs; cs = 687;goto _again;} + case KNOT_RRTYPE_LOC: + {stack[top++] = cs; cs = 689;goto _again;} + case KNOT_RRTYPE_SRV: + {stack[top++] = cs; cs = 744;goto _again;} + case KNOT_RRTYPE_NAPTR: + {stack[top++] = cs; cs = 755;goto _again;} + case KNOT_RRTYPE_CERT: + {stack[top++] = cs; cs = 772;goto _again;} + case KNOT_RRTYPE_APL: + {stack[top++] = cs; cs = 783;goto _again;} + case KNOT_RRTYPE_DS: + case KNOT_RRTYPE_CDS: + {stack[top++] = cs; cs = 794;goto _again;} + case KNOT_RRTYPE_SSHFP: + {stack[top++] = cs; cs = 807;goto _again;} + case KNOT_RRTYPE_IPSECKEY: + {stack[top++] = cs; cs = 817;goto _again;} + case KNOT_RRTYPE_RRSIG: + {stack[top++] = cs; cs = 856;goto _again;} + case KNOT_RRTYPE_NSEC: + {stack[top++] = cs; cs = 1010;goto _again;} + case KNOT_RRTYPE_KEY: + case KNOT_RRTYPE_DNSKEY: + case KNOT_RRTYPE_CDNSKEY: + {stack[top++] = cs; cs = 1013;goto _again;} + case KNOT_RRTYPE_DHCID: + {stack[top++] = cs; cs = 1024;goto _again;} + case KNOT_RRTYPE_NSEC3: + {stack[top++] = cs; cs = 1026;goto _again;} + case KNOT_RRTYPE_NSEC3PARAM: + {stack[top++] = cs; cs = 1055;goto _again;} + case KNOT_RRTYPE_TLSA: + {stack[top++] = cs; cs = 1068;goto _again;} + case KNOT_RRTYPE_NID: + case KNOT_RRTYPE_L64: + {stack[top++] = cs; cs = 1086;goto _again;} + case KNOT_RRTYPE_L32: + {stack[top++] = cs; cs = 1081;goto _again;} + case KNOT_RRTYPE_EUI48: + {stack[top++] = cs; cs = 1099;goto _again;} + case KNOT_RRTYPE_EUI64: + {stack[top++] = cs; cs = 1105;goto _again;} + case KNOT_RRTYPE_URI: + {stack[top++] = cs; cs = 1111;goto _again;} + case KNOT_RRTYPE_CAA: + {stack[top++] = cs; cs = 1119;goto _again;} + default: + WARN(ZS_CANNOT_TEXT_DATA); + {cs = 268;goto _again;} + } + } + break; + case 276: + { + 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_CDS: + case KNOT_RRTYPE_CDNSKEY: + 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: + {stack[top++] = cs; cs = 468;goto _again;} + // Next types can have empty rdata. + case KNOT_RRTYPE_APL: + default: + {stack[top++] = cs; cs = 477;goto _again;} + } + } + break; + case 277: + { + if (pe - p == 1) { + *wrap = WRAP_DETECTED; + } + } + break; + case 278: + { + if (*wrap == WRAP_NONE) { + p--; + } + } + break; + case 279: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 268;goto _again;} + } + break; + case 280: + { s->r_type = KNOT_RRTYPE_A; } + break; + case 281: + { s->r_type = KNOT_RRTYPE_NS; } + break; + case 282: + { s->r_type = KNOT_RRTYPE_CNAME; } + break; + case 283: + { s->r_type = KNOT_RRTYPE_SOA; } + break; + case 284: + { s->r_type = KNOT_RRTYPE_PTR; } + break; + case 285: + { s->r_type = KNOT_RRTYPE_HINFO; } + break; + case 286: + { s->r_type = KNOT_RRTYPE_MINFO; } + break; + case 287: + { s->r_type = KNOT_RRTYPE_MX; } + break; + case 288: + { s->r_type = KNOT_RRTYPE_TXT; } + break; + case 289: + { s->r_type = KNOT_RRTYPE_RP; } + break; + case 290: + { s->r_type = KNOT_RRTYPE_AFSDB; } + break; + case 291: + { s->r_type = KNOT_RRTYPE_RT; } + break; + case 292: + { s->r_type = KNOT_RRTYPE_KEY; } + break; + case 293: + { s->r_type = KNOT_RRTYPE_AAAA; } + break; + case 294: + { s->r_type = KNOT_RRTYPE_LOC; } + break; + case 295: + { s->r_type = KNOT_RRTYPE_SRV; } + break; + case 296: + { s->r_type = KNOT_RRTYPE_NAPTR; } + break; + case 297: + { s->r_type = KNOT_RRTYPE_KX; } + break; + case 298: + { s->r_type = KNOT_RRTYPE_CERT; } + break; + case 299: + { s->r_type = KNOT_RRTYPE_DNAME; } + break; + case 300: + { s->r_type = KNOT_RRTYPE_APL; } + break; + case 301: + { s->r_type = KNOT_RRTYPE_DS; } + break; + case 302: + { s->r_type = KNOT_RRTYPE_SSHFP; } + break; + case 303: + { s->r_type = KNOT_RRTYPE_IPSECKEY; } + break; + case 304: + { s->r_type = KNOT_RRTYPE_RRSIG; } + break; + case 305: + { s->r_type = KNOT_RRTYPE_NSEC; } + break; + case 306: + { s->r_type = KNOT_RRTYPE_DNSKEY; } + break; + case 307: + { s->r_type = KNOT_RRTYPE_DHCID; } + break; + case 308: + { s->r_type = KNOT_RRTYPE_NSEC3; } + break; + case 309: + { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } + break; + case 310: + { s->r_type = KNOT_RRTYPE_TLSA; } + break; + case 311: + { s->r_type = KNOT_RRTYPE_CDS; } + break; + case 312: + { s->r_type = KNOT_RRTYPE_CDNSKEY; } + break; + case 313: + { s->r_type = KNOT_RRTYPE_SPF; } + break; + case 314: + { s->r_type = KNOT_RRTYPE_NID; } + break; + case 315: + { s->r_type = KNOT_RRTYPE_L32; } + break; + case 316: + { s->r_type = KNOT_RRTYPE_L64; } + break; + case 317: + { s->r_type = KNOT_RRTYPE_LP; } + break; + case 318: + { s->r_type = KNOT_RRTYPE_EUI48; } + break; + case 319: + { s->r_type = KNOT_RRTYPE_EUI64; } + break; + case 320: + { s->r_type = KNOT_RRTYPE_URI; } + break; + case 321: + { s->r_type = KNOT_RRTYPE_CAA; } + break; + case 322: + { + if (rdata_tail - s->r_data > UINT16_MAX) { + WARN(ZS_RDATA_OVERFLOW); + p--; {cs = 268;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 = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 18: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 23: + { + WARN(ZS_BAD_DNAME_CHAR); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 30: + { + s->r_owner_length = 0; + WARN(ZS_BAD_OWNER); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 35: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 47: + { + WARN(ZS_BAD_TIME_UNIT); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 57: + { + WARN(ZS_BAD_TIMESTAMP_CHAR); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 59: + { + WARN(ZS_BAD_TEXT_CHAR); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 60: + { + WARN(ZS_BAD_TEXT); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 64: + { + WARN(ZS_BAD_NUMBER); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 67: + { + s->long_string = false; + } + break; + case 69: + { + ERR(ZS_BAD_TTL); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 73: + { + ERR(ZS_BAD_ORIGIN); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 77: + { + ERR(ZS_BAD_INCLUDE_FILENAME); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 80: + { + ERR(ZS_BAD_INCLUDE_ORIGIN); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 84: + { + NOERR; + } + break; + case 85: + { + ERR(ZS_BAD_DIRECTIVE); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 92: + { + WARN(ZS_BAD_ADDRESS_CHAR); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 103: + { + WARN(ZS_BAD_APL); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 106: + { + WARN(ZS_BAD_HEX_CHAR); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 108: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 113: + { + WARN(ZS_BAD_BASE64_CHAR); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 123: + { + WARN(ZS_BAD_BASE32HEX_CHAR); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 151: + { + WARN(ZS_BAD_GATEWAY); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 152: + { + WARN(ZS_BAD_GATEWAY_KEY); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 153: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 241: + { + WARN(ZS_BAD_BITMAP); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 258: + { + WARN(ZS_BAD_LOC_DATA); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 259: + { + WARN(ZS_BAD_HEX_RDATA); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 264: + { + WARN(ZS_BAD_CHAR_DASH); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 268: + { + WARN(ZS_BAD_CHAR_COLON); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 269: + { + WARN(ZS_BAD_ALGORITHM); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 270: + { + WARN(ZS_BAD_CERT_TYPE); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 274: + { + WARN(ZS_BAD_RDATA); + p--; {cs = 268; if ( p == pe ) + goto _test_eof; +goto _again;} + } + break; + case 279: + { + WARN(ZS_UNSUPPORTED_TYPE); + p--; {cs = 268; 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; + } + + // 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..283dce5 --- /dev/null +++ b/src/libzscanner/scanner.h @@ -0,0 +1,370 @@ +/* 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 <http://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 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 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 IP address storage. */ + uint8_t addr[ZS_INET6_ADDR_LENGTH]; + /*! Allow text strings longer than 255 characters. */ + bool long_string; + + /*! 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 *); + /*! 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 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..4050b56 --- /dev/null +++ b/src/libzscanner/scanner.rl @@ -0,0 +1,541 @@ +/* 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 <http://www.gnu.org/licenses/>. + */ + +#include <arpa/inet.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 + +/*! \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(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-emtpy 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. + (void)madvise(start, size, MADV_SEQUENTIAL); + } + + // Set the scanner input limits. + s->input.start = start; + s->input.current = start; + s->input.end = start + size; + + // 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; +} + +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; + } + + // 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..022cc9b --- /dev/null +++ b/src/libzscanner/scanner_body.rl @@ -0,0 +1,2088 @@ +/* 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 <http://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; + } + + 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 the multiline context. + s->multiline = false; + + s->state = ZS_STATE_ERROR; + + // Execute the error callback. + if (s->process.automatic) { + 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 main; + } else { + // Return if external processing. + fhold; fnext main; fbreak; + } + } + + # 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->item_length <= MAX_ITEM_LENGTH) { + *(s->item_length_location) = (uint8_t)(s->item_length); + } 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; + } + + 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 + ) + ) $!_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); + } + + // 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 { + 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 { + 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) { + WARN(ZS_RDATA_OVERFLOW); + fhold; fgoto err_line; + } + // Write address family. + *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); + 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_1 { + *((uint16_t *)rdata_tail) = htons(1); + rdata_tail += 2; + } + action _write16_2 { + *((uint16_t *)rdata_tail) = htons(2); + rdata_tail += 2; + } + action _write16_3 { + *((uint16_t *)rdata_tail) = htons(3); + rdata_tail += 2; + } + action _write16_4 { + *((uint16_t *)rdata_tail) = htons(4); + rdata_tail += 2; + } + action _write16_5 { + *((uint16_t *)rdata_tail) = htons(5); + rdata_tail += 2; + } + action _write16_6 { + *((uint16_t *)rdata_tail) = htons(6); + rdata_tail += 2; + } + action _write16_7 { + *((uint16_t *)rdata_tail) = htons(7); + rdata_tail += 2; + } + action _write16_8 { + *((uint16_t *)rdata_tail) = htons(8); + rdata_tail += 2; + } + action _write16_253 { + *((uint16_t *)rdata_tail) = htons(253); + rdata_tail += 2; + } + action _write16_254 { + *((uint16_t *)rdata_tail) = htons(254); + 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); } + | "CDS"i %{ type_num(KNOT_RRTYPE_CDS, &rdata_tail); } + | "CDNSKEY"i %{ type_num(KNOT_RRTYPE_CDNSKEY, &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); } + | "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); } + | "CDS"i %{ window_add_bit(KNOT_RRTYPE_CDS, s); } + | "CDNSKEY"i %{ window_add_bit(KNOT_RRTYPE_CDNSKEY, 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); } + | "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 - Mnemomic 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_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; + + 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: + fcall r_data_dhcid; + case KNOT_RRTYPE_NSEC3: + fcall r_data_nsec3; + case KNOT_RRTYPE_NSEC3PARAM: + fcall r_data_nsec3param; + case KNOT_RRTYPE_TLSA: + fcall r_data_tlsa; + 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; + 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_CDS: + case KNOT_RRTYPE_CDNSKEY: + 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: + 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; } + | "CDS"i %{ s->r_type = KNOT_RRTYPE_CDS; } + | "CDNSKEY"i %{ s->r_type = KNOT_RRTYPE_CDNSKEY; } + | "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; } + | "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..59b19e4 --- /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 <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +#define ZSCANNER_VERSION_MAJOR 2 +#define ZSCANNER_VERSION_MINOR 7 +#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..bdbee9a --- /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 <http://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)) |