#line 1 "./scanner.rl" /* Copyright (C) 2011 CZ.NIC, z.s.p.o. 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 . */ #include #include // uint32_t #include // calloc #include // sprintf #include // dirname #include // bool #include // pow #include // strdup #include // (OpenBSD) #include // AF_INET (BSD) #include // in_addr (BSD) #include // inet_pton #include "zscanner/scanner.h" #include "zscanner/error.h" // error codes #include "zscanner/file_loader.h" // file_loader #include "zscanner/scanner_functions.h" // Base64 #include "zscanner/descriptor.h" // KNOT_RRTYPE_A /*! \brief Shorthand for setting warning data. */ #define WARN(code) { s->error_code = code; } /*! \brief Shorthand for setting error data. */ #define ERR(code) { s->error_code = code; s->stop = true; } /*! * \brief Empty function which is called if no callback function is specified. */ static inline void noop(const scanner_t *s) { (void)s; } /*! * \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, 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). #line 88 "scanner.c" static const int zone_scanner_start = 1056; static const int zone_scanner_first_final = 1056; static const int zone_scanner_error = 0; static const int zone_scanner_en_err_line = 246; static const int zone_scanner_en_dname_ = 248; static const int zone_scanner_en_text_ = 257; static const int zone_scanner_en_default_ttl_ = 269; static const int zone_scanner_en_zone_origin_ = 278; static const int zone_scanner_en_include_file_ = 290; static const int zone_scanner_en_base64_ = 307; static const int zone_scanner_en_bitmap_ = 314; static const int zone_scanner_en_nonempty_hex_r_data = 434; static const int zone_scanner_en_hex_r_data = 443; static const int zone_scanner_en_dns_alg_ = 453; static const int zone_scanner_en_cert_type_ = 548; static const int zone_scanner_en_r_data_a = 589; static const int zone_scanner_en_r_data_ns = 591; static const int zone_scanner_en_r_data_soa = 593; static const int zone_scanner_en_r_data_hinfo = 625; static const int zone_scanner_en_r_data_minfo = 630; static const int zone_scanner_en_r_data_mx = 635; static const int zone_scanner_en_r_data_txt = 640; static const int zone_scanner_en_r_data_aaaa = 644; static const int zone_scanner_en_r_data_loc = 646; static const int zone_scanner_en_r_data_srv = 701; static const int zone_scanner_en_r_data_naptr = 712; static const int zone_scanner_en_r_data_cert = 729; static const int zone_scanner_en_r_data_apl = 740; static const int zone_scanner_en_r_data_ds = 751; static const int zone_scanner_en_r_data_sshfp = 764; static const int zone_scanner_en_r_data_ipseckey = 774; static const int zone_scanner_en_r_data_rrsig = 813; static const int zone_scanner_en_r_data_nsec = 955; static const int zone_scanner_en_r_data_dnskey = 958; static const int zone_scanner_en_r_data_dhcid = 969; static const int zone_scanner_en_r_data_nsec3 = 971; static const int zone_scanner_en_r_data_nsec3param = 1000; static const int zone_scanner_en_r_data_tlsa = 1013; static const int zone_scanner_en_r_data_l32 = 1026; static const int zone_scanner_en_r_data_l64 = 1031; static const int zone_scanner_en_r_data_eui48 = 1044; static const int zone_scanner_en_r_data_eui64 = 1050; static const int zone_scanner_en_main = 1056; #line 90 "./scanner.rl" scanner_t* scanner_create(const char *file_name, const char *origin, const uint16_t rclass, const uint32_t ttl, void (*process_record)(const scanner_t *), void (*process_error)(const scanner_t *), void *data) { char settings[1024]; scanner_t *s = calloc(1, sizeof(scanner_t)); if (s == NULL) { return NULL; } if (file_name != NULL) { // Get absolute path of the zone file. if (realpath(file_name, (char*)(s->buffer)) != NULL) { char *full_name = strdup((char*)(s->buffer)); s->path = strdup(dirname(full_name)); free(full_name); } else { free(s); return NULL; } s->file_name = strdup(file_name); } else { s->path = strdup("."); s->file_name = strdup(""); } // Nonzero initial scanner state. s->cs = zone_scanner_start; // Disable processing during parsing of settings. s->process_record = &noop; s->process_error = &noop; // Create ORIGIN directive and parse it using scanner to set up origin. const char *format; size_t origin_len = strlen(origin); if (origin_len > 0 && origin[origin_len - 1] != '.') { format = "$ORIGIN %s.\n"; } else { format = "$ORIGIN %s\n"; } int ret = snprintf(settings, sizeof(settings), format, origin); if (ret <= 0 || (size_t)ret >= sizeof(settings) || scanner_process(settings, settings + ret, true, s) != 0) { scanner_free(s); return NULL; } // Set scanner defaults. s->default_class = rclass; s->default_ttl = ttl; s->process_record = process_record ? process_record : &noop; s->process_error = process_error ? process_error : &noop; s->data = data; s->line_counter = 1; return s; } void scanner_free(scanner_t *s) { if (s != NULL) { free(s->file_name); free(s->path); free(s); } } int scanner_process(const char *start, const char *end, const bool is_complete, scanner_t *s) { // Necessary scanner variables. const char *p = start; const char *pe = end; char *eof = NULL; int stack[RAGEL_STACK_SIZE]; // Auxiliary variables which are used in scanner body. struct in_addr addr4; struct in6_addr addr6; uint32_t timestamp; int16_t window; int ret; // 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 + MAX_RDATA_LENGTH - 1; // Restoring scanner states. int cs = s->cs; int top = s->top; memcpy(stack, s->stack, sizeof(stack)); // End of file check. if (is_complete == true) { eof = (char *)pe; } // Writing scanner body (in C). #line 248 "scanner.c" { short _widec; if ( p == pe ) goto _test_eof; goto _resume; _again: switch ( cs ) { case 1056: goto st1056; 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 1057: goto st1057; case 13: goto st13; 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 1058: goto st1058; 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 1059: goto st1059; case 138: goto st138; case 139: goto st139; case 140: goto st140; case 141: goto st141; case 142: goto st142; case 143: goto st143; case 144: goto st144; case 145: goto st145; case 1060: goto st1060; case 146: goto st146; case 147: goto st147; case 148: goto st148; case 1061: goto st1061; case 149: goto st149; case 150: goto st150; case 151: goto st151; case 152: goto st152; case 153: goto st153; case 154: goto st154; case 155: goto st155; case 156: goto st156; case 157: goto st157; case 158: goto st158; case 159: goto st159; case 1062: goto st1062; case 160: goto st160; case 161: goto st161; case 162: goto st162; case 163: goto st163; case 1063: goto st1063; 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 174: goto st174; case 175: goto st175; case 176: goto st176; case 177: goto st177; case 178: goto st178; case 1064: goto st1064; 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 194: goto st194; case 1065: goto st1065; 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 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 1066: goto st1066; case 248: goto st248; case 249: goto st249; case 1067: goto st1067; 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 1068: goto st1068; case 1069: goto st1069; case 259: goto st259; case 260: goto st260; case 261: goto st261; case 262: goto st262; case 263: goto st263; case 264: goto st264; case 265: goto st265; case 266: goto st266; case 267: goto st267; case 268: goto st268; case 269: goto st269; case 270: goto st270; case 271: goto st271; case 272: goto st272; case 1070: goto st1070; case 273: goto st273; case 274: goto st274; case 275: goto st275; case 276: goto st276; case 277: goto st277; case 278: goto st278; case 279: goto st279; case 280: goto st280; case 281: goto st281; case 282: goto st282; case 1071: goto st1071; case 283: goto st283; case 284: goto st284; case 285: goto st285; case 286: goto st286; case 287: goto st287; case 288: goto st288; case 289: goto st289; case 290: goto st290; case 291: goto st291; case 292: goto st292; case 293: goto st293; case 294: goto st294; case 295: goto st295; case 296: goto st296; case 1072: goto st1072; 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 1073: goto st1073; case 304: goto st304; 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 1074: goto st1074; case 1075: goto st1075; case 1076: goto st1076; case 313: goto st313; case 314: goto st314; case 315: goto st315; case 316: goto st316; case 317: goto st317; case 318: goto st318; case 319: goto st319; case 320: goto st320; case 1077: goto st1077; case 1078: goto st1078; case 321: goto st321; case 322: goto st322; case 323: goto st323; case 324: goto st324; case 1079: goto st1079; case 325: goto st325; case 326: goto st326; case 327: goto st327; case 328: goto st328; case 329: goto st329; case 330: goto st330; case 331: goto st331; case 332: goto st332; case 333: goto st333; case 334: goto st334; case 335: goto st335; case 336: goto st336; case 337: goto st337; case 338: goto st338; case 339: goto st339; case 340: goto st340; case 341: goto st341; case 342: goto st342; case 343: goto st343; case 344: goto st344; case 345: goto st345; case 346: goto st346; case 347: goto st347; case 348: goto st348; case 349: goto st349; case 350: goto st350; case 351: goto st351; case 352: goto st352; case 353: goto st353; case 354: goto st354; case 355: goto st355; case 356: goto st356; case 357: goto st357; case 358: goto st358; case 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 1080: goto st1080; case 1081: goto st1081; case 1082: goto st1082; case 441: goto st441; case 442: goto st442; case 443: goto st443; case 444: goto st444; case 445: goto st445; case 1083: goto st1083; case 446: goto st446; case 447: goto st447; case 448: goto st448; case 449: goto st449; case 1084: goto st1084; case 1085: goto st1085; case 1086: goto st1086; case 450: goto st450; case 451: goto st451; case 1087: goto st1087; case 452: goto st452; case 453: goto st453; case 454: goto st454; case 1088: goto st1088; case 455: goto st455; case 456: goto st456; case 457: goto st457; case 458: goto st458; case 459: goto st459; case 460: goto st460; case 461: goto st461; case 462: goto st462; case 463: goto st463; case 464: goto st464; case 465: goto st465; case 466: goto st466; case 467: goto st467; case 468: goto st468; case 469: goto st469; case 470: goto st470; case 471: goto st471; case 472: goto st472; case 473: goto st473; case 474: goto st474; case 475: goto st475; case 476: goto st476; case 477: goto st477; case 478: goto st478; case 479: goto st479; case 480: goto st480; case 481: goto st481; case 482: goto st482; case 483: goto st483; case 484: goto st484; case 485: goto st485; case 486: goto st486; case 487: goto st487; case 488: goto st488; case 489: goto st489; case 490: goto st490; case 491: goto st491; case 492: goto st492; case 493: goto st493; case 494: goto st494; case 495: goto st495; case 496: goto st496; case 497: goto st497; case 498: goto st498; case 499: goto st499; case 500: goto st500; case 501: goto st501; case 502: goto st502; case 503: goto st503; case 504: goto st504; case 505: goto st505; case 506: goto st506; case 507: goto st507; case 508: goto st508; case 509: goto st509; case 510: goto st510; case 511: goto st511; case 512: goto st512; case 513: goto st513; case 514: goto st514; case 515: goto st515; case 516: goto st516; case 517: goto st517; case 518: goto st518; case 519: goto st519; case 520: goto st520; case 521: goto st521; case 522: goto st522; case 523: goto st523; case 524: goto st524; case 525: goto st525; case 526: goto st526; case 527: goto st527; case 528: goto st528; case 529: goto st529; case 530: goto st530; case 531: goto st531; case 532: goto st532; case 533: goto st533; case 534: goto st534; case 535: goto st535; case 536: goto st536; case 537: goto st537; case 538: goto st538; case 539: goto st539; case 540: goto st540; case 541: goto st541; case 542: goto st542; case 543: goto st543; case 544: goto st544; case 545: goto st545; case 546: goto st546; case 547: goto st547; case 548: goto st548; case 549: goto st549; case 1089: goto st1089; 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 1090: goto st1090; case 591: goto st591; case 592: goto st592; case 1091: goto st1091; 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 1092: goto st1092; 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 1093: goto st1093; case 629: goto st629; case 630: goto st630; case 631: goto st631; case 632: goto st632; case 633: goto st633; case 1094: goto st1094; case 634: goto st634; case 635: goto st635; case 636: goto st636; case 637: goto st637; case 638: goto st638; case 1095: goto st1095; case 639: goto st639; case 640: goto st640; case 641: goto st641; case 642: goto st642; case 643: goto st643; case 1096: goto st1096; case 1097: goto st1097; case 1098: goto st1098; case 644: goto st644; case 645: goto st645; case 1099: goto st1099; case 646: goto st646; case 647: goto st647; case 648: goto st648; case 649: goto st649; case 650: goto st650; case 651: goto st651; case 652: goto st652; case 653: goto st653; case 654: goto st654; case 655: goto st655; case 656: goto st656; case 657: goto st657; case 658: goto st658; case 659: goto st659; case 660: goto st660; case 661: goto st661; case 662: goto st662; case 663: goto st663; case 664: goto st664; case 665: goto st665; case 666: goto st666; case 667: goto st667; case 668: goto st668; case 669: goto st669; case 670: goto st670; case 671: goto st671; case 672: goto st672; case 1100: goto st1100; case 1101: goto st1101; case 1102: goto st1102; case 673: goto st673; case 674: goto st674; case 675: goto st675; case 1103: goto st1103; case 1104: goto st1104; case 676: goto st676; case 677: goto st677; case 678: goto st678; case 679: goto st679; case 1105: goto st1105; case 1106: goto st1106; case 680: goto st680; case 681: goto st681; case 682: goto st682; case 683: goto st683; case 1107: goto st1107; case 1108: goto st1108; case 684: goto st684; case 685: goto st685; case 686: goto st686; case 687: goto st687; case 688: goto st688; case 689: goto st689; case 690: goto st690; case 691: goto st691; case 692: goto st692; case 693: goto st693; case 694: goto st694; case 695: goto st695; case 696: goto st696; case 697: goto st697; case 698: goto st698; case 699: goto st699; case 700: goto st700; case 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 1109: goto st1109; case 709: goto st709; case 710: goto st710; case 711: goto st711; case 712: goto st712; case 713: goto st713; case 714: goto st714; case 715: goto st715; case 716: goto st716; case 717: goto st717; case 718: goto st718; case 719: goto st719; case 720: goto st720; case 721: goto st721; case 722: goto st722; case 723: goto st723; case 1110: goto st1110; case 724: goto st724; case 725: goto st725; case 726: goto st726; case 727: goto st727; case 728: goto st728; case 729: goto st729; case 730: goto st730; case 731: goto st731; case 732: goto st732; case 733: goto st733; case 734: goto st734; case 735: goto st735; case 736: goto st736; case 1111: goto st1111; 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 1112: goto st1112; case 1113: goto st1113; case 748: goto st748; case 749: goto st749; case 750: goto st750; case 1114: goto st1114; case 751: goto st751; case 752: goto st752; case 753: goto st753; case 754: goto st754; case 755: goto st755; case 756: goto st756; case 757: goto st757; case 758: goto st758; case 759: goto st759; case 760: goto st760; case 1115: goto st1115; case 1116: goto st1116; case 1117: goto st1117; case 761: goto st761; case 762: goto st762; case 763: goto st763; case 764: goto st764; case 765: goto st765; case 766: goto st766; case 767: goto st767; case 768: goto st768; case 769: goto st769; case 770: goto st770; case 771: goto st771; case 1118: goto st1118; case 1119: goto st1119; case 1120: goto st1120; case 772: goto st772; case 773: goto st773; case 774: goto st774; case 775: goto st775; case 776: goto st776; case 777: goto st777; case 778: goto st778; case 779: goto st779; case 780: goto st780; case 781: goto st781; case 782: goto st782; case 783: goto st783; case 1121: goto st1121; case 784: goto st784; case 785: goto st785; case 786: goto st786; case 1122: goto st1122; case 1123: goto st1123; case 787: goto st787; case 1124: goto st1124; case 1125: goto st1125; case 788: goto st788; case 1126: goto st1126; case 1127: goto st1127; case 789: goto st789; case 790: goto st790; case 791: goto st791; case 792: goto st792; case 793: goto st793; case 794: goto st794; case 795: goto st795; case 796: goto st796; case 797: goto st797; case 798: goto st798; case 799: goto st799; case 800: goto st800; case 801: goto st801; case 802: goto st802; case 803: goto st803; case 804: goto st804; case 805: goto st805; case 806: goto st806; case 807: goto st807; case 808: goto st808; case 809: goto st809; case 810: goto st810; case 811: goto st811; case 812: goto st812; case 813: goto st813; case 814: goto st814; case 815: goto st815; case 816: goto st816; case 817: goto st817; case 818: goto st818; case 819: goto st819; case 820: goto st820; case 821: goto st821; case 822: goto st822; case 823: goto st823; case 824: goto st824; case 825: goto st825; case 826: goto st826; case 827: goto st827; case 828: goto st828; case 829: goto st829; case 830: goto st830; case 1128: goto st1128; case 831: goto st831; case 832: goto st832; case 833: goto st833; case 834: goto st834; case 835: goto st835; case 836: goto st836; case 837: goto st837; case 838: goto st838; case 839: goto st839; case 840: goto st840; case 841: goto st841; case 842: goto st842; case 843: goto st843; case 844: goto st844; case 845: goto st845; case 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 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 1129: goto st1129; 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 1130: goto st1130; case 966: goto st966; case 967: goto st967; case 968: goto st968; case 969: goto st969; case 970: goto st970; case 1131: goto st1131; 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 1132: goto st1132; 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 1133: goto st1133; case 1008: goto st1008; case 1009: goto st1009; case 1010: goto st1010; case 1011: goto st1011; case 1012: goto st1012; case 1013: goto st1013; case 1014: goto st1014; case 1015: goto st1015; case 1016: goto st1016; case 1017: goto st1017; case 1018: goto st1018; case 1019: goto st1019; case 1020: goto st1020; case 1021: goto st1021; case 1022: goto st1022; case 1134: goto st1134; case 1135: goto st1135; case 1136: goto st1136; case 1023: goto st1023; case 1024: goto st1024; case 1025: goto st1025; case 1026: goto st1026; case 1027: goto st1027; case 1028: goto st1028; case 1029: goto st1029; case 1137: goto st1137; 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 1138: goto st1138; case 1043: goto st1043; 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 1139: goto st1139; 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 1140: goto st1140; default: break; } if ( ++p == pe ) goto _test_eof; _resume: switch ( cs ) { tr19: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1056; tr81: #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1056; tr3194: #line 704 "./scanner_body.rl" { s->stop = false; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1056; st1056: if ( ++p == pe ) goto _test_eof1056; case 1056: #line 1442 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3135; case 32: goto tr3135; case 36: goto st138; case 40: goto tr3137; case 41: goto tr3138; case 42: goto tr3139; case 92: goto tr3139; case 95: goto tr3139; case 778: goto tr19; case 827: goto st137; case 1034: goto tr3140; case 1083: goto tr3141; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr3139; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr3139; } else goto tr3139; goto tr3134; tr0: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr23: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } goto st0; tr35: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } goto st0; tr55: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr69: #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr77: #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr83: #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr95: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr119: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr125: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr524: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } goto st0; tr526: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr591: #line 707 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_DIRECTIVE); p--; {goto st246;} } goto st0; tr602: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } goto st0; tr614: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } goto st0; tr638: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr653: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr681: #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 707 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_DIRECTIVE); p--; {goto st246;} } goto st0; tr691: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr697: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr708: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr721: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr774: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } goto st0; tr779: #line 193 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_DNAME_CHAR); p--; {goto st246;} } goto st0; tr792: #line 147 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 193 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_DNAME_CHAR); p--; {goto st246;} } goto st0; tr800: #line 505 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT_CHAR); p--; {goto st246;} } #line 509 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT); p--; {goto st246;} } goto st0; tr807: #line 539 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 505 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT_CHAR); p--; {goto st246;} } #line 509 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT); p--; {goto st246;} } goto st0; tr817: #line 509 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT); p--; {goto st246;} } goto st0; tr824: #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } goto st0; tr830: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } goto st0; tr832: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } goto st0; tr844: #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } goto st0; tr846: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } goto st0; tr859: #line 596 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_ORIGIN); p--; {goto st246;} } goto st0; tr871: #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 596 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_ORIGIN); p--; {goto st246;} } goto st0; tr885: #line 147 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 596 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_ORIGIN); p--; {goto st246;} } goto st0; tr897: #line 625 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } goto st0; tr898: #line 625 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr905: #line 636 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_ORIGIN); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr915: #line 636 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_ORIGIN); p--; {goto st246;} } goto st0; tr930: #line 147 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 636 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_ORIGIN); p--; {goto st246;} } goto st0; tr942: #line 951 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_BASE64_CHAR); p--; {goto st246;} } goto st0; tr956: #line 1311 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_BITMAP); p--; {goto st246;} } goto st0; tr1403: #line 1477 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } goto st0; tr1409: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1477 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } goto st0; tr1417: #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 909 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } #line 1477 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } goto st0; tr1467: #line 1553 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ALGORITHM); p--; {goto st246;} } goto st0; tr1578: #line 1557 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CERT_TYPE); p--; {goto st246;} } goto st0; tr1631: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr1654: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr1673: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr1840: #line 1464 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_LOC_DATA); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2197: #line 858 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2212: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 858 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2255: #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2312: #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2327: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2341: #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1163 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY_KEY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2364: #line 1163 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY_KEY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2378: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2385: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1163 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY_KEY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2490: #line 1181 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2543: #line 487 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIMESTAMP_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2882: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1181 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr2970: #line 1035 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_BASE32HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr3113: #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1540 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CHAR_COLON); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr3119: #line 1540 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CHAR_COLON); p--; {goto st246;} } #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr3123: #line 1513 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CHAR_DASH); p--; {goto st246;} } #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } goto st0; tr3134: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr3152: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr3172: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr3188: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 707 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_DIRECTIVE); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; tr3211: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } goto st0; #line 2504 "scanner.c" st0: cs = 0; goto _out; tr2: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1; tr3: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1; tr3135: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1; tr3137: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1; tr3138: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1; tr3198: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1; tr3199: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1; tr3189: #line 704 "./scanner_body.rl" { s->stop = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1; tr3191: #line 704 "./scanner_body.rl" { s->stop = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1; tr3192: #line 704 "./scanner_body.rl" { s->stop = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1; st1: if ( ++p == pe ) goto _test_eof1; case 1: #line 2664 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" 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 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 778: goto tr19; case 827: goto st137; case 1034: goto tr21; case 1083: goto st242; } if ( 48 <= _widec && _widec <= 57 ) goto tr4; goto tr0; tr4: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st2; tr27: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st2; st2: if ( ++p == pe ) goto _test_eof2; case 2: #line 2762 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr24; case 32: goto tr24; case 40: goto tr25; case 41: goto tr26; case 68: goto tr28; case 72: goto tr29; case 77: goto tr30; case 83: goto st152; case 87: goto tr32; case 100: goto tr28; case 104: goto tr29; case 109: goto tr30; case 115: goto st152; case 119: goto tr32; case 1034: goto tr33; case 1083: goto tr34; } if ( 48 <= _widec && _widec <= 57 ) goto tr27; goto tr23; tr37: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st3; tr38: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st3; tr53: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st3; tr24: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st3; tr25: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st3; tr26: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st3; tr33: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st3; tr632: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st3; tr633: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st3; tr634: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st3; tr636: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st3; st3: if ( ++p == pe ) goto _test_eof3; case 3: #line 2992 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st3; case 32: goto st3; case 40: goto tr37; case 41: goto tr38; case 65: goto tr39; case 67: goto tr40; case 68: goto tr41; case 69: goto tr42; case 72: goto tr43; case 73: goto tr44; case 75: goto tr45; case 76: goto tr46; case 77: goto tr47; case 78: goto tr48; case 80: goto tr49; case 82: goto tr50; case 83: goto tr51; case 84: goto tr52; case 97: goto tr39; case 99: goto tr40; case 100: goto tr41; case 101: goto tr42; case 104: goto tr43; case 105: goto tr44; case 107: goto tr45; case 108: goto tr46; case 109: goto tr47; case 110: goto tr48; case 112: goto tr49; case 114: goto tr50; case 115: goto tr51; case 116: goto tr52; case 1034: goto tr53; case 1083: goto st155; } goto tr35; tr5: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st4; tr39: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st4; tr551: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st4; st4: if ( ++p == pe ) goto _test_eof4; case 4: #line 3070 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr56; case 32: goto tr56; case 40: goto tr57; case 41: goto tr58; case 65: goto st213; case 70: goto st216; case 80: goto st220; case 97: goto st213; case 102: goto st216; case 112: goto st220; case 2058: goto tr62; case 2107: goto tr63; case 2314: goto tr64; case 2363: goto tr64; case 2570: goto tr65; case 2619: goto tr66; } goto tr55; tr70: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr71: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr73: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr56: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr57: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr58: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr62: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr135: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr136: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr137: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr138: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr149: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr150: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr151: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr152: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr163: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr164: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr165: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr166: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr175: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr176: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr177: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr178: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr186: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr187: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr188: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr189: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr194: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr195: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr196: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr197: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr207: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr208: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr209: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr210: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr216: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr217: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr218: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr219: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr228: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr229: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr230: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr231: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr268: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr269: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr270: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr271: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr279: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr280: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr281: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr282: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr287: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr288: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr289: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr290: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr300: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr301: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr302: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr303: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr309: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr310: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr311: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr312: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr318: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr319: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr320: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr321: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr326: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr327: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr328: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr329: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr339: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr340: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr341: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr342: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr347: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr348: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr349: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr350: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr361: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr362: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr363: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr364: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr370: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr371: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr372: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr373: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr378: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr379: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr380: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr382: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr388: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr389: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr390: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr392: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr397: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr398: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr399: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr401: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr410: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr411: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr412: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr413: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr420: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr421: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr422: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr423: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr431: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr432: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr433: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr434: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr442: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr443: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr444: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr445: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr450: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr451: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr452: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr453: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr463: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr464: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr465: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr466: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr472: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr473: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr474: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr475: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr481: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr482: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr483: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr484: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr492: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr493: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr494: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr495: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr505: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr506: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr507: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr508: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr514: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr515: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr516: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr517: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr527: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr528: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr529: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr531: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr734: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr735: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr736: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr737: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr745: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr746: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr747: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr748: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; tr754: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st5; tr755: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st5; tr756: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st5; tr757: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st5; st5: if ( ++p == pe ) goto _test_eof5; case 5: #line 5196 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st5; case 32: goto st5; case 40: goto tr70; case 41: goto tr71; case 92: goto st9; case 2058: goto tr73; case 2107: goto st10; case 2314: goto tr67; case 2363: goto tr67; case 2570: goto tr75; case 2619: goto tr76; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr67; } else goto tr67; goto tr69; tr64: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr67: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr84: #line 1843 "./scanner_body.rl" { p--; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr85: #line 1792 "./scanner_body.rl" { 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_NID: case KNOT_RRTYPE_L32: case KNOT_RRTYPE_L64: case KNOT_RRTYPE_LP: case KNOT_RRTYPE_EUI48: case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st434;} // Next types can have empty rdata. case KNOT_RRTYPE_APL: default: {stack[top++] = 6; goto st443;} } } goto st6; tr140: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr154: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr168: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr180: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr191: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr199: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr212: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr221: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr233: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr273: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr284: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr292: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr305: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr314: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr323: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr331: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr344: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr352: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr366: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr375: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr384: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr394: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr403: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr415: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr425: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr436: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr447: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr455: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr468: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr477: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr486: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr497: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr510: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr519: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr533: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr739: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr750: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; tr759: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 6; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 6; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 6; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 6; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 6; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 6; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 6; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 6; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 6; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 6; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 6; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 6; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 6; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 6; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 6; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 6; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 6; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 6; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 6; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 6; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 6; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 6; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 6; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 6; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 6; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 6; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 6; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st6; st6: if ( ++p == pe ) goto _test_eof6; case 6: #line 8652 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr77; tr79: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st7; tr80: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st7; st7: if ( ++p == pe ) goto _test_eof7; case 7: #line 8702 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr83; st8: if ( ++p == pe ) goto _test_eof8; case 8: if ( (*p) == 10 ) goto tr81; goto st8; st9: if ( ++p == pe ) goto _test_eof9; case 9: if ( (*p) == 35 ) goto tr85; goto tr84; tr63: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr139: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr153: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr167: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr179: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr190: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr198: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr211: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr220: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr232: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr272: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr283: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr291: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr304: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr313: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr322: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr330: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr343: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr351: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr365: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr374: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr383: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr393: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr402: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr414: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr424: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr435: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr446: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr454: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr467: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr476: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr485: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr496: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr509: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr518: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr532: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr738: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr749: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; tr758: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st10; st10: if ( ++p == pe ) goto _test_eof10; case 10: #line 9065 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr73; if ( 896 <= _widec && _widec <= 1151 ) goto st10; goto tr69; tr87: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st11; tr88: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st11; tr65: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr75: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr141: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr155: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr169: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr181: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr192: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr200: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr213: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr222: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr234: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr274: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr285: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr293: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr306: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr315: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr324: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr332: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr345: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr353: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr367: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr376: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr385: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr395: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr404: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr416: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr426: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr437: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr448: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr456: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr469: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr478: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr487: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr498: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr511: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr520: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr534: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr740: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr751: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; tr760: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 11; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 11; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 11; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 11; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 11; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 11; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 11; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 11; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 11; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 11; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 11; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 11; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 11; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 11; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 11; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 11; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 11; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 11; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 11; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 11; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 11; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 11; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 11; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 11; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 11; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 11; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 11; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st11; st11: if ( ++p == pe ) goto _test_eof11; case 11: #line 12557 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st11; case 32: goto st11; case 40: goto tr87; case 41: goto tr88; case 92: goto st9; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr81; case 2107: goto st12; case 2314: goto tr90; case 2363: goto tr91; case 2570: goto tr81; case 2619: goto tr92; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr67; } else goto tr67; goto tr77; tr658: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st12; st12: if ( ++p == pe ) goto _test_eof12; case 12: #line 12614 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr81; case 1034: goto tr93; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st12; } else if ( _widec >= 640 ) goto st8; goto tr77; tr93: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1057; tr657: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1057; st1057: if ( ++p == pe ) goto _test_eof1057; case 1057: #line 12688 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr3142; case 32: goto tr3142; case 36: goto tr3143; case 40: goto tr3144; case 41: goto tr3145; case 42: goto tr3146; case 58: goto tr67; case 92: goto tr3147; case 95: goto tr3146; case 1802: goto tr19; case 1851: goto st137; case 2058: goto tr3148; case 2107: goto tr3149; case 2314: goto tr115; case 2363: goto tr116; case 2570: goto tr3150; case 2619: goto tr3151; } if ( _widec < 60 ) { if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 44 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr3146; } else goto tr67; } else if ( _widec > 63 ) { if ( _widec < 91 ) { if ( 64 <= _widec && _widec <= 90 ) goto tr3146; } else if ( _widec > 96 ) { if ( _widec > 122 ) { if ( 123 <= _widec ) goto tr67; } else if ( _widec >= 97 ) goto tr3146; } else goto tr67; } else goto tr67; goto tr691; tr96: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st13; tr97: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st13; tr3142: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st13; tr3144: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st13; tr3145: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st13; st13: if ( ++p == pe ) goto _test_eof13; case 13: #line 12819 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st13; case 32: goto st13; case 40: goto tr96; case 41: goto tr97; case 58: goto tr67; case 65: goto tr99; case 67: goto tr100; case 68: goto tr101; case 69: goto tr102; case 72: goto tr103; case 73: goto tr104; case 75: goto tr105; case 76: goto tr106; case 77: goto tr107; case 78: goto tr108; case 80: goto tr109; case 82: goto tr110; case 83: goto tr111; case 84: goto tr112; case 92: goto st9; case 97: goto tr99; case 99: goto tr100; case 100: goto tr101; case 101: goto tr102; case 104: goto tr103; case 105: goto tr104; case 107: goto tr105; case 108: goto tr106; case 109: goto tr107; case 110: goto tr108; case 112: goto tr109; case 114: goto tr110; case 115: goto tr111; case 116: goto tr112; case 1802: goto tr19; case 1851: goto st137; case 2058: goto tr113; case 2107: goto st222; case 2314: goto tr115; case 2363: goto tr116; case 2570: goto tr117; case 2619: goto tr118; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 47 ) { if ( _widec > 57 ) { if ( 60 <= _widec ) goto tr67; } else if ( _widec >= 48 ) goto tr98; } else goto tr67; goto tr95; tr98: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 14; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 14; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 14; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 14; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 14; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 14; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 14; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 14; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 14; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 14; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 14; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 14; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 14; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 14; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 14; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 14; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 14; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 14; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 14; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 14; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 14; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 14; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 14; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 14; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 14; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 14; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 14; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st14; st14: if ( ++p == pe ) goto _test_eof14; case 14: #line 12995 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr120; case 32: goto tr120; case 40: goto tr121; case 41: goto tr122; case 68: goto tr28; case 72: goto tr29; case 77: goto tr30; case 83: goto st152; case 87: goto tr32; case 100: goto tr28; case 104: goto tr29; case 109: goto tr30; case 115: goto st152; case 119: goto tr32; case 778: goto tr81; case 827: goto st8; case 1034: goto tr123; case 1083: goto tr124; } if ( 48 <= _widec && _widec <= 57 ) goto tr27; goto tr119; tr127: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st15; tr128: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st15; tr120: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st15; tr121: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st15; tr122: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st15; st15: if ( ++p == pe ) goto _test_eof15; case 15: #line 13106 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st15; case 32: goto st15; case 40: goto tr127; case 41: goto tr128; case 65: goto tr39; case 67: goto tr40; case 68: goto tr41; case 69: goto tr42; case 72: goto tr43; case 73: goto tr44; case 75: goto tr45; case 76: goto tr46; case 77: goto tr47; case 78: goto tr48; case 80: goto tr49; case 82: goto tr50; case 83: goto tr51; case 84: goto tr52; case 97: goto tr39; case 99: goto tr40; case 100: goto tr41; case 101: goto tr42; case 104: goto tr43; case 105: goto tr44; case 107: goto tr45; case 108: goto tr46; case 109: goto tr47; case 110: goto tr48; case 112: goto tr49; case 114: goto tr50; case 115: goto tr51; case 116: goto tr52; case 778: goto tr81; case 827: goto st8; case 1034: goto tr129; case 1083: goto st245; } goto tr125; tr6: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st16; tr40: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st16; tr552: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st16; st16: if ( ++p == pe ) goto _test_eof16; case 16: #line 13186 "scanner.c" switch( (*p) ) { case 69: goto st17; case 78: goto st21; case 101: goto st17; case 110: goto st21; } goto tr35; st17: if ( ++p == pe ) goto _test_eof17; case 17: switch( (*p) ) { case 82: goto st18; case 114: goto st18; } goto tr35; st18: if ( ++p == pe ) goto _test_eof18; case 18: switch( (*p) ) { case 84: goto st19; case 116: goto st19; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr135; case 32: goto tr135; case 40: goto tr136; case 41: goto tr137; case 2058: goto tr138; case 2107: goto tr139; case 2314: goto tr140; case 2363: goto tr140; case 2570: goto tr141; case 2619: goto tr142; } goto tr55; tr144: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st20; tr145: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st20; tr66: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr76: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr142: #line 1874 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CERT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr156: #line 1858 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_CNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr170: #line 1883 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DHCID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr182: #line 1875 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNAME; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr193: #line 1882 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DNSKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr201: #line 1877 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_DS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr214: #line 1892 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI48; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr223: #line 1893 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_EUI64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr235: #line 1861 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_HINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr275: #line 1879 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_IPSECKEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr286: #line 1868 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KEY; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr294: #line 1873 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_KX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr307: #line 1889 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L32; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr316: #line 1890 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_L64; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr325: #line 1870 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LOC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr333: #line 1891 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_LP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr346: #line 1862 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MINFO; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr354: #line 1863 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_MX; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr368: #line 1872 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NAPTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr377: #line 1888 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NID; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr386: #line 1857 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NS; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr396: #line 1881 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr405: #line 1884 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr417: #line 1885 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_NSEC3PARAM; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr427: #line 1860 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_PTR; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr438: #line 1865 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr449: #line 1880 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RRSIG; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr457: #line 1867 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_RT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr470: #line 1859 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SOA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr479: #line 1887 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SPF; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr488: #line 1871 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SRV; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr499: #line 1878 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_SSHFP; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr512: #line 1886 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TLSA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr521: #line 1864 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_TXT; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr535: #line 356 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_type = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr741: #line 1869 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AAAA; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr752: #line 1866 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_AFSDB; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; tr761: #line 1876 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_APL; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 20; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 20; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 20; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 20; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 20; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 20; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 20; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 20; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 20; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 20; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 20; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 20; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 20; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 20; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 20; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 20; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 20; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 20; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 20; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 20; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 20; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 20; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 20; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 20; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 20; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 20; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 20; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st20; st20: if ( ++p == pe ) goto _test_eof20; case 20: #line 16554 "scanner.c" _widec = (*p); if ( (*p) < 11 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 58 ) { if ( (*p) > 59 ) { if ( 60 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 777: goto st7; case 778: goto tr81; case 800: goto st7; case 808: goto tr79; case 809: goto tr80; case 827: goto st8; case 1033: goto st20; case 1034: goto tr81; case 1056: goto st20; case 1064: goto tr144; case 1065: goto tr145; case 1083: goto st12; } if ( 896 <= _widec && _widec <= 1151 ) goto st10; goto tr77; st21: if ( ++p == pe ) goto _test_eof21; case 21: switch( (*p) ) { case 65: goto st22; case 97: goto st22; } goto tr35; st22: if ( ++p == pe ) goto _test_eof22; case 22: switch( (*p) ) { case 77: goto st23; case 109: goto st23; } goto tr35; st23: if ( ++p == pe ) goto _test_eof23; case 23: switch( (*p) ) { case 69: goto st24; case 101: goto st24; } goto tr35; st24: if ( ++p == pe ) goto _test_eof24; case 24: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr149; case 32: goto tr149; case 40: goto tr150; case 41: goto tr151; case 2058: goto tr152; case 2107: goto tr153; case 2314: goto tr154; case 2363: goto tr154; case 2570: goto tr155; case 2619: goto tr156; } goto tr55; tr7: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st25; tr41: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st25; tr553: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st25; st25: if ( ++p == pe ) goto _test_eof25; case 25: #line 16697 "scanner.c" switch( (*p) ) { case 72: goto st26; case 78: goto st30; case 83: goto st38; case 104: goto st26; case 110: goto st30; case 115: goto st38; } goto tr35; st26: if ( ++p == pe ) goto _test_eof26; case 26: switch( (*p) ) { case 67: goto st27; case 99: goto st27; } goto tr35; st27: if ( ++p == pe ) goto _test_eof27; case 27: switch( (*p) ) { case 73: goto st28; case 105: goto st28; } goto tr35; st28: if ( ++p == pe ) goto _test_eof28; case 28: switch( (*p) ) { case 68: goto st29; case 100: goto st29; } goto tr35; st29: if ( ++p == pe ) goto _test_eof29; case 29: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr163; case 32: goto tr163; case 40: goto tr164; case 41: goto tr165; case 2058: goto tr166; case 2107: goto tr167; case 2314: goto tr168; case 2363: goto tr168; case 2570: goto tr169; case 2619: goto tr170; } goto tr55; st30: if ( ++p == pe ) goto _test_eof30; case 30: switch( (*p) ) { case 65: goto st31; case 83: goto st34; case 97: goto st31; case 115: goto st34; } goto tr35; st31: if ( ++p == pe ) goto _test_eof31; case 31: switch( (*p) ) { case 77: goto st32; case 109: goto st32; } goto tr35; st32: if ( ++p == pe ) goto _test_eof32; case 32: switch( (*p) ) { case 69: goto st33; case 101: goto st33; } goto tr35; st33: if ( ++p == pe ) goto _test_eof33; case 33: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr175; case 32: goto tr175; case 40: goto tr176; case 41: goto tr177; case 2058: goto tr178; case 2107: goto tr179; case 2314: goto tr180; case 2363: goto tr180; case 2570: goto tr181; case 2619: goto tr182; } goto tr55; st34: if ( ++p == pe ) goto _test_eof34; case 34: switch( (*p) ) { case 75: goto st35; case 107: goto st35; } goto tr35; st35: if ( ++p == pe ) goto _test_eof35; case 35: switch( (*p) ) { case 69: goto st36; case 101: goto st36; } goto tr35; st36: if ( ++p == pe ) goto _test_eof36; case 36: switch( (*p) ) { case 89: goto st37; case 121: goto st37; } goto tr35; st37: if ( ++p == pe ) goto _test_eof37; case 37: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !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 tr55; st38: if ( ++p == pe ) goto _test_eof38; case 38: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr194; case 32: goto tr194; case 40: goto tr195; case 41: goto tr196; case 2058: goto tr197; case 2107: goto tr198; case 2314: goto tr199; case 2363: goto tr199; case 2570: goto tr200; case 2619: goto tr201; } goto tr55; tr8: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st39; tr42: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st39; tr554: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st39; st39: if ( ++p == pe ) goto _test_eof39; case 39: #line 16964 "scanner.c" switch( (*p) ) { case 85: goto st40; case 117: goto st40; } goto tr35; st40: if ( ++p == pe ) goto _test_eof40; case 40: switch( (*p) ) { case 73: goto st41; case 105: goto st41; } goto tr35; st41: if ( ++p == pe ) goto _test_eof41; case 41: switch( (*p) ) { case 52: goto st42; case 54: goto st44; } goto tr35; st42: if ( ++p == pe ) goto _test_eof42; case 42: if ( (*p) == 56 ) goto st43; goto tr35; st43: if ( ++p == pe ) goto _test_eof43; case 43: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !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 tr55; st44: if ( ++p == pe ) goto _test_eof44; case 44: if ( (*p) == 52 ) goto st45; goto tr35; st45: if ( ++p == pe ) goto _test_eof45; case 45: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr216; case 32: goto tr216; case 40: goto tr217; case 41: goto tr218; case 2058: goto tr219; case 2107: goto tr220; case 2314: goto tr221; case 2363: goto tr221; case 2570: goto tr222; case 2619: goto tr223; } goto tr55; tr9: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st46; tr43: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st46; tr555: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st46; st46: if ( ++p == pe ) goto _test_eof46; case 46: #line 17102 "scanner.c" switch( (*p) ) { case 73: goto st47; case 105: goto st47; } goto tr35; st47: if ( ++p == pe ) goto _test_eof47; case 47: switch( (*p) ) { case 78: goto st48; case 110: goto st48; } goto tr35; st48: if ( ++p == pe ) goto _test_eof48; case 48: switch( (*p) ) { case 70: goto st49; case 102: goto st49; } goto tr35; st49: if ( ++p == pe ) goto _test_eof49; case 49: switch( (*p) ) { case 79: goto st50; case 111: goto st50; } goto tr35; st50: if ( ++p == pe ) goto _test_eof50; case 50: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr228; case 32: goto tr228; case 40: goto tr229; case 41: goto tr230; case 2058: goto tr231; case 2107: goto tr232; case 2314: goto tr233; case 2363: goto tr233; case 2570: goto tr234; case 2619: goto tr235; } goto tr55; tr44: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st51; st51: if ( ++p == pe ) goto _test_eof51; case 51: #line 17182 "scanner.c" switch( (*p) ) { case 78: goto st52; case 80: goto st55; case 110: goto st52; case 112: goto st55; } goto tr35; st52: if ( ++p == pe ) goto _test_eof52; case 52: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr238; case 32: goto tr238; case 40: goto tr239; case 41: goto tr240; case 1034: goto tr241; case 1083: goto tr242; } goto tr35; tr244: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st53; tr245: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st53; tr260: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st53; tr567: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st53; tr568: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st53; tr569: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st53; tr576: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st53; tr238: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } goto st53; tr239: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st53; tr240: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st53; tr241: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st53; tr585: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st53; tr586: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st53; tr587: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st53; tr589: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st53; st53: if ( ++p == pe ) goto _test_eof53; case 53: #line 17455 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st53; case 32: goto st53; case 40: goto tr244; case 41: goto tr245; case 65: goto st4; case 67: goto st16; case 68: goto st25; case 69: goto st39; case 72: goto st46; case 73: goto st54; case 75: goto st62; case 76: goto st66; case 77: goto st74; case 78: goto st80; case 80: goto st96; case 82: goto st99; case 83: goto st106; case 84: goto st117; case 97: goto st4; case 99: goto st16; case 100: goto st25; case 101: goto st39; case 104: goto st46; case 105: goto st54; case 107: goto st62; case 108: goto st66; case 109: goto st74; case 110: goto st80; case 112: goto st96; case 114: goto st99; case 115: goto st106; case 116: goto st117; case 1034: goto tr260; case 1083: goto st127; } goto tr35; tr556: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st54; st54: if ( ++p == pe ) goto _test_eof54; case 54: #line 17517 "scanner.c" switch( (*p) ) { case 80: goto st55; case 112: goto st55; } goto tr35; st55: if ( ++p == pe ) goto _test_eof55; case 55: switch( (*p) ) { case 83: goto st56; case 115: goto st56; } goto tr35; st56: if ( ++p == pe ) goto _test_eof56; case 56: switch( (*p) ) { case 69: goto st57; case 101: goto st57; } goto tr35; st57: if ( ++p == pe ) goto _test_eof57; case 57: switch( (*p) ) { case 67: goto st58; case 99: goto st58; } goto tr35; st58: if ( ++p == pe ) goto _test_eof58; case 58: switch( (*p) ) { case 75: goto st59; case 107: goto st59; } goto tr35; st59: if ( ++p == pe ) goto _test_eof59; case 59: switch( (*p) ) { case 69: goto st60; case 101: goto st60; } goto tr35; st60: if ( ++p == pe ) goto _test_eof60; case 60: switch( (*p) ) { case 89: goto st61; case 121: goto st61; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr268; case 32: goto tr268; case 40: goto tr269; case 41: goto tr270; case 2058: goto tr271; case 2107: goto tr272; case 2314: goto tr273; case 2363: goto tr273; case 2570: goto tr274; case 2619: goto tr275; } goto tr55; tr11: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st62; tr45: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st62; tr557: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st62; st62: if ( ++p == pe ) goto _test_eof62; case 62: #line 17640 "scanner.c" switch( (*p) ) { case 69: goto st63; case 88: goto st65; case 101: goto st63; case 120: goto st65; } goto tr35; st63: if ( ++p == pe ) goto _test_eof63; case 63: switch( (*p) ) { case 89: goto st64; case 121: goto st64; } goto tr35; st64: if ( ++p == pe ) goto _test_eof64; case 64: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr279; case 32: goto tr279; case 40: goto tr280; case 41: goto tr281; case 2058: goto tr282; case 2107: goto tr283; case 2314: goto tr284; case 2363: goto tr284; case 2570: goto tr285; case 2619: goto tr286; } goto tr55; st65: if ( ++p == pe ) goto _test_eof65; case 65: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr287; case 32: goto tr287; case 40: goto tr288; case 41: goto tr289; case 2058: goto tr290; case 2107: goto tr291; case 2314: goto tr292; case 2363: goto tr292; case 2570: goto tr293; case 2619: goto tr294; } goto tr55; tr12: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st66; tr46: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st66; tr558: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st66; st66: if ( ++p == pe ) goto _test_eof66; case 66: #line 17757 "scanner.c" switch( (*p) ) { case 51: goto st67; case 54: goto st69; case 79: goto st71; case 80: goto st73; case 111: goto st71; case 112: goto st73; } goto tr35; st67: if ( ++p == pe ) goto _test_eof67; case 67: if ( (*p) == 50 ) goto st68; goto tr35; st68: if ( ++p == pe ) goto _test_eof68; case 68: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr300; case 32: goto tr300; case 40: goto tr301; case 41: goto tr302; case 2058: goto tr303; case 2107: goto tr304; case 2314: goto tr305; case 2363: goto tr305; case 2570: goto tr306; case 2619: goto tr307; } goto tr55; st69: if ( ++p == pe ) goto _test_eof69; case 69: if ( (*p) == 52 ) goto st70; goto tr35; st70: if ( ++p == pe ) goto _test_eof70; case 70: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr309; case 32: goto tr309; case 40: goto tr310; case 41: goto tr311; case 2058: goto tr312; case 2107: goto tr313; case 2314: goto tr314; case 2363: goto tr314; case 2570: goto tr315; case 2619: goto tr316; } goto tr55; st71: if ( ++p == pe ) goto _test_eof71; case 71: switch( (*p) ) { case 67: goto st72; case 99: goto st72; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr318; case 32: goto tr318; case 40: goto tr319; case 41: goto tr320; case 2058: goto tr321; case 2107: goto tr322; case 2314: goto tr323; case 2363: goto tr323; case 2570: goto tr324; case 2619: goto tr325; } goto tr55; st73: if ( ++p == pe ) goto _test_eof73; case 73: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr326; case 32: goto tr326; case 40: goto tr327; case 41: goto tr328; case 2058: goto tr329; case 2107: goto tr330; case 2314: goto tr331; case 2363: goto tr331; case 2570: goto tr332; case 2619: goto tr333; } goto tr55; tr13: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st74; tr47: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st74; tr559: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st74; st74: if ( ++p == pe ) goto _test_eof74; case 74: #line 17964 "scanner.c" switch( (*p) ) { case 73: goto st75; case 88: goto st79; case 105: goto st75; case 120: goto st79; } goto tr35; st75: if ( ++p == pe ) goto _test_eof75; case 75: switch( (*p) ) { case 78: goto st76; case 110: goto st76; } goto tr35; st76: if ( ++p == pe ) goto _test_eof76; case 76: switch( (*p) ) { case 70: goto st77; case 102: goto st77; } goto tr35; st77: if ( ++p == pe ) goto _test_eof77; case 77: switch( (*p) ) { case 79: goto st78; case 111: goto st78; } goto tr35; st78: if ( ++p == pe ) goto _test_eof78; case 78: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr339; case 32: goto tr339; case 40: goto tr340; case 41: goto tr341; case 2058: goto tr342; case 2107: goto tr343; case 2314: goto tr344; case 2363: goto tr344; case 2570: goto tr345; case 2619: goto tr346; } goto tr55; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr347; case 32: goto tr347; case 40: goto tr348; case 41: goto tr349; case 2058: goto tr350; case 2107: goto tr351; case 2314: goto tr352; case 2363: goto tr352; case 2570: goto tr353; case 2619: goto tr354; } goto tr55; tr14: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st80; tr48: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st80; tr560: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st80; st80: if ( ++p == pe ) goto _test_eof80; case 80: #line 18099 "scanner.c" switch( (*p) ) { case 65: goto st81; case 73: goto st85; case 83: goto st87; case 97: goto st81; case 105: goto st85; case 115: goto st87; } goto tr35; st81: if ( ++p == pe ) goto _test_eof81; case 81: switch( (*p) ) { case 80: goto st82; case 112: goto st82; } goto tr35; st82: if ( ++p == pe ) goto _test_eof82; case 82: switch( (*p) ) { case 84: goto st83; case 116: goto st83; } goto tr35; st83: if ( ++p == pe ) goto _test_eof83; case 83: switch( (*p) ) { case 82: goto st84; case 114: goto st84; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr361; case 32: goto tr361; case 40: goto tr362; case 41: goto tr363; case 2058: goto tr364; case 2107: goto tr365; case 2314: goto tr366; case 2363: goto tr366; case 2570: goto tr367; case 2619: goto tr368; } goto tr55; st85: if ( ++p == pe ) goto _test_eof85; case 85: switch( (*p) ) { case 68: goto st86; case 100: goto st86; } goto tr35; st86: if ( ++p == pe ) goto _test_eof86; case 86: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr370; case 32: goto tr370; case 40: goto tr371; case 41: goto tr372; case 2058: goto tr373; case 2107: goto tr374; case 2314: goto tr375; case 2363: goto tr375; case 2570: goto tr376; case 2619: goto tr377; } goto tr55; st87: if ( ++p == pe ) goto _test_eof87; case 87: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr378; case 32: goto tr378; case 40: goto tr379; case 41: goto tr380; case 69: goto st88; case 101: goto st88; case 2058: goto tr382; case 2107: goto tr383; case 2314: goto tr384; case 2363: goto tr384; case 2570: goto tr385; case 2619: goto tr386; } goto tr55; st88: if ( ++p == pe ) goto _test_eof88; case 88: switch( (*p) ) { case 67: goto st89; case 99: goto st89; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr388; case 32: goto tr388; case 40: goto tr389; case 41: goto tr390; case 51: goto st90; case 2058: goto tr392; case 2107: goto tr393; case 2314: goto tr394; case 2363: goto tr394; case 2570: goto tr395; case 2619: goto tr396; } goto tr55; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr397; case 32: goto tr397; case 40: goto tr398; case 41: goto tr399; case 80: goto st91; case 112: goto st91; 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 tr55; st91: if ( ++p == pe ) goto _test_eof91; case 91: switch( (*p) ) { case 65: goto st92; case 97: goto st92; } goto tr35; st92: if ( ++p == pe ) goto _test_eof92; case 92: switch( (*p) ) { case 82: goto st93; case 114: goto st93; } goto tr35; st93: if ( ++p == pe ) goto _test_eof93; case 93: switch( (*p) ) { case 65: goto st94; case 97: goto st94; } goto tr35; st94: if ( ++p == pe ) goto _test_eof94; case 94: switch( (*p) ) { case 77: goto st95; case 109: goto st95; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr410; case 32: goto tr410; case 40: goto tr411; case 41: goto tr412; case 2058: goto tr413; case 2107: goto tr414; case 2314: goto tr415; case 2363: goto tr415; case 2570: goto tr416; case 2619: goto tr417; } goto tr55; tr15: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st96; tr49: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st96; tr561: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st96; st96: if ( ++p == pe ) goto _test_eof96; case 96: #line 18443 "scanner.c" switch( (*p) ) { case 84: goto st97; case 116: goto st97; } goto tr35; st97: if ( ++p == pe ) goto _test_eof97; case 97: switch( (*p) ) { case 82: goto st98; case 114: goto st98; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !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 tr55; tr16: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st99; tr50: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st99; tr562: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st99; st99: if ( ++p == pe ) goto _test_eof99; case 99: #line 18521 "scanner.c" switch( (*p) ) { case 80: goto st100; case 82: goto st101; case 84: goto st105; case 112: goto st100; case 114: goto st101; case 116: goto st105; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr431; case 32: goto tr431; case 40: goto tr432; case 41: goto tr433; case 2058: goto tr434; case 2107: goto tr435; case 2314: goto tr436; case 2363: goto tr436; case 2570: goto tr437; case 2619: goto tr438; } goto tr55; st101: if ( ++p == pe ) goto _test_eof101; case 101: switch( (*p) ) { case 83: goto st102; case 115: goto st102; } goto tr35; st102: if ( ++p == pe ) goto _test_eof102; case 102: switch( (*p) ) { case 73: goto st103; case 105: goto st103; } goto tr35; st103: if ( ++p == pe ) goto _test_eof103; case 103: switch( (*p) ) { case 71: goto st104; case 103: goto st104; } goto tr35; st104: if ( ++p == pe ) goto _test_eof104; case 104: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr442; case 32: goto tr442; case 40: goto tr443; case 41: goto tr444; case 2058: goto tr445; case 2107: goto tr446; case 2314: goto tr447; case 2363: goto tr447; case 2570: goto tr448; case 2619: goto tr449; } goto tr55; st105: if ( ++p == pe ) goto _test_eof105; case 105: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr450; case 32: goto tr450; case 40: goto tr451; case 41: goto tr452; case 2058: goto tr453; case 2107: goto tr454; case 2314: goto tr455; case 2363: goto tr455; case 2570: goto tr456; case 2619: goto tr457; } goto tr55; tr17: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st106; tr51: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st106; tr563: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st106; st106: if ( ++p == pe ) goto _test_eof106; case 106: #line 18695 "scanner.c" switch( (*p) ) { case 79: goto st107; case 80: goto st109; case 82: goto st111; case 83: goto st113; case 111: goto st107; case 112: goto st109; case 114: goto st111; case 115: goto st113; } goto tr35; st107: if ( ++p == pe ) goto _test_eof107; case 107: switch( (*p) ) { case 65: goto st108; case 97: goto st108; } goto tr35; st108: if ( ++p == pe ) goto _test_eof108; case 108: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr463; case 32: goto tr463; case 40: goto tr464; case 41: goto tr465; case 2058: goto tr466; case 2107: goto tr467; case 2314: goto tr468; case 2363: goto tr468; case 2570: goto tr469; case 2619: goto tr470; } goto tr55; st109: if ( ++p == pe ) goto _test_eof109; case 109: switch( (*p) ) { case 70: goto st110; case 102: goto st110; } goto tr35; st110: if ( ++p == pe ) goto _test_eof110; case 110: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr472; case 32: goto tr472; case 40: goto tr473; case 41: goto tr474; case 2058: goto tr475; case 2107: goto tr476; case 2314: goto tr477; case 2363: goto tr477; case 2570: goto tr478; case 2619: goto tr479; } goto tr55; st111: if ( ++p == pe ) goto _test_eof111; case 111: switch( (*p) ) { case 86: goto st112; case 118: goto st112; } goto tr35; st112: if ( ++p == pe ) goto _test_eof112; case 112: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr481; case 32: goto tr481; case 40: goto tr482; case 41: goto tr483; case 2058: goto tr484; case 2107: goto tr485; case 2314: goto tr486; case 2363: goto tr486; case 2570: goto tr487; case 2619: goto tr488; } goto tr55; st113: if ( ++p == pe ) goto _test_eof113; case 113: switch( (*p) ) { case 72: goto st114; case 104: goto st114; } goto tr35; st114: if ( ++p == pe ) goto _test_eof114; case 114: switch( (*p) ) { case 70: goto st115; case 102: goto st115; } goto tr35; st115: if ( ++p == pe ) goto _test_eof115; case 115: switch( (*p) ) { case 80: goto st116; case 112: goto st116; } goto tr35; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr492; case 32: goto tr492; case 40: goto tr493; case 41: goto tr494; case 2058: goto tr495; case 2107: goto tr496; case 2314: goto tr497; case 2363: goto tr497; case 2570: goto tr498; case 2619: goto tr499; } goto tr55; tr18: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st117; tr52: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } goto st117; tr564: #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st117; st117: if ( ++p == pe ) goto _test_eof117; case 117: #line 18935 "scanner.c" switch( (*p) ) { case 76: goto st118; case 88: goto st121; case 89: goto st123; case 108: goto st118; case 120: goto st121; case 121: goto st123; } goto tr35; st118: if ( ++p == pe ) goto _test_eof118; case 118: switch( (*p) ) { case 83: goto st119; case 115: goto st119; } goto tr35; st119: if ( ++p == pe ) goto _test_eof119; case 119: switch( (*p) ) { case 65: goto st120; case 97: goto st120; } goto tr35; st120: if ( ++p == pe ) goto _test_eof120; case 120: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr505; case 32: goto tr505; case 40: goto tr506; case 41: goto tr507; case 2058: goto tr508; case 2107: goto tr509; case 2314: goto tr510; case 2363: goto tr510; case 2570: goto tr511; case 2619: goto tr512; } goto tr55; st121: if ( ++p == pe ) goto _test_eof121; case 121: switch( (*p) ) { case 84: goto st122; case 116: goto st122; } goto tr35; st122: if ( ++p == pe ) goto _test_eof122; case 122: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr514; case 32: goto tr514; case 40: goto tr515; case 41: goto tr516; case 2058: goto tr517; case 2107: goto tr518; case 2314: goto tr519; case 2363: goto tr519; case 2570: goto tr520; case 2619: goto tr521; } goto tr55; st123: if ( ++p == pe ) goto _test_eof123; case 123: switch( (*p) ) { case 80: goto st124; case 112: goto st124; } goto tr35; st124: if ( ++p == pe ) goto _test_eof124; case 124: switch( (*p) ) { case 69: goto st125; case 101: goto st125; } goto tr35; st125: if ( ++p == pe ) goto _test_eof125; case 125: if ( 48 <= (*p) && (*p) <= 57 ) goto tr525; goto tr524; tr525: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st126; tr530: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st126; st126: if ( ++p == pe ) goto _test_eof126; case 126: #line 19113 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr527; case 32: goto tr527; case 40: goto tr528; case 41: goto tr529; case 2058: goto tr531; case 2107: goto tr532; case 2314: goto tr533; case 2363: goto tr533; case 2570: goto tr534; case 2619: goto tr535; } if ( 48 <= _widec && _widec <= 57 ) goto tr530; goto tr526; tr577: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st127; tr242: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } goto st127; tr590: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st127; st127: if ( ++p == pe ) goto _test_eof127; case 127: #line 19190 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr260; if ( 896 <= _widec && _widec <= 1151 ) goto st127; goto tr35; tr129: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1058; tr123: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1058; st1058: if ( ++p == pe ) goto _test_eof1058; case 1058: #line 19262 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3153; case 32: goto tr3153; case 36: goto st138; case 40: goto tr3154; case 41: goto tr3155; case 42: goto tr3139; case 65: goto tr3156; case 67: goto tr3157; case 68: goto tr3158; case 69: goto tr3159; case 72: goto tr3160; case 73: goto tr3161; case 75: goto tr3162; case 76: goto tr3163; case 77: goto tr3164; case 78: goto tr3165; case 80: goto tr3166; case 82: goto tr3167; case 83: goto tr3168; case 84: goto tr3169; case 92: goto tr3139; case 95: goto tr3139; case 97: goto tr3156; case 99: goto tr3157; case 100: goto tr3158; case 101: goto tr3159; case 104: goto tr3160; case 105: goto tr3161; case 107: goto tr3162; case 108: goto tr3163; case 109: goto tr3164; case 110: goto tr3165; case 112: goto tr3166; case 114: goto tr3167; case 115: goto tr3168; case 116: goto tr3169; case 778: goto tr19; case 827: goto st137; case 1034: goto tr3170; case 1083: goto tr3171; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr3139; } else if ( _widec > 90 ) { if ( 98 <= _widec && _widec <= 122 ) goto tr3139; } else goto tr3139; goto tr3152; tr537: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st128; tr538: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st128; tr3153: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st128; tr3154: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st128; tr3155: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st128; st128: if ( ++p == pe ) goto _test_eof128; case 128: #line 19395 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st128; case 32: goto st128; case 40: goto tr537; case 41: goto tr538; 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 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 778: goto tr19; case 827: goto st137; case 1034: goto tr539; case 1083: goto st243; } if ( 48 <= _widec && _widec <= 57 ) goto tr4; goto tr0; tr10: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } goto st129; st129: if ( ++p == pe ) goto _test_eof129; case 129: #line 19465 "scanner.c" switch( (*p) ) { case 78: goto st130; case 80: goto st55; case 110: goto st130; case 112: goto st55; } goto tr35; st130: if ( ++p == pe ) goto _test_eof130; case 130: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr542; case 32: goto tr542; case 40: goto tr543; case 41: goto tr544; case 1034: goto tr545; case 1083: goto tr546; } goto tr35; tr548: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st131; tr549: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st131; tr565: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st131; tr542: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } goto st131; tr543: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st131; tr544: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st131; tr545: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st131; st131: if ( ++p == pe ) goto _test_eof131; case 131: #line 19574 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st131; case 32: goto st131; case 40: goto tr548; case 41: goto tr549; case 65: goto tr551; case 67: goto tr552; case 68: goto tr553; case 69: goto tr554; case 72: goto tr555; case 73: goto tr556; case 75: goto tr557; case 76: goto tr558; case 77: goto tr559; case 78: goto tr560; case 80: goto tr561; case 82: goto tr562; case 83: goto tr563; case 84: goto tr564; case 97: goto tr551; case 99: goto tr552; case 100: goto tr553; case 101: goto tr554; case 104: goto tr555; case 105: goto tr556; case 107: goto tr557; case 108: goto tr558; case 109: goto tr559; case 110: goto tr560; case 112: goto tr561; case 114: goto tr562; case 115: goto tr563; case 116: goto tr564; case 1034: goto tr565; case 1083: goto st136; } if ( 48 <= _widec && _widec <= 57 ) goto tr550; goto tr524; tr550: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st132; tr570: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st132; st132: if ( ++p == pe ) goto _test_eof132; case 132: #line 19670 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr567; case 32: goto tr567; case 40: goto tr568; case 41: goto tr569; case 68: goto tr571; case 72: goto tr572; case 77: goto tr573; case 83: goto st133; case 87: goto tr575; case 100: goto tr571; case 104: goto tr572; case 109: goto tr573; case 115: goto st133; case 119: goto tr575; case 1034: goto tr576; case 1083: goto tr577; } if ( 48 <= _widec && _widec <= 57 ) goto tr570; goto tr23; tr571: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st133; tr572: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st133; tr573: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st133; tr575: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st133; st133: if ( ++p == pe ) goto _test_eof133; case 133: #line 19750 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr567; case 32: goto tr567; case 40: goto tr568; case 41: goto tr569; case 1034: goto tr576; case 1083: goto tr577; } if ( 48 <= _widec && _widec <= 57 ) goto tr578; goto tr23; tr579: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st134; tr578: #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st134; tr588: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st134; st134: if ( ++p == pe ) goto _test_eof134; case 134: #line 19856 "scanner.c" switch( (*p) ) { case 68: goto tr580; case 72: goto tr581; case 77: goto tr582; case 83: goto st135; case 87: goto tr584; case 100: goto tr580; case 104: goto tr581; case 109: goto tr582; case 115: goto st135; case 119: goto tr584; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr579; goto tr23; tr580: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st135; tr581: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st135; tr582: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st135; tr584: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st135; st135: if ( ++p == pe ) goto _test_eof135; case 135: #line 19916 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr585; case 32: goto tr585; case 40: goto tr586; case 41: goto tr587; case 1034: goto tr589; case 1083: goto tr590; } if ( 48 <= _widec && _widec <= 57 ) goto tr588; goto tr23; tr546: #line 727 "./scanner_body.rl" { s->r_class = KNOT_CLASS_IN; } goto st136; st136: if ( ++p == pe ) goto _test_eof136; case 136: #line 19952 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr565; if ( 896 <= _widec && _widec <= 1151 ) goto st136; goto tr35; tr3195: #line 704 "./scanner_body.rl" { s->stop = false; } goto st137; st137: if ( ++p == pe ) goto _test_eof137; case 137: #line 19989 "scanner.c" if ( (*p) == 10 ) goto tr19; goto st137; tr539: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1059; tr706: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1059; tr701: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1059; tr3170: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1059; st1059: if ( ++p == pe ) goto _test_eof1059; case 1059: #line 20061 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3153; case 32: goto tr3153; case 36: goto st138; case 40: goto tr3154; case 41: goto tr3155; case 42: goto tr3139; case 65: goto tr3174; case 67: goto tr3175; case 68: goto tr3176; case 69: goto tr3177; case 72: goto tr3178; case 73: goto tr3179; case 75: goto tr3180; case 76: goto tr3181; case 77: goto tr3182; case 78: goto tr3183; case 80: goto tr3184; case 82: goto tr3185; case 83: goto tr3186; case 84: goto tr3187; case 92: goto tr3139; case 95: goto tr3139; case 97: goto tr3174; case 99: goto tr3175; case 100: goto tr3176; case 101: goto tr3177; case 104: goto tr3178; case 105: goto tr3179; case 107: goto tr3180; case 108: goto tr3181; case 109: goto tr3182; case 110: goto tr3183; case 112: goto tr3184; case 114: goto tr3185; case 115: goto tr3186; case 116: goto tr3187; case 778: goto tr19; case 827: goto st137; case 1034: goto tr3170; case 1083: goto tr3171; } if ( _widec < 48 ) { if ( 45 <= _widec && _widec <= 47 ) goto tr3139; } else if ( _widec > 57 ) { if ( _widec > 90 ) { if ( 98 <= _widec && _widec <= 122 ) goto tr3139; } else if ( _widec >= 64 ) goto tr3139; } else goto tr3173; goto tr3172; tr3190: #line 704 "./scanner_body.rl" { s->stop = false; } goto st138; st138: if ( ++p == pe ) goto _test_eof138; case 138: #line 20140 "scanner.c" switch( (*p) ) { case 73: goto tr592; case 79: goto tr593; case 84: goto tr594; case 105: goto tr592; case 111: goto tr593; case 116: goto tr594; } goto tr591; tr592: #line 700 "./scanner_body.rl" { s->stop = true; } goto st139; st139: if ( ++p == pe ) goto _test_eof139; case 139: #line 20160 "scanner.c" switch( (*p) ) { case 78: goto st140; case 110: goto st140; } goto tr591; st140: if ( ++p == pe ) goto _test_eof140; case 140: switch( (*p) ) { case 67: goto st141; case 99: goto st141; } goto tr591; st141: if ( ++p == pe ) goto _test_eof141; case 141: switch( (*p) ) { case 76: goto st142; case 108: goto st142; } goto tr591; st142: if ( ++p == pe ) goto _test_eof142; case 142: switch( (*p) ) { case 85: goto st143; case 117: goto st143; } goto tr591; st143: if ( ++p == pe ) goto _test_eof143; case 143: switch( (*p) ) { case 68: goto st144; case 100: goto st144; } goto tr591; st144: if ( ++p == pe ) goto _test_eof144; case 144: switch( (*p) ) { case 69: goto st145; case 101: goto st145; } goto tr591; st145: if ( ++p == pe ) goto _test_eof145; case 145: switch( (*p) ) { case 32: goto tr601; case 59: goto tr601; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr601; } else if ( (*p) >= 9 ) goto tr601; goto tr591; tr601: #line 694 "./scanner_body.rl" { p--; {stack[top++] = 1060; goto st290;} } goto st1060; tr687: #line 603 "./scanner_body.rl" { p--; {stack[top++] = 1060; goto st278;} } goto st1060; tr690: #line 586 "./scanner_body.rl" { p--; {stack[top++] = 1060; goto st269;} } goto st1060; st1060: if ( ++p == pe ) goto _test_eof1060; case 1060: #line 20241 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3189; case 32: goto tr3189; case 36: goto tr3190; case 40: goto tr3191; case 41: goto tr3192; case 42: goto tr3193; case 92: goto tr3193; case 95: goto tr3193; case 778: goto tr3194; case 827: goto tr3195; case 1034: goto tr3196; case 1083: goto tr3197; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr3193; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr3193; } else goto tr3193; goto tr3188; tr3139: #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 146; goto st248;} } goto st146; tr3193: #line 704 "./scanner_body.rl" { s->stop = false; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 146; goto st248;} } goto st146; st146: if ( ++p == pe ) goto _test_eof146; case 146: #line 20305 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 1034: goto tr606; case 1083: goto tr607; } goto tr602; tr609: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st147; tr610: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st147; tr611: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st147; tr603: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } goto st147; tr604: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st147; tr605: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st147; tr606: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st147; st147: if ( ++p == pe ) goto _test_eof147; case 147: #line 20403 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st147; case 32: goto st147; case 40: goto tr609; case 41: goto tr610; 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 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 1034: goto tr611; case 1083: goto st148; } if ( 48 <= _widec && _widec <= 57 ) goto tr4; goto tr524; tr607: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } goto st148; st148: if ( ++p == pe ) goto _test_eof148; case 148: #line 20467 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr611; if ( 896 <= _widec && _widec <= 1151 ) goto st148; goto st0; tr21: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1061; tr670: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1061; tr695: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1061; tr3140: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1061; tr3200: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1061; tr3196: #line 704 "./scanner_body.rl" { s->stop = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1061; tr3204: #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1061; tr3227: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1061; st1061: if ( ++p == pe ) goto _test_eof1061; case 1061: #line 20629 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3135; case 32: goto tr3135; case 36: goto st138; case 40: goto tr3198; case 41: goto tr3199; case 42: goto tr3139; case 65: goto tr3174; case 67: goto tr3175; case 68: goto tr3176; case 69: goto tr3177; case 72: goto tr3178; case 73: goto tr3179; case 75: goto tr3180; case 76: goto tr3181; case 77: goto tr3182; case 78: goto tr3183; case 80: goto tr3184; case 82: goto tr3185; case 83: goto tr3186; case 84: goto tr3187; case 92: goto tr3139; case 95: goto tr3139; case 97: goto tr3174; case 99: goto tr3175; case 100: goto tr3176; case 101: goto tr3177; case 104: goto tr3178; case 105: goto tr3179; case 107: goto tr3180; case 108: goto tr3181; case 109: goto tr3182; case 110: goto tr3183; case 112: goto tr3184; case 114: goto tr3185; case 115: goto tr3186; case 116: goto tr3187; case 778: goto tr19; case 827: goto st137; case 1034: goto tr3200; case 1083: goto tr3141; } if ( _widec < 48 ) { if ( 45 <= _widec && _widec <= 47 ) goto tr3139; } else if ( _widec > 57 ) { if ( _widec > 90 ) { if ( 98 <= _widec && _widec <= 122 ) goto tr3139; } else if ( _widec >= 64 ) goto tr3139; } else goto tr3173; goto tr3172; tr3173: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 149; goto st248;} } goto st149; st149: if ( ++p == pe ) goto _test_eof149; case 149: #line 20730 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr615; case 32: goto tr615; case 40: goto tr616; case 41: goto tr617; case 68: goto tr28; case 72: goto tr29; case 77: goto tr30; case 83: goto st152; case 87: goto tr32; case 100: goto tr28; case 104: goto tr29; case 109: goto tr30; case 115: goto st152; case 119: goto tr32; case 1034: goto tr618; case 1083: goto tr619; } if ( 48 <= _widec && _widec <= 57 ) goto tr27; goto tr614; tr621: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st150; tr622: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st150; tr623: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st150; tr615: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st150; tr616: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st150; tr617: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st150; tr618: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st150; st150: if ( ++p == pe ) goto _test_eof150; case 150: #line 20876 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st150; case 32: goto st150; case 40: goto tr621; case 41: goto tr622; 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 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 1034: goto tr623; case 1083: goto st151; } if ( 48 <= _widec && _widec <= 57 ) goto tr4; goto tr524; tr619: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st151; st151: if ( ++p == pe ) goto _test_eof151; case 151: #line 20949 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr623; if ( 896 <= _widec && _widec <= 1151 ) goto st151; goto tr35; tr28: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st152; tr29: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st152; tr30: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st152; tr32: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st152; st152: if ( ++p == pe ) goto _test_eof152; case 152: #line 21020 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr24; case 32: goto tr24; case 40: goto tr25; case 41: goto tr26; case 1034: goto tr33; case 1083: goto tr34; } if ( 48 <= _widec && _widec <= 57 ) goto tr625; goto tr23; tr626: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st153; tr625: #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st153; tr635: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st153; st153: if ( ++p == pe ) goto _test_eof153; case 153: #line 21126 "scanner.c" switch( (*p) ) { case 68: goto tr627; case 72: goto tr628; case 77: goto tr629; case 83: goto st154; case 87: goto tr631; case 100: goto tr627; case 104: goto tr628; case 109: goto tr629; case 115: goto st154; case 119: goto tr631; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr626; goto tr23; tr627: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st154; tr628: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st154; tr629: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st154; tr631: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st154; st154: if ( ++p == pe ) goto _test_eof154; case 154: #line 21186 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr632; case 32: goto tr632; case 40: goto tr633; case 41: goto tr634; case 1034: goto tr636; case 1083: goto tr637; } if ( 48 <= _widec && _widec <= 57 ) goto tr635; goto tr23; tr34: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st155; tr637: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st155; st155: if ( ++p == pe ) goto _test_eof155; case 155: #line 21247 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr53; if ( 896 <= _widec && _widec <= 1151 ) goto st155; goto tr35; tr3156: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 156; goto st248;} } goto st156; tr3174: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 156; goto st248;} } goto st156; st156: if ( ++p == pe ) goto _test_eof156; case 156: #line 21308 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr639; case 32: goto tr639; case 40: goto tr640; case 41: goto tr641; case 65: goto st213; case 70: goto st216; case 80: goto st220; case 97: goto st213; case 102: goto st216; case 112: goto st220; case 2058: goto tr642; case 2107: goto tr643; case 2314: goto tr64; case 2363: goto tr64; case 2570: goto tr644; case 2619: goto tr645; } goto tr638; tr647: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st157; tr648: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st157; tr649: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st157; tr639: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st157; tr640: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st157; tr641: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st157; tr642: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st157; st157: if ( ++p == pe ) goto _test_eof157; case 157: #line 21446 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st157; case 32: goto st157; case 40: goto tr647; case 41: goto tr648; case 58: goto tr67; case 65: goto tr99; case 67: goto tr100; case 68: goto tr101; case 69: goto tr102; case 72: goto tr103; case 73: goto tr104; case 75: goto tr105; case 76: goto tr106; case 77: goto tr107; case 78: goto tr108; case 80: goto tr109; case 82: goto tr110; case 83: goto tr111; case 84: goto tr112; case 92: goto st9; case 97: goto tr99; case 99: goto tr100; case 100: goto tr101; case 101: goto tr102; case 104: goto tr103; case 105: goto tr104; case 107: goto tr105; case 108: goto tr106; case 109: goto tr107; case 110: goto tr108; case 112: goto tr109; case 114: goto tr110; case 115: goto tr111; case 116: goto tr112; case 2058: goto tr649; case 2107: goto st227; case 2314: goto tr67; case 2363: goto tr67; case 2570: goto tr651; case 2619: goto tr652; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 47 ) { if ( _widec > 57 ) { if ( 60 <= _widec ) goto tr67; } else if ( _widec >= 48 ) goto tr98; } else goto tr67; goto tr526; tr99: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 158; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 158; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 158; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 158; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 158; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 158; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 158; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 158; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 158; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 158; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 158; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 158; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 158; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 158; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 158; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 158; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 158; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 158; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 158; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 158; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 158; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 158; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 158; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 158; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 158; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 158; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 158; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st158; st158: if ( ++p == pe ) goto _test_eof158; case 158: #line 21609 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr654; case 32: goto tr654; case 40: goto tr655; case 41: goto tr656; case 65: goto st213; case 70: goto st216; case 80: goto st220; case 97: goto st213; case 102: goto st216; case 112: goto st220; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr657; case 2107: goto tr658; case 2314: goto tr659; case 2363: goto tr660; case 2570: goto tr661; case 2619: goto tr662; } goto tr653; tr664: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st159; tr665: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st159; tr654: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st159; tr655: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st159; tr656: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st159; st159: if ( ++p == pe ) goto _test_eof159; case 159: #line 21715 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st159; case 32: goto st159; case 40: goto tr664; case 41: goto tr665; case 92: goto st9; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr93; case 2107: goto st12; case 2314: goto tr90; case 2363: goto tr91; case 2570: goto tr666; case 2619: goto tr92; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr67; } else goto tr67; goto tr77; tr90: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1062; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1062; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1062; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1062; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1062; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1062; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1062; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1062; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1062; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1062; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1062; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1062; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1062; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1062; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1062; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1062; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1062; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1062; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1062; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1062; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1062; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1062; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1062; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1062; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1062; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1062; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1062; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1062; tr115: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1062; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1062; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1062; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1062; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1062; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1062; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1062; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1062; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1062; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1062; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1062; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1062; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1062; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1062; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1062; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1062; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1062; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1062; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1062; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1062; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1062; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1062; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1062; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1062; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1062; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1062; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1062; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1062; tr659: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1062; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1062; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1062; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1062; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1062; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1062; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1062; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1062; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1062; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1062; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1062; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1062; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1062; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1062; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1062; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1062; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1062; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1062; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1062; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1062; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1062; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1062; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1062; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1062; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1062; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1062; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1062; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1062; st1062: if ( ++p == pe ) goto _test_eof1062; case 1062: #line 22030 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3201; case 32: goto tr3201; case 36: goto st138; case 40: goto tr3202; case 41: goto tr3203; case 42: goto tr3139; case 92: goto tr3139; case 95: goto tr3139; case 778: goto tr81; case 827: goto st8; case 1034: goto tr3204; case 1083: goto tr3205; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr3139; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr3139; } else goto tr3139; goto tr691; tr668: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st160; tr669: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st160; tr692: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } goto st160; tr693: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st160; tr694: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st160; tr3201: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st160; tr3202: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st160; tr3203: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st160; st160: if ( ++p == pe ) goto _test_eof160; case 160: #line 22169 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st160; case 32: goto st160; case 40: goto tr668; case 41: goto tr669; 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 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 778: goto tr81; case 827: goto st8; case 1034: goto tr670; case 1083: goto st161; } if ( 48 <= _widec && _widec <= 57 ) goto tr4; goto tr0; tr696: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } goto st161; tr3205: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st161; st161: if ( ++p == pe ) goto _test_eof161; case 161: #line 22244 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr81; case 1034: goto tr670; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st161; } else if ( _widec >= 640 ) goto st8; goto tr83; tr660: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 162; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 162; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 162; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 162; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 162; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 162; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 162; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 162; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 162; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 162; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 162; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 162; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 162; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 162; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 162; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 162; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 162; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 162; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 162; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 162; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 162; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 162; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 162; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 162; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 162; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 162; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 162; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st162; tr91: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 162; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 162; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 162; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 162; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 162; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 162; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 162; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 162; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 162; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 162; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 162; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 162; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 162; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 162; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 162; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 162; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 162; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 162; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 162; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 162; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 162; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 162; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 162; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 162; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 162; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 162; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 162; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st162; st162: if ( ++p == pe ) goto _test_eof162; case 162: #line 22438 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st163; case 32: goto st163; case 40: goto tr673; case 41: goto tr674; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto st8; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto st8; } else goto st8; goto tr77; tr673: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st163; tr674: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st163; st163: if ( ++p == pe ) goto _test_eof163; case 163: #line 22496 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st163; case 32: goto st163; case 40: goto tr673; case 41: goto tr674; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto st8; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto st8; } else goto st8; goto tr83; tr661: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1063; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1063; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1063; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1063; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1063; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1063; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1063; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1063; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1063; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1063; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1063; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1063; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1063; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1063; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1063; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1063; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1063; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1063; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1063; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1063; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1063; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1063; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1063; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1063; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1063; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1063; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1063; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1063; tr666: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1063; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1063; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1063; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1063; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1063; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1063; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1063; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1063; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1063; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1063; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1063; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1063; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1063; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1063; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1063; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1063; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1063; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1063; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1063; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1063; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1063; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1063; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1063; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1063; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1063; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1063; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1063; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1063; st1063: if ( ++p == pe ) goto _test_eof1063; case 1063: #line 22720 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr3206; case 32: goto tr3206; case 36: goto tr3143; case 40: goto tr3207; case 41: goto tr3208; case 42: goto tr3146; case 58: goto tr67; case 92: goto tr3147; case 95: goto tr3146; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr3204; case 2107: goto tr3209; case 2314: goto tr90; case 2363: goto tr91; case 2570: goto tr3204; case 2619: goto tr3210; } if ( _widec < 60 ) { if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 44 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr3146; } else goto tr67; } else if ( _widec > 63 ) { if ( _widec < 91 ) { if ( 64 <= _widec && _widec <= 90 ) goto tr3146; } else if ( _widec > 96 ) { if ( _widec > 122 ) { if ( 123 <= _widec ) goto tr67; } else if ( _widec >= 97 ) goto tr3146; } else goto tr67; } else goto tr67; goto tr691; tr676: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st164; tr677: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st164; tr651: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 164; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 164; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 164; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 164; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 164; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 164; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 164; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 164; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 164; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 164; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 164; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 164; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 164; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 164; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 164; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 164; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 164; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 164; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 164; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 164; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 164; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 164; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 164; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 164; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 164; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 164; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 164; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st164; tr644: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 164; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 164; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 164; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 164; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 164; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 164; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 164; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 164; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 164; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 164; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 164; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 164; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 164; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 164; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 164; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 164; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 164; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 164; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 164; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 164; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 164; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 164; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 164; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 164; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 164; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 164; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 164; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st164; tr3206: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st164; tr3207: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st164; tr3208: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st164; st164: if ( ++p == pe ) goto _test_eof164; case 164: #line 23021 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st164; case 32: goto st164; case 40: goto tr676; case 41: goto tr677; case 58: goto tr67; case 65: goto tr99; case 67: goto tr100; case 68: goto tr101; case 69: goto tr102; case 72: goto tr103; case 73: goto tr104; case 75: goto tr105; case 76: goto tr106; case 77: goto tr107; case 78: goto tr108; case 80: goto tr109; case 82: goto tr110; case 83: goto tr111; case 84: goto tr112; case 92: goto st9; case 97: goto tr99; case 99: goto tr100; case 100: goto tr101; case 101: goto tr102; case 104: goto tr103; case 105: goto tr104; case 107: goto tr105; case 108: goto tr106; case 109: goto tr107; case 110: goto tr108; case 112: goto tr109; case 114: goto tr110; case 115: goto tr111; case 116: goto tr112; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr670; case 2107: goto st178; case 2314: goto tr90; case 2363: goto tr91; case 2570: goto tr670; case 2619: goto tr679; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 47 ) { if ( _widec > 57 ) { if ( 60 <= _widec ) goto tr67; } else if ( _widec >= 48 ) goto tr98; } else goto tr67; goto tr95; tr100: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 165; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 165; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 165; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 165; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 165; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 165; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 165; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 165; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 165; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 165; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 165; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 165; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 165; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 165; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 165; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 165; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 165; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 165; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 165; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 165; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 165; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 165; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 165; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 165; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 165; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 165; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 165; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st165; st165: if ( ++p == pe ) goto _test_eof165; case 165: #line 23186 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 69: goto st17; case 78: goto st21; case 101: goto st17; case 110: goto st21; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr101: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 166; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 166; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 166; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 166; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 166; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 166; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 166; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 166; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 166; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 166; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 166; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 166; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 166; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 166; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 166; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 166; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 166; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 166; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 166; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 166; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 166; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 166; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 166; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 166; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 166; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 166; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 166; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st166; st166: if ( ++p == pe ) goto _test_eof166; case 166: #line 23304 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 72: goto st26; case 78: goto st30; case 83: goto st38; case 104: goto st26; case 110: goto st30; case 115: goto st38; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr102: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 167; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 167; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 167; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 167; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 167; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 167; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 167; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 167; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 167; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 167; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 167; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 167; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 167; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 167; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 167; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 167; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 167; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 167; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 167; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 167; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 167; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 167; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 167; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 167; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 167; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 167; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 167; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st167; st167: if ( ++p == pe ) goto _test_eof167; case 167: #line 23424 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 85: goto st40; case 117: goto st40; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr103: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 168; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 168; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 168; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 168; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 168; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 168; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 168; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 168; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 168; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 168; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 168; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 168; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 168; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 168; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 168; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 168; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 168; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 168; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 168; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 168; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 168; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 168; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 168; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 168; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 168; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 168; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 168; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st168; st168: if ( ++p == pe ) goto _test_eof168; case 168: #line 23540 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 73: goto st47; case 105: goto st47; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr104: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 169; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 169; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 169; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 169; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 169; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 169; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 169; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 169; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 169; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 169; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 169; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 169; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 169; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 169; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 169; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 169; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 169; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 169; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 169; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 169; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 169; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 169; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 169; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 169; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 169; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 169; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 169; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st169; st169: if ( ++p == pe ) goto _test_eof169; case 169: #line 23656 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 78: goto st130; case 80: goto st55; case 110: goto st130; case 112: goto st55; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr105: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 170; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 170; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 170; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 170; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 170; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 170; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 170; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 170; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 170; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 170; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 170; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 170; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 170; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 170; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 170; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 170; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 170; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 170; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 170; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 170; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 170; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 170; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 170; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 170; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 170; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 170; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 170; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st170; st170: if ( ++p == pe ) goto _test_eof170; case 170: #line 23774 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 69: goto st63; case 88: goto st65; case 101: goto st63; case 120: goto st65; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr106: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 171; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 171; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 171; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 171; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 171; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 171; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 171; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 171; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 171; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 171; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 171; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 171; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 171; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 171; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 171; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 171; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 171; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 171; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 171; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 171; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 171; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 171; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 171; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 171; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 171; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 171; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 171; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st171; st171: if ( ++p == pe ) goto _test_eof171; case 171: #line 23892 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 51: goto st67; case 54: goto st69; case 79: goto st71; case 80: goto st73; case 111: goto st71; case 112: goto st73; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr107: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 172; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 172; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 172; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 172; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 172; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 172; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 172; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 172; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 172; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 172; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 172; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 172; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 172; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 172; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 172; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 172; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 172; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 172; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 172; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 172; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 172; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 172; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 172; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 172; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 172; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 172; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 172; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st172; st172: if ( ++p == pe ) goto _test_eof172; case 172: #line 24012 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 73: goto st75; case 88: goto st79; case 105: goto st75; case 120: goto st79; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr108: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 173; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 173; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 173; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 173; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 173; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 173; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 173; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 173; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 173; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 173; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 173; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 173; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 173; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 173; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 173; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 173; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 173; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 173; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 173; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 173; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 173; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 173; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 173; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 173; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 173; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 173; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 173; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st173; st173: if ( ++p == pe ) goto _test_eof173; case 173: #line 24130 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 65: goto st81; case 73: goto st85; case 83: goto st87; case 97: goto st81; case 105: goto st85; case 115: goto st87; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr109: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 174; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 174; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 174; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 174; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 174; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 174; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 174; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 174; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 174; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 174; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 174; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 174; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 174; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 174; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 174; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 174; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 174; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 174; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 174; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 174; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 174; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 174; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 174; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 174; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 174; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 174; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 174; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st174; st174: if ( ++p == pe ) goto _test_eof174; case 174: #line 24250 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 84: goto st97; case 116: goto st97; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr110: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 175; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 175; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 175; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 175; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 175; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 175; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 175; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 175; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 175; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 175; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 175; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 175; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 175; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 175; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 175; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 175; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 175; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 175; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 175; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 175; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 175; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 175; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 175; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 175; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 175; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 175; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 175; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st175; st175: if ( ++p == pe ) goto _test_eof175; case 175: #line 24366 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 80: goto st100; case 82: goto st101; case 84: goto st105; case 112: goto st100; case 114: goto st101; case 116: goto st105; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr111: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 176; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 176; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 176; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 176; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 176; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 176; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 176; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 176; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 176; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 176; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 176; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 176; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 176; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 176; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 176; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 176; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 176; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 176; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 176; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 176; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 176; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 176; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 176; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 176; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 176; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 176; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 176; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st176; st176: if ( ++p == pe ) goto _test_eof176; case 176: #line 24486 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 79: goto st107; case 80: goto st109; case 82: goto st111; case 83: goto st113; case 111: goto st107; case 112: goto st109; case 114: goto st111; case 115: goto st113; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr112: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 177; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 177; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 177; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 177; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 177; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 177; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 177; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 177; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 177; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 177; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 177; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 177; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 177; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 177; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 177; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 177; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 177; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 177; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 177; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 177; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 177; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 177; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 177; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 177; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 177; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 177; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 177; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st177; st177: if ( ++p == pe ) goto _test_eof177; case 177: #line 24608 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 76: goto st118; case 88: goto st121; case 89: goto st123; case 108: goto st118; case 120: goto st121; case 121: goto st123; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr653; tr713: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st178; tr3209: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st178; st178: if ( ++p == pe ) goto _test_eof178; case 178: #line 24665 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr81; case 1034: goto tr680; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st178; } else if ( _widec >= 640 ) goto st8; goto tr77; tr113: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1064; tr680: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1064; tr712: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1064; tr3148: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1064; st1064: if ( ++p == pe ) goto _test_eof1064; case 1064: #line 24762 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr3142; case 32: goto tr3142; case 36: goto tr3143; case 40: goto tr3144; case 41: goto tr3145; case 42: goto tr3146; case 58: goto tr67; case 65: goto tr3213; case 67: goto tr3214; case 68: goto tr3215; case 69: goto tr3216; case 72: goto tr3217; case 73: goto tr3218; case 75: goto tr3219; case 76: goto tr3220; case 77: goto tr3221; case 78: goto tr3222; case 80: goto tr3223; case 82: goto tr3224; case 83: goto tr3225; case 84: goto tr3226; case 92: goto tr3147; case 95: goto tr3146; case 97: goto tr3213; case 99: goto tr3214; case 100: goto tr3215; case 101: goto tr3216; case 104: goto tr3217; case 105: goto tr3218; case 107: goto tr3219; case 108: goto tr3220; case 109: goto tr3221; case 110: goto tr3222; case 112: goto tr3223; case 114: goto tr3224; case 115: goto tr3225; case 116: goto tr3226; case 1802: goto tr19; case 1851: goto st137; case 2058: goto tr3148; case 2107: goto tr3149; case 2314: goto tr115; case 2363: goto tr116; case 2570: goto tr3150; case 2619: goto tr3151; } if ( _widec < 60 ) { if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 44 ) { if ( _widec > 47 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr3212; } else if ( _widec >= 45 ) goto tr3146; } else goto tr67; } else if ( _widec > 63 ) { if ( _widec < 91 ) { if ( 64 <= _widec && _widec <= 90 ) goto tr3146; } else if ( _widec > 96 ) { if ( _widec > 122 ) { if ( 123 <= _widec ) goto tr67; } else if ( _widec >= 98 ) goto tr3146; } else goto tr67; } else goto tr67; goto tr3211; tr3143: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 179; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 179; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 179; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 179; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 179; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 179; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 179; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 179; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 179; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 179; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 179; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 179; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 179; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 179; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 179; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 179; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 179; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 179; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 179; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 179; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 179; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 179; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 179; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 179; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 179; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 179; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 179; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st179; st179: if ( ++p == pe ) goto _test_eof179; case 179: #line 24937 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st7; case 32: goto st7; case 40: goto tr79; case 41: goto tr80; case 73: goto tr592; case 79: goto tr593; case 84: goto tr594; case 105: goto tr592; case 111: goto tr593; case 116: goto tr594; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } goto tr681; tr593: #line 700 "./scanner_body.rl" { s->stop = true; } goto st180; st180: if ( ++p == pe ) goto _test_eof180; case 180: #line 24979 "scanner.c" switch( (*p) ) { case 82: goto st181; case 114: goto st181; } goto tr591; st181: if ( ++p == pe ) goto _test_eof181; case 181: switch( (*p) ) { case 73: goto st182; case 105: goto st182; } goto tr591; st182: if ( ++p == pe ) goto _test_eof182; case 182: switch( (*p) ) { case 71: goto st183; case 103: goto st183; } goto tr591; st183: if ( ++p == pe ) goto _test_eof183; case 183: switch( (*p) ) { case 73: goto st184; case 105: goto st184; } goto tr591; st184: if ( ++p == pe ) goto _test_eof184; case 184: switch( (*p) ) { case 78: goto st185; case 110: goto st185; } goto tr591; st185: if ( ++p == pe ) goto _test_eof185; case 185: switch( (*p) ) { case 32: goto tr687; case 59: goto tr687; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr687; } else if ( (*p) >= 9 ) goto tr687; goto tr591; tr594: #line 700 "./scanner_body.rl" { s->stop = true; } goto st186; st186: if ( ++p == pe ) goto _test_eof186; case 186: #line 25045 "scanner.c" switch( (*p) ) { case 84: goto st187; case 116: goto st187; } goto tr591; st187: if ( ++p == pe ) goto _test_eof187; case 187: switch( (*p) ) { case 76: goto st188; case 108: goto st188; } goto tr591; st188: if ( ++p == pe ) goto _test_eof188; case 188: switch( (*p) ) { case 32: goto tr690; case 59: goto tr690; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr690; } else if ( (*p) >= 9 ) goto tr690; goto tr591; tr3146: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 189; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 189; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 189; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 189; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 189; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 189; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 189; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 189; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 189; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 189; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 189; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 189; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 189; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 189; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 189; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 189; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 189; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 189; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 189; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 189; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 189; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 189; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 189; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 189; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 189; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 189; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 189; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 189; goto st248;} } goto st189; st189: if ( ++p == pe ) goto _test_eof189; case 189: #line 25161 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr691; tr3212: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 190; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 190; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 190; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 190; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 190; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 190; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 190; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 190; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 190; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 190; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 190; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 190; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 190; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 190; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 190; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 190; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 190; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 190; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 190; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 190; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 190; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 190; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 190; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 190; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 190; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 190; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 190; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 190; goto st248;} } goto st190; st190: if ( ++p == pe ) goto _test_eof190; case 190: #line 25293 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr698; case 32: goto tr698; case 40: goto tr699; case 41: goto tr700; case 68: goto tr28; case 72: goto tr29; case 77: goto tr30; case 83: goto st152; case 87: goto tr32; case 100: goto tr28; case 104: goto tr29; case 109: goto tr30; case 115: goto st152; case 119: goto tr32; case 778: goto tr81; case 827: goto st8; case 1034: goto tr701; case 1083: goto tr702; } if ( 48 <= _widec && _widec <= 57 ) goto tr27; goto tr697; tr704: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st191; tr705: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st191; tr698: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st191; tr699: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st191; tr700: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st191; st191: if ( ++p == pe ) goto _test_eof191; case 191: #line 25416 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st191; case 32: goto st191; case 40: goto tr704; case 41: goto tr705; 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 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 778: goto tr81; case 827: goto st8; case 1034: goto tr706; case 1083: goto st192; } if ( 48 <= _widec && _widec <= 57 ) goto tr4; goto tr0; tr702: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st192; st192: if ( ++p == pe ) goto _test_eof192; case 192: #line 25491 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr81; case 1034: goto tr706; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st192; } else if ( _widec >= 640 ) goto st8; goto tr125; tr3213: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 193; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 193; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 193; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 193; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 193; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 193; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 193; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 193; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 193; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 193; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 193; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 193; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 193; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 193; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 193; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 193; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 193; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 193; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 193; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 193; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 193; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 193; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 193; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 193; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 193; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 193; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 193; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 193; goto st248;} } goto st193; st193: if ( ++p == pe ) goto _test_eof193; case 193: #line 25618 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr709; case 32: goto tr709; case 40: goto tr710; case 41: goto tr711; case 65: goto st213; case 70: goto st216; case 80: goto st220; case 97: goto st213; case 102: goto st216; case 112: goto st220; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr712; case 2107: goto tr713; case 2314: goto tr659; case 2363: goto tr660; case 2570: goto tr714; case 2619: goto tr715; } goto tr708; tr717: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st194; tr718: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st194; tr709: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st194; tr710: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st194; tr711: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st194; st194: if ( ++p == pe ) goto _test_eof194; case 194: #line 25736 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st194; case 32: goto st194; case 40: goto tr717; case 41: goto tr718; case 58: goto tr67; case 65: goto tr99; case 67: goto tr100; case 68: goto tr101; case 69: goto tr102; case 72: goto tr103; case 73: goto tr104; case 75: goto tr105; case 76: goto tr106; case 77: goto tr107; case 78: goto tr108; case 80: goto tr109; case 82: goto tr110; case 83: goto tr111; case 84: goto tr112; case 92: goto st9; case 97: goto tr99; case 99: goto tr100; case 100: goto tr101; case 101: goto tr102; case 104: goto tr103; case 105: goto tr104; case 107: goto tr105; case 108: goto tr106; case 109: goto tr107; case 110: goto tr108; case 112: goto tr109; case 114: goto tr110; case 115: goto tr111; case 116: goto tr112; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr680; case 2107: goto st178; case 2314: goto tr90; case 2363: goto tr91; case 2570: goto tr719; case 2619: goto tr679; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 47 ) { if ( _widec > 57 ) { if ( 60 <= _widec ) goto tr67; } else if ( _widec >= 48 ) goto tr98; } else goto tr67; goto tr95; tr117: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1065; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1065; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1065; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1065; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1065; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1065; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1065; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1065; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1065; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1065; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1065; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1065; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1065; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1065; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1065; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1065; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1065; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1065; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1065; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1065; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1065; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1065; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1065; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1065; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1065; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1065; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1065; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st1065; tr719: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1065; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1065; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1065; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1065; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1065; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1065; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1065; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1065; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1065; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1065; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1065; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1065; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1065; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1065; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1065; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1065; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1065; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1065; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1065; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1065; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1065; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1065; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1065; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1065; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1065; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1065; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1065; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1065; tr714: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1065; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1065; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1065; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1065; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1065; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1065; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1065; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1065; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1065; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1065; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1065; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1065; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1065; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1065; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1065; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1065; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1065; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1065; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1065; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1065; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1065; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1065; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1065; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1065; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1065; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1065; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1065; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 1899 "./scanner_body.rl" { if (rdata_tail - s->r_data > UINT16_MAX) { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } s->r_data_length = rdata_tail - s->r_data; s->process_record(s); } goto st1065; tr3150: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 1065; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 1065; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 1065; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 1065; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 1065; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 1065; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 1065; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 1065; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 1065; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 1065; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 1065; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 1065; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 1065; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 1065; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 1065; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 1065; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 1065; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 1065; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 1065; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 1065; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 1065; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 1065; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 1065; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 1065; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 1065; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 1065; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 1065; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st1065; st1065: if ( ++p == pe ) goto _test_eof1065; case 1065: #line 26174 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr3206; case 32: goto tr3206; case 36: goto tr3143; case 40: goto tr3207; case 41: goto tr3208; case 42: goto tr3146; case 58: goto tr67; case 65: goto tr3213; case 67: goto tr3214; case 68: goto tr3215; case 69: goto tr3216; case 72: goto tr3217; case 73: goto tr3218; case 75: goto tr3219; case 76: goto tr3220; case 77: goto tr3221; case 78: goto tr3222; case 80: goto tr3223; case 82: goto tr3224; case 83: goto tr3225; case 84: goto tr3226; case 92: goto tr3147; case 95: goto tr3146; case 97: goto tr3213; case 99: goto tr3214; case 100: goto tr3215; case 101: goto tr3216; case 104: goto tr3217; case 105: goto tr3218; case 107: goto tr3219; case 108: goto tr3220; case 109: goto tr3221; case 110: goto tr3222; case 112: goto tr3223; case 114: goto tr3224; case 115: goto tr3225; case 116: goto tr3226; case 1802: goto tr81; case 1851: goto st8; case 2058: goto tr3227; case 2107: goto tr3209; case 2314: goto tr90; case 2363: goto tr91; case 2570: goto tr3227; case 2619: goto tr3210; } if ( _widec < 60 ) { if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr67; } else if ( _widec > 44 ) { if ( _widec > 47 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr3212; } else if ( _widec >= 45 ) goto tr3146; } else goto tr67; } else if ( _widec > 63 ) { if ( _widec < 91 ) { if ( 64 <= _widec && _widec <= 90 ) goto tr3146; } else if ( _widec > 96 ) { if ( _widec > 122 ) { if ( 123 <= _widec ) goto tr67; } else if ( _widec >= 98 ) goto tr3146; } else goto tr67; } else goto tr67; goto tr3211; tr3214: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 195; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 195; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 195; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 195; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 195; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 195; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 195; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 195; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 195; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 195; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 195; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 195; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 195; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 195; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 195; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 195; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 195; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 195; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 195; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 195; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 195; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 195; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 195; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 195; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 195; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 195; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 195; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 195; goto st248;} } goto st195; st195: if ( ++p == pe ) goto _test_eof195; case 195: #line 26364 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 69: goto st17; case 78: goto st21; case 101: goto st17; case 110: goto st21; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3215: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 196; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 196; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 196; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 196; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 196; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 196; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 196; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 196; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 196; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 196; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 196; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 196; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 196; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 196; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 196; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 196; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 196; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 196; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 196; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 196; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 196; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 196; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 196; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 196; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 196; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 196; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 196; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 196; goto st248;} } goto st196; st196: if ( ++p == pe ) goto _test_eof196; case 196: #line 26489 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 72: goto st26; case 78: goto st30; case 83: goto st38; case 104: goto st26; case 110: goto st30; case 115: goto st38; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3216: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 197; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 197; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 197; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 197; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 197; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 197; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 197; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 197; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 197; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 197; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 197; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 197; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 197; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 197; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 197; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 197; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 197; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 197; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 197; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 197; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 197; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 197; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 197; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 197; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 197; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 197; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 197; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 197; goto st248;} } goto st197; st197: if ( ++p == pe ) goto _test_eof197; case 197: #line 26616 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 85: goto st40; case 117: goto st40; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3217: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 198; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 198; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 198; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 198; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 198; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 198; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 198; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 198; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 198; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 198; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 198; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 198; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 198; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 198; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 198; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 198; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 198; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 198; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 198; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 198; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 198; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 198; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 198; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 198; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 198; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 198; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 198; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 198; goto st248;} } goto st198; st198: if ( ++p == pe ) goto _test_eof198; case 198: #line 26739 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 73: goto st47; case 105: goto st47; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3218: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 199; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 199; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 199; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 199; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 199; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 199; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 199; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 199; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 199; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 199; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 199; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 199; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 199; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 199; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 199; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 199; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 199; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 199; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 199; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 199; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 199; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 199; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 199; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 199; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 199; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 199; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 199; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 199; goto st248;} } goto st199; st199: if ( ++p == pe ) goto _test_eof199; case 199: #line 26862 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 78: goto st130; case 80: goto st55; case 110: goto st130; case 112: goto st55; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3219: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 200; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 200; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 200; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 200; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 200; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 200; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 200; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 200; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 200; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 200; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 200; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 200; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 200; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 200; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 200; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 200; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 200; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 200; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 200; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 200; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 200; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 200; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 200; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 200; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 200; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 200; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 200; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 200; goto st248;} } goto st200; st200: if ( ++p == pe ) goto _test_eof200; case 200: #line 26987 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 69: goto st63; case 88: goto st65; case 101: goto st63; case 120: goto st65; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3220: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 201; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 201; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 201; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 201; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 201; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 201; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 201; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 201; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 201; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 201; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 201; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 201; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 201; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 201; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 201; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 201; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 201; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 201; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 201; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 201; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 201; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 201; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 201; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 201; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 201; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 201; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 201; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 201; goto st248;} } goto st201; st201: if ( ++p == pe ) goto _test_eof201; case 201: #line 27112 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 51: goto st67; case 54: goto st69; case 79: goto st71; case 80: goto st73; case 111: goto st71; case 112: goto st73; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3221: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 202; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 202; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 202; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 202; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 202; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 202; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 202; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 202; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 202; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 202; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 202; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 202; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 202; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 202; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 202; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 202; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 202; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 202; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 202; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 202; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 202; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 202; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 202; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 202; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 202; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 202; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 202; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 202; goto st248;} } goto st202; st202: if ( ++p == pe ) goto _test_eof202; case 202: #line 27239 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 73: goto st75; case 88: goto st79; case 105: goto st75; case 120: goto st79; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3222: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 203; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 203; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 203; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 203; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 203; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 203; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 203; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 203; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 203; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 203; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 203; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 203; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 203; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 203; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 203; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 203; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 203; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 203; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 203; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 203; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 203; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 203; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 203; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 203; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 203; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 203; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 203; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 203; goto st248;} } goto st203; st203: if ( ++p == pe ) goto _test_eof203; case 203: #line 27364 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 65: goto st81; case 73: goto st85; case 83: goto st87; case 97: goto st81; case 105: goto st85; case 115: goto st87; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3223: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 204; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 204; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 204; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 204; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 204; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 204; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 204; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 204; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 204; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 204; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 204; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 204; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 204; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 204; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 204; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 204; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 204; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 204; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 204; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 204; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 204; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 204; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 204; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 204; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 204; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 204; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 204; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 204; goto st248;} } goto st204; st204: if ( ++p == pe ) goto _test_eof204; case 204: #line 27491 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 84: goto st97; case 116: goto st97; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3224: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 205; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 205; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 205; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 205; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 205; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 205; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 205; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 205; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 205; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 205; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 205; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 205; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 205; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 205; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 205; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 205; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 205; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 205; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 205; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 205; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 205; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 205; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 205; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 205; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 205; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 205; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 205; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 205; goto st248;} } goto st205; st205: if ( ++p == pe ) goto _test_eof205; case 205: #line 27614 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 80: goto st100; case 82: goto st101; case 84: goto st105; case 112: goto st100; case 114: goto st101; case 116: goto st105; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3225: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 206; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 206; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 206; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 206; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 206; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 206; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 206; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 206; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 206; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 206; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 206; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 206; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 206; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 206; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 206; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 206; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 206; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 206; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 206; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 206; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 206; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 206; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 206; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 206; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 206; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 206; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 206; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 206; goto st248;} } goto st206; st206: if ( ++p == pe ) goto _test_eof206; case 206: #line 27741 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 79: goto st107; case 80: goto st109; case 82: goto st111; case 83: goto st113; case 111: goto st107; case 112: goto st109; case 114: goto st111; case 115: goto st113; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3226: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 207; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 207; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 207; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 207; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 207; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 207; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 207; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 207; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 207; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 207; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 207; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 207; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 207; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 207; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 207; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 207; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 207; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 207; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 207; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 207; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 207; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 207; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 207; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 207; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 207; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 207; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 207; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 207; goto st248;} } goto st207; st207: if ( ++p == pe ) goto _test_eof207; case 207: #line 27870 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr692; case 32: goto tr692; case 40: goto tr693; case 41: goto tr694; case 76: goto st118; case 88: goto st121; case 89: goto st123; case 108: goto st118; case 120: goto st121; case 121: goto st123; case 778: goto tr81; case 827: goto st8; case 1034: goto tr695; case 1083: goto tr696; } goto tr708; tr3147: #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 208; goto st248;} } goto st208; st208: if ( ++p == pe ) goto _test_eof208; case 208: #line 27915 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr720; case 32: goto tr720; case 35: goto tr85; case 40: goto tr722; case 41: goto tr723; case 778: goto tr84; case 827: goto tr84; case 1034: goto tr724; case 1083: goto tr725; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr84; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr84; } else goto tr84; goto tr721; tr720: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1843 "./scanner_body.rl" { p--; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 209; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 209; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 209; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 209; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 209; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 209; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 209; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 209; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 209; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 209; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 209; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 209; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 209; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 209; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 209; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 209; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 209; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 209; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 209; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 209; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 209; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 209; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 209; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 209; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 209; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 209; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 209; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st209; tr722: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } #line 1843 "./scanner_body.rl" { p--; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 209; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 209; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 209; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 209; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 209; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 209; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 209; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 209; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 209; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 209; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 209; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 209; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 209; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 209; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 209; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 209; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 209; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 209; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 209; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 209; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 209; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 209; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 209; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 209; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 209; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 209; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 209; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st209; tr723: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } #line 1843 "./scanner_body.rl" { p--; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 209; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 209; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 209; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 209; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 209; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 209; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 209; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 209; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 209; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 209; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 209; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 209; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 209; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 209; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 209; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 209; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 209; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 209; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 209; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 209; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 209; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 209; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 209; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 209; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 209; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 209; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 209; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st209; tr724: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1843 "./scanner_body.rl" { p--; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 209; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 209; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 209; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 209; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 209; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 209; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 209; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 209; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 209; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 209; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 209; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 209; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 209; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 209; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 209; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 209; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 209; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 209; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 209; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 209; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 209; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 209; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 209; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 209; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 209; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 209; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 209; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st209; st209: if ( ++p == pe ) goto _test_eof209; case 209: #line 28302 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st160; case 32: goto st160; case 40: goto tr668; case 41: goto tr669; 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 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 778: goto tr81; case 827: goto st8; case 1034: goto tr670; case 1083: goto st161; } if ( 48 <= _widec && _widec <= 57 ) goto tr4; goto tr95; tr725: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1843 "./scanner_body.rl" { p--; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 210; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 210; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 210; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 210; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 210; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 210; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 210; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 210; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 210; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 210; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 210; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 210; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 210; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 210; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 210; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 210; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 210; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 210; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 210; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 210; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 210; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 210; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 210; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 210; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 210; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 210; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 210; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st210; st210: if ( ++p == pe ) goto _test_eof210; case 210: #line 28444 "scanner.c" _widec = (*p); if ( (*p) < 11 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 58 ) { if ( (*p) > 59 ) { if ( 60 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 777: goto st7; case 778: goto tr81; case 800: goto st7; case 808: goto tr79; case 809: goto tr80; case 827: goto st8; case 1033: goto st211; case 1034: goto tr670; case 1056: goto st211; case 1064: goto tr727; case 1065: goto tr728; case 1083: goto st161; } if ( 896 <= _widec && _widec <= 1151 ) goto st148; goto tr77; tr727: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st211; tr728: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st211; st211: if ( ++p == pe ) goto _test_eof211; case 211: #line 28521 "scanner.c" _widec = (*p); if ( (*p) < 11 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 58 ) { if ( (*p) > 59 ) { if ( 60 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 777: goto st7; case 778: goto tr81; case 800: goto st7; case 808: goto tr79; case 809: goto tr80; case 827: goto st8; case 1033: goto st211; case 1034: goto tr670; case 1056: goto st211; case 1064: goto tr727; case 1065: goto tr728; case 1083: goto st161; } if ( 896 <= _widec && _widec <= 1151 ) goto st148; goto tr83; tr730: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st212; tr731: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st212; tr679: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 212; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 212; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 212; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 212; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 212; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 212; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 212; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 212; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 212; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 212; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 212; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 212; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 212; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 212; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 212; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 212; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 212; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 212; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 212; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 212; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 212; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 212; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 212; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 212; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 212; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 212; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 212; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st212; tr715: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 212; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 212; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 212; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 212; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 212; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 212; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 212; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 212; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 212; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 212; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 212; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 212; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 212; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 212; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 212; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 212; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 212; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 212; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 212; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 212; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 212; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 212; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 212; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 212; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 212; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 212; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 212; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st212; tr3210: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 212; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 212; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 212; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 212; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 212; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 212; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 212; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 212; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 212; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 212; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 212; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 212; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 212; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 212; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 212; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 212; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 212; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 212; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 212; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 212; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 212; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 212; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 212; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 212; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 212; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 212; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 212; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st212; st212: if ( ++p == pe ) goto _test_eof212; case 212: #line 28843 "scanner.c" _widec = (*p); if ( (*p) < 11 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 58 ) { if ( (*p) > 59 ) { if ( 60 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 777: goto st163; case 778: goto tr81; case 800: goto st163; case 808: goto tr673; case 809: goto tr674; case 1033: goto st212; case 1034: goto tr670; case 1056: goto st212; case 1064: goto tr730; case 1065: goto tr731; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st178; } else if ( _widec >= 640 ) goto st8; goto tr77; st213: if ( ++p == pe ) goto _test_eof213; case 213: switch( (*p) ) { case 65: goto st214; case 97: goto st214; } goto tr35; st214: if ( ++p == pe ) goto _test_eof214; case 214: switch( (*p) ) { case 65: goto st215; case 97: goto st215; } goto tr35; st215: if ( ++p == pe ) goto _test_eof215; case 215: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr734; case 32: goto tr734; case 40: goto tr735; case 41: goto tr736; case 2058: goto tr737; case 2107: goto tr738; case 2314: goto tr739; case 2363: goto tr739; case 2570: goto tr740; case 2619: goto tr741; } goto tr55; st216: if ( ++p == pe ) goto _test_eof216; case 216: switch( (*p) ) { case 83: goto st217; case 115: goto st217; } goto tr35; st217: if ( ++p == pe ) goto _test_eof217; case 217: switch( (*p) ) { case 68: goto st218; case 100: goto st218; } goto tr35; st218: if ( ++p == pe ) goto _test_eof218; case 218: switch( (*p) ) { case 66: goto st219; case 98: goto st219; } goto tr35; st219: if ( ++p == pe ) goto _test_eof219; case 219: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr745; case 32: goto tr745; case 40: goto tr746; case 41: goto tr747; case 2058: goto tr748; case 2107: goto tr749; case 2314: goto tr750; case 2363: goto tr750; case 2570: goto tr751; case 2619: goto tr752; } goto tr55; st220: if ( ++p == pe ) goto _test_eof220; case 220: switch( (*p) ) { case 76: goto st221; case 108: goto st221; } goto tr35; st221: if ( ++p == pe ) goto _test_eof221; case 221: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr754; case 32: goto tr754; case 40: goto tr755; case 41: goto tr756; case 2058: goto tr757; case 2107: goto tr758; case 2314: goto tr759; case 2363: goto tr759; case 2570: goto tr760; case 2619: goto tr761; } goto tr55; tr3149: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st222; st222: if ( ++p == pe ) goto _test_eof222; case 222: #line 29075 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr19; case 1034: goto tr113; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st222; } else if ( _widec >= 640 ) goto st137; goto tr77; tr116: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 223; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 223; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 223; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 223; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 223; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 223; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 223; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 223; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 223; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 223; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 223; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 223; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 223; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 223; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 223; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 223; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 223; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 223; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 223; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 223; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 223; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 223; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 223; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 223; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 223; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 223; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 223; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st223; st223: if ( ++p == pe ) goto _test_eof223; case 223: #line 29187 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st224; case 32: goto st224; case 40: goto tr763; case 41: goto tr764; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto st137; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto st137; } else goto st137; goto tr77; tr763: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st224; tr764: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st224; st224: if ( ++p == pe ) goto _test_eof224; case 224: #line 29245 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st224; case 32: goto st224; case 40: goto tr763; case 41: goto tr764; case 778: goto tr81; case 827: goto st8; case 1034: goto tr81; case 1083: goto st8; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto st137; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto st137; } else goto st137; goto tr83; tr766: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st225; tr767: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st225; tr118: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 225; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 225; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 225; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 225; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 225; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 225; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 225; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 225; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 225; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 225; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 225; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 225; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 225; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 225; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 225; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 225; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 225; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 225; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 225; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 225; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 225; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 225; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 225; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 225; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 225; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 225; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 225; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st225; tr3151: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 225; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 225; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 225; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 225; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 225; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 225; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 225; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 225; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 225; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 225; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 225; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 225; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 225; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 225; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 225; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 225; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 225; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 225; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 225; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 225; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 225; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 225; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 225; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 225; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 225; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 225; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 225; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st225; st225: if ( ++p == pe ) goto _test_eof225; case 225: #line 29462 "scanner.c" _widec = (*p); if ( (*p) < 11 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 58 ) { if ( (*p) > 59 ) { if ( 60 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 777: goto st224; case 778: goto tr81; case 800: goto st224; case 808: goto tr763; case 809: goto tr764; case 827: goto st8; case 1033: goto st225; case 1034: goto tr670; case 1056: goto st225; case 1064: goto tr766; case 1065: goto tr767; case 1083: goto st178; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st222; } else if ( _widec >= 640 ) goto st137; goto tr77; tr769: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st226; tr770: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st226; tr662: #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 226; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 226; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 226; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 226; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 226; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 226; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 226; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 226; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 226; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 226; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 226; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 226; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 226; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 226; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 226; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 226; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 226; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 226; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 226; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 226; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 226; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 226; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 226; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 226; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 226; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 226; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 226; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st226; tr92: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 226; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 226; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 226; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 226; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 226; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 226; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 226; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 226; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 226; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 226; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 226; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 226; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 226; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 226; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 226; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 226; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 226; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 226; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 226; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 226; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 226; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 226; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 226; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 226; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 226; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 226; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 226; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st226; st226: if ( ++p == pe ) goto _test_eof226; case 226: #line 29700 "scanner.c" _widec = (*p); if ( (*p) < 11 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 58 ) { if ( (*p) > 59 ) { if ( 60 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 777: goto st163; case 778: goto tr81; case 800: goto st163; case 808: goto tr673; case 809: goto tr674; case 1033: goto st226; case 1034: goto tr81; case 1056: goto st226; case 1064: goto tr769; case 1065: goto tr770; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st12; } else if ( _widec >= 640 ) goto st8; goto tr77; tr643: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } goto st227; st227: if ( ++p == pe ) goto _test_eof227; case 227: #line 29770 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr649; if ( 896 <= _widec && _widec <= 1151 ) goto st227; goto tr69; tr772: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st228; tr773: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st228; tr652: #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 228; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 228; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 228; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 228; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 228; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 228; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 228; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 228; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 228; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 228; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 228; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 228; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 228; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 228; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 228; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 228; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 228; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 228; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 228; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 228; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 228; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 228; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 228; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 228; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 228; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 228; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 228; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st228; tr645: #line 229 "./scanner_body.rl" { s->r_owner_length = s->dname_tmp_length; } #line 1856 "./scanner_body.rl" { s->r_type = KNOT_RRTYPE_A; } #line 1598 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 1719 "./scanner_body.rl" { p--; switch (s->r_type) { case KNOT_RRTYPE_A: {stack[top++] = 228; goto st589;} case KNOT_RRTYPE_NS: case KNOT_RRTYPE_CNAME: case KNOT_RRTYPE_PTR: case KNOT_RRTYPE_DNAME: {stack[top++] = 228; goto st591;} case KNOT_RRTYPE_SOA: {stack[top++] = 228; goto st593;} case KNOT_RRTYPE_HINFO: {stack[top++] = 228; goto st625;} case KNOT_RRTYPE_MINFO: case KNOT_RRTYPE_RP: {stack[top++] = 228; goto st630;} case KNOT_RRTYPE_MX: case KNOT_RRTYPE_AFSDB: case KNOT_RRTYPE_RT: case KNOT_RRTYPE_KX: case KNOT_RRTYPE_LP: {stack[top++] = 228; goto st635;} case KNOT_RRTYPE_TXT: case KNOT_RRTYPE_SPF: {stack[top++] = 228; goto st640;} case KNOT_RRTYPE_AAAA: {stack[top++] = 228; goto st644;} case KNOT_RRTYPE_LOC: {stack[top++] = 228; goto st646;} case KNOT_RRTYPE_SRV: {stack[top++] = 228; goto st701;} case KNOT_RRTYPE_NAPTR: {stack[top++] = 228; goto st712;} case KNOT_RRTYPE_CERT: {stack[top++] = 228; goto st729;} case KNOT_RRTYPE_APL: {stack[top++] = 228; goto st740;} case KNOT_RRTYPE_DS: {stack[top++] = 228; goto st751;} case KNOT_RRTYPE_SSHFP: {stack[top++] = 228; goto st764;} case KNOT_RRTYPE_IPSECKEY: {stack[top++] = 228; goto st774;} case KNOT_RRTYPE_RRSIG: {stack[top++] = 228; goto st813;} case KNOT_RRTYPE_NSEC: {stack[top++] = 228; goto st955;} case KNOT_RRTYPE_KEY: case KNOT_RRTYPE_DNSKEY: {stack[top++] = 228; goto st958;} case KNOT_RRTYPE_DHCID: {stack[top++] = 228; goto st969;} case KNOT_RRTYPE_NSEC3: {stack[top++] = 228; goto st971;} case KNOT_RRTYPE_NSEC3PARAM: {stack[top++] = 228; goto st1000;} case KNOT_RRTYPE_TLSA: {stack[top++] = 228; goto st1013;} case KNOT_RRTYPE_NID: case KNOT_RRTYPE_L64: {stack[top++] = 228; goto st1031;} case KNOT_RRTYPE_L32: {stack[top++] = 228; goto st1026;} case KNOT_RRTYPE_EUI48: {stack[top++] = 228; goto st1044;} case KNOT_RRTYPE_EUI64: {stack[top++] = 228; goto st1050;} default: WARN(ZSCANNER_ECANNOT_TEXT_DATA); {goto st246;} } } goto st228; st228: if ( ++p == pe ) goto _test_eof228; case 228: #line 29983 "scanner.c" _widec = (*p); if ( (*p) < 11 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 58 ) { if ( (*p) > 59 ) { if ( 60 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 777: goto st7; case 778: goto tr81; case 800: goto st7; case 808: goto tr79; case 809: goto tr80; case 827: goto st8; case 1033: goto st228; case 1034: goto tr670; case 1056: goto st228; case 1064: goto tr772; case 1065: goto tr773; case 1083: goto st178; } if ( 896 <= _widec && _widec <= 1151 ) goto st227; goto tr77; tr3157: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 229; goto st248;} } goto st229; tr3175: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 229; goto st248;} } goto st229; st229: if ( ++p == pe ) goto _test_eof229; case 229: #line 30070 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 69: goto st17; case 78: goto st21; case 101: goto st17; case 110: goto st21; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3158: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 230; goto st248;} } goto st230; tr3176: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 230; goto st248;} } goto st230; st230: if ( ++p == pe ) goto _test_eof230; case 230: #line 30132 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 72: goto st26; case 78: goto st30; case 83: goto st38; case 104: goto st26; case 110: goto st30; case 115: goto st38; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3159: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 231; goto st248;} } goto st231; tr3177: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 231; goto st248;} } goto st231; st231: if ( ++p == pe ) goto _test_eof231; case 231: #line 30196 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 85: goto st40; case 117: goto st40; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3160: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 232; goto st248;} } goto st232; tr3178: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 232; goto st248;} } goto st232; st232: if ( ++p == pe ) goto _test_eof232; case 232: #line 30256 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 73: goto st47; case 105: goto st47; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3179: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 233; goto st248;} } goto st233; st233: if ( ++p == pe ) goto _test_eof233; case 233: #line 30303 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 78: goto st130; case 80: goto st55; case 110: goto st130; case 112: goto st55; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3162: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 234; goto st248;} } goto st234; tr3180: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 234; goto st248;} } goto st234; st234: if ( ++p == pe ) goto _test_eof234; case 234: #line 30365 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 69: goto st63; case 88: goto st65; case 101: goto st63; case 120: goto st65; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3163: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 235; goto st248;} } goto st235; tr3181: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 235; goto st248;} } goto st235; st235: if ( ++p == pe ) goto _test_eof235; case 235: #line 30427 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 51: goto st67; case 54: goto st69; case 79: goto st71; case 80: goto st73; case 111: goto st71; case 112: goto st73; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3164: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 236; goto st248;} } goto st236; tr3182: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 236; goto st248;} } goto st236; st236: if ( ++p == pe ) goto _test_eof236; case 236: #line 30491 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 73: goto st75; case 88: goto st79; case 105: goto st75; case 120: goto st79; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3165: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 237; goto st248;} } goto st237; tr3183: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 237; goto st248;} } goto st237; st237: if ( ++p == pe ) goto _test_eof237; case 237: #line 30553 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 65: goto st81; case 73: goto st85; case 83: goto st87; case 97: goto st81; case 105: goto st85; case 115: goto st87; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3166: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 238; goto st248;} } goto st238; tr3184: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 238; goto st248;} } goto st238; st238: if ( ++p == pe ) goto _test_eof238; case 238: #line 30617 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 84: goto st97; case 116: goto st97; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3167: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 239; goto st248;} } goto st239; tr3185: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 239; goto st248;} } goto st239; st239: if ( ++p == pe ) goto _test_eof239; case 239: #line 30677 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 80: goto st100; case 82: goto st101; case 84: goto st105; case 112: goto st100; case 114: goto st101; case 116: goto st105; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3168: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 240; goto st248;} } goto st240; tr3186: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 240; goto st248;} } goto st240; st240: if ( ++p == pe ) goto _test_eof240; case 240: #line 30741 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 79: goto st107; case 80: goto st109; case 82: goto st111; case 83: goto st113; case 111: goto st107; case 112: goto st109; case 114: goto st111; case 115: goto st113; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3169: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 241; goto st248;} } goto st241; tr3187: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 723 "./scanner_body.rl" { s->r_ttl = s->default_ttl; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 241; goto st248;} } goto st241; st241: if ( ++p == pe ) goto _test_eof241; case 241: #line 30807 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 76: goto st118; case 88: goto st121; case 89: goto st123; case 108: goto st118; case 120: goto st121; case 121: goto st123; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr3141: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st242; tr3197: #line 704 "./scanner_body.rl" { s->stop = false; } #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st242; st242: if ( ++p == pe ) goto _test_eof242; case 242: #line 30863 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr19; case 1034: goto tr21; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st242; } else if ( _widec >= 640 ) goto st137; goto tr83; tr3171: #line 232 "./scanner_body.rl" { if (s->r_owner_length == 0) { WARN(ZSCANNER_EBAD_PREVIOUS_OWNER); p--; {goto st246;} } } goto st243; st243: if ( ++p == pe ) goto _test_eof243; case 243: #line 30908 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr19; case 1034: goto tr539; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st243; } else if ( _widec >= 640 ) goto st137; goto tr125; tr3161: #line 719 "./scanner_body.rl" { s->r_class = s->default_class; } #line 225 "./scanner_body.rl" { s->dname = s->r_owner; s->r_owner_length = 0; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 244; goto st248;} } goto st244; st244: if ( ++p == pe ) goto _test_eof244; case 244: #line 30957 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr603; case 32: goto tr603; case 40: goto tr604; case 41: goto tr605; case 78: goto st52; case 80: goto st55; case 110: goto st52; case 112: goto st55; case 1034: goto tr606; case 1083: goto tr607; } goto tr774; tr124: #line 731 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->r_ttl = (uint32_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st245; st245: if ( ++p == pe ) goto _test_eof245; case 245: #line 31000 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr81; case 1034: goto tr129; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st245; } else if ( _widec >= 640 ) goto st8; goto tr125; st246: if ( ++p == pe ) goto _test_eof246; case 246: if ( (*p) == 10 ) goto tr776; goto tr775; tr775: #line 67 "./scanner_body.rl" { s->buffer_length = 0; } #line 70 "./scanner_body.rl" { if ((*p) == '\r') { ERR(ZSCANNER_DOS_NEWLINE); } if (s->buffer_length < sizeof(s->buffer) - 1) { s->buffer[s->buffer_length++] = (*p); } } goto st247; tr777: #line 70 "./scanner_body.rl" { if ((*p) == '\r') { ERR(ZSCANNER_DOS_NEWLINE); } if (s->buffer_length < sizeof(s->buffer) - 1) { s->buffer[s->buffer_length++] = (*p); } } goto st247; st247: if ( ++p == pe ) goto _test_eof247; case 247: #line 31071 "scanner.c" if ( (*p) == 10 ) goto tr778; goto tr777; tr776: #line 67 "./scanner_body.rl" { s->buffer_length = 0; } #line 79 "./scanner_body.rl" { // Ending string in buffer. s->buffer[s->buffer_length++] = 0; // Error counter incrementation. s->error_counter++; // Initialization of fcall stack. top = 0; // Process error message. s->process_error(s); // Reset. s->error_code = ZSCANNER_OK; s->multiline = false; // In case of serious error, stop scanner. if (s->stop == true) { return -1; } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 104 "./scanner_body.rl" { {goto st1056;} } goto st1066; tr778: #line 79 "./scanner_body.rl" { // Ending string in buffer. s->buffer[s->buffer_length++] = 0; // Error counter incrementation. s->error_counter++; // Initialization of fcall stack. top = 0; // Process error message. s->process_error(s); // Reset. s->error_code = ZSCANNER_OK; s->multiline = false; // In case of serious error, stop scanner. if (s->stop == true) { return -1; } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 104 "./scanner_body.rl" { {goto st1056;} } goto st1066; st1066: if ( ++p == pe ) goto _test_eof1066; case 1066: #line 31145 "scanner.c" goto st0; st248: if ( ++p == pe ) goto _test_eof248; case 248: switch( (*p) ) { case 42: goto tr780; case 46: goto tr781; case 64: goto st256; case 92: goto tr783; case 95: goto tr780; } if ( (*p) < 65 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr780; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr780; } else goto tr780; goto tr779; tr780: #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st249; tr785: #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st249; tr789: #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st249; tr796: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st249; st249: if ( ++p == pe ) goto _test_eof249; case 249: #line 31238 "scanner.c" switch( (*p) ) { case 32: goto tr784; case 42: goto tr785; case 46: goto tr786; case 59: goto tr784; case 92: goto st251; case 95: goto tr785; } if ( (*p) < 45 ) { if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr784; } else if ( (*p) >= 9 ) goto tr784; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr785; } else if ( (*p) >= 65 ) goto tr785; } else goto tr785; goto tr779; tr784: #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } #line 169 "./scanner_body.rl" { memcpy(s->dname + s->dname_tmp_length, s->zone_origin, s->zone_origin_length); s->dname_tmp_length += s->zone_origin_length; if (s->dname_tmp_length > MAX_DNAME_LENGTH) { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1067; tr788: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1067; tr795: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } #line 169 "./scanner_body.rl" { memcpy(s->dname + s->dname_tmp_length, s->zone_origin, s->zone_origin_length); s->dname_tmp_length += s->zone_origin_length; if (s->dname_tmp_length > MAX_DNAME_LENGTH) { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1067; tr799: #line 181 "./scanner_body.rl" { memcpy(s->dname, s->zone_origin, s->zone_origin_length); s->dname_tmp_length = s->zone_origin_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1067; st1067: if ( ++p == pe ) goto _test_eof1067; case 1067: #line 31352 "scanner.c" goto st0; tr786: #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } goto st250; tr797: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } goto st250; st250: if ( ++p == pe ) goto _test_eof250; case 250: #line 31386 "scanner.c" switch( (*p) ) { case 32: goto tr788; case 42: goto tr789; case 45: goto tr789; case 59: goto tr788; case 92: goto tr790; case 95: goto tr789; } if ( (*p) < 47 ) { if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr788; } else if ( (*p) >= 9 ) goto tr788; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr789; } else if ( (*p) >= 65 ) goto tr789; } else goto tr789; goto tr779; tr783: #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } goto st251; tr790: #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } goto st251; tr798: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } goto st251; st251: if ( ++p == pe ) goto _test_eof251; case 251: #line 31439 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr791; goto tr785; tr791: #line 131 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length] = 0; s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st252; st252: if ( ++p == pe ) goto _test_eof252; case 252: #line 31464 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr793; goto tr792; tr793: #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st253; st253: if ( ++p == pe ) goto _test_eof253; case 253: #line 31479 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr794; goto tr792; tr794: #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st254; st254: if ( ++p == pe ) goto _test_eof254; case 254: #line 31494 "scanner.c" switch( (*p) ) { case 32: goto tr795; case 42: goto tr796; case 46: goto tr797; case 59: goto tr795; case 92: goto tr798; case 95: goto tr796; } if ( (*p) < 45 ) { if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr795; } else if ( (*p) >= 9 ) goto tr795; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr796; } else if ( (*p) >= 65 ) goto tr796; } else goto tr796; goto tr792; tr781: #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } goto st255; st255: if ( ++p == pe ) goto _test_eof255; case 255: #line 31529 "scanner.c" switch( (*p) ) { case 32: goto tr788; case 59: goto tr788; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr788; } else if ( (*p) >= 9 ) goto tr788; goto tr779; st256: if ( ++p == pe ) goto _test_eof256; case 256: switch( (*p) ) { case 32: goto tr799; case 59: goto tr799; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr799; } else if ( (*p) >= 9 ) goto tr799; goto tr779; st257: if ( ++p == pe ) goto _test_eof257; case 257: switch( (*p) ) { case 34: goto st263; case 92: goto st259; } if ( (*p) > 58 ) { if ( 60 <= (*p) && (*p) <= 126 ) goto tr801; } else if ( (*p) >= 33 ) goto tr801; goto tr800; tr801: #line 497 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *(rdata_tail++) = (*p); } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } goto st258; tr811: #line 536 "./scanner_body.rl" { rdata_tail++; } #line 497 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *(rdata_tail++) = (*p); } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } goto st258; st258: if ( ++p == pe ) goto _test_eof258; case 258: #line 31598 "scanner.c" switch( (*p) ) { case 32: goto tr804; case 33: goto tr801; case 59: goto tr804; case 92: goto st259; } if ( (*p) < 35 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr804; } else if ( (*p) > 39 ) { if ( (*p) > 41 ) { if ( 42 <= (*p) && (*p) <= 126 ) goto tr801; } else if ( (*p) >= 40 ) goto tr805; } else goto tr801; goto tr800; tr804: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1068; tr810: #line 536 "./scanner_body.rl" { rdata_tail++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1068; st1068: if ( ++p == pe ) goto _test_eof1068; case 1068: #line 31637 "scanner.c" goto st0; tr805: #line 497 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *(rdata_tail++) = (*p); } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1069; tr812: #line 536 "./scanner_body.rl" { rdata_tail++; } #line 497 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *(rdata_tail++) = (*p); } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1069; st1069: if ( ++p == pe ) goto _test_eof1069; case 1069: #line 31677 "scanner.c" switch( (*p) ) { case 32: goto tr804; case 33: goto tr801; case 59: goto tr804; case 92: goto st259; } if ( (*p) < 35 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr804; } else if ( (*p) > 39 ) { if ( (*p) > 41 ) { if ( 42 <= (*p) && (*p) <= 126 ) goto tr801; } else if ( (*p) >= 40 ) goto tr805; } else goto tr801; goto tr800; tr813: #line 536 "./scanner_body.rl" { rdata_tail++; } goto st259; st259: if ( ++p == pe ) goto _test_eof259; case 259: #line 31706 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr806; goto tr801; tr806: #line 514 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = 0; s->item_length++; } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } #line 523 "./scanner_body.rl" { if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. ((*p) <= (UINT8_MAX % 10) + ASCII_0) ) ) { *rdata_tail *= 10; *rdata_tail += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st260; st260: if ( ++p == pe ) goto _test_eof260; case 260: #line 31740 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr808; goto tr807; tr808: #line 523 "./scanner_body.rl" { if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. ((*p) <= (UINT8_MAX % 10) + ASCII_0) ) ) { *rdata_tail *= 10; *rdata_tail += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st261; st261: if ( ++p == pe ) goto _test_eof261; case 261: #line 31764 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr809; goto tr807; tr809: #line 523 "./scanner_body.rl" { if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. ((*p) <= (UINT8_MAX % 10) + ASCII_0) ) ) { *rdata_tail *= 10; *rdata_tail += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st262; st262: if ( ++p == pe ) goto _test_eof262; case 262: #line 31788 "scanner.c" switch( (*p) ) { case 32: goto tr810; case 33: goto tr811; case 59: goto tr810; case 92: goto tr813; } if ( (*p) < 35 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr810; } else if ( (*p) > 39 ) { if ( (*p) > 41 ) { if ( 42 <= (*p) && (*p) <= 126 ) goto tr811; } else if ( (*p) >= 40 ) goto tr812; } else goto tr811; goto tr807; tr814: #line 497 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *(rdata_tail++) = (*p); } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } goto st263; tr821: #line 536 "./scanner_body.rl" { rdata_tail++; } #line 497 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *(rdata_tail++) = (*p); } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } goto st263; st263: if ( ++p == pe ) goto _test_eof263; case 263: #line 31837 "scanner.c" _widec = (*p); if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(128 + ((*p) - -128)); if ( #line 555 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr814; case 34: goto st264; case 92: goto st265; case 522: goto tr814; } if ( 32 <= _widec && _widec <= 126 ) goto tr814; goto tr800; tr822: #line 536 "./scanner_body.rl" { rdata_tail++; } goto st264; st264: if ( ++p == pe ) goto _test_eof264; case 264: #line 31864 "scanner.c" switch( (*p) ) { case 32: goto tr804; case 59: goto tr804; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr804; } else if ( (*p) >= 9 ) goto tr804; goto tr817; tr823: #line 536 "./scanner_body.rl" { rdata_tail++; } goto st265; st265: if ( ++p == pe ) goto _test_eof265; case 265: #line 31885 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr818; goto tr814; tr818: #line 514 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = 0; s->item_length++; } else { WARN(ZSCANNER_ETEXT_OVERFLOW); p--; {goto st246;} } } #line 523 "./scanner_body.rl" { if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. ((*p) <= (UINT8_MAX % 10) + ASCII_0) ) ) { *rdata_tail *= 10; *rdata_tail += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st266; st266: if ( ++p == pe ) goto _test_eof266; case 266: #line 31919 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr819; goto tr807; tr819: #line 523 "./scanner_body.rl" { if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. ((*p) <= (UINT8_MAX % 10) + ASCII_0) ) ) { *rdata_tail *= 10; *rdata_tail += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st267; st267: if ( ++p == pe ) goto _test_eof267; case 267: #line 31943 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr820; goto tr807; tr820: #line 523 "./scanner_body.rl" { if ((*rdata_tail < (UINT8_MAX / 10)) || // Dominant fast check. ((*rdata_tail == (UINT8_MAX / 10)) && // Marginal case. ((*p) <= (UINT8_MAX % 10) + ASCII_0) ) ) { *rdata_tail *= 10; *rdata_tail += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st268; st268: if ( ++p == pe ) goto _test_eof268; case 268: #line 31967 "scanner.c" _widec = (*p); if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(128 + ((*p) - -128)); if ( #line 555 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr821; case 34: goto tr822; case 92: goto tr823; case 522: goto tr821; } if ( 32 <= _widec && _widec <= 126 ) goto tr821; goto tr807; st269: if ( ++p == pe ) goto _test_eof269; case 269: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st270; case 32: goto st270; case 40: goto tr826; case 41: goto tr827; case 1034: goto tr828; case 1083: goto st277; } goto tr824; tr826: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st270; tr827: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st270; tr828: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st270; st270: if ( ++p == pe ) goto _test_eof270; case 270: #line 32041 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st270; case 32: goto st270; case 40: goto tr826; case 41: goto tr827; case 1034: goto tr828; case 1083: goto st277; } if ( 48 <= _widec && _widec <= 57 ) goto tr831; goto tr830; tr831: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st271; tr836: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st271; st271: if ( ++p == pe ) goto _test_eof271; case 271: #line 32109 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st272; case 32: goto st272; case 40: goto tr834; case 41: goto tr835; case 68: goto tr837; case 72: goto tr838; case 77: goto tr839; case 83: goto st274; case 87: goto tr841; case 100: goto tr837; case 104: goto tr838; case 109: goto tr839; case 115: goto st274; case 119: goto tr841; case 778: goto tr842; case 827: goto st273; case 1034: goto tr842; case 1083: goto st273; } if ( 48 <= _widec && _widec <= 57 ) goto tr836; goto tr832; tr834: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st272; tr835: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st272; tr853: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st272; tr854: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st272; tr855: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st272; st272: if ( ++p == pe ) goto _test_eof272; case 272: #line 32220 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st272; case 32: goto st272; case 40: goto tr834; case 41: goto tr835; case 778: goto tr842; case 827: goto st273; case 1034: goto tr842; case 1083: goto st273; } goto tr844; tr842: #line 571 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->default_ttl = (uint32_t)(s->number64); } else { ERR(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1070; tr857: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 571 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { s->default_ttl = (uint32_t)(s->number64); } else { ERR(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1070; st1070: if ( ++p == pe ) goto _test_eof1070; case 1070: #line 32297 "scanner.c" goto st0; tr858: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st273; st273: if ( ++p == pe ) goto _test_eof273; case 273: #line 32314 "scanner.c" if ( (*p) == 10 ) goto tr842; goto st273; tr837: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st274; tr838: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st274; tr839: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st274; tr841: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st274; st274: if ( ++p == pe ) goto _test_eof274; case 274: #line 32362 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st272; case 32: goto st272; case 40: goto tr834; case 41: goto tr835; case 778: goto tr842; case 827: goto st273; case 1034: goto tr842; case 1083: goto st273; } if ( 48 <= _widec && _widec <= 57 ) goto tr845; goto tr832; tr847: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st275; tr845: #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st275; tr856: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st275; st275: if ( ++p == pe ) goto _test_eof275; case 275: #line 32470 "scanner.c" switch( (*p) ) { case 68: goto tr848; case 72: goto tr849; case 77: goto tr850; case 83: goto st276; case 87: goto tr852; case 100: goto tr848; case 104: goto tr849; case 109: goto tr850; case 115: goto st276; case 119: goto tr852; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr847; goto tr846; tr848: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st276; tr849: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st276; tr850: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st276; tr852: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st276; st276: if ( ++p == pe ) goto _test_eof276; case 276: #line 32530 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr853; case 32: goto tr853; case 40: goto tr854; case 41: goto tr855; case 778: goto tr857; case 827: goto tr858; case 1034: goto tr857; case 1083: goto tr858; } if ( 48 <= _widec && _widec <= 57 ) goto tr856; goto tr832; st277: if ( ++p == pe ) goto _test_eof277; case 277: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr828; if ( 896 <= _widec && _widec <= 1151 ) goto st277; goto tr824; st278: if ( ++p == pe ) goto _test_eof278; case 278: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st279; case 32: goto st279; case 40: goto tr861; case 41: goto tr862; case 1034: goto tr863; case 1083: goto st289; } goto tr859; tr861: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st279; tr862: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st279; tr863: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st279; st279: if ( ++p == pe ) goto _test_eof279; case 279: #line 32645 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st279; case 32: goto st279; case 40: goto tr861; case 41: goto tr862; case 42: goto tr865; case 46: goto tr866; case 92: goto tr867; case 95: goto tr865; case 1034: goto tr863; case 1083: goto st289; } if ( _widec < 65 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr865; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr865; } else goto tr865; goto tr859; tr868: #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st280; tr875: #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st280; tr888: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st280; tr865: #line 590 "./scanner_body.rl" { s->dname = s->zone_origin; } #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st280; st280: if ( ++p == pe ) goto _test_eof280; case 280: #line 32756 "scanner.c" switch( (*p) ) { case 42: goto tr868; case 46: goto tr869; case 92: goto st284; case 95: goto tr868; } if ( (*p) < 65 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr868; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr868; } else goto tr868; goto tr859; tr869: #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } goto st281; tr889: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } goto st281; st281: if ( ++p == pe ) goto _test_eof281; case 281: #line 32804 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr872; case 32: goto tr872; case 40: goto tr873; case 41: goto tr874; case 42: goto tr875; case 45: goto tr875; case 92: goto tr876; case 95: goto tr875; case 778: goto tr877; case 827: goto tr878; case 1034: goto tr877; case 1083: goto tr878; } if ( _widec < 65 ) { if ( 47 <= _widec && _widec <= 57 ) goto tr875; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr875; } else goto tr875; goto tr871; tr880: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st282; tr881: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st282; tr872: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } goto st282; tr873: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st282; tr874: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st282; st282: if ( ++p == pe ) goto _test_eof282; case 282: #line 32900 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st282; case 32: goto st282; case 40: goto tr880; case 41: goto tr881; case 778: goto tr882; case 827: goto st283; case 1034: goto tr882; case 1083: goto st283; } goto tr871; tr877: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 593 "./scanner_body.rl" { s->zone_origin_length = s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1071; tr882: #line 593 "./scanner_body.rl" { s->zone_origin_length = s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1071; st1071: if ( ++p == pe ) goto _test_eof1071; case 1071: #line 32962 "scanner.c" goto st0; tr878: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } goto st283; st283: if ( ++p == pe ) goto _test_eof283; case 283: #line 32974 "scanner.c" if ( (*p) == 10 ) goto tr882; goto st283; tr876: #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } goto st284; tr890: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } goto st284; tr867: #line 590 "./scanner_body.rl" { s->dname = s->zone_origin; } #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } goto st284; st284: if ( ++p == pe ) goto _test_eof284; case 284: #line 33011 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr884; goto tr868; tr884: #line 131 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length] = 0; s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st285; st285: if ( ++p == pe ) goto _test_eof285; case 285: #line 33036 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr886; goto tr885; tr886: #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st286; st286: if ( ++p == pe ) goto _test_eof286; case 286: #line 33051 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr887; goto tr885; tr887: #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st287; st287: if ( ++p == pe ) goto _test_eof287; case 287: #line 33066 "scanner.c" switch( (*p) ) { case 42: goto tr888; case 46: goto tr889; case 92: goto tr890; case 95: goto tr888; } if ( (*p) < 65 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr888; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr888; } else goto tr888; goto tr885; tr866: #line 590 "./scanner_body.rl" { s->dname = s->zone_origin; } #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } goto st288; st288: if ( ++p == pe ) goto _test_eof288; case 288: #line 33097 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr872; case 32: goto tr872; case 40: goto tr873; case 41: goto tr874; case 778: goto tr877; case 827: goto tr878; case 1034: goto tr877; case 1083: goto tr878; } goto tr871; st289: if ( ++p == pe ) goto _test_eof289; case 289: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr863; if ( 896 <= _widec && _widec <= 1151 ) goto st289; goto tr859; st290: if ( ++p == pe ) goto _test_eof290; case 290: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st291; case 32: goto st291; case 40: goto tr892; case 41: goto tr893; case 1034: goto tr894; case 1083: goto st306; } goto st0; tr892: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st291; tr893: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st291; tr894: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st291; st291: if ( ++p == pe ) goto _test_eof291; case 291: #line 33210 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st291; case 32: goto st291; case 40: goto tr892; case 41: goto tr893; case 1034: goto tr894; case 1083: goto st306; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr896; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr896; } else goto tr896; goto tr897; tr896: #line 607 "./scanner_body.rl" { rdata_tail = s->r_data; } #line 561 "./scanner_body.rl" { p--; {stack[top++] = 292; goto st257;} } goto st292; st292: if ( ++p == pe ) goto _test_eof292; case 292: #line 33254 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr899; case 32: goto tr899; case 40: goto tr900; case 41: goto tr901; case 778: goto tr902; case 827: goto tr903; case 1034: goto tr902; case 1083: goto tr904; } goto tr898; tr907: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st293; tr908: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st293; tr899: #line 610 "./scanner_body.rl" { *rdata_tail = 0; // Ending filename string. strncpy((char*)(s->include_filename), (char*)(s->r_data), sizeof(s->include_filename)); // Check for correct string copy. if (strlen(s->include_filename) != (size_t)(rdata_tail - s->r_data)) { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } // For detection whether origin is not present. s->dname = NULL; } goto st293; tr900: #line 610 "./scanner_body.rl" { *rdata_tail = 0; // Ending filename string. strncpy((char*)(s->include_filename), (char*)(s->r_data), sizeof(s->include_filename)); // Check for correct string copy. if (strlen(s->include_filename) != (size_t)(rdata_tail - s->r_data)) { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } // For detection whether origin is not present. s->dname = NULL; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st293; tr901: #line 610 "./scanner_body.rl" { *rdata_tail = 0; // Ending filename string. strncpy((char*)(s->include_filename), (char*)(s->r_data), sizeof(s->include_filename)); // Check for correct string copy. if (strlen(s->include_filename) != (size_t)(rdata_tail - s->r_data)) { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } // For detection whether origin is not present. s->dname = NULL; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st293; st293: if ( ++p == pe ) goto _test_eof293; case 293: #line 33374 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st293; case 32: goto st293; case 40: goto tr907; case 41: goto tr908; case 42: goto tr909; case 46: goto tr910; case 92: goto tr911; case 95: goto tr909; case 778: goto tr912; case 827: goto st297; case 1034: goto tr912; case 1083: goto st303; } if ( _widec < 65 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr909; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr909; } else goto tr909; goto tr905; tr916: #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st294; tr922: #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st294; tr933: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st294; tr909: #line 630 "./scanner_body.rl" { s->dname = s->r_data; } #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } #line 112 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length++] = (*p); s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } goto st294; st294: if ( ++p == pe ) goto _test_eof294; case 294: #line 33487 "scanner.c" switch( (*p) ) { case 42: goto tr916; case 46: goto tr917; case 92: goto st298; case 95: goto tr916; } if ( (*p) < 65 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr916; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr916; } else goto tr916; goto tr915; tr917: #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } goto st295; tr934: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } #line 121 "./scanner_body.rl" { if (s->dname_tmp_length < MAX_DNAME_LENGTH) { (s->dname)[s->item_length_position] = (uint8_t)(s->item_length); } else { WARN(ZSCANNER_EDNAME_OVERFLOW); p--; {goto st246;} } } goto st295; st295: if ( ++p == pe ) goto _test_eof295; case 295: #line 33535 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr919; case 32: goto tr919; case 40: goto tr920; case 41: goto tr921; case 42: goto tr922; case 45: goto tr922; case 92: goto tr923; case 95: goto tr922; case 778: goto tr924; case 827: goto tr925; case 1034: goto tr924; case 1083: goto tr925; } if ( _widec < 65 ) { if ( 47 <= _widec && _widec <= 57 ) goto tr922; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr922; } else goto tr922; goto tr905; tr927: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st296; tr928: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st296; tr919: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 633 "./scanner_body.rl" { s->r_data_length = s->dname_tmp_length; } goto st296; tr920: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 633 "./scanner_body.rl" { s->r_data_length = s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st296; tr921: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 633 "./scanner_body.rl" { s->r_data_length = s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st296; st296: if ( ++p == pe ) goto _test_eof296; case 296: #line 33643 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st296; case 32: goto st296; case 40: goto tr927; case 41: goto tr928; case 778: goto tr912; case 827: goto st297; case 1034: goto tr912; case 1083: goto st297; } goto tr83; tr902: #line 610 "./scanner_body.rl" { *rdata_tail = 0; // Ending filename string. strncpy((char*)(s->include_filename), (char*)(s->r_data), sizeof(s->include_filename)); // Check for correct string copy. if (strlen(s->include_filename) != (size_t)(rdata_tail - s->r_data)) { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } // For detection whether origin is not present. s->dname = NULL; } #line 641 "./scanner_body.rl" { char text_origin[4 * MAX_DNAME_LENGTH]; // Each char as \DDD. // Origin conversion from wire to text form. if (s->dname == NULL) { // Use current origin. wire_dname_to_str(s->zone_origin, s->zone_origin_length, text_origin); } else { // Use specified origin. wire_dname_to_str(s->r_data, s->r_data_length, text_origin); } // Relative file path. if (s->include_filename[0] != '/') { snprintf((char*)(s->buffer), sizeof(s->buffer), "%s/%s", s->path, s->include_filename); } else { strncpy((char*)(s->buffer), (char*)(s->include_filename), sizeof(s->buffer)); } // Create new file loader for included zone file. file_loader_t *fl = file_loader_create((char*)(s->buffer), text_origin, s->default_class, s->default_ttl, s->process_record, s->process_error, s->data); if (fl != NULL) { // Process included zone file. ret = file_loader_process(fl); file_loader_free(fl); if (ret != 0) { ERR(ZSCANNER_EUNPROCESSED_INCLUDE); p--; {goto st246;} } } else { ERR(ZSCANNER_EUNOPENED_INCLUDE); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1072; tr912: #line 641 "./scanner_body.rl" { char text_origin[4 * MAX_DNAME_LENGTH]; // Each char as \DDD. // Origin conversion from wire to text form. if (s->dname == NULL) { // Use current origin. wire_dname_to_str(s->zone_origin, s->zone_origin_length, text_origin); } else { // Use specified origin. wire_dname_to_str(s->r_data, s->r_data_length, text_origin); } // Relative file path. if (s->include_filename[0] != '/') { snprintf((char*)(s->buffer), sizeof(s->buffer), "%s/%s", s->path, s->include_filename); } else { strncpy((char*)(s->buffer), (char*)(s->include_filename), sizeof(s->buffer)); } // Create new file loader for included zone file. file_loader_t *fl = file_loader_create((char*)(s->buffer), text_origin, s->default_class, s->default_ttl, s->process_record, s->process_error, s->data); if (fl != NULL) { // Process included zone file. ret = file_loader_process(fl); file_loader_free(fl); if (ret != 0) { ERR(ZSCANNER_EUNPROCESSED_INCLUDE); p--; {goto st246;} } } else { ERR(ZSCANNER_EUNOPENED_INCLUDE); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1072; tr924: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 633 "./scanner_body.rl" { s->r_data_length = s->dname_tmp_length; } #line 641 "./scanner_body.rl" { char text_origin[4 * MAX_DNAME_LENGTH]; // Each char as \DDD. // Origin conversion from wire to text form. if (s->dname == NULL) { // Use current origin. wire_dname_to_str(s->zone_origin, s->zone_origin_length, text_origin); } else { // Use specified origin. wire_dname_to_str(s->r_data, s->r_data_length, text_origin); } // Relative file path. if (s->include_filename[0] != '/') { snprintf((char*)(s->buffer), sizeof(s->buffer), "%s/%s", s->path, s->include_filename); } else { strncpy((char*)(s->buffer), (char*)(s->include_filename), sizeof(s->buffer)); } // Create new file loader for included zone file. file_loader_t *fl = file_loader_create((char*)(s->buffer), text_origin, s->default_class, s->default_ttl, s->process_record, s->process_error, s->data); if (fl != NULL) { // Process included zone file. ret = file_loader_process(fl); file_loader_free(fl); if (ret != 0) { ERR(ZSCANNER_EUNPROCESSED_INCLUDE); p--; {goto st246;} } } else { ERR(ZSCANNER_EUNOPENED_INCLUDE); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1072; st1072: if ( ++p == pe ) goto _test_eof1072; case 1072: #line 33865 "scanner.c" goto st0; tr903: #line 610 "./scanner_body.rl" { *rdata_tail = 0; // Ending filename string. strncpy((char*)(s->include_filename), (char*)(s->r_data), sizeof(s->include_filename)); // Check for correct string copy. if (strlen(s->include_filename) != (size_t)(rdata_tail - s->r_data)) { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } // For detection whether origin is not present. s->dname = NULL; } goto st297; tr925: #line 166 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length++] = 0; } #line 633 "./scanner_body.rl" { s->r_data_length = s->dname_tmp_length; } goto st297; st297: if ( ++p == pe ) goto _test_eof297; case 297: #line 33899 "scanner.c" if ( (*p) == 10 ) goto tr912; goto st297; tr923: #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } goto st298; tr935: #line 144 "./scanner_body.rl" { s->dname_tmp_length++; } goto st298; tr911: #line 630 "./scanner_body.rl" { s->dname = s->r_data; } #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } #line 108 "./scanner_body.rl" { s->item_length = 0; s->item_length_position = s->dname_tmp_length++; } goto st298; st298: if ( ++p == pe ) goto _test_eof298; case 298: #line 33936 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr929; goto tr916; tr929: #line 131 "./scanner_body.rl" { if (s->item_length < MAX_LABEL_LENGTH) { (s->dname)[s->dname_tmp_length] = 0; s->item_length++; } else { WARN(ZSCANNER_ELABEL_OVERFLOW); p--; {goto st246;} } } #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st299; st299: if ( ++p == pe ) goto _test_eof299; case 299: #line 33961 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr931; goto tr930; tr931: #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st300; st300: if ( ++p == pe ) goto _test_eof300; case 300: #line 33976 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr932; goto tr930; tr932: #line 140 "./scanner_body.rl" { (s->dname)[s->dname_tmp_length] *= 10; (s->dname)[s->dname_tmp_length] += digit_to_num[(uint8_t)(*p)]; } goto st301; st301: if ( ++p == pe ) goto _test_eof301; case 301: #line 33991 "scanner.c" switch( (*p) ) { case 42: goto tr933; case 46: goto tr934; case 92: goto tr935; case 95: goto tr933; } if ( (*p) < 65 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr933; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr933; } else goto tr933; goto tr930; tr910: #line 630 "./scanner_body.rl" { s->dname = s->r_data; } #line 189 "./scanner_body.rl" { s->item_length_position = 0; s->dname_tmp_length = 0; } goto st302; st302: if ( ++p == pe ) goto _test_eof302; case 302: #line 34022 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr919; case 32: goto tr919; case 40: goto tr920; case 41: goto tr921; case 778: goto tr924; case 827: goto tr925; case 1034: goto tr924; case 1083: goto tr925; } goto tr905; tr904: #line 610 "./scanner_body.rl" { *rdata_tail = 0; // Ending filename string. strncpy((char*)(s->include_filename), (char*)(s->r_data), sizeof(s->include_filename)); // Check for correct string copy. if (strlen(s->include_filename) != (size_t)(rdata_tail - s->r_data)) { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } // For detection whether origin is not present. s->dname = NULL; } goto st303; st303: if ( ++p == pe ) goto _test_eof303; case 303: #line 34070 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 778: goto tr912; case 1034: goto tr936; } if ( _widec > 895 ) { if ( 896 <= _widec && _widec <= 1151 ) goto st303; } else if ( _widec >= 640 ) goto st297; goto tr83; tr936: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 641 "./scanner_body.rl" { char text_origin[4 * MAX_DNAME_LENGTH]; // Each char as \DDD. // Origin conversion from wire to text form. if (s->dname == NULL) { // Use current origin. wire_dname_to_str(s->zone_origin, s->zone_origin_length, text_origin); } else { // Use specified origin. wire_dname_to_str(s->r_data, s->r_data_length, text_origin); } // Relative file path. if (s->include_filename[0] != '/') { snprintf((char*)(s->buffer), sizeof(s->buffer), "%s/%s", s->path, s->include_filename); } else { strncpy((char*)(s->buffer), (char*)(s->include_filename), sizeof(s->buffer)); } // Create new file loader for included zone file. file_loader_t *fl = file_loader_create((char*)(s->buffer), text_origin, s->default_class, s->default_ttl, s->process_record, s->process_error, s->data); if (fl != NULL) { // Process included zone file. ret = file_loader_process(fl); file_loader_free(fl); if (ret != 0) { ERR(ZSCANNER_EUNPROCESSED_INCLUDE); p--; {goto st246;} } } else { ERR(ZSCANNER_EUNOPENED_INCLUDE); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1073; st1073: if ( ++p == pe ) goto _test_eof1073; case 1073: #line 34162 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st304; case 32: goto st304; case 40: goto tr938; case 41: goto tr939; case 42: goto tr909; case 46: goto tr910; case 92: goto tr911; case 95: goto tr909; case 1034: goto tr940; case 1083: goto st305; } if ( _widec < 65 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr909; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr909; } else goto tr909; goto tr915; tr938: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st304; tr939: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st304; tr940: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st304; st304: if ( ++p == pe ) goto _test_eof304; case 304: #line 34228 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st304; case 32: goto st304; case 40: goto tr938; case 41: goto tr939; case 42: goto tr909; case 46: goto tr910; case 92: goto tr911; case 95: goto tr909; case 1034: goto tr940; case 1083: goto st305; } if ( _widec < 65 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr909; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr909; } else goto tr909; goto tr915; st305: if ( ++p == pe ) goto _test_eof305; case 305: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr940; if ( 896 <= _widec && _widec <= 1151 ) goto st305; goto st0; st306: if ( ++p == pe ) goto _test_eof306; case 306: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr894; if ( 896 <= _widec && _widec <= 1151 ) goto st306; goto st0; st307: if ( ++p == pe ) goto _test_eof307; case 307: if ( (*p) == 43 ) goto tr943; if ( (*p) < 65 ) { if ( 47 <= (*p) && (*p) <= 57 ) goto tr943; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr943; } else goto tr943; goto tr942; tr943: #line 919 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_base64_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st308; st308: if ( ++p == pe ) goto _test_eof308; case 308: #line 34354 "scanner.c" if ( (*p) == 43 ) goto tr944; if ( (*p) < 65 ) { if ( 47 <= (*p) && (*p) <= 57 ) goto tr944; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr944; } else goto tr944; goto tr942; tr944: #line 927 "./scanner_body.rl" { *(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(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st309; st309: if ( ++p == pe ) goto _test_eof309; case 309: #line 34383 "scanner.c" switch( (*p) ) { case 43: goto tr945; case 61: goto st313; } if ( (*p) < 65 ) { if ( 47 <= (*p) && (*p) <= 57 ) goto tr945; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr945; } else goto tr945; goto tr942; tr945: #line 937 "./scanner_body.rl" { *(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(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st310; st310: if ( ++p == pe ) goto _test_eof310; case 310: #line 34414 "scanner.c" switch( (*p) ) { case 43: goto tr947; case 61: goto st311; } if ( (*p) < 65 ) { if ( 47 <= (*p) && (*p) <= 57 ) goto tr947; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr947; } else goto tr947; goto tr942; tr949: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st311; tr950: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st311; tr951: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st311; tr947: #line 947 "./scanner_body.rl" { *(rdata_tail++) += fourth_base64_to_num[(uint8_t)(*p)]; } goto st311; st311: if ( ++p == pe ) goto _test_eof311; case 311: #line 34464 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st311; case 32: goto st311; case 40: goto tr949; case 41: goto tr950; case 43: goto tr943; case 2058: goto tr951; case 2107: goto st312; case 2314: goto tr953; case 2363: goto tr953; case 2570: goto tr954; case 2619: goto tr955; } if ( _widec < 65 ) { if ( 47 <= _widec && _widec <= 57 ) goto tr943; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr943; } else goto tr943; goto tr942; st312: if ( ++p == pe ) goto _test_eof312; case 312: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr951; if ( 896 <= _widec && _widec <= 1151 ) goto st312; goto tr942; tr953: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1074; st1074: if ( ++p == pe ) goto _test_eof1074; case 1074: #line 34547 "scanner.c" goto st0; tr954: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1075; st1075: if ( ++p == pe ) goto _test_eof1075; case 1075: #line 34563 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st311; case 32: goto st311; case 40: goto tr949; case 41: goto tr950; case 43: goto tr943; case 2058: goto tr951; case 2107: goto st312; case 2314: goto tr953; case 2363: goto tr953; case 2570: goto tr954; case 2619: goto tr955; } if ( _widec < 65 ) { if ( 47 <= _widec && _widec <= 57 ) goto tr943; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr943; } else goto tr943; goto tr942; tr955: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1076; st1076: if ( ++p == pe ) goto _test_eof1076; case 1076: #line 34616 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr951; if ( 896 <= _widec && _widec <= 1151 ) goto st312; goto tr942; st313: if ( ++p == pe ) goto _test_eof313; case 313: if ( (*p) == 61 ) goto st311; goto tr942; st314: if ( ++p == pe ) goto _test_eof314; case 314: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr957; case 32: goto tr957; case 40: goto tr958; case 41: goto tr959; case 2058: goto tr960; case 2107: goto tr961; case 2314: goto tr962; case 2363: goto tr962; case 2570: goto tr963; case 2619: goto tr964; } goto tr956; tr966: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr967: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr982: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr957: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } goto st315; tr958: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr959: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr960: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr987: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } goto st315; tr988: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr989: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr993: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1000: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } goto st315; tr1001: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1002: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1003: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1012: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } goto st315; tr1013: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1014: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1015: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1023: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } goto st315; tr1024: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1025: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1026: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1037: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } goto st315; tr1038: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1039: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1040: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1049: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } goto st315; tr1050: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1051: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1052: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1060: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } goto st315; tr1061: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1062: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1063: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1068: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } goto st315; tr1069: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1070: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1071: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1081: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } goto st315; tr1082: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1083: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1084: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1090: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } goto st315; tr1091: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1092: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1093: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1102: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } goto st315; tr1103: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1104: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1105: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1117: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } goto st315; tr1118: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1119: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1120: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1128: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } goto st315; tr1129: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1130: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1131: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1136: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } goto st315; tr1137: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1138: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1139: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1149: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } goto st315; tr1150: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1151: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1152: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1158: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } goto st315; tr1159: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1160: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1161: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1167: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } goto st315; tr1168: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1169: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1170: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1175: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } goto st315; tr1176: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1177: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1178: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1188: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } goto st315; tr1189: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1190: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1191: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1196: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } goto st315; tr1197: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1198: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1199: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1210: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } goto st315; tr1211: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1212: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1213: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1219: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } goto st315; tr1220: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1221: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1222: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1227: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } goto st315; tr1228: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1229: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1231: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1237: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } goto st315; tr1238: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1239: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1241: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1246: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } goto st315; tr1247: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1248: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1250: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1259: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } goto st315; tr1260: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1261: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1262: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1269: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } goto st315; tr1270: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1271: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1272: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1280: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } goto st315; tr1281: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1282: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1283: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1291: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } goto st315; tr1292: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1293: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1294: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1299: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } goto st315; tr1300: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1301: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1302: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1312: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } goto st315; tr1313: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1314: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1315: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1321: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } goto st315; tr1322: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1323: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1324: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1330: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } goto st315; tr1331: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1332: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1333: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1341: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } goto st315; tr1342: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1343: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1344: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1354: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } goto st315; tr1355: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1356: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1357: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1363: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } goto st315; tr1364: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1365: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1366: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1374: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st315; tr1375: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1376: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1378: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1386: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } goto st315; tr1387: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1388: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1389: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; tr1395: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } goto st315; tr1396: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st315; tr1397: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st315; tr1398: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st315; st315: if ( ++p == pe ) goto _test_eof315; case 315: #line 36197 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st315; case 32: goto st315; case 40: goto tr966; case 41: goto tr967; case 65: goto st316; case 67: goto st321; case 68: goto st329; case 69: goto st343; case 72: goto st350; case 73: goto st355; case 75: goto st363; case 76: goto st367; case 77: goto st375; case 78: goto st381; case 80: goto st397; case 82: goto st400; case 83: goto st407; case 84: goto st418; case 97: goto st316; case 99: goto st321; case 100: goto st329; case 101: goto st343; case 104: goto st350; case 105: goto st355; case 107: goto st363; case 108: goto st367; case 109: goto st375; case 110: goto st381; case 112: goto st397; case 114: goto st400; case 115: goto st407; case 116: goto st418; case 2058: goto tr982; case 2107: goto st320; case 2314: goto tr984; case 2363: goto tr984; case 2570: goto tr985; case 2619: goto tr986; } goto tr956; st316: if ( ++p == pe ) goto _test_eof316; case 316: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr987; case 32: goto tr987; case 40: goto tr988; case 41: goto tr989; case 65: goto st317; case 70: goto st428; case 80: goto st432; case 97: goto st317; case 102: goto st428; case 112: goto st432; case 2058: goto tr993; case 2107: goto tr994; case 2314: goto tr995; case 2363: goto tr995; case 2570: goto tr996; case 2619: goto tr997; } goto tr956; st317: if ( ++p == pe ) goto _test_eof317; case 317: switch( (*p) ) { case 65: goto st318; case 97: goto st318; } goto tr956; st318: if ( ++p == pe ) goto _test_eof318; case 318: switch( (*p) ) { case 65: goto st319; case 97: goto st319; } goto tr956; st319: if ( ++p == pe ) goto _test_eof319; case 319: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1000; case 32: goto tr1000; case 40: goto tr1001; case 41: goto tr1002; case 2058: goto tr1003; case 2107: goto tr1004; case 2314: goto tr1005; case 2363: goto tr1005; case 2570: goto tr1006; case 2619: goto tr1007; } goto tr956; tr961: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } goto st320; tr994: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } goto st320; tr1004: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } goto st320; tr1016: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } goto st320; tr1027: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } goto st320; tr1041: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } goto st320; tr1053: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } goto st320; tr1064: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } goto st320; tr1072: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } goto st320; tr1085: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } goto st320; tr1094: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } goto st320; tr1106: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } goto st320; tr1121: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } goto st320; tr1132: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } goto st320; tr1140: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } goto st320; tr1153: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } goto st320; tr1162: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } goto st320; tr1171: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } goto st320; tr1179: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } goto st320; tr1192: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } goto st320; tr1200: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } goto st320; tr1214: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } goto st320; tr1223: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } goto st320; tr1232: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } goto st320; tr1242: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } goto st320; tr1251: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } goto st320; tr1263: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } goto st320; tr1273: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } goto st320; tr1284: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } goto st320; tr1295: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } goto st320; tr1303: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } goto st320; tr1316: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } goto st320; tr1325: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } goto st320; tr1334: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } goto st320; tr1345: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } goto st320; tr1358: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } goto st320; tr1367: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } goto st320; tr1379: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st320; tr1390: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } goto st320; tr1399: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } goto st320; st320: if ( ++p == pe ) goto _test_eof320; case 320: #line 36531 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr982; if ( 896 <= _widec && _widec <= 1151 ) goto st320; goto tr956; tr962: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr984: #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr995: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1005: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1017: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1028: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1042: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1054: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1065: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1073: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1086: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1095: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1107: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1122: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1133: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1141: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1154: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1163: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1172: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1180: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1193: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1201: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1215: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1224: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1233: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1243: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1252: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1264: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1274: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1285: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1296: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1304: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1317: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1326: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1335: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1346: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1359: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1368: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1380: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1391: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; tr1400: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1077; st1077: if ( ++p == pe ) goto _test_eof1077; case 1077: #line 37882 "scanner.c" goto st0; tr963: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr985: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr996: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1006: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1018: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1029: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1043: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1055: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1066: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1074: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1087: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1096: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1108: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1123: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1134: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1142: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1155: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1164: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1173: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1181: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1194: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1202: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1216: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1225: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1234: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1244: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1253: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1265: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1275: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1286: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1297: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1305: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1318: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1327: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1336: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1347: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1360: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1369: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1381: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1392: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; tr1401: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1078; st1078: if ( ++p == pe ) goto _test_eof1078; case 1078: #line 39372 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st315; case 32: goto st315; case 40: goto tr966; case 41: goto tr967; case 65: goto st316; case 67: goto st321; case 68: goto st329; case 69: goto st343; case 72: goto st350; case 73: goto st355; case 75: goto st363; case 76: goto st367; case 77: goto st375; case 78: goto st381; case 80: goto st397; case 82: goto st400; case 83: goto st407; case 84: goto st418; case 97: goto st316; case 99: goto st321; case 100: goto st329; case 101: goto st343; case 104: goto st350; case 105: goto st355; case 107: goto st363; case 108: goto st367; case 109: goto st375; case 110: goto st381; case 112: goto st397; case 114: goto st400; case 115: goto st407; case 116: goto st418; case 2058: goto tr982; case 2107: goto st320; case 2314: goto tr984; case 2363: goto tr984; case 2570: goto tr985; case 2619: goto tr986; } goto tr956; st321: if ( ++p == pe ) goto _test_eof321; case 321: switch( (*p) ) { case 69: goto st322; case 78: goto st325; case 101: goto st322; case 110: goto st325; } goto tr956; st322: if ( ++p == pe ) goto _test_eof322; case 322: switch( (*p) ) { case 82: goto st323; case 114: goto st323; } goto tr956; st323: if ( ++p == pe ) goto _test_eof323; case 323: switch( (*p) ) { case 84: goto st324; case 116: goto st324; } goto tr956; st324: if ( ++p == pe ) goto _test_eof324; case 324: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1012; case 32: goto tr1012; case 40: goto tr1013; case 41: goto tr1014; case 2058: goto tr1015; case 2107: goto tr1016; case 2314: goto tr1017; case 2363: goto tr1017; case 2570: goto tr1018; case 2619: goto tr1019; } goto tr956; tr964: #line 1284 "./scanner_body.rl" { memset(s->windows, 0, sizeof(s->windows)); s->last_window = -1; } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr986: #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr997: #line 1243 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_A, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1007: #line 1256 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AAAA, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1019: #line 1261 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CERT, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1030: #line 1245 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_CNAME, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1044: #line 1270 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DHCID, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1056: #line 1262 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNAME, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1067: #line 1269 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DNSKEY, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1075: #line 1264 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_DS, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1088: #line 1279 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI48, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1097: #line 1280 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_EUI64, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1109: #line 1248 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_HINFO, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1124: #line 1266 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_IPSECKEY, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1135: #line 1255 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KEY, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1143: #line 1260 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_KX, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1156: #line 1276 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L32, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1165: #line 1277 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_L64, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1174: #line 1257 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LOC, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1182: #line 1278 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_LP, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1195: #line 1249 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MINFO, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1203: #line 1250 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_MX, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1217: #line 1259 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NAPTR, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1226: #line 1275 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NID, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1235: #line 1244 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NS, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1245: #line 1268 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1254: #line 1271 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1266: #line 1272 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_NSEC3PARAM, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1276: #line 1247 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_PTR, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1287: #line 1252 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RP, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1298: #line 1267 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RRSIG, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1306: #line 1254 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_RT, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1319: #line 1246 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SOA, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1328: #line 1274 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SPF, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1337: #line 1258 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SRV, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1348: #line 1265 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_SSHFP, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1361: #line 1273 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TLSA, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1370: #line 1251 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_TXT, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1382: #line 1230 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { window_add_bit(s->number64, s); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1393: #line 1253 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_AFSDB, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; tr1402: #line 1263 "./scanner_body.rl" { window_add_bit(KNOT_RRTYPE_APL, s); } #line 1288 "./scanner_body.rl" { for (window = 0; window <= s->last_window; window++) { if ((s->windows[window]).length > 0) { if (rdata_tail + 2 + (s->windows[window]).length <= rdata_stop) { // Window number. *rdata_tail = (uint8_t)window; rdata_tail += 1; // Bitmap length. *rdata_tail = (s->windows[window]).length; rdata_tail += 1; // Copying bitmap. memcpy(rdata_tail, (s->windows[window]).bitmap, (s->windows[window]).length); rdata_tail += (s->windows[window]).length; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1079; st1079: if ( ++p == pe ) goto _test_eof1079; case 1079: #line 40824 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr982; if ( 896 <= _widec && _widec <= 1151 ) goto st320; goto tr956; st325: if ( ++p == pe ) goto _test_eof325; case 325: switch( (*p) ) { case 65: goto st326; case 97: goto st326; } goto tr956; st326: if ( ++p == pe ) goto _test_eof326; case 326: switch( (*p) ) { case 77: goto st327; case 109: goto st327; } goto tr956; st327: if ( ++p == pe ) goto _test_eof327; case 327: switch( (*p) ) { case 69: goto st328; case 101: goto st328; } goto tr956; st328: if ( ++p == pe ) goto _test_eof328; case 328: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1023; case 32: goto tr1023; case 40: goto tr1024; case 41: goto tr1025; case 2058: goto tr1026; case 2107: goto tr1027; case 2314: goto tr1028; case 2363: goto tr1028; case 2570: goto tr1029; case 2619: goto tr1030; } goto tr956; st329: if ( ++p == pe ) goto _test_eof329; case 329: switch( (*p) ) { case 72: goto st330; case 78: goto st334; case 83: goto st342; case 104: goto st330; case 110: goto st334; case 115: goto st342; } goto tr956; st330: if ( ++p == pe ) goto _test_eof330; case 330: switch( (*p) ) { case 67: goto st331; case 99: goto st331; } goto tr956; st331: if ( ++p == pe ) goto _test_eof331; case 331: switch( (*p) ) { case 73: goto st332; case 105: goto st332; } goto tr956; st332: if ( ++p == pe ) goto _test_eof332; case 332: switch( (*p) ) { case 68: goto st333; case 100: goto st333; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1037; case 32: goto tr1037; case 40: goto tr1038; case 41: goto tr1039; case 2058: goto tr1040; case 2107: goto tr1041; case 2314: goto tr1042; case 2363: goto tr1042; case 2570: goto tr1043; case 2619: goto tr1044; } goto tr956; st334: if ( ++p == pe ) goto _test_eof334; case 334: switch( (*p) ) { case 65: goto st335; case 83: goto st338; case 97: goto st335; case 115: goto st338; } goto tr956; st335: if ( ++p == pe ) goto _test_eof335; case 335: switch( (*p) ) { case 77: goto st336; case 109: goto st336; } goto tr956; st336: if ( ++p == pe ) goto _test_eof336; case 336: switch( (*p) ) { case 69: goto st337; case 101: goto st337; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1049; case 32: goto tr1049; case 40: goto tr1050; case 41: goto tr1051; case 2058: goto tr1052; case 2107: goto tr1053; case 2314: goto tr1054; case 2363: goto tr1054; case 2570: goto tr1055; case 2619: goto tr1056; } goto tr956; st338: if ( ++p == pe ) goto _test_eof338; case 338: switch( (*p) ) { case 75: goto st339; case 107: goto st339; } goto tr956; st339: if ( ++p == pe ) goto _test_eof339; case 339: switch( (*p) ) { case 69: goto st340; case 101: goto st340; } goto tr956; st340: if ( ++p == pe ) goto _test_eof340; case 340: switch( (*p) ) { case 89: goto st341; case 121: goto st341; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1060; case 32: goto tr1060; case 40: goto tr1061; case 41: goto tr1062; case 2058: goto tr1063; case 2107: goto tr1064; case 2314: goto tr1065; case 2363: goto tr1065; case 2570: goto tr1066; case 2619: goto tr1067; } goto tr956; st342: if ( ++p == pe ) goto _test_eof342; case 342: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1068; case 32: goto tr1068; case 40: goto tr1069; case 41: goto tr1070; case 2058: goto tr1071; case 2107: goto tr1072; case 2314: goto tr1073; case 2363: goto tr1073; case 2570: goto tr1074; case 2619: goto tr1075; } goto tr956; st343: if ( ++p == pe ) goto _test_eof343; case 343: switch( (*p) ) { case 85: goto st344; case 117: goto st344; } goto tr956; st344: if ( ++p == pe ) goto _test_eof344; case 344: switch( (*p) ) { case 73: goto st345; case 105: goto st345; } goto tr956; st345: if ( ++p == pe ) goto _test_eof345; case 345: switch( (*p) ) { case 52: goto st346; case 54: goto st348; } goto tr956; st346: if ( ++p == pe ) goto _test_eof346; case 346: if ( (*p) == 56 ) goto st347; goto tr956; st347: if ( ++p == pe ) goto _test_eof347; case 347: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1081; case 32: goto tr1081; case 40: goto tr1082; case 41: goto tr1083; case 2058: goto tr1084; case 2107: goto tr1085; case 2314: goto tr1086; case 2363: goto tr1086; case 2570: goto tr1087; case 2619: goto tr1088; } goto tr956; st348: if ( ++p == pe ) goto _test_eof348; case 348: if ( (*p) == 52 ) goto st349; goto tr956; st349: if ( ++p == pe ) goto _test_eof349; case 349: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1090; case 32: goto tr1090; case 40: goto tr1091; case 41: goto tr1092; case 2058: goto tr1093; case 2107: goto tr1094; case 2314: goto tr1095; case 2363: goto tr1095; case 2570: goto tr1096; case 2619: goto tr1097; } goto tr956; st350: if ( ++p == pe ) goto _test_eof350; case 350: switch( (*p) ) { case 73: goto st351; case 105: goto st351; } goto tr956; st351: if ( ++p == pe ) goto _test_eof351; case 351: switch( (*p) ) { case 78: goto st352; case 110: goto st352; } goto tr956; st352: if ( ++p == pe ) goto _test_eof352; case 352: switch( (*p) ) { case 70: goto st353; case 102: goto st353; } goto tr956; st353: if ( ++p == pe ) goto _test_eof353; case 353: switch( (*p) ) { case 79: goto st354; case 111: goto st354; } goto tr956; st354: if ( ++p == pe ) goto _test_eof354; case 354: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1102; case 32: goto tr1102; case 40: goto tr1103; case 41: goto tr1104; case 2058: goto tr1105; case 2107: goto tr1106; case 2314: goto tr1107; case 2363: goto tr1107; case 2570: goto tr1108; case 2619: goto tr1109; } goto tr956; st355: if ( ++p == pe ) goto _test_eof355; case 355: switch( (*p) ) { case 80: goto st356; case 112: goto st356; } goto tr956; st356: if ( ++p == pe ) goto _test_eof356; case 356: switch( (*p) ) { case 83: goto st357; case 115: goto st357; } goto tr956; st357: if ( ++p == pe ) goto _test_eof357; case 357: switch( (*p) ) { case 69: goto st358; case 101: goto st358; } goto tr956; st358: if ( ++p == pe ) goto _test_eof358; case 358: switch( (*p) ) { case 67: goto st359; case 99: goto st359; } goto tr956; st359: if ( ++p == pe ) goto _test_eof359; case 359: switch( (*p) ) { case 75: goto st360; case 107: goto st360; } goto tr956; st360: if ( ++p == pe ) goto _test_eof360; case 360: switch( (*p) ) { case 69: goto st361; case 101: goto st361; } goto tr956; st361: if ( ++p == pe ) goto _test_eof361; case 361: switch( (*p) ) { case 89: goto st362; case 121: goto st362; } goto tr956; st362: if ( ++p == pe ) goto _test_eof362; case 362: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1117; case 32: goto tr1117; case 40: goto tr1118; case 41: goto tr1119; case 2058: goto tr1120; case 2107: goto tr1121; case 2314: goto tr1122; case 2363: goto tr1122; case 2570: goto tr1123; case 2619: goto tr1124; } goto tr956; st363: if ( ++p == pe ) goto _test_eof363; case 363: switch( (*p) ) { case 69: goto st364; case 88: goto st366; case 101: goto st364; case 120: goto st366; } goto tr956; st364: if ( ++p == pe ) goto _test_eof364; case 364: switch( (*p) ) { case 89: goto st365; case 121: goto st365; } goto tr956; st365: if ( ++p == pe ) goto _test_eof365; case 365: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1128; case 32: goto tr1128; case 40: goto tr1129; case 41: goto tr1130; case 2058: goto tr1131; case 2107: goto tr1132; case 2314: goto tr1133; case 2363: goto tr1133; case 2570: goto tr1134; case 2619: goto tr1135; } goto tr956; st366: if ( ++p == pe ) goto _test_eof366; case 366: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1136; case 32: goto tr1136; case 40: goto tr1137; case 41: goto tr1138; case 2058: goto tr1139; case 2107: goto tr1140; case 2314: goto tr1141; case 2363: goto tr1141; case 2570: goto tr1142; case 2619: goto tr1143; } goto tr956; st367: if ( ++p == pe ) goto _test_eof367; case 367: switch( (*p) ) { case 51: goto st368; case 54: goto st370; case 79: goto st372; case 80: goto st374; case 111: goto st372; case 112: goto st374; } goto tr956; st368: if ( ++p == pe ) goto _test_eof368; case 368: if ( (*p) == 50 ) goto st369; goto tr956; st369: if ( ++p == pe ) goto _test_eof369; case 369: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1149; case 32: goto tr1149; case 40: goto tr1150; case 41: goto tr1151; case 2058: goto tr1152; case 2107: goto tr1153; case 2314: goto tr1154; case 2363: goto tr1154; case 2570: goto tr1155; case 2619: goto tr1156; } goto tr956; st370: if ( ++p == pe ) goto _test_eof370; case 370: if ( (*p) == 52 ) goto st371; goto tr956; st371: if ( ++p == pe ) goto _test_eof371; case 371: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1158; case 32: goto tr1158; case 40: goto tr1159; case 41: goto tr1160; case 2058: goto tr1161; case 2107: goto tr1162; case 2314: goto tr1163; case 2363: goto tr1163; case 2570: goto tr1164; case 2619: goto tr1165; } goto tr956; st372: if ( ++p == pe ) goto _test_eof372; case 372: switch( (*p) ) { case 67: goto st373; case 99: goto st373; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1167; case 32: goto tr1167; case 40: goto tr1168; case 41: goto tr1169; case 2058: goto tr1170; case 2107: goto tr1171; case 2314: goto tr1172; case 2363: goto tr1172; case 2570: goto tr1173; case 2619: goto tr1174; } goto tr956; st374: if ( ++p == pe ) goto _test_eof374; case 374: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1175; case 32: goto tr1175; case 40: goto tr1176; case 41: goto tr1177; case 2058: goto tr1178; case 2107: goto tr1179; case 2314: goto tr1180; case 2363: goto tr1180; case 2570: goto tr1181; case 2619: goto tr1182; } goto tr956; st375: if ( ++p == pe ) goto _test_eof375; case 375: switch( (*p) ) { case 73: goto st376; case 88: goto st380; case 105: goto st376; case 120: goto st380; } goto tr956; st376: if ( ++p == pe ) goto _test_eof376; case 376: switch( (*p) ) { case 78: goto st377; case 110: goto st377; } goto tr956; st377: if ( ++p == pe ) goto _test_eof377; case 377: switch( (*p) ) { case 70: goto st378; case 102: goto st378; } goto tr956; st378: if ( ++p == pe ) goto _test_eof378; case 378: switch( (*p) ) { case 79: goto st379; case 111: goto st379; } goto tr956; st379: if ( ++p == pe ) goto _test_eof379; case 379: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1188; case 32: goto tr1188; case 40: goto tr1189; case 41: goto tr1190; case 2058: goto tr1191; case 2107: goto tr1192; case 2314: goto tr1193; case 2363: goto tr1193; case 2570: goto tr1194; case 2619: goto tr1195; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1196; case 32: goto tr1196; case 40: goto tr1197; case 41: goto tr1198; case 2058: goto tr1199; case 2107: goto tr1200; case 2314: goto tr1201; case 2363: goto tr1201; case 2570: goto tr1202; case 2619: goto tr1203; } goto tr956; st381: if ( ++p == pe ) goto _test_eof381; case 381: switch( (*p) ) { case 65: goto st382; case 73: goto st386; case 83: goto st388; case 97: goto st382; case 105: goto st386; case 115: goto st388; } goto tr956; st382: if ( ++p == pe ) goto _test_eof382; case 382: switch( (*p) ) { case 80: goto st383; case 112: goto st383; } goto tr956; st383: if ( ++p == pe ) goto _test_eof383; case 383: switch( (*p) ) { case 84: goto st384; case 116: goto st384; } goto tr956; st384: if ( ++p == pe ) goto _test_eof384; case 384: switch( (*p) ) { case 82: goto st385; case 114: goto st385; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !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 tr956; st386: if ( ++p == pe ) goto _test_eof386; case 386: switch( (*p) ) { case 68: goto st387; case 100: goto st387; } goto tr956; st387: if ( ++p == pe ) goto _test_eof387; case 387: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1219; case 32: goto tr1219; case 40: goto tr1220; case 41: goto tr1221; case 2058: goto tr1222; case 2107: goto tr1223; case 2314: goto tr1224; case 2363: goto tr1224; case 2570: goto tr1225; case 2619: goto tr1226; } goto tr956; st388: if ( ++p == pe ) goto _test_eof388; case 388: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1227; case 32: goto tr1227; case 40: goto tr1228; case 41: goto tr1229; case 69: goto st389; case 101: goto st389; case 2058: goto tr1231; case 2107: goto tr1232; case 2314: goto tr1233; case 2363: goto tr1233; case 2570: goto tr1234; case 2619: goto tr1235; } goto tr956; st389: if ( ++p == pe ) goto _test_eof389; case 389: switch( (*p) ) { case 67: goto st390; case 99: goto st390; } goto tr956; st390: if ( ++p == pe ) goto _test_eof390; case 390: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1237; case 32: goto tr1237; case 40: goto tr1238; case 41: goto tr1239; case 51: goto st391; case 2058: goto tr1241; case 2107: goto tr1242; case 2314: goto tr1243; case 2363: goto tr1243; case 2570: goto tr1244; case 2619: goto tr1245; } goto tr956; st391: if ( ++p == pe ) goto _test_eof391; case 391: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1246; case 32: goto tr1246; case 40: goto tr1247; case 41: goto tr1248; case 80: goto st392; case 112: goto st392; 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 tr956; st392: if ( ++p == pe ) goto _test_eof392; case 392: switch( (*p) ) { case 65: goto st393; case 97: goto st393; } goto tr956; st393: if ( ++p == pe ) goto _test_eof393; case 393: switch( (*p) ) { case 82: goto st394; case 114: goto st394; } goto tr956; st394: if ( ++p == pe ) goto _test_eof394; case 394: switch( (*p) ) { case 65: goto st395; case 97: goto st395; } goto tr956; st395: if ( ++p == pe ) goto _test_eof395; case 395: switch( (*p) ) { case 77: goto st396; case 109: goto st396; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1259; case 32: goto tr1259; case 40: goto tr1260; case 41: goto tr1261; case 2058: goto tr1262; case 2107: goto tr1263; case 2314: goto tr1264; case 2363: goto tr1264; case 2570: goto tr1265; case 2619: goto tr1266; } goto tr956; st397: if ( ++p == pe ) goto _test_eof397; case 397: switch( (*p) ) { case 84: goto st398; case 116: goto st398; } goto tr956; st398: if ( ++p == pe ) goto _test_eof398; case 398: switch( (*p) ) { case 82: goto st399; case 114: goto st399; } goto tr956; st399: if ( ++p == pe ) goto _test_eof399; case 399: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1269; case 32: goto tr1269; case 40: goto tr1270; case 41: goto tr1271; case 2058: goto tr1272; case 2107: goto tr1273; case 2314: goto tr1274; case 2363: goto tr1274; case 2570: goto tr1275; case 2619: goto tr1276; } goto tr956; st400: if ( ++p == pe ) goto _test_eof400; case 400: switch( (*p) ) { case 80: goto st401; case 82: goto st402; case 84: goto st406; case 112: goto st401; case 114: goto st402; case 116: goto st406; } goto tr956; st401: if ( ++p == pe ) goto _test_eof401; case 401: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1280; case 32: goto tr1280; case 40: goto tr1281; case 41: goto tr1282; case 2058: goto tr1283; case 2107: goto tr1284; case 2314: goto tr1285; case 2363: goto tr1285; case 2570: goto tr1286; case 2619: goto tr1287; } goto tr956; st402: if ( ++p == pe ) goto _test_eof402; case 402: switch( (*p) ) { case 83: goto st403; case 115: goto st403; } goto tr956; st403: if ( ++p == pe ) goto _test_eof403; case 403: switch( (*p) ) { case 73: goto st404; case 105: goto st404; } goto tr956; st404: if ( ++p == pe ) goto _test_eof404; case 404: switch( (*p) ) { case 71: goto st405; case 103: goto st405; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1291; case 32: goto tr1291; case 40: goto tr1292; case 41: goto tr1293; case 2058: goto tr1294; case 2107: goto tr1295; case 2314: goto tr1296; case 2363: goto tr1296; case 2570: goto tr1297; case 2619: goto tr1298; } goto tr956; st406: if ( ++p == pe ) goto _test_eof406; case 406: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1299; case 32: goto tr1299; case 40: goto tr1300; case 41: goto tr1301; case 2058: goto tr1302; case 2107: goto tr1303; case 2314: goto tr1304; case 2363: goto tr1304; case 2570: goto tr1305; case 2619: goto tr1306; } goto tr956; st407: if ( ++p == pe ) goto _test_eof407; case 407: switch( (*p) ) { case 79: goto st408; case 80: goto st410; case 82: goto st412; case 83: goto st414; case 111: goto st408; case 112: goto st410; case 114: goto st412; case 115: goto st414; } goto tr956; st408: if ( ++p == pe ) goto _test_eof408; case 408: switch( (*p) ) { case 65: goto st409; case 97: goto st409; } goto tr956; st409: if ( ++p == pe ) goto _test_eof409; case 409: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1312; case 32: goto tr1312; case 40: goto tr1313; case 41: goto tr1314; case 2058: goto tr1315; case 2107: goto tr1316; case 2314: goto tr1317; case 2363: goto tr1317; case 2570: goto tr1318; case 2619: goto tr1319; } goto tr956; st410: if ( ++p == pe ) goto _test_eof410; case 410: switch( (*p) ) { case 70: goto st411; case 102: goto st411; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1321; case 32: goto tr1321; case 40: goto tr1322; case 41: goto tr1323; case 2058: goto tr1324; case 2107: goto tr1325; case 2314: goto tr1326; case 2363: goto tr1326; case 2570: goto tr1327; case 2619: goto tr1328; } goto tr956; st412: if ( ++p == pe ) goto _test_eof412; case 412: switch( (*p) ) { case 86: goto st413; case 118: goto st413; } goto tr956; st413: if ( ++p == pe ) goto _test_eof413; case 413: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1330; case 32: goto tr1330; case 40: goto tr1331; case 41: goto tr1332; case 2058: goto tr1333; case 2107: goto tr1334; case 2314: goto tr1335; case 2363: goto tr1335; case 2570: goto tr1336; case 2619: goto tr1337; } goto tr956; st414: if ( ++p == pe ) goto _test_eof414; case 414: switch( (*p) ) { case 72: goto st415; case 104: goto st415; } goto tr956; st415: if ( ++p == pe ) goto _test_eof415; case 415: switch( (*p) ) { case 70: goto st416; case 102: goto st416; } goto tr956; st416: if ( ++p == pe ) goto _test_eof416; case 416: switch( (*p) ) { case 80: goto st417; case 112: goto st417; } goto tr956; st417: if ( ++p == pe ) goto _test_eof417; case 417: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1341; case 32: goto tr1341; case 40: goto tr1342; case 41: goto tr1343; case 2058: goto tr1344; case 2107: goto tr1345; case 2314: goto tr1346; case 2363: goto tr1346; case 2570: goto tr1347; case 2619: goto tr1348; } goto tr956; st418: if ( ++p == pe ) goto _test_eof418; case 418: switch( (*p) ) { case 76: goto st419; case 88: goto st422; case 89: goto st424; case 108: goto st419; case 120: goto st422; case 121: goto st424; } goto tr956; st419: if ( ++p == pe ) goto _test_eof419; case 419: switch( (*p) ) { case 83: goto st420; case 115: goto st420; } goto tr956; st420: if ( ++p == pe ) goto _test_eof420; case 420: switch( (*p) ) { case 65: goto st421; case 97: goto st421; } goto tr956; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1354; case 32: goto tr1354; case 40: goto tr1355; case 41: goto tr1356; case 2058: goto tr1357; case 2107: goto tr1358; case 2314: goto tr1359; case 2363: goto tr1359; case 2570: goto tr1360; case 2619: goto tr1361; } goto tr956; st422: if ( ++p == pe ) goto _test_eof422; case 422: switch( (*p) ) { case 84: goto st423; case 116: goto st423; } goto tr956; st423: if ( ++p == pe ) goto _test_eof423; case 423: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1363; case 32: goto tr1363; case 40: goto tr1364; case 41: goto tr1365; case 2058: goto tr1366; case 2107: goto tr1367; case 2314: goto tr1368; case 2363: goto tr1368; case 2570: goto tr1369; case 2619: goto tr1370; } goto tr956; st424: if ( ++p == pe ) goto _test_eof424; case 424: switch( (*p) ) { case 80: goto st425; case 112: goto st425; } goto tr956; st425: if ( ++p == pe ) goto _test_eof425; case 425: switch( (*p) ) { case 69: goto st426; case 101: goto st426; } goto tr956; st426: if ( ++p == pe ) goto _test_eof426; case 426: if ( 48 <= (*p) && (*p) <= 57 ) goto tr1373; goto tr956; tr1373: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st427; tr1377: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st427; st427: if ( ++p == pe ) goto _test_eof427; case 427: #line 42762 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1374; case 32: goto tr1374; case 40: goto tr1375; case 41: goto tr1376; case 2058: goto tr1378; case 2107: goto tr1379; case 2314: goto tr1380; case 2363: goto tr1380; case 2570: goto tr1381; case 2619: goto tr1382; } if ( 48 <= _widec && _widec <= 57 ) goto tr1377; goto tr956; st428: if ( ++p == pe ) goto _test_eof428; case 428: switch( (*p) ) { case 83: goto st429; case 115: goto st429; } goto tr956; st429: if ( ++p == pe ) goto _test_eof429; case 429: switch( (*p) ) { case 68: goto st430; case 100: goto st430; } goto tr956; st430: if ( ++p == pe ) goto _test_eof430; case 430: switch( (*p) ) { case 66: goto st431; case 98: goto st431; } goto tr956; st431: if ( ++p == pe ) goto _test_eof431; case 431: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !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 tr956; st432: if ( ++p == pe ) goto _test_eof432; case 432: switch( (*p) ) { case 76: goto st433; case 108: goto st433; } goto tr956; st433: if ( ++p == pe ) goto _test_eof433; case 433: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1395; case 32: goto tr1395; case 40: goto tr1396; case 41: goto tr1397; case 2058: goto tr1398; case 2107: goto tr1399; case 2314: goto tr1400; case 2363: goto tr1400; case 2570: goto tr1401; case 2619: goto tr1402; } goto tr956; st434: if ( ++p == pe ) goto _test_eof434; case 434: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st435; case 32: goto st435; case 40: goto tr1405; case 41: goto tr1406; case 1034: goto tr1407; case 1083: goto st442; } goto tr1403; tr1405: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st435; tr1406: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st435; tr1407: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st435; st435: if ( ++p == pe ) goto _test_eof435; case 435: #line 42965 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st435; case 32: goto st435; case 40: goto tr1405; case 41: goto tr1406; case 1034: goto tr1407; case 1083: goto st442; } if ( 48 <= _widec && _widec <= 57 ) goto tr1410; goto tr1409; tr1410: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st436; tr1414: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st436; st436: if ( ++p == pe ) goto _test_eof436; case 436: #line 43033 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1411; case 32: goto tr1411; case 40: goto tr1412; case 41: goto tr1413; case 1034: goto tr1415; case 1083: goto tr1416; } if ( 48 <= _widec && _widec <= 57 ) goto tr1414; goto tr1409; tr1419: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st437; tr1420: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st437; tr1422: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st437; tr1411: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st437; tr1412: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st437; tr1413: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st437; tr1415: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st437; st437: if ( ++p == pe ) goto _test_eof437; case 437: #line 43153 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st437; case 32: goto st437; case 40: goto tr1419; case 41: goto tr1420; case 1034: goto tr1422; case 1083: goto st441; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr1421; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr1421; } else goto tr1421; goto tr1417; tr1421: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st438; st438: if ( ++p == pe ) goto _test_eof438; case 438: #line 43200 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1424; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr1424; } else goto tr1424; goto tr1417; tr1426: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st439; tr1427: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st439; tr1428: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st439; tr1424: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st439; st439: if ( ++p == pe ) goto _test_eof439; case 439: #line 43247 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st439; case 32: goto st439; case 40: goto tr1426; case 41: goto tr1427; case 2058: goto tr1428; case 2107: goto st440; case 2314: goto tr1430; case 2363: goto tr1430; case 2570: goto tr1431; case 2619: goto tr1432; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr1421; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr1421; } else goto tr1421; goto tr1417; st440: if ( ++p == pe ) goto _test_eof440; case 440: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1428; if ( 896 <= _widec && _widec <= 1151 ) goto st440; goto tr1417; tr1430: #line 902 "./scanner_body.rl" { if ((rdata_tail - s->r_data) != s->r_data_length) { WARN(ZSCANNER_EBAD_RDATA_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1080; st1080: if ( ++p == pe ) goto _test_eof1080; case 1080: #line 43336 "scanner.c" goto st0; tr1431: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 902 "./scanner_body.rl" { if ((rdata_tail - s->r_data) != s->r_data_length) { WARN(ZSCANNER_EBAD_RDATA_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1081; st1081: if ( ++p == pe ) goto _test_eof1081; case 1081: #line 43359 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st439; case 32: goto st439; case 40: goto tr1426; case 41: goto tr1427; case 2058: goto tr1428; case 2107: goto st440; case 2314: goto tr1430; case 2363: goto tr1430; case 2570: goto tr1431; case 2619: goto tr1432; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr1421; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr1421; } else goto tr1421; goto tr1417; tr1432: #line 902 "./scanner_body.rl" { if ((rdata_tail - s->r_data) != s->r_data_length) { WARN(ZSCANNER_EBAD_RDATA_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1082; st1082: if ( ++p == pe ) goto _test_eof1082; case 1082: #line 43418 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1428; if ( 896 <= _widec && _widec <= 1151 ) goto st440; goto tr1417; tr1416: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st441; st441: if ( ++p == pe ) goto _test_eof441; case 441: #line 43460 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1422; if ( 896 <= _widec && _widec <= 1151 ) goto st441; goto tr1403; st442: if ( ++p == pe ) goto _test_eof442; case 442: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1407; if ( 896 <= _widec && _widec <= 1151 ) goto st442; goto tr1403; st443: if ( ++p == pe ) goto _test_eof443; case 443: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st444; case 32: goto st444; case 40: goto tr1434; case 41: goto tr1435; case 1034: goto tr1436; case 1083: goto st452; } goto tr1403; tr1434: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st444; tr1435: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st444; tr1436: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st444; st444: if ( ++p == pe ) goto _test_eof444; case 444: #line 43574 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st444; case 32: goto st444; case 40: goto tr1434; case 41: goto tr1435; case 48: goto tr1438; case 1034: goto tr1436; case 1083: goto st452; } if ( 49 <= _widec && _widec <= 57 ) goto tr1439; goto tr1409; tr1438: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st445; st445: if ( ++p == pe ) goto _test_eof445; case 445: #line 43626 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1440; case 32: goto tr1440; case 40: goto tr1441; case 41: goto tr1442; case 778: goto tr1444; case 827: goto tr1444; case 1034: goto tr1445; case 1083: goto tr1446; } if ( 48 <= _widec && _widec <= 57 ) goto tr1443; goto tr1409; tr1440: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1083; tr1441: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1083; tr1442: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1083; tr1445: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1083; st1083: if ( ++p == pe ) goto _test_eof1083; case 1083: #line 43738 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st446; case 32: goto st446; case 40: goto tr1448; case 41: goto tr1449; case 1034: goto tr1451; case 1083: goto st450; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr1450; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr1450; } else goto tr1450; goto tr1417; tr1448: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st446; tr1449: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st446; tr1451: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st446; tr1462: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st446; tr1463: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st446; tr1464: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st446; tr1465: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st446; st446: if ( ++p == pe ) goto _test_eof446; case 446: #line 43864 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st446; case 32: goto st446; case 40: goto tr1448; case 41: goto tr1449; case 1034: goto tr1451; case 1083: goto st450; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr1450; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr1450; } else goto tr1450; goto tr1417; tr1450: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st447; st447: if ( ++p == pe ) goto _test_eof447; case 447: #line 43911 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1453; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr1453; } else goto tr1453; goto tr1417; tr1455: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st448; tr1456: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st448; tr1457: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st448; tr1453: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st448; st448: if ( ++p == pe ) goto _test_eof448; case 448: #line 43958 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st448; case 32: goto st448; case 40: goto tr1455; case 41: goto tr1456; case 2058: goto tr1457; case 2107: goto st449; case 2314: goto tr1459; case 2363: goto tr1459; case 2570: goto tr1460; case 2619: goto tr1461; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr1450; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr1450; } else goto tr1450; goto tr1417; st449: if ( ++p == pe ) goto _test_eof449; case 449: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1457; if ( 896 <= _widec && _widec <= 1151 ) goto st449; goto tr1417; tr1444: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1084; tr1459: #line 902 "./scanner_body.rl" { if ((rdata_tail - s->r_data) != s->r_data_length) { WARN(ZSCANNER_EBAD_RDATA_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1084; st1084: if ( ++p == pe ) goto _test_eof1084; case 1084: #line 44053 "scanner.c" goto tr1403; tr1460: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 902 "./scanner_body.rl" { if ((rdata_tail - s->r_data) != s->r_data_length) { WARN(ZSCANNER_EBAD_RDATA_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1085; st1085: if ( ++p == pe ) goto _test_eof1085; case 1085: #line 44076 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st448; case 32: goto st448; case 40: goto tr1455; case 41: goto tr1456; case 2058: goto tr1457; case 2107: goto st449; case 2314: goto tr1459; case 2363: goto tr1459; case 2570: goto tr1460; case 2619: goto tr1461; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr1450; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr1450; } else goto tr1450; goto tr1417; tr1461: #line 902 "./scanner_body.rl" { if ((rdata_tail - s->r_data) != s->r_data_length) { WARN(ZSCANNER_EBAD_RDATA_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1086; st1086: if ( ++p == pe ) goto _test_eof1086; case 1086: #line 44135 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1457; if ( 896 <= _widec && _widec <= 1151 ) goto st449; goto tr1417; tr1466: #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st450; st450: if ( ++p == pe ) goto _test_eof450; case 450: #line 44177 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1451; if ( 896 <= _widec && _widec <= 1151 ) goto st450; goto tr1403; tr1439: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st451; tr1443: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st451; st451: if ( ++p == pe ) goto _test_eof451; case 451: #line 44246 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1462; case 32: goto tr1462; case 40: goto tr1463; case 41: goto tr1464; case 1034: goto tr1465; case 1083: goto tr1466; } if ( 48 <= _widec && _widec <= 57 ) goto tr1443; goto tr1409; tr1446: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } #line 365 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { s->r_data_length = (uint16_t)(s->number64); } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1087; st1087: if ( ++p == pe ) goto _test_eof1087; case 1087: #line 44291 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1451; if ( 896 <= _widec && _widec <= 1151 ) goto st450; goto tr1403; st452: if ( ++p == pe ) goto _test_eof452; case 452: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1436; if ( 896 <= _widec && _widec <= 1151 ) goto st452; goto tr1403; st453: if ( ++p == pe ) goto _test_eof453; case 453: switch( (*p) ) { case 68: goto st455; case 69: goto st470; case 73: goto st500; case 80: goto st508; case 82: goto st521; case 100: goto st455; case 101: goto st470; case 105: goto st500; case 112: goto st508; case 114: goto st521; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr1468; goto tr1467; tr1468: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st454; tr1475: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st454; st454: if ( ++p == pe ) goto _test_eof454; case 454: #line 44409 "scanner.c" switch( (*p) ) { case 32: goto tr1474; case 59: goto tr1474; } if ( (*p) < 40 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr1474; } else if ( (*p) > 41 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1475; } else goto tr1474; goto tr1467; tr1474: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1478: #line 1076 "./scanner_body.rl" { *(rdata_tail++) = 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1480: #line 1079 "./scanner_body.rl" { *(rdata_tail++) = 3; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1492: #line 1085 "./scanner_body.rl" { *(rdata_tail++) = 6; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1501: #line 1097 "./scanner_body.rl" { *(rdata_tail++) = 12; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1515: #line 1100 "./scanner_body.rl" { *(rdata_tail++) = 13; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1524: #line 1103 "./scanner_body.rl" { *(rdata_tail++) = 14; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1532: #line 1106 "./scanner_body.rl" { *(rdata_tail++) = 252; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1543: #line 1109 "./scanner_body.rl" { *(rdata_tail++) = 253; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1546: #line 1112 "./scanner_body.rl" { *(rdata_tail++) = 254; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1553: #line 1073 "./scanner_body.rl" { *(rdata_tail++) = 1; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1559: #line 1082 "./scanner_body.rl" { *(rdata_tail++) = 5; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1571: #line 1088 "./scanner_body.rl" { *(rdata_tail++) = 7; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1574: #line 1091 "./scanner_body.rl" { *(rdata_tail++) = 8; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; tr1577: #line 1094 "./scanner_body.rl" { *(rdata_tail++) = 10; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1088; st1088: if ( ++p == pe ) goto _test_eof1088; case 1088: #line 44583 "scanner.c" goto st0; st455: if ( ++p == pe ) goto _test_eof455; case 455: switch( (*p) ) { case 72: goto st456; case 83: goto st457; case 104: goto st456; case 115: goto st457; } goto tr1467; st456: if ( ++p == pe ) goto _test_eof456; case 456: switch( (*p) ) { case 32: goto tr1478; case 59: goto tr1478; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1478; } else if ( (*p) >= 9 ) goto tr1478; goto tr1467; st457: if ( ++p == pe ) goto _test_eof457; case 457: switch( (*p) ) { case 65: goto st458; case 97: goto st458; } goto tr1467; st458: if ( ++p == pe ) goto _test_eof458; case 458: switch( (*p) ) { case 32: goto tr1480; case 45: goto st459; case 59: goto tr1480; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1480; } else if ( (*p) >= 9 ) goto tr1480; goto tr1467; st459: if ( ++p == pe ) goto _test_eof459; case 459: switch( (*p) ) { case 78: goto st460; case 110: goto st460; } goto tr1467; st460: if ( ++p == pe ) goto _test_eof460; case 460: switch( (*p) ) { case 83: goto st461; case 115: goto st461; } goto tr1467; st461: if ( ++p == pe ) goto _test_eof461; case 461: switch( (*p) ) { case 69: goto st462; case 101: goto st462; } goto tr1467; st462: if ( ++p == pe ) goto _test_eof462; case 462: switch( (*p) ) { case 67: goto st463; case 99: goto st463; } goto tr1467; st463: if ( ++p == pe ) goto _test_eof463; case 463: if ( (*p) == 51 ) goto st464; goto tr1467; st464: if ( ++p == pe ) goto _test_eof464; case 464: if ( (*p) == 45 ) goto st465; goto tr1467; st465: if ( ++p == pe ) goto _test_eof465; case 465: switch( (*p) ) { case 83: goto st466; case 115: goto st466; } goto tr1467; st466: if ( ++p == pe ) goto _test_eof466; case 466: switch( (*p) ) { case 72: goto st467; case 104: goto st467; } goto tr1467; st467: if ( ++p == pe ) goto _test_eof467; case 467: switch( (*p) ) { case 65: goto st468; case 97: goto st468; } goto tr1467; st468: if ( ++p == pe ) goto _test_eof468; case 468: if ( (*p) == 49 ) goto st469; goto tr1467; st469: if ( ++p == pe ) goto _test_eof469; case 469: switch( (*p) ) { case 32: goto tr1492; case 59: goto tr1492; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1492; } else if ( (*p) >= 9 ) goto tr1492; goto tr1467; st470: if ( ++p == pe ) goto _test_eof470; case 470: switch( (*p) ) { case 67: goto st471; case 99: goto st471; } goto tr1467; st471: if ( ++p == pe ) goto _test_eof471; case 471: switch( (*p) ) { case 67: goto st472; case 68: goto st478; case 99: goto st472; case 100: goto st478; } goto tr1467; st472: if ( ++p == pe ) goto _test_eof472; case 472: if ( (*p) == 45 ) goto st473; goto tr1467; st473: if ( ++p == pe ) goto _test_eof473; case 473: switch( (*p) ) { case 71: goto st474; case 103: goto st474; } goto tr1467; st474: if ( ++p == pe ) goto _test_eof474; case 474: switch( (*p) ) { case 79: goto st475; case 111: goto st475; } goto tr1467; st475: if ( ++p == pe ) goto _test_eof475; case 475: switch( (*p) ) { case 83: goto st476; case 115: goto st476; } goto tr1467; st476: if ( ++p == pe ) goto _test_eof476; case 476: switch( (*p) ) { case 84: goto st477; case 116: goto st477; } goto tr1467; st477: if ( ++p == pe ) goto _test_eof477; case 477: switch( (*p) ) { case 32: goto tr1501; case 59: goto tr1501; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1501; } else if ( (*p) >= 9 ) goto tr1501; goto tr1467; st478: if ( ++p == pe ) goto _test_eof478; case 478: switch( (*p) ) { case 83: goto st479; case 115: goto st479; } goto tr1467; st479: if ( ++p == pe ) goto _test_eof479; case 479: switch( (*p) ) { case 65: goto st480; case 97: goto st480; } goto tr1467; st480: if ( ++p == pe ) goto _test_eof480; case 480: switch( (*p) ) { case 80: goto st481; case 112: goto st481; } goto tr1467; st481: if ( ++p == pe ) goto _test_eof481; case 481: switch( (*p) ) { case 50: goto st482; case 51: goto st491; } goto tr1467; st482: if ( ++p == pe ) goto _test_eof482; case 482: if ( (*p) == 53 ) goto st483; goto tr1467; st483: if ( ++p == pe ) goto _test_eof483; case 483: if ( (*p) == 54 ) goto st484; goto tr1467; st484: if ( ++p == pe ) goto _test_eof484; case 484: switch( (*p) ) { case 83: goto st485; case 115: goto st485; } goto tr1467; st485: if ( ++p == pe ) goto _test_eof485; case 485: switch( (*p) ) { case 72: goto st486; case 104: goto st486; } goto tr1467; st486: if ( ++p == pe ) goto _test_eof486; case 486: switch( (*p) ) { case 65: goto st487; case 97: goto st487; } goto tr1467; st487: if ( ++p == pe ) goto _test_eof487; case 487: if ( (*p) == 50 ) goto st488; goto tr1467; st488: if ( ++p == pe ) goto _test_eof488; case 488: if ( (*p) == 53 ) goto st489; goto tr1467; st489: if ( ++p == pe ) goto _test_eof489; case 489: if ( (*p) == 54 ) goto st490; goto tr1467; st490: if ( ++p == pe ) goto _test_eof490; case 490: switch( (*p) ) { case 32: goto tr1515; case 59: goto tr1515; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1515; } else if ( (*p) >= 9 ) goto tr1515; goto tr1467; st491: if ( ++p == pe ) goto _test_eof491; case 491: if ( (*p) == 56 ) goto st492; goto tr1467; st492: if ( ++p == pe ) goto _test_eof492; case 492: if ( (*p) == 52 ) goto st493; goto tr1467; st493: if ( ++p == pe ) goto _test_eof493; case 493: switch( (*p) ) { case 83: goto st494; case 115: goto st494; } goto tr1467; st494: if ( ++p == pe ) goto _test_eof494; case 494: switch( (*p) ) { case 72: goto st495; case 104: goto st495; } goto tr1467; st495: if ( ++p == pe ) goto _test_eof495; case 495: switch( (*p) ) { case 65: goto st496; case 97: goto st496; } goto tr1467; st496: if ( ++p == pe ) goto _test_eof496; case 496: if ( (*p) == 51 ) goto st497; goto tr1467; st497: if ( ++p == pe ) goto _test_eof497; case 497: if ( (*p) == 56 ) goto st498; goto tr1467; st498: if ( ++p == pe ) goto _test_eof498; case 498: if ( (*p) == 52 ) goto st499; goto tr1467; st499: if ( ++p == pe ) goto _test_eof499; case 499: switch( (*p) ) { case 32: goto tr1524; case 59: goto tr1524; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1524; } else if ( (*p) >= 9 ) goto tr1524; goto tr1467; st500: if ( ++p == pe ) goto _test_eof500; case 500: switch( (*p) ) { case 78: goto st501; case 110: goto st501; } goto tr1467; st501: if ( ++p == pe ) goto _test_eof501; case 501: switch( (*p) ) { case 68: goto st502; case 100: goto st502; } goto tr1467; st502: if ( ++p == pe ) goto _test_eof502; case 502: switch( (*p) ) { case 73: goto st503; case 105: goto st503; } goto tr1467; st503: if ( ++p == pe ) goto _test_eof503; case 503: switch( (*p) ) { case 82: goto st504; case 114: goto st504; } goto tr1467; st504: if ( ++p == pe ) goto _test_eof504; case 504: switch( (*p) ) { case 69: goto st505; case 101: goto st505; } goto tr1467; st505: if ( ++p == pe ) goto _test_eof505; case 505: switch( (*p) ) { case 67: goto st506; case 99: goto st506; } goto tr1467; st506: if ( ++p == pe ) goto _test_eof506; case 506: switch( (*p) ) { case 84: goto st507; case 116: goto st507; } goto tr1467; st507: if ( ++p == pe ) goto _test_eof507; case 507: switch( (*p) ) { case 32: goto tr1532; case 59: goto tr1532; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1532; } else if ( (*p) >= 9 ) goto tr1532; goto tr1467; st508: if ( ++p == pe ) goto _test_eof508; case 508: switch( (*p) ) { case 82: goto st509; case 114: goto st509; } goto tr1467; st509: if ( ++p == pe ) goto _test_eof509; case 509: switch( (*p) ) { case 73: goto st510; case 105: goto st510; } goto tr1467; st510: if ( ++p == pe ) goto _test_eof510; case 510: switch( (*p) ) { case 86: goto st511; case 118: goto st511; } goto tr1467; st511: if ( ++p == pe ) goto _test_eof511; case 511: switch( (*p) ) { case 65: goto st512; case 97: goto st512; } goto tr1467; st512: if ( ++p == pe ) goto _test_eof512; case 512: switch( (*p) ) { case 84: goto st513; case 116: goto st513; } goto tr1467; st513: if ( ++p == pe ) goto _test_eof513; case 513: switch( (*p) ) { case 69: goto st514; case 101: goto st514; } goto tr1467; st514: if ( ++p == pe ) goto _test_eof514; case 514: switch( (*p) ) { case 68: goto st515; case 79: goto st518; case 100: goto st515; case 111: goto st518; } goto tr1467; st515: if ( ++p == pe ) goto _test_eof515; case 515: switch( (*p) ) { case 78: goto st516; case 110: goto st516; } goto tr1467; st516: if ( ++p == pe ) goto _test_eof516; case 516: switch( (*p) ) { case 83: goto st517; case 115: goto st517; } goto tr1467; st517: if ( ++p == pe ) goto _test_eof517; case 517: switch( (*p) ) { case 32: goto tr1543; case 59: goto tr1543; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1543; } else if ( (*p) >= 9 ) goto tr1543; goto tr1467; st518: if ( ++p == pe ) goto _test_eof518; case 518: switch( (*p) ) { case 73: goto st519; case 105: goto st519; } goto tr1467; st519: if ( ++p == pe ) goto _test_eof519; case 519: switch( (*p) ) { case 68: goto st520; case 100: goto st520; } goto tr1467; st520: if ( ++p == pe ) goto _test_eof520; case 520: switch( (*p) ) { case 32: goto tr1546; case 59: goto tr1546; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1546; } else if ( (*p) >= 9 ) goto tr1546; goto tr1467; st521: if ( ++p == pe ) goto _test_eof521; case 521: switch( (*p) ) { case 83: goto st522; case 115: goto st522; } goto tr1467; st522: if ( ++p == pe ) goto _test_eof522; case 522: switch( (*p) ) { case 65: goto st523; case 97: goto st523; } goto tr1467; st523: if ( ++p == pe ) goto _test_eof523; case 523: switch( (*p) ) { case 77: goto st524; case 83: goto st527; case 109: goto st524; case 115: goto st527; } goto tr1467; st524: if ( ++p == pe ) goto _test_eof524; case 524: switch( (*p) ) { case 68: goto st525; case 100: goto st525; } goto tr1467; st525: if ( ++p == pe ) goto _test_eof525; case 525: if ( (*p) == 53 ) goto st526; goto tr1467; st526: if ( ++p == pe ) goto _test_eof526; case 526: switch( (*p) ) { case 32: goto tr1553; case 59: goto tr1553; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1553; } else if ( (*p) >= 9 ) goto tr1553; goto tr1467; st527: if ( ++p == pe ) goto _test_eof527; case 527: switch( (*p) ) { case 72: goto st528; case 104: goto st528; } goto tr1467; st528: if ( ++p == pe ) goto _test_eof528; case 528: switch( (*p) ) { case 65: goto st529; case 97: goto st529; } goto tr1467; st529: if ( ++p == pe ) goto _test_eof529; case 529: switch( (*p) ) { case 49: goto st530; case 50: goto st542; case 53: goto st545; } goto tr1467; st530: if ( ++p == pe ) goto _test_eof530; case 530: switch( (*p) ) { case 32: goto tr1559; case 45: goto st531; case 59: goto tr1559; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1559; } else if ( (*p) >= 9 ) goto tr1559; goto tr1467; st531: if ( ++p == pe ) goto _test_eof531; case 531: switch( (*p) ) { case 78: goto st532; case 110: goto st532; } goto tr1467; st532: if ( ++p == pe ) goto _test_eof532; case 532: switch( (*p) ) { case 83: goto st533; case 115: goto st533; } goto tr1467; st533: if ( ++p == pe ) goto _test_eof533; case 533: switch( (*p) ) { case 69: goto st534; case 101: goto st534; } goto tr1467; st534: if ( ++p == pe ) goto _test_eof534; case 534: switch( (*p) ) { case 67: goto st535; case 99: goto st535; } goto tr1467; st535: if ( ++p == pe ) goto _test_eof535; case 535: if ( (*p) == 51 ) goto st536; goto tr1467; st536: if ( ++p == pe ) goto _test_eof536; case 536: if ( (*p) == 45 ) goto st537; goto tr1467; st537: if ( ++p == pe ) goto _test_eof537; case 537: switch( (*p) ) { case 83: goto st538; case 115: goto st538; } goto tr1467; st538: if ( ++p == pe ) goto _test_eof538; case 538: switch( (*p) ) { case 72: goto st539; case 104: goto st539; } goto tr1467; st539: if ( ++p == pe ) goto _test_eof539; case 539: switch( (*p) ) { case 65: goto st540; case 97: goto st540; } goto tr1467; st540: if ( ++p == pe ) goto _test_eof540; case 540: if ( (*p) == 49 ) goto st541; goto tr1467; st541: if ( ++p == pe ) goto _test_eof541; case 541: switch( (*p) ) { case 32: goto tr1571; case 59: goto tr1571; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1571; } else if ( (*p) >= 9 ) goto tr1571; goto tr1467; st542: if ( ++p == pe ) goto _test_eof542; case 542: if ( (*p) == 53 ) goto st543; goto tr1467; st543: if ( ++p == pe ) goto _test_eof543; case 543: if ( (*p) == 54 ) goto st544; goto tr1467; st544: if ( ++p == pe ) goto _test_eof544; case 544: switch( (*p) ) { case 32: goto tr1574; case 59: goto tr1574; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1574; } else if ( (*p) >= 9 ) goto tr1574; goto tr1467; st545: if ( ++p == pe ) goto _test_eof545; case 545: if ( (*p) == 49 ) goto st546; goto tr1467; st546: if ( ++p == pe ) goto _test_eof546; case 546: if ( (*p) == 50 ) goto st547; goto tr1467; st547: if ( ++p == pe ) goto _test_eof547; case 547: switch( (*p) ) { case 32: goto tr1577; case 59: goto tr1577; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1577; } else if ( (*p) >= 9 ) goto tr1577; goto tr1467; st548: if ( ++p == pe ) goto _test_eof548; case 548: switch( (*p) ) { case 65: goto st550; case 73: goto st556; case 79: goto st573; case 80: goto st576; case 83: goto st582; case 85: goto st586; case 97: goto st550; case 105: goto st556; case 111: goto st573; case 112: goto st576; case 115: goto st582; case 117: goto st586; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr1579; goto tr1578; tr1579: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st549; tr1587: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st549; st549: if ( ++p == pe ) goto _test_eof549; case 549: #line 45522 "scanner.c" switch( (*p) ) { case 32: goto tr1586; case 59: goto tr1586; } if ( (*p) < 40 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr1586; } else if ( (*p) > 41 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1587; } else goto tr1586; goto tr1578; tr1586: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1593: #line 1140 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(7); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1602: #line 1144 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(8); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1606: #line 1136 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(6); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1609: #line 1128 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(4); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1613: #line 1132 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(5); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1616: #line 1152 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(254); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1620: #line 1124 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(3); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1623: #line 1116 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(1); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1627: #line 1120 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(2); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; tr1630: #line 1148 "./scanner_body.rl" { *((uint16_t *)rdata_tail) = htons(253); rdata_tail += 2; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1089; st1089: if ( ++p == pe ) goto _test_eof1089; case 1089: #line 45666 "scanner.c" goto st0; st550: if ( ++p == pe ) goto _test_eof550; case 550: switch( (*p) ) { case 67: goto st551; case 99: goto st551; } goto tr1578; st551: if ( ++p == pe ) goto _test_eof551; case 551: switch( (*p) ) { case 80: goto st552; case 112: goto st552; } goto tr1578; st552: if ( ++p == pe ) goto _test_eof552; case 552: switch( (*p) ) { case 75: goto st553; case 107: goto st553; } goto tr1578; st553: if ( ++p == pe ) goto _test_eof553; case 553: switch( (*p) ) { case 73: goto st554; case 105: goto st554; } goto tr1578; st554: if ( ++p == pe ) goto _test_eof554; case 554: switch( (*p) ) { case 88: goto st555; case 120: goto st555; } goto tr1578; st555: if ( ++p == pe ) goto _test_eof555; case 555: switch( (*p) ) { case 32: goto tr1593; case 59: goto tr1593; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1593; } else if ( (*p) >= 9 ) goto tr1593; goto tr1578; st556: if ( ++p == pe ) goto _test_eof556; case 556: switch( (*p) ) { case 65: goto st557; case 80: goto st563; case 83: goto st569; case 97: goto st557; case 112: goto st563; case 115: goto st569; } goto tr1578; st557: if ( ++p == pe ) goto _test_eof557; case 557: switch( (*p) ) { case 67: goto st558; case 99: goto st558; } goto tr1578; st558: if ( ++p == pe ) goto _test_eof558; case 558: switch( (*p) ) { case 80: goto st559; case 112: goto st559; } goto tr1578; st559: if ( ++p == pe ) goto _test_eof559; case 559: switch( (*p) ) { case 75: goto st560; case 107: goto st560; } goto tr1578; st560: if ( ++p == pe ) goto _test_eof560; case 560: switch( (*p) ) { case 73: goto st561; case 105: goto st561; } goto tr1578; st561: if ( ++p == pe ) goto _test_eof561; case 561: switch( (*p) ) { case 88: goto st562; case 120: goto st562; } goto tr1578; st562: if ( ++p == pe ) goto _test_eof562; case 562: switch( (*p) ) { case 32: goto tr1602; case 59: goto tr1602; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1602; } else if ( (*p) >= 9 ) goto tr1602; goto tr1578; st563: if ( ++p == pe ) goto _test_eof563; case 563: switch( (*p) ) { case 71: goto st564; case 75: goto st566; case 103: goto st564; case 107: goto st566; } goto tr1578; st564: if ( ++p == pe ) goto _test_eof564; case 564: switch( (*p) ) { case 80: goto st565; case 112: goto st565; } goto tr1578; st565: if ( ++p == pe ) goto _test_eof565; case 565: switch( (*p) ) { case 32: goto tr1606; case 59: goto tr1606; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1606; } else if ( (*p) >= 9 ) goto tr1606; goto tr1578; st566: if ( ++p == pe ) goto _test_eof566; case 566: switch( (*p) ) { case 73: goto st567; case 105: goto st567; } goto tr1578; st567: if ( ++p == pe ) goto _test_eof567; case 567: switch( (*p) ) { case 88: goto st568; case 120: goto st568; } goto tr1578; st568: if ( ++p == pe ) goto _test_eof568; case 568: switch( (*p) ) { case 32: goto tr1609; case 59: goto tr1609; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1609; } else if ( (*p) >= 9 ) goto tr1609; goto tr1578; st569: if ( ++p == pe ) goto _test_eof569; case 569: switch( (*p) ) { case 80: goto st570; case 112: goto st570; } goto tr1578; st570: if ( ++p == pe ) goto _test_eof570; case 570: switch( (*p) ) { case 75: goto st571; case 107: goto st571; } goto tr1578; st571: if ( ++p == pe ) goto _test_eof571; case 571: switch( (*p) ) { case 73: goto st572; case 105: goto st572; } goto tr1578; st572: if ( ++p == pe ) goto _test_eof572; case 572: switch( (*p) ) { case 32: goto tr1613; case 59: goto tr1613; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1613; } else if ( (*p) >= 9 ) goto tr1613; goto tr1578; st573: if ( ++p == pe ) goto _test_eof573; case 573: switch( (*p) ) { case 73: goto st574; case 105: goto st574; } goto tr1578; st574: if ( ++p == pe ) goto _test_eof574; case 574: switch( (*p) ) { case 68: goto st575; case 100: goto st575; } goto tr1578; st575: if ( ++p == pe ) goto _test_eof575; case 575: switch( (*p) ) { case 32: goto tr1616; case 59: goto tr1616; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1616; } else if ( (*p) >= 9 ) goto tr1616; goto tr1578; st576: if ( ++p == pe ) goto _test_eof576; case 576: switch( (*p) ) { case 71: goto st577; case 75: goto st579; case 103: goto st577; case 107: goto st579; } goto tr1578; st577: if ( ++p == pe ) goto _test_eof577; case 577: switch( (*p) ) { case 80: goto st578; case 112: goto st578; } goto tr1578; st578: if ( ++p == pe ) goto _test_eof578; case 578: switch( (*p) ) { case 32: goto tr1620; case 59: goto tr1620; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1620; } else if ( (*p) >= 9 ) goto tr1620; goto tr1578; st579: if ( ++p == pe ) goto _test_eof579; case 579: switch( (*p) ) { case 73: goto st580; case 105: goto st580; } goto tr1578; st580: if ( ++p == pe ) goto _test_eof580; case 580: switch( (*p) ) { case 88: goto st581; case 120: goto st581; } goto tr1578; st581: if ( ++p == pe ) goto _test_eof581; case 581: switch( (*p) ) { case 32: goto tr1623; case 59: goto tr1623; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1623; } else if ( (*p) >= 9 ) goto tr1623; goto tr1578; st582: if ( ++p == pe ) goto _test_eof582; case 582: switch( (*p) ) { case 80: goto st583; case 112: goto st583; } goto tr1578; st583: if ( ++p == pe ) goto _test_eof583; case 583: switch( (*p) ) { case 75: goto st584; case 107: goto st584; } goto tr1578; st584: if ( ++p == pe ) goto _test_eof584; case 584: switch( (*p) ) { case 73: goto st585; case 105: goto st585; } goto tr1578; st585: if ( ++p == pe ) goto _test_eof585; case 585: switch( (*p) ) { case 32: goto tr1627; case 59: goto tr1627; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1627; } else if ( (*p) >= 9 ) goto tr1627; goto tr1578; st586: if ( ++p == pe ) goto _test_eof586; case 586: switch( (*p) ) { case 82: goto st587; case 114: goto st587; } goto tr1578; st587: if ( ++p == pe ) goto _test_eof587; case 587: switch( (*p) ) { case 73: goto st588; case 105: goto st588; } goto tr1578; st588: if ( ++p == pe ) goto _test_eof588; case 588: switch( (*p) ) { case 32: goto tr1630; case 59: goto tr1630; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1630; } else if ( (*p) >= 9 ) goto tr1630; goto tr1578; st589: if ( ++p == pe ) goto _test_eof589; case 589: if ( (*p) == 46 ) goto tr1632; if ( 48 <= (*p) && (*p) <= 57 ) goto tr1632; goto tr1631; tr1632: #line 746 "./scanner_body.rl" { s->buffer_length = 0; } #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st590; tr1634: #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st590; st590: if ( ++p == pe ) goto _test_eof590; case 590: #line 46118 "scanner.c" switch( (*p) ) { case 32: goto tr1633; case 46: goto tr1634; case 59: goto tr1633; } if ( (*p) < 40 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr1633; } else if ( (*p) > 41 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1634; } else goto tr1633; goto tr1631; tr1633: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1090; st1090: if ( ++p == pe ) goto _test_eof1090; case 1090: #line 46157 "scanner.c" goto st0; st591: if ( ++p == pe ) goto _test_eof591; case 591: switch( (*p) ) { case 42: goto tr1635; case 92: goto tr1635; case 95: goto tr1635; } if ( (*p) < 64 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr1635; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr1635; } else goto tr1635; goto tr69; tr1635: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 592; goto st248;} } goto st592; st592: if ( ++p == pe ) goto _test_eof592; case 592: #line 46189 "scanner.c" switch( (*p) ) { case 32: goto tr1636; case 59: goto tr1636; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1636; } else if ( (*p) >= 9 ) goto tr1636; goto tr69; tr1636: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1091; st1091: if ( ++p == pe ) goto _test_eof1091; case 1091: #line 46214 "scanner.c" goto st0; st593: if ( ++p == pe ) goto _test_eof593; case 593: switch( (*p) ) { case 42: goto tr1637; case 92: goto tr1637; case 95: goto tr1637; } if ( (*p) < 64 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr1637; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr1637; } else goto tr1637; goto tr69; tr1637: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 594; goto st248;} } goto st594; st594: if ( ++p == pe ) goto _test_eof594; case 594: #line 46246 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1638; case 32: goto tr1638; case 40: goto tr1639; case 41: goto tr1640; case 1034: goto tr1641; case 1083: goto tr1642; } goto tr69; tr1644: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st595; tr1645: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st595; tr1647: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st595; tr1638: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st595; tr1639: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st595; tr1640: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st595; tr1641: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st595; st595: if ( ++p == pe ) goto _test_eof595; case 595: #line 46344 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st595; case 32: goto st595; case 40: goto tr1644; case 41: goto tr1645; case 42: goto tr1646; case 92: goto tr1646; case 95: goto tr1646; case 1034: goto tr1647; case 1083: goto st624; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr1646; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr1646; } else goto tr1646; goto tr69; tr1646: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 596; goto st248;} } goto st596; st596: if ( ++p == pe ) goto _test_eof596; case 596: #line 46391 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1649; case 32: goto tr1649; case 40: goto tr1650; case 41: goto tr1651; case 1034: goto tr1652; case 1083: goto tr1653; } goto tr69; tr1656: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st597; tr1657: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st597; tr1659: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st597; tr1649: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st597; tr1650: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st597; tr1651: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st597; tr1652: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st597; st597: if ( ++p == pe ) goto _test_eof597; case 597: #line 46489 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st597; case 32: goto st597; case 40: goto tr1656; case 41: goto tr1657; case 1034: goto tr1659; case 1083: goto st623; } if ( 48 <= _widec && _widec <= 57 ) goto tr1658; goto tr1654; tr1658: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st598; tr1664: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st598; st598: if ( ++p == pe ) goto _test_eof598; case 598: #line 46557 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1661; case 32: goto tr1661; case 40: goto tr1662; case 41: goto tr1663; case 1034: goto tr1665; case 1083: goto tr1666; } if ( 48 <= _widec && _widec <= 57 ) goto tr1664; goto tr1654; tr1668: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st599; tr1669: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st599; tr1671: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st599; tr1661: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st599; tr1662: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st599; tr1663: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st599; tr1665: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st599; st599: if ( ++p == pe ) goto _test_eof599; case 599: #line 46681 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st599; case 32: goto st599; case 40: goto tr1668; case 41: goto tr1669; case 1034: goto tr1671; case 1083: goto st622; } if ( 48 <= _widec && _widec <= 57 ) goto tr1670; goto tr1654; tr1670: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st600; tr1677: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st600; st600: if ( ++p == pe ) goto _test_eof600; case 600: #line 46749 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1674; case 32: goto tr1674; case 40: goto tr1675; case 41: goto tr1676; case 68: goto tr1678; case 72: goto tr1679; case 77: goto tr1680; case 83: goto st619; case 87: goto tr1682; case 100: goto tr1678; case 104: goto tr1679; case 109: goto tr1680; case 115: goto st619; case 119: goto tr1682; case 1034: goto tr1683; case 1083: goto tr1684; } if ( 48 <= _widec && _widec <= 57 ) goto tr1677; goto tr1673; tr1686: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st601; tr1687: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st601; tr1689: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st601; tr1674: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st601; tr1675: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st601; tr1676: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st601; tr1683: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st601; tr1774: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st601; tr1775: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st601; tr1776: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st601; tr1778: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st601; st601: if ( ++p == pe ) goto _test_eof601; case 601: #line 46987 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st601; case 32: goto st601; case 40: goto tr1686; case 41: goto tr1687; case 1034: goto tr1689; case 1083: goto st618; } if ( 48 <= _widec && _widec <= 57 ) goto tr1688; goto tr1654; tr1688: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st602; tr1694: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st602; st602: if ( ++p == pe ) goto _test_eof602; case 602: #line 47055 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1691; case 32: goto tr1691; case 40: goto tr1692; case 41: goto tr1693; case 68: goto tr1695; case 72: goto tr1696; case 77: goto tr1697; case 83: goto st615; case 87: goto tr1699; case 100: goto tr1695; case 104: goto tr1696; case 109: goto tr1697; case 115: goto st615; case 119: goto tr1699; case 1034: goto tr1700; case 1083: goto tr1701; } if ( 48 <= _widec && _widec <= 57 ) goto tr1694; goto tr1673; tr1703: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st603; tr1704: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st603; tr1706: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st603; tr1691: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st603; tr1692: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st603; tr1693: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st603; tr1700: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st603; tr1761: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st603; tr1762: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st603; tr1763: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st603; tr1765: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st603; st603: if ( ++p == pe ) goto _test_eof603; case 603: #line 47293 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st603; case 32: goto st603; case 40: goto tr1703; case 41: goto tr1704; case 1034: goto tr1706; case 1083: goto st614; } if ( 48 <= _widec && _widec <= 57 ) goto tr1705; goto tr1654; tr1705: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st604; tr1711: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st604; st604: if ( ++p == pe ) goto _test_eof604; case 604: #line 47361 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1708; case 32: goto tr1708; case 40: goto tr1709; case 41: goto tr1710; case 68: goto tr1712; case 72: goto tr1713; case 77: goto tr1714; case 83: goto st611; case 87: goto tr1716; case 100: goto tr1712; case 104: goto tr1713; case 109: goto tr1714; case 115: goto st611; case 119: goto tr1716; case 1034: goto tr1717; case 1083: goto tr1718; } if ( 48 <= _widec && _widec <= 57 ) goto tr1711; goto tr1673; tr1720: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st605; tr1721: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st605; tr1723: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st605; tr1708: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st605; tr1709: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st605; tr1710: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st605; tr1717: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st605; tr1748: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st605; tr1749: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st605; tr1750: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st605; tr1752: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st605; st605: if ( ++p == pe ) goto _test_eof605; case 605: #line 47599 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st605; case 32: goto st605; case 40: goto tr1720; case 41: goto tr1721; case 1034: goto tr1723; case 1083: goto st610; } if ( 48 <= _widec && _widec <= 57 ) goto tr1722; goto tr1654; tr1722: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st606; tr1726: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st606; st606: if ( ++p == pe ) goto _test_eof606; case 606: #line 47667 "scanner.c" switch( (*p) ) { case 32: goto tr1725; case 59: goto tr1725; case 68: goto tr1727; case 72: goto tr1728; case 77: goto tr1729; case 83: goto st607; case 87: goto tr1731; case 100: goto tr1727; case 104: goto tr1728; case 109: goto tr1729; case 115: goto st607; case 119: goto tr1731; } if ( (*p) < 40 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr1725; } else if ( (*p) > 41 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1726; } else goto tr1725; goto tr1673; tr1725: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1092; tr1739: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1092; st1092: if ( ++p == pe ) goto _test_eof1092; case 1092: #line 47736 "scanner.c" goto st0; tr1727: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st607; tr1728: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st607; tr1729: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st607; tr1731: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st607; st607: if ( ++p == pe ) goto _test_eof607; case 607: #line 47782 "scanner.c" switch( (*p) ) { case 32: goto tr1725; case 59: goto tr1725; } if ( (*p) < 40 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr1725; } else if ( (*p) > 41 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1732; } else goto tr1725; goto tr1673; tr1733: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st608; tr1732: #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st608; tr1740: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st608; st608: if ( ++p == pe ) goto _test_eof608; case 608: #line 47876 "scanner.c" switch( (*p) ) { case 68: goto tr1734; case 72: goto tr1735; case 77: goto tr1736; case 83: goto st609; case 87: goto tr1738; case 100: goto tr1734; case 104: goto tr1735; case 109: goto tr1736; case 115: goto st609; case 119: goto tr1738; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr1733; goto tr1673; tr1734: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st609; tr1735: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st609; tr1736: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st609; tr1738: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st609; st609: if ( ++p == pe ) goto _test_eof609; case 609: #line 47936 "scanner.c" switch( (*p) ) { case 32: goto tr1739; case 59: goto tr1739; } if ( (*p) < 40 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr1739; } else if ( (*p) > 41 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr1740; } else goto tr1739; goto tr1673; tr1718: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st610; tr1753: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st610; st610: if ( ++p == pe ) goto _test_eof610; case 610: #line 47987 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1723; if ( 896 <= _widec && _widec <= 1151 ) goto st610; goto tr69; tr1712: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st611; tr1713: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st611; tr1714: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st611; tr1716: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st611; st611: if ( ++p == pe ) goto _test_eof611; case 611: #line 48058 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1708; case 32: goto tr1708; case 40: goto tr1709; case 41: goto tr1710; case 1034: goto tr1717; case 1083: goto tr1718; } if ( 48 <= _widec && _widec <= 57 ) goto tr1741; goto tr1673; tr1742: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st612; tr1741: #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st612; tr1751: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st612; st612: if ( ++p == pe ) goto _test_eof612; case 612: #line 48164 "scanner.c" switch( (*p) ) { case 68: goto tr1743; case 72: goto tr1744; case 77: goto tr1745; case 83: goto st613; case 87: goto tr1747; case 100: goto tr1743; case 104: goto tr1744; case 109: goto tr1745; case 115: goto st613; case 119: goto tr1747; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr1742; goto tr1673; tr1743: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st613; tr1744: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st613; tr1745: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st613; tr1747: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st613; st613: if ( ++p == pe ) goto _test_eof613; case 613: #line 48224 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1748; case 32: goto tr1748; case 40: goto tr1749; case 41: goto tr1750; case 1034: goto tr1752; case 1083: goto tr1753; } if ( 48 <= _widec && _widec <= 57 ) goto tr1751; goto tr1673; tr1701: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st614; tr1766: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st614; st614: if ( ++p == pe ) goto _test_eof614; case 614: #line 48287 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1706; if ( 896 <= _widec && _widec <= 1151 ) goto st614; goto tr69; tr1695: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st615; tr1696: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st615; tr1697: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st615; tr1699: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st615; st615: if ( ++p == pe ) goto _test_eof615; case 615: #line 48358 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1691; case 32: goto tr1691; case 40: goto tr1692; case 41: goto tr1693; case 1034: goto tr1700; case 1083: goto tr1701; } if ( 48 <= _widec && _widec <= 57 ) goto tr1754; goto tr1673; tr1755: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st616; tr1754: #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st616; tr1764: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st616; st616: if ( ++p == pe ) goto _test_eof616; case 616: #line 48464 "scanner.c" switch( (*p) ) { case 68: goto tr1756; case 72: goto tr1757; case 77: goto tr1758; case 83: goto st617; case 87: goto tr1760; case 100: goto tr1756; case 104: goto tr1757; case 109: goto tr1758; case 115: goto st617; case 119: goto tr1760; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr1755; goto tr1673; tr1756: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st617; tr1757: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st617; tr1758: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st617; tr1760: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st617; st617: if ( ++p == pe ) goto _test_eof617; case 617: #line 48524 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1761; case 32: goto tr1761; case 40: goto tr1762; case 41: goto tr1763; case 1034: goto tr1765; case 1083: goto tr1766; } if ( 48 <= _widec && _widec <= 57 ) goto tr1764; goto tr1673; tr1684: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st618; tr1779: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st618; st618: if ( ++p == pe ) goto _test_eof618; case 618: #line 48587 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1689; if ( 896 <= _widec && _widec <= 1151 ) goto st618; goto tr69; tr1678: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st619; tr1679: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st619; tr1680: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st619; tr1682: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st619; st619: if ( ++p == pe ) goto _test_eof619; case 619: #line 48658 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1674; case 32: goto tr1674; case 40: goto tr1675; case 41: goto tr1676; case 1034: goto tr1683; case 1083: goto tr1684; } if ( 48 <= _widec && _widec <= 57 ) goto tr1767; goto tr1673; tr1768: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st620; tr1767: #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st620; tr1777: #line 423 "./scanner_body.rl" { if (s->number64 + s->number64_tmp < UINT32_MAX) { s->number64 += s->number64_tmp; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 420 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st620; st620: if ( ++p == pe ) goto _test_eof620; case 620: #line 48764 "scanner.c" switch( (*p) ) { case 68: goto tr1769; case 72: goto tr1770; case 77: goto tr1771; case 83: goto st621; case 87: goto tr1773; case 100: goto tr1769; case 104: goto tr1770; case 109: goto tr1771; case 115: goto st621; case 119: goto tr1773; } if ( 48 <= (*p) && (*p) <= 57 ) goto tr1768; goto tr1673; tr1769: #line 403 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 86400)) { s->number64 *= 86400; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st621; tr1770: #line 396 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 3600)) { s->number64 *= 3600; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st621; tr1771: #line 389 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 60)) { s->number64 *= 60; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st621; tr1773: #line 410 "./scanner_body.rl" { if (s->number64 <= (UINT32_MAX / 604800)) { s->number64 *= 604800; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st621; st621: if ( ++p == pe ) goto _test_eof621; case 621: #line 48824 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1774; case 32: goto tr1774; case 40: goto tr1775; case 41: goto tr1776; case 1034: goto tr1778; case 1083: goto tr1779; } if ( 48 <= _widec && _widec <= 57 ) goto tr1777; goto tr1673; tr1666: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st622; st622: if ( ++p == pe ) goto _test_eof622; case 622: #line 48866 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1671; if ( 896 <= _widec && _widec <= 1151 ) goto st622; goto tr69; tr1653: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st623; st623: if ( ++p == pe ) goto _test_eof623; case 623: #line 48903 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1659; if ( 896 <= _widec && _widec <= 1151 ) goto st623; goto tr69; tr1642: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st624; st624: if ( ++p == pe ) goto _test_eof624; case 624: #line 48940 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1647; if ( 896 <= _widec && _widec <= 1151 ) goto st624; goto tr69; st625: if ( ++p == pe ) goto _test_eof625; case 625: switch( (*p) ) { case 32: goto tr69; case 59: goto tr69; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr69; } else if ( (*p) >= 9 ) goto tr69; goto tr1780; tr1780: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 561 "./scanner_body.rl" { p--; {stack[top++] = 626; goto st257;} } goto st626; st626: if ( ++p == pe ) goto _test_eof626; case 626: #line 48993 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1781; case 32: goto tr1781; case 40: goto tr1782; case 41: goto tr1783; case 1034: goto tr1784; case 1083: goto tr1785; } goto tr69; tr1788: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st627; tr1789: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st627; tr1790: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st627; tr1781: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st627; tr1782: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st627; tr1783: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st627; tr1784: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st627; st627: if ( ++p == pe ) goto _test_eof627; case 627: #line 49119 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st627; case 32: goto st627; case 40: goto tr1788; case 41: goto tr1789; case 1034: goto tr1790; case 1083: goto st629; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr1786; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr1786; } else goto tr1786; goto tr69; tr1786: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 561 "./scanner_body.rl" { p--; {stack[top++] = 628; goto st257;} } goto st628; st628: if ( ++p == pe ) goto _test_eof628; case 628: #line 49163 "scanner.c" switch( (*p) ) { case 32: goto tr1792; case 59: goto tr1792; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1792; } else if ( (*p) >= 9 ) goto tr1792; goto tr69; tr1792: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1093; st1093: if ( ++p == pe ) goto _test_eof1093; case 1093: #line 49195 "scanner.c" goto st0; tr1785: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st629; st629: if ( ++p == pe ) goto _test_eof629; case 629: #line 49214 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1790; if ( 896 <= _widec && _widec <= 1151 ) goto st629; goto tr69; st630: if ( ++p == pe ) goto _test_eof630; case 630: switch( (*p) ) { case 42: goto tr1793; case 92: goto tr1793; case 95: goto tr1793; } if ( (*p) < 64 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr1793; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr1793; } else goto tr1793; goto tr69; tr1793: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 631; goto st248;} } goto st631; st631: if ( ++p == pe ) goto _test_eof631; case 631: #line 49271 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1794; case 32: goto tr1794; case 40: goto tr1795; case 41: goto tr1796; case 1034: goto tr1797; case 1083: goto tr1798; } goto tr69; tr1800: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st632; tr1801: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st632; tr1803: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st632; tr1794: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st632; tr1795: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st632; tr1796: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st632; tr1797: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st632; st632: if ( ++p == pe ) goto _test_eof632; case 632: #line 49369 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st632; case 32: goto st632; case 40: goto tr1800; case 41: goto tr1801; case 42: goto tr1802; case 92: goto tr1802; case 95: goto tr1802; case 1034: goto tr1803; case 1083: goto st634; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr1802; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr1802; } else goto tr1802; goto tr69; tr1802: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 633; goto st248;} } goto st633; st633: if ( ++p == pe ) goto _test_eof633; case 633: #line 49416 "scanner.c" 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 tr69; tr1805: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1094; st1094: if ( ++p == pe ) goto _test_eof1094; case 1094: #line 49441 "scanner.c" goto st0; tr1798: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st634; st634: if ( ++p == pe ) goto _test_eof634; case 634: #line 49453 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1803; if ( 896 <= _widec && _widec <= 1151 ) goto st634; goto tr69; st635: if ( ++p == pe ) goto _test_eof635; case 635: if ( 48 <= (*p) && (*p) <= 57 ) goto tr1806; goto tr1654; tr1806: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st636; tr1810: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st636; st636: if ( ++p == pe ) goto _test_eof636; case 636: #line 49529 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1807; case 32: goto tr1807; case 40: goto tr1808; case 41: goto tr1809; case 1034: goto tr1811; case 1083: goto tr1812; } if ( 48 <= _widec && _widec <= 57 ) goto tr1810; goto tr1654; tr1814: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st637; tr1815: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st637; tr1817: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st637; tr1807: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st637; tr1808: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st637; tr1809: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st637; tr1811: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st637; st637: if ( ++p == pe ) goto _test_eof637; case 637: #line 49653 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st637; case 32: goto st637; case 40: goto tr1814; case 41: goto tr1815; case 42: goto tr1816; case 92: goto tr1816; case 95: goto tr1816; case 1034: goto tr1817; case 1083: goto st639; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr1816; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr1816; } else goto tr1816; goto tr69; tr1816: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 638; goto st248;} } goto st638; st638: if ( ++p == pe ) goto _test_eof638; case 638: #line 49700 "scanner.c" switch( (*p) ) { case 32: goto tr1819; case 59: goto tr1819; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1819; } else if ( (*p) >= 9 ) goto tr1819; goto tr69; tr1819: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1095; st1095: if ( ++p == pe ) goto _test_eof1095; case 1095: #line 49725 "scanner.c" goto st0; tr1812: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st639; st639: if ( ++p == pe ) goto _test_eof639; case 639: #line 49743 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1817; if ( 896 <= _widec && _widec <= 1151 ) goto st639; goto tr69; st640: if ( ++p == pe ) goto _test_eof640; case 640: switch( (*p) ) { case 32: goto tr69; case 59: goto tr69; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr69; } else if ( (*p) >= 9 ) goto tr69; goto tr1820; tr1820: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 561 "./scanner_body.rl" { p--; {stack[top++] = 641; goto st257;} } goto st641; st641: if ( ++p == pe ) goto _test_eof641; case 641: #line 49796 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1821; case 32: goto tr1821; case 40: goto tr1822; case 41: goto tr1823; case 2058: goto tr1824; case 2107: goto tr1825; case 2314: goto tr1826; case 2363: goto tr1826; case 2570: goto tr1827; case 2619: goto tr1828; } goto tr69; tr1830: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st642; tr1831: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st642; tr1832: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st642; tr1821: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st642; tr1822: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st642; tr1823: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st642; tr1824: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st642; st642: if ( ++p == pe ) goto _test_eof642; case 642: #line 49932 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st642; case 32: goto st642; case 40: goto tr1830; case 41: goto tr1831; case 2058: goto tr1832; case 2107: goto st643; case 2314: goto tr1834; case 2363: goto tr1834; case 2570: goto tr1835; case 2619: goto tr1836; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr1820; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr1820; } else goto tr1820; goto tr69; tr1825: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st643; st643: if ( ++p == pe ) goto _test_eof643; case 643: #line 49991 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1832; if ( 896 <= _widec && _widec <= 1151 ) goto st643; goto tr69; tr1834: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1096; tr1826: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1096; st1096: if ( ++p == pe ) goto _test_eof1096; case 1096: #line 50045 "scanner.c" goto st0; tr1835: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1097; tr1827: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1097; st1097: if ( ++p == pe ) goto _test_eof1097; case 1097: #line 50082 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st642; case 32: goto st642; case 40: goto tr1830; case 41: goto tr1831; case 2058: goto tr1832; case 2107: goto st643; case 2314: goto tr1834; case 2363: goto tr1834; case 2570: goto tr1835; case 2619: goto tr1836; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr1820; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr1820; } else goto tr1820; goto tr69; tr1836: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1098; tr1828: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1098; st1098: if ( ++p == pe ) goto _test_eof1098; case 1098: #line 50151 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1832; if ( 896 <= _widec && _widec <= 1151 ) goto st643; goto tr69; st644: if ( ++p == pe ) goto _test_eof644; case 644: if ( (*p) == 46 ) goto tr1837; if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 58 ) goto tr1837; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr1837; } else goto tr1837; goto tr1631; tr1837: #line 746 "./scanner_body.rl" { s->buffer_length = 0; } #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st645; tr1839: #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st645; st645: if ( ++p == pe ) goto _test_eof645; case 645: #line 50225 "scanner.c" switch( (*p) ) { case 32: goto tr1838; case 46: goto tr1839; case 59: goto tr1838; } if ( (*p) < 48 ) { if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr1838; } else if ( (*p) >= 9 ) goto tr1838; } else if ( (*p) > 58 ) { if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr1839; } else if ( (*p) >= 65 ) goto tr1839; } else goto tr1839; goto tr1631; tr1838: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1099; st1099: if ( ++p == pe ) goto _test_eof1099; case 1099: #line 50270 "scanner.c" goto st0; st646: if ( ++p == pe ) goto _test_eof646; case 646: if ( 48 <= (*p) && (*p) <= 57 ) goto tr1841; goto tr1840; tr1845: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st647; tr1841: #line 1428 "./scanner_body.rl" { 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; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st647; st647: if ( ++p == pe ) goto _test_eof647; case 647: #line 50332 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1842; case 32: goto tr1842; case 40: goto tr1843; case 41: goto tr1844; case 1034: goto tr1846; case 1083: goto tr1847; } if ( 48 <= _widec && _widec <= 57 ) goto tr1845; goto tr1840; tr1849: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st648; tr1850: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st648; tr1854: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st648; tr1842: #line 1323 "./scanner_body.rl" { if (s->number64 <= 90) { s->loc.d1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st648; tr1843: #line 1323 "./scanner_body.rl" { if (s->number64 <= 90) { s->loc.d1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st648; tr1844: #line 1323 "./scanner_body.rl" { if (s->number64 <= 90) { s->loc.d1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st648; tr1846: #line 1323 "./scanner_body.rl" { if (s->number64 <= 90) { s->loc.d1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st648; st648: if ( ++p == pe ) goto _test_eof648; case 648: #line 50452 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st648; case 32: goto st648; case 40: goto tr1849; case 41: goto tr1850; case 78: goto st653; case 83: goto st695; case 1034: goto tr1854; case 1083: goto st700; } if ( 48 <= _widec && _widec <= 57 ) goto tr1851; goto tr1840; tr1851: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st649; tr1859: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st649; st649: if ( ++p == pe ) goto _test_eof649; case 649: #line 50522 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1856; case 32: goto tr1856; case 40: goto tr1857; case 41: goto tr1858; case 1034: goto tr1860; case 1083: goto tr1861; } if ( 48 <= _widec && _widec <= 57 ) goto tr1859; goto tr1840; tr1863: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st650; tr1864: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st650; tr1866: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st650; tr1856: #line 1339 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st650; tr1857: #line 1339 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st650; tr1858: #line 1339 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st650; tr1860: #line 1339 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st650; st650: if ( ++p == pe ) goto _test_eof650; case 650: #line 50642 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st650; case 32: goto st650; case 40: goto tr1863; case 41: goto tr1864; case 78: goto st653; case 83: goto st695; case 1034: goto tr1866; case 1083: goto st699; } if ( 48 <= _widec && _widec <= 57 ) goto tr1865; goto tr1840; tr1872: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st651; tr1865: #line 319 "./scanner_body.rl" { s->decimals = 3; } #line 289 "./scanner_body.rl" { s->decimal_counter = 0; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st651; st651: if ( ++p == pe ) goto _test_eof651; case 651: #line 50720 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1868; case 32: goto tr1868; case 40: goto tr1869; case 41: goto tr1870; case 46: goto st697; case 1034: goto tr1873; case 1083: goto tr1874; } if ( 48 <= _widec && _widec <= 57 ) goto tr1872; goto tr1840; tr1876: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st652; tr1877: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st652; tr1878: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st652; tr1868: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st652; tr1869: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st652; tr1870: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st652; tr1873: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st652; tr2067: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st652; tr2068: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st652; tr2069: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st652; tr2071: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st652; st652: if ( ++p == pe ) goto _test_eof652; case 652: #line 51025 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st652; case 32: goto st652; case 40: goto tr1876; case 41: goto tr1877; case 78: goto st653; case 83: goto st695; case 1034: goto tr1878; case 1083: goto st696; } goto tr1840; st653: if ( ++p == pe ) goto _test_eof653; case 653: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st654; case 32: goto st654; case 40: goto tr1881; case 41: goto tr1882; case 1034: goto tr1883; case 1083: goto st694; } goto tr1840; tr1881: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st654; tr1882: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st654; tr1883: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st654; tr2062: #line 1405 "./scanner_body.rl" { s->loc.lat_sign = -1; } goto st654; tr2063: #line 1405 "./scanner_body.rl" { s->loc.lat_sign = -1; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st654; tr2064: #line 1405 "./scanner_body.rl" { s->loc.lat_sign = -1; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st654; tr2065: #line 1405 "./scanner_body.rl" { s->loc.lat_sign = -1; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st654; st654: if ( ++p == pe ) goto _test_eof654; case 654: #line 51152 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st654; case 32: goto st654; case 40: goto tr1881; case 41: goto tr1882; case 1034: goto tr1883; case 1083: goto st694; } if ( 48 <= _widec && _widec <= 57 ) goto tr1885; goto tr1840; tr1885: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st655; tr1889: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st655; st655: if ( ++p == pe ) goto _test_eof655; case 655: #line 51220 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1886; case 32: goto tr1886; case 40: goto tr1887; case 41: goto tr1888; case 1034: goto tr1890; case 1083: goto tr1891; } if ( 48 <= _widec && _widec <= 57 ) goto tr1889; goto tr1840; tr1893: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st656; tr1894: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st656; tr1898: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st656; tr1886: #line 1331 "./scanner_body.rl" { if (s->number64 <= 180) { s->loc.d2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st656; tr1887: #line 1331 "./scanner_body.rl" { if (s->number64 <= 180) { s->loc.d2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st656; tr1888: #line 1331 "./scanner_body.rl" { if (s->number64 <= 180) { s->loc.d2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st656; tr1890: #line 1331 "./scanner_body.rl" { if (s->number64 <= 180) { s->loc.d2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st656; st656: if ( ++p == pe ) goto _test_eof656; case 656: #line 51340 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st656; case 32: goto st656; case 40: goto tr1893; case 41: goto tr1894; case 69: goto st661; case 87: goto st688; case 1034: goto tr1898; case 1083: goto st693; } if ( 48 <= _widec && _widec <= 57 ) goto tr1895; goto tr1840; tr1895: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st657; tr1903: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st657; st657: if ( ++p == pe ) goto _test_eof657; case 657: #line 51410 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1900; case 32: goto tr1900; case 40: goto tr1901; case 41: goto tr1902; case 1034: goto tr1904; case 1083: goto tr1905; } if ( 48 <= _widec && _widec <= 57 ) goto tr1903; goto tr1840; tr1907: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st658; tr1908: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st658; tr1910: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st658; tr1900: #line 1347 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st658; tr1901: #line 1347 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st658; tr1902: #line 1347 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st658; tr1904: #line 1347 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st658; st658: if ( ++p == pe ) goto _test_eof658; case 658: #line 51530 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st658; case 32: goto st658; case 40: goto tr1907; case 41: goto tr1908; case 69: goto st661; case 87: goto st688; case 1034: goto tr1910; case 1083: goto st692; } if ( 48 <= _widec && _widec <= 57 ) goto tr1909; goto tr1840; tr1916: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st659; tr1909: #line 319 "./scanner_body.rl" { s->decimals = 3; } #line 289 "./scanner_body.rl" { s->decimal_counter = 0; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st659; st659: if ( ++p == pe ) goto _test_eof659; case 659: #line 51608 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1912; case 32: goto tr1912; case 40: goto tr1913; case 41: goto tr1914; case 46: goto st690; case 1034: goto tr1917; case 1083: goto tr1918; } if ( 48 <= _widec && _widec <= 57 ) goto tr1916; goto tr1840; tr1920: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st660; tr1921: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st660; tr1922: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st660; tr1912: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st660; tr1913: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st660; tr1914: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st660; tr1917: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st660; tr2055: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st660; tr2056: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st660; tr2057: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st660; tr2059: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st660; st660: if ( ++p == pe ) goto _test_eof660; case 660: #line 51913 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st660; case 32: goto st660; case 40: goto tr1920; case 41: goto tr1921; case 69: goto st661; case 87: goto st688; case 1034: goto tr1922; case 1083: goto st689; } goto tr1840; st661: if ( ++p == pe ) goto _test_eof661; case 661: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st662; case 32: goto st662; case 40: goto tr1925; case 41: goto tr1926; case 1034: goto tr1927; case 1083: goto st687; } goto tr1840; tr1925: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st662; tr1926: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st662; tr1927: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st662; tr2050: #line 1408 "./scanner_body.rl" { s->loc.long_sign = -1; } goto st662; tr2051: #line 1408 "./scanner_body.rl" { s->loc.long_sign = -1; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st662; tr2052: #line 1408 "./scanner_body.rl" { s->loc.long_sign = -1; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st662; tr2053: #line 1408 "./scanner_body.rl" { s->loc.long_sign = -1; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st662; st662: if ( ++p == pe ) goto _test_eof662; case 662: #line 52040 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st662; case 32: goto st662; case 40: goto tr1925; case 41: goto tr1926; case 45: goto st663; case 1034: goto tr1927; case 1083: goto st687; } if ( 48 <= _widec && _widec <= 57 ) goto tr1930; goto tr1840; st663: if ( ++p == pe ) goto _test_eof663; case 663: if ( 48 <= (*p) && (*p) <= 57 ) goto tr1931; goto tr1840; tr1936: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st664; tr1930: #line 316 "./scanner_body.rl" { s->decimals = 2; } #line 289 "./scanner_body.rl" { s->decimal_counter = 0; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st664; tr1931: #line 1411 "./scanner_body.rl" { s->loc.alt_sign = -1; } #line 316 "./scanner_body.rl" { s->decimals = 2; } #line 289 "./scanner_body.rl" { s->decimal_counter = 0; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st664; st664: if ( ++p == pe ) goto _test_eof664; case 664: #line 52157 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1932; case 32: goto tr1932; case 40: goto tr1933; case 41: goto tr1934; case 46: goto st684; case 109: goto tr1937; case 2058: goto tr1938; case 2107: goto tr1939; case 2314: goto tr1940; case 2363: goto tr1940; case 2570: goto tr1941; case 2619: goto tr1942; } if ( 48 <= _widec && _widec <= 57 ) goto tr1936; goto tr1840; tr1944: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st665; tr1945: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st665; tr1947: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st665; tr1932: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st665; tr1933: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st665; tr1934: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st665; tr1938: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st665; tr2039: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st665; tr2040: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st665; tr2041: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st665; tr2044: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st665; st665: if ( ++p == pe ) goto _test_eof665; case 665: #line 52489 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st665; case 32: goto st665; case 40: goto tr1944; case 41: goto tr1945; case 2058: goto tr1947; case 2107: goto st683; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1950; case 2619: goto tr1951; } if ( 48 <= _widec && _widec <= 57 ) goto tr1946; goto tr1840; tr1956: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st666; tr1946: #line 316 "./scanner_body.rl" { s->decimals = 2; } #line 289 "./scanner_body.rl" { s->decimal_counter = 0; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st666; st666: if ( ++p == pe ) goto _test_eof666; case 666: #line 52575 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1952; case 32: goto tr1952; case 40: goto tr1953; case 41: goto tr1954; case 46: goto st680; case 109: goto tr1957; case 2058: goto tr1958; case 2107: goto tr1959; case 2314: goto tr1960; case 2363: goto tr1960; case 2570: goto tr1961; case 2619: goto tr1962; } if ( 48 <= _widec && _widec <= 57 ) goto tr1956; goto tr1840; tr1964: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st667; tr1965: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st667; tr1967: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st667; tr1952: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st667; tr1953: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st667; tr1954: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st667; tr1958: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st667; tr2028: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st667; tr2029: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st667; tr2030: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st667; tr2033: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st667; st667: if ( ++p == pe ) goto _test_eof667; case 667: #line 52891 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st667; case 32: goto st667; case 40: goto tr1964; case 41: goto tr1965; case 2058: goto tr1967; case 2107: goto st679; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1969; case 2619: goto tr1970; } if ( 48 <= _widec && _widec <= 57 ) goto tr1966; goto tr1840; tr1975: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st668; tr1966: #line 316 "./scanner_body.rl" { s->decimals = 2; } #line 289 "./scanner_body.rl" { s->decimal_counter = 0; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st668; st668: if ( ++p == pe ) goto _test_eof668; case 668: #line 52977 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1971; case 32: goto tr1971; case 40: goto tr1972; case 41: goto tr1973; case 46: goto st676; case 109: goto tr1976; case 2058: goto tr1977; case 2107: goto tr1978; case 2314: goto tr1979; case 2363: goto tr1979; case 2570: goto tr1980; case 2619: goto tr1981; } if ( 48 <= _widec && _widec <= 57 ) goto tr1975; goto tr1840; tr1983: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st669; tr1984: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st669; tr1986: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st669; tr1971: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st669; tr1972: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st669; tr1973: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st669; tr1977: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st669; tr2017: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st669; tr2018: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st669; tr2019: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st669; tr2022: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st669; st669: if ( ++p == pe ) goto _test_eof669; case 669: #line 53293 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st669; case 32: goto st669; case 40: goto tr1983; case 41: goto tr1984; case 2058: goto tr1986; case 2107: goto st675; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1988; case 2619: goto tr1989; } if ( 48 <= _widec && _widec <= 57 ) goto tr1985; goto tr1840; tr1994: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st670; tr1985: #line 316 "./scanner_body.rl" { s->decimals = 2; } #line 289 "./scanner_body.rl" { s->decimal_counter = 0; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st670; st670: if ( ++p == pe ) goto _test_eof670; case 670: #line 53379 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1990; case 32: goto tr1990; case 40: goto tr1991; case 41: goto tr1992; case 46: goto st673; case 109: goto tr1990; case 2058: goto tr1995; case 2107: goto tr1996; case 2314: goto tr1997; case 2363: goto tr1997; case 2570: goto tr1998; case 2619: goto tr1999; } if ( 48 <= _widec && _widec <= 57 ) goto tr1994; goto tr1840; tr2001: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st671; tr2002: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st671; tr2003: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st671; tr1990: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st671; tr1991: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st671; tr1992: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st671; tr1995: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st671; tr2007: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st671; tr2008: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st671; tr2009: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st671; tr2011: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st671; st671: if ( ++p == pe ) goto _test_eof671; case 671: #line 53695 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st671; case 32: goto st671; case 40: goto tr2001; case 41: goto tr2002; case 2058: goto tr2003; case 2107: goto st672; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr2005; case 2619: goto tr2006; } goto tr1840; tr1996: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st672; tr2012: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st672; st672: if ( ++p == pe ) goto _test_eof672; case 672: #line 53785 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2003; if ( 896 <= _widec && _widec <= 1151 ) goto st672; goto tr1840; tr1940: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr1949: #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr1960: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr1979: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr1997: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr2013: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr2024: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr2035: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; tr2046: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1100; st1100: if ( ++p == pe ) goto _test_eof1100; case 1100: #line 54309 "scanner.c" goto st0; tr2005: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1101; tr1998: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1101; tr2014: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1101; st1101: if ( ++p == pe ) goto _test_eof1101; case 1101: #line 54474 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st671; case 32: goto st671; case 40: goto tr2001; case 41: goto tr2002; case 2058: goto tr2003; case 2107: goto st672; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr2005; case 2619: goto tr2006; } goto tr1840; tr2006: #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1102; tr1999: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1102; tr2015: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1397 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.vp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1102; st1102: if ( ++p == pe ) goto _test_eof1102; case 1102: #line 54659 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2003; if ( 896 <= _widec && _widec <= 1151 ) goto st672; goto tr1840; st673: if ( ++p == pe ) goto _test_eof673; case 673: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr2007; case 32: goto tr2007; case 40: goto tr2008; case 41: goto tr2009; case 109: goto tr2007; case 2058: goto tr2011; case 2107: goto tr2012; case 2314: goto tr2013; case 2363: goto tr2013; case 2570: goto tr2014; case 2619: goto tr2015; } if ( 48 <= _widec && _widec <= 57 ) goto tr2010; goto tr1840; tr2010: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st674; tr2016: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st674; st674: if ( ++p == pe ) goto _test_eof674; case 674: #line 54780 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1990; case 32: goto tr1990; case 40: goto tr1991; case 41: goto tr1992; case 109: goto tr1990; case 2058: goto tr1995; case 2107: goto tr1996; case 2314: goto tr1997; case 2363: goto tr1997; case 2570: goto tr1998; case 2619: goto tr1999; } if ( 48 <= _widec && _widec <= 57 ) goto tr2016; goto tr1840; tr1978: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st675; tr2023: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st675; st675: if ( ++p == pe ) goto _test_eof675; case 675: #line 54873 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1986; if ( 896 <= _widec && _widec <= 1151 ) goto st675; goto tr1840; tr1988: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1103; tr1980: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1103; tr2025: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1103; st1103: if ( ++p == pe ) goto _test_eof1103; case 1103: #line 55063 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st669; case 32: goto st669; case 40: goto tr1983; case 41: goto tr1984; case 2058: goto tr1986; case 2107: goto st675; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1988; case 2619: goto tr1989; } if ( 48 <= _widec && _widec <= 57 ) goto tr1985; goto tr1840; tr1989: #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1104; tr1981: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1104; tr2026: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1104; st1104: if ( ++p == pe ) goto _test_eof1104; case 1104: #line 55250 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1986; if ( 896 <= _widec && _widec <= 1151 ) goto st675; goto tr1840; st676: if ( ++p == pe ) goto _test_eof676; case 676: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr2017; case 32: goto tr2017; case 40: goto tr2018; case 41: goto tr2019; case 109: goto tr2021; case 2058: goto tr2022; case 2107: goto tr2023; case 2314: goto tr2024; case 2363: goto tr2024; case 2570: goto tr2025; case 2619: goto tr2026; } if ( 48 <= _widec && _widec <= 57 ) goto tr2020; goto tr1840; tr2020: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st677; tr2027: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st677; st677: if ( ++p == pe ) goto _test_eof677; case 677: #line 55371 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1971; case 32: goto tr1971; case 40: goto tr1972; case 41: goto tr1973; case 109: goto tr1976; case 2058: goto tr1977; case 2107: goto tr1978; case 2314: goto tr1979; case 2363: goto tr1979; case 2570: goto tr1980; case 2619: goto tr1981; } if ( 48 <= _widec && _widec <= 57 ) goto tr2027; goto tr1840; tr1976: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st678; tr2021: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1389 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.hp = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st678; st678: if ( ++p == pe ) goto _test_eof678; case 678: #line 55464 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st669; case 32: goto st669; case 40: goto tr1983; case 41: goto tr1984; case 2058: goto tr1986; case 2107: goto st675; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1988; case 2619: goto tr1989; } goto tr1840; tr1959: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st679; tr2034: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st679; st679: if ( ++p == pe ) goto _test_eof679; case 679: #line 55554 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1967; if ( 896 <= _widec && _widec <= 1151 ) goto st679; goto tr1840; tr1969: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1105; tr1961: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1105; tr2036: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1105; st1105: if ( ++p == pe ) goto _test_eof1105; case 1105: #line 55744 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st667; case 32: goto st667; case 40: goto tr1964; case 41: goto tr1965; case 2058: goto tr1967; case 2107: goto st679; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1969; case 2619: goto tr1970; } if ( 48 <= _widec && _widec <= 57 ) goto tr1966; goto tr1840; tr1970: #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1106; tr1962: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1106; tr2037: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1106; st1106: if ( ++p == pe ) goto _test_eof1106; case 1106: #line 55931 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1967; if ( 896 <= _widec && _widec <= 1151 ) goto st679; goto tr1840; st680: if ( ++p == pe ) goto _test_eof680; case 680: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr2028; case 32: goto tr2028; case 40: goto tr2029; case 41: goto tr2030; case 109: goto tr2032; case 2058: goto tr2033; case 2107: goto tr2034; case 2314: goto tr2035; case 2363: goto tr2035; case 2570: goto tr2036; case 2619: goto tr2037; } if ( 48 <= _widec && _widec <= 57 ) goto tr2031; goto tr1840; tr2031: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st681; tr2038: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st681; st681: if ( ++p == pe ) goto _test_eof681; case 681: #line 56052 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1952; case 32: goto tr1952; case 40: goto tr1953; case 41: goto tr1954; case 109: goto tr1957; case 2058: goto tr1958; case 2107: goto tr1959; case 2314: goto tr1960; case 2363: goto tr1960; case 2570: goto tr1961; case 2619: goto tr1962; } if ( 48 <= _widec && _widec <= 57 ) goto tr2038; goto tr1840; tr1957: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st682; tr2032: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1381 "./scanner_body.rl" { if (s->number64 <= 9000000000ULL) { s->loc.siz = s->number64; } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st682; st682: if ( ++p == pe ) goto _test_eof682; case 682: #line 56145 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st667; case 32: goto st667; case 40: goto tr1964; case 41: goto tr1965; case 2058: goto tr1967; case 2107: goto st679; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1969; case 2619: goto tr1970; } goto tr1840; tr1939: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st683; tr2045: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st683; st683: if ( ++p == pe ) goto _test_eof683; case 683: #line 56239 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1947; if ( 896 <= _widec && _widec <= 1151 ) goto st683; goto tr1840; tr1941: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1107; tr1950: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1107; tr2047: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1107; st1107: if ( ++p == pe ) goto _test_eof1107; case 1107: #line 56433 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st665; case 32: goto st665; case 40: goto tr1944; case 41: goto tr1945; case 2058: goto tr1947; case 2107: goto st683; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1950; case 2619: goto tr1951; } if ( 48 <= _widec && _widec <= 57 ) goto tr1946; goto tr1840; tr1942: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1108; tr1951: #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1108; tr2048: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } #line 1438 "./scanner_body.rl" { // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1108; st1108: if ( ++p == pe ) goto _test_eof1108; case 1108: #line 56624 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1947; if ( 896 <= _widec && _widec <= 1151 ) goto st683; goto tr1840; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr2039; case 32: goto tr2039; case 40: goto tr2040; case 41: goto tr2041; case 109: goto tr2043; case 2058: goto tr2044; case 2107: goto tr2045; case 2314: goto tr2046; case 2363: goto tr2046; case 2570: goto tr2047; case 2619: goto tr2048; } if ( 48 <= _widec && _widec <= 57 ) goto tr2042; goto tr1840; tr2042: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st685; tr2049: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st685; st685: if ( ++p == pe ) goto _test_eof685; case 685: #line 56745 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr1932; case 32: goto tr1932; case 40: goto tr1933; case 41: goto tr1934; case 109: goto tr1937; case 2058: goto tr1938; case 2107: goto tr1939; case 2314: goto tr1940; case 2363: goto tr1940; case 2570: goto tr1941; case 2619: goto tr1942; } if ( 48 <= _widec && _widec <= 57 ) goto tr2049; goto tr1840; tr1937: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st686; tr2043: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1371 "./scanner_body.rl" { 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(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st686; st686: if ( ++p == pe ) goto _test_eof686; case 686: #line 56842 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st665; case 32: goto st665; case 40: goto tr1944; case 41: goto tr1945; case 2058: goto tr1947; case 2107: goto st683; case 2314: goto tr1949; case 2363: goto tr1949; case 2570: goto tr1950; case 2619: goto tr1951; } goto tr1840; tr2054: #line 1408 "./scanner_body.rl" { s->loc.long_sign = -1; } goto st687; st687: if ( ++p == pe ) goto _test_eof687; case 687: #line 56886 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1927; if ( 896 <= _widec && _widec <= 1151 ) goto st687; goto tr1840; st688: if ( ++p == pe ) goto _test_eof688; case 688: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2050; case 32: goto tr2050; case 40: goto tr2051; case 41: goto tr2052; case 1034: goto tr2053; case 1083: goto tr2054; } goto tr1840; tr1918: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st689; tr2060: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1363 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st689; st689: if ( ++p == pe ) goto _test_eof689; case 689: #line 56996 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1922; if ( 896 <= _widec && _widec <= 1151 ) goto st689; goto tr1840; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2055; case 32: goto tr2055; case 40: goto tr2056; case 41: goto tr2057; case 1034: goto tr2059; case 1083: goto tr2060; } if ( 48 <= _widec && _widec <= 57 ) goto tr2058; goto tr1840; tr2058: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st691; tr2061: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st691; st691: if ( ++p == pe ) goto _test_eof691; case 691: #line 57106 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1912; case 32: goto tr1912; case 40: goto tr1913; case 41: goto tr1914; case 1034: goto tr1917; case 1083: goto tr1918; } if ( 48 <= _widec && _widec <= 57 ) goto tr2061; goto tr1840; tr1905: #line 1347 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st692; st692: if ( ++p == pe ) goto _test_eof692; case 692: #line 57147 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1910; if ( 896 <= _widec && _widec <= 1151 ) goto st692; goto tr1840; tr1891: #line 1331 "./scanner_body.rl" { if (s->number64 <= 180) { s->loc.d2 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st693; st693: if ( ++p == pe ) goto _test_eof693; case 693: #line 57189 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1898; if ( 896 <= _widec && _widec <= 1151 ) goto st693; goto tr1840; tr2066: #line 1405 "./scanner_body.rl" { s->loc.lat_sign = -1; } goto st694; st694: if ( ++p == pe ) goto _test_eof694; case 694: #line 57226 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1883; if ( 896 <= _widec && _widec <= 1151 ) goto st694; goto tr1840; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2062; case 32: goto tr2062; case 40: goto tr2063; case 41: goto tr2064; case 1034: goto tr2065; case 1083: goto tr2066; } goto tr1840; tr1874: #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st696; tr2072: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 299 "./scanner_body.rl" { 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(ZSCANNER_EFLOAT_OVERFLOW); p--; {goto st246;} } } #line 1355 "./scanner_body.rl" { if (s->number64 <= 59999) { s->loc.s1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st696; st696: if ( ++p == pe ) goto _test_eof696; case 696: #line 57336 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1878; if ( 896 <= _widec && _widec <= 1151 ) goto st696; goto tr1840; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2067; case 32: goto tr2067; case 40: goto tr2068; case 41: goto tr2069; case 1034: goto tr2071; case 1083: goto tr2072; } if ( 48 <= _widec && _widec <= 57 ) goto tr2070; goto tr1840; tr2070: #line 292 "./scanner_body.rl" { s->number64_tmp = s->number64; } #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st698; tr2073: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } #line 295 "./scanner_body.rl" { s->decimal_counter++; } goto st698; st698: if ( ++p == pe ) goto _test_eof698; case 698: #line 57446 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr1868; case 32: goto tr1868; case 40: goto tr1869; case 41: goto tr1870; case 1034: goto tr1873; case 1083: goto tr1874; } if ( 48 <= _widec && _widec <= 57 ) goto tr2073; goto tr1840; tr1861: #line 1339 "./scanner_body.rl" { if (s->number64 <= 59) { s->loc.m1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st699; st699: if ( ++p == pe ) goto _test_eof699; case 699: #line 57487 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1866; if ( 896 <= _widec && _widec <= 1151 ) goto st699; goto tr1840; tr1847: #line 1323 "./scanner_body.rl" { if (s->number64 <= 90) { s->loc.d1 = (uint32_t)(s->number64); } else { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } } goto st700; st700: if ( ++p == pe ) goto _test_eof700; case 700: #line 57529 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr1854; if ( 896 <= _widec && _widec <= 1151 ) goto st700; goto tr1840; st701: if ( ++p == pe ) goto _test_eof701; case 701: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2074; goto tr1654; tr2074: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st702; tr2078: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st702; st702: if ( ++p == pe ) goto _test_eof702; case 702: #line 57605 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2075; case 32: goto tr2075; case 40: goto tr2076; case 41: goto tr2077; case 1034: goto tr2079; case 1083: goto tr2080; } if ( 48 <= _widec && _widec <= 57 ) goto tr2078; goto tr1654; tr2082: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st703; tr2083: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st703; tr2085: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st703; tr2075: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st703; tr2076: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st703; tr2077: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st703; tr2079: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st703; st703: if ( ++p == pe ) goto _test_eof703; case 703: #line 57729 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st703; case 32: goto st703; case 40: goto tr2082; case 41: goto tr2083; case 1034: goto tr2085; case 1083: goto st711; } if ( 48 <= _widec && _widec <= 57 ) goto tr2084; goto tr1654; tr2084: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st704; tr2090: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st704; st704: if ( ++p == pe ) goto _test_eof704; case 704: #line 57797 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2087; case 32: goto tr2087; case 40: goto tr2088; case 41: goto tr2089; case 1034: goto tr2091; case 1083: goto tr2092; } if ( 48 <= _widec && _widec <= 57 ) goto tr2090; goto tr1654; tr2094: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st705; tr2095: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st705; tr2097: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st705; tr2087: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st705; tr2088: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st705; tr2089: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st705; tr2091: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st705; st705: if ( ++p == pe ) goto _test_eof705; case 705: #line 57921 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st705; case 32: goto st705; case 40: goto tr2094; case 41: goto tr2095; case 1034: goto tr2097; case 1083: goto st710; } if ( 48 <= _widec && _widec <= 57 ) goto tr2096; goto tr1654; tr2096: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st706; tr2102: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st706; st706: if ( ++p == pe ) goto _test_eof706; case 706: #line 57989 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2099; case 32: goto tr2099; case 40: goto tr2100; case 41: goto tr2101; case 1034: goto tr2103; case 1083: goto tr2104; } if ( 48 <= _widec && _widec <= 57 ) goto tr2102; goto tr1654; tr2106: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st707; tr2107: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st707; tr2109: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st707; tr2099: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st707; tr2100: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st707; tr2101: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st707; tr2103: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st707; st707: if ( ++p == pe ) goto _test_eof707; case 707: #line 58113 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st707; case 32: goto st707; case 40: goto tr2106; case 41: goto tr2107; case 42: goto tr2108; case 92: goto tr2108; case 95: goto tr2108; case 1034: goto tr2109; case 1083: goto st709; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr2108; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2108; } else goto tr2108; goto tr69; tr2108: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 708; goto st248;} } goto st708; st708: if ( ++p == pe ) goto _test_eof708; case 708: #line 58160 "scanner.c" switch( (*p) ) { case 32: goto tr2111; case 59: goto tr2111; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr2111; } else if ( (*p) >= 9 ) goto tr2111; goto tr69; tr2111: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1109; st1109: if ( ++p == pe ) goto _test_eof1109; case 1109: #line 58185 "scanner.c" goto st0; tr2104: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st709; st709: if ( ++p == pe ) goto _test_eof709; case 709: #line 58203 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2109; if ( 896 <= _widec && _widec <= 1151 ) goto st709; goto tr69; tr2092: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st710; st710: if ( ++p == pe ) goto _test_eof710; case 710: #line 58246 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2097; if ( 896 <= _widec && _widec <= 1151 ) goto st710; goto tr69; tr2080: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st711; st711: if ( ++p == pe ) goto _test_eof711; case 711: #line 58289 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2085; if ( 896 <= _widec && _widec <= 1151 ) goto st711; goto tr69; st712: if ( ++p == pe ) goto _test_eof712; case 712: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2112; goto tr1654; tr2112: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st713; tr2116: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st713; st713: if ( ++p == pe ) goto _test_eof713; case 713: #line 58365 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2113; case 32: goto tr2113; case 40: goto tr2114; case 41: goto tr2115; case 1034: goto tr2117; case 1083: goto tr2118; } if ( 48 <= _widec && _widec <= 57 ) goto tr2116; goto tr1654; tr2120: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st714; tr2121: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st714; tr2123: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st714; tr2113: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st714; tr2114: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st714; tr2115: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st714; tr2117: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st714; st714: if ( ++p == pe ) goto _test_eof714; case 714: #line 58489 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st714; case 32: goto st714; case 40: goto tr2120; case 41: goto tr2121; case 1034: goto tr2123; case 1083: goto st728; } if ( 48 <= _widec && _widec <= 57 ) goto tr2122; goto tr1654; tr2122: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st715; tr2128: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st715; st715: if ( ++p == pe ) goto _test_eof715; case 715: #line 58557 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2125; case 32: goto tr2125; case 40: goto tr2126; case 41: goto tr2127; case 1034: goto tr2129; case 1083: goto tr2130; } if ( 48 <= _widec && _widec <= 57 ) goto tr2128; goto tr1654; tr2133: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st716; tr2134: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st716; tr2135: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st716; tr2125: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st716; tr2126: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st716; tr2127: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st716; tr2129: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st716; st716: if ( ++p == pe ) goto _test_eof716; case 716: #line 58681 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st716; case 32: goto st716; case 40: goto tr2133; case 41: goto tr2134; case 1034: goto tr2135; case 1083: goto st727; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr2131; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr2131; } else goto tr2131; goto tr69; tr2131: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 561 "./scanner_body.rl" { p--; {stack[top++] = 717; goto st257;} } goto st717; st717: if ( ++p == pe ) goto _test_eof717; case 717: #line 58725 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2137; case 32: goto tr2137; case 40: goto tr2138; case 41: goto tr2139; case 1034: goto tr2140; case 1083: goto tr2141; } goto tr69; tr2144: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st718; tr2145: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st718; tr2146: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st718; tr2137: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st718; tr2138: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st718; tr2139: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st718; tr2140: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st718; st718: if ( ++p == pe ) goto _test_eof718; case 718: #line 58851 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st718; case 32: goto st718; case 40: goto tr2144; case 41: goto tr2145; case 1034: goto tr2146; case 1083: goto st726; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr2142; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr2142; } else goto tr2142; goto tr69; tr2142: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 561 "./scanner_body.rl" { p--; {stack[top++] = 719; goto st257;} } goto st719; st719: if ( ++p == pe ) goto _test_eof719; case 719: #line 58895 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2148; case 32: goto tr2148; case 40: goto tr2149; case 41: goto tr2150; case 1034: goto tr2151; case 1083: goto tr2152; } goto tr69; tr2155: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st720; tr2156: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st720; tr2157: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st720; tr2148: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st720; tr2149: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st720; tr2150: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st720; tr2151: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st720; st720: if ( ++p == pe ) goto _test_eof720; case 720: #line 59021 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st720; case 32: goto st720; case 40: goto tr2155; case 41: goto tr2156; case 1034: goto tr2157; case 1083: goto st725; } if ( _widec < 11 ) { if ( _widec <= 8 ) goto tr2153; } else if ( _widec > 58 ) { if ( 60 <= _widec ) goto tr2153; } else goto tr2153; goto tr69; tr2153: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 561 "./scanner_body.rl" { p--; {stack[top++] = 721; goto st257;} } goto st721; st721: if ( ++p == pe ) goto _test_eof721; case 721: #line 59065 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2159; case 32: goto tr2159; case 40: goto tr2160; case 41: goto tr2161; case 1034: goto tr2162; case 1083: goto tr2163; } goto tr69; tr2165: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st722; tr2166: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st722; tr2168: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st722; tr2159: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st722; tr2160: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st722; tr2161: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st722; tr2162: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st722; st722: if ( ++p == pe ) goto _test_eof722; case 722: #line 59191 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st722; case 32: goto st722; case 40: goto tr2165; case 41: goto tr2166; case 42: goto tr2167; case 92: goto tr2167; case 95: goto tr2167; case 1034: goto tr2168; case 1083: goto st724; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr2167; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2167; } else goto tr2167; goto tr69; tr2167: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 723; goto st248;} } goto st723; st723: if ( ++p == pe ) goto _test_eof723; case 723: #line 59238 "scanner.c" switch( (*p) ) { case 32: goto tr2170; case 59: goto tr2170; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr2170; } else if ( (*p) >= 9 ) goto tr2170; goto tr69; tr2170: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1110; st1110: if ( ++p == pe ) goto _test_eof1110; case 1110: #line 59263 "scanner.c" goto st0; tr2163: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st724; st724: if ( ++p == pe ) goto _test_eof724; case 724: #line 59282 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2168; if ( 896 <= _widec && _widec <= 1151 ) goto st724; goto tr69; tr2152: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st725; st725: if ( ++p == pe ) goto _test_eof725; case 725: #line 59326 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2157; if ( 896 <= _widec && _widec <= 1151 ) goto st725; goto tr69; tr2141: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st726; st726: if ( ++p == pe ) goto _test_eof726; case 726: #line 59370 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2146; if ( 896 <= _widec && _widec <= 1151 ) goto st726; goto tr69; tr2130: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st727; st727: if ( ++p == pe ) goto _test_eof727; case 727: #line 59413 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2135; if ( 896 <= _widec && _widec <= 1151 ) goto st727; goto tr69; tr2118: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st728; st728: if ( ++p == pe ) goto _test_eof728; case 728: #line 59456 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2123; if ( 896 <= _widec && _widec <= 1151 ) goto st728; goto tr69; st729: if ( ++p == pe ) goto _test_eof729; case 729: if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2171; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr2171; } else goto tr2171; goto tr69; tr2171: #line 1594 "./scanner_body.rl" { p--; {stack[top++] = 730; goto st548;} } goto st730; st730: if ( ++p == pe ) goto _test_eof730; case 730: #line 59504 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st731; case 32: goto st731; case 40: goto tr2173; case 41: goto tr2174; case 1034: goto tr2175; case 1083: goto st739; } goto tr69; tr2173: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st731; tr2174: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st731; tr2175: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st731; st731: if ( ++p == pe ) goto _test_eof731; case 731: #line 59558 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st731; case 32: goto st731; case 40: goto tr2173; case 41: goto tr2174; case 1034: goto tr2175; case 1083: goto st739; } if ( 48 <= _widec && _widec <= 57 ) goto tr2177; goto tr1654; tr2177: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st732; tr2181: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st732; st732: if ( ++p == pe ) goto _test_eof732; case 732: #line 59626 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2178; case 32: goto tr2178; case 40: goto tr2179; case 41: goto tr2180; case 1034: goto tr2182; case 1083: goto tr2183; } if ( 48 <= _widec && _widec <= 57 ) goto tr2181; goto tr1654; tr2185: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st733; tr2186: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st733; tr2188: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st733; tr2178: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st733; tr2179: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st733; tr2180: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st733; tr2182: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st733; st733: if ( ++p == pe ) goto _test_eof733; case 733: #line 59750 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st733; case 32: goto st733; case 40: goto tr2185; case 41: goto tr2186; case 1034: goto tr2188; case 1083: goto st738; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2187; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2187; } else goto tr2187; goto tr69; tr2187: #line 1579 "./scanner_body.rl" { p--; {stack[top++] = 734; goto st453;} } goto st734; st734: if ( ++p == pe ) goto _test_eof734; case 734: #line 59790 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st735; case 32: goto st735; case 40: goto tr2191; case 41: goto tr2192; case 1034: goto tr2193; case 1083: goto st737; } goto tr69; tr2191: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st735; tr2192: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st735; tr2193: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st735; st735: if ( ++p == pe ) goto _test_eof735; case 735: #line 59844 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st735; case 32: goto st735; case 40: goto tr2191; case 41: goto tr2192; case 43: goto tr2195; case 1034: goto tr2193; case 1083: goto st737; } if ( _widec < 65 ) { if ( 47 <= _widec && _widec <= 57 ) goto tr2195; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2195; } else goto tr2195; goto tr69; tr2195: #line 973 "./scanner_body.rl" { p--; {stack[top++] = 736; goto st307;} } goto st736; st736: if ( ++p == pe ) goto _test_eof736; case 736: #line 59885 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } switch( _widec ) { case 1546: goto tr2196; case 1595: goto tr2196; } goto tr69; tr2196: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1111; st1111: if ( ++p == pe ) goto _test_eof1111; case 1111: #line 59915 "scanner.c" goto st0; st737: if ( ++p == pe ) goto _test_eof737; case 737: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2193; if ( 896 <= _widec && _widec <= 1151 ) goto st737; goto tr69; tr2183: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st738; st738: if ( ++p == pe ) goto _test_eof738; case 738: #line 59963 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2188; if ( 896 <= _widec && _widec <= 1151 ) goto st738; goto tr69; st739: if ( ++p == pe ) goto _test_eof739; case 739: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2175; if ( 896 <= _widec && _widec <= 1151 ) goto st739; goto tr69; tr2200: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st740; tr2201: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st740; tr2204: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st740; tr2217: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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 st740; tr2218: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st740; tr2219: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st740; tr2221: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st740; st740: if ( ++p == pe ) goto _test_eof740; case 740: #line 60266 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st740; case 32: goto st740; case 33: goto tr2199; case 40: goto tr2200; case 41: goto tr2201; case 49: goto tr2202; case 50: goto tr2203; case 2058: goto tr2204; case 2107: goto st747; case 2314: goto tr2206; case 2363: goto tr2206; case 2570: goto tr2207; case 2619: goto tr2208; } goto tr2197; tr2199: #line 801 "./scanner_body.rl" { memset(&(s->apl), 0, sizeof(s->apl)); } #line 804 "./scanner_body.rl" { s->apl.excl_flag = 128; // dec 128 = bin 10000000. } goto st741; st741: if ( ++p == pe ) goto _test_eof741; case 741: #line 60317 "scanner.c" switch( (*p) ) { case 49: goto tr2209; case 50: goto tr2210; } goto tr2197; tr2202: #line 801 "./scanner_body.rl" { memset(&(s->apl), 0, sizeof(s->apl)); } #line 807 "./scanner_body.rl" { s->apl.addr_family = 1; } goto st742; tr2209: #line 807 "./scanner_body.rl" { s->apl.addr_family = 1; } goto st742; st742: if ( ++p == pe ) goto _test_eof742; case 742: #line 60343 "scanner.c" if ( (*p) == 58 ) goto st743; goto tr2197; st743: if ( ++p == pe ) goto _test_eof743; case 743: if ( (*p) == 46 ) goto tr2213; if ( 48 <= (*p) && (*p) <= 57 ) goto tr2213; goto tr2212; tr2213: #line 746 "./scanner_body.rl" { s->buffer_length = 0; } #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st744; tr2214: #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st744; st744: if ( ++p == pe ) goto _test_eof744; case 744: #line 60388 "scanner.c" if ( (*p) == 47 ) goto tr2215; if ( 46 <= (*p) && (*p) <= 57 ) goto tr2214; goto tr2212; tr2215: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } goto st745; tr2229: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } goto st745; st745: if ( ++p == pe ) goto _test_eof745; case 745: #line 60420 "scanner.c" if ( 48 <= (*p) && (*p) <= 57 ) goto tr2216; goto tr2197; tr2216: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st746; tr2220: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st746; st746: if ( ++p == pe ) goto _test_eof746; case 746: #line 60466 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto tr2217; case 32: goto tr2217; case 40: goto tr2218; case 41: goto tr2219; case 2058: goto tr2221; case 2107: goto tr2222; case 2314: goto tr2223; case 2363: goto tr2223; case 2570: goto tr2224; case 2619: goto tr2225; } if ( 48 <= _widec && _widec <= 57 ) goto tr2220; goto tr2197; tr2222: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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 st747; st747: if ( ++p == pe ) goto _test_eof747; case 747: #line 60555 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2204; if ( 896 <= _widec && _widec <= 1151 ) goto st747; goto tr69; tr2206: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1112; tr2223: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1112; st1112: if ( ++p == pe ) goto _test_eof1112; case 1112: #line 60645 "scanner.c" goto st0; tr2207: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1113; tr2224: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1113; st1113: if ( ++p == pe ) goto _test_eof1113; case 1113: #line 60718 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st740; case 32: goto st740; case 33: goto tr2199; case 40: goto tr2200; case 41: goto tr2201; case 49: goto tr2202; case 50: goto tr2203; case 2058: goto tr2204; case 2107: goto st747; case 2314: goto tr2206; case 2363: goto tr2206; case 2570: goto tr2207; case 2619: goto tr2208; } goto tr2197; tr2203: #line 801 "./scanner_body.rl" { memset(&(s->apl), 0, sizeof(s->apl)); } #line 810 "./scanner_body.rl" { s->apl.addr_family = 2; } goto st748; tr2210: #line 810 "./scanner_body.rl" { s->apl.addr_family = 2; } goto st748; st748: if ( ++p == pe ) goto _test_eof748; case 748: #line 60775 "scanner.c" if ( (*p) == 58 ) goto st749; goto tr2197; st749: if ( ++p == pe ) goto _test_eof749; case 749: if ( (*p) == 46 ) goto tr2227; if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 58 ) goto tr2227; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr2227; } else goto tr2227; goto tr2212; tr2227: #line 746 "./scanner_body.rl" { s->buffer_length = 0; } #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st750; tr2228: #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st750; st750: if ( ++p == pe ) goto _test_eof750; case 750: #line 60826 "scanner.c" if ( (*p) == 47 ) goto tr2229; if ( (*p) < 65 ) { if ( 46 <= (*p) && (*p) <= 58 ) goto tr2228; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr2228; } else goto tr2228; goto tr2212; tr2208: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1114; tr2225: #line 813 "./scanner_body.rl" { 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(ZSCANNER_EBAD_APL); p--; {goto st246;} } } #line 822 "./scanner_body.rl" { // Write address family. *((uint16_t *)rdata_tail) = htons(s->apl.addr_family); rdata_tail += 2; // Write prefix length in bites. *(rdata_tail) = s->apl.prefix_length; rdata_tail += 1; // Copy address to buffer. uint8_t len; switch (s->apl.addr_family) { case 1: len = INET4_ADDR_LENGTH; memcpy(s->buffer, &(addr4.s_addr), len); break; case 2: len = INET6_ADDR_LENGTH; memcpy(s->buffer, &(addr6.s6_addr), len); break; default: WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } // Find prefix without trailing zeroes. while (len > 0) { if ((s->buffer[len - 1] & 255) != 0) { break; } len--; } // 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; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1114; st1114: if ( ++p == pe ) goto _test_eof1114; case 1114: #line 60901 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2204; if ( 896 <= _widec && _widec <= 1151 ) goto st747; goto tr69; st751: if ( ++p == pe ) goto _test_eof751; case 751: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2230; goto tr1654; tr2230: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st752; tr2234: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st752; st752: if ( ++p == pe ) goto _test_eof752; case 752: #line 60977 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2231; case 32: goto tr2231; case 40: goto tr2232; case 41: goto tr2233; case 1034: goto tr2235; case 1083: goto tr2236; } if ( 48 <= _widec && _widec <= 57 ) goto tr2234; goto tr1654; tr2238: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st753; tr2239: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st753; tr2241: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st753; tr2231: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st753; tr2232: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st753; tr2233: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st753; tr2235: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st753; st753: if ( ++p == pe ) goto _test_eof753; case 753: #line 61101 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st753; case 32: goto st753; case 40: goto tr2238; case 41: goto tr2239; case 1034: goto tr2241; case 1083: goto st763; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2240; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2240; } else goto tr2240; goto tr69; tr2240: #line 1579 "./scanner_body.rl" { p--; {stack[top++] = 754; goto st453;} } goto st754; st754: if ( ++p == pe ) goto _test_eof754; case 754: #line 61141 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st755; case 32: goto st755; case 40: goto tr2244; case 41: goto tr2245; case 1034: goto tr2246; case 1083: goto st762; } goto tr69; tr2244: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st755; tr2245: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st755; tr2246: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st755; st755: if ( ++p == pe ) goto _test_eof755; case 755: #line 61195 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st755; case 32: goto st755; case 40: goto tr2244; case 41: goto tr2245; case 1034: goto tr2246; case 1083: goto st762; } if ( 48 <= _widec && _widec <= 57 ) goto tr2248; goto tr1654; tr2248: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st756; tr2252: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st756; st756: if ( ++p == pe ) goto _test_eof756; case 756: #line 61263 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2249; case 32: goto tr2249; case 40: goto tr2250; case 41: goto tr2251; case 1034: goto tr2253; case 1083: goto tr2254; } if ( 48 <= _widec && _widec <= 57 ) goto tr2252; goto tr1654; tr2257: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st757; tr2258: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st757; tr2260: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st757; tr2249: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st757; tr2250: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st757; tr2251: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st757; tr2253: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st757; st757: if ( ++p == pe ) goto _test_eof757; case 757: #line 61387 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st757; case 32: goto st757; case 40: goto tr2257; case 41: goto tr2258; case 1034: goto tr2260; case 1083: goto st761; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2259; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2259; } else goto tr2259; goto tr2255; tr2259: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st758; st758: if ( ++p == pe ) goto _test_eof758; case 758: #line 61434 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2262; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr2262; } else goto tr2262; goto tr2255; tr2264: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st759; tr2265: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st759; tr2266: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st759; tr2262: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st759; st759: if ( ++p == pe ) goto _test_eof759; case 759: #line 61481 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st759; case 32: goto st759; case 40: goto tr2264; case 41: goto tr2265; case 2058: goto tr2266; case 2107: goto st760; case 2314: goto tr2268; case 2363: goto tr2268; case 2570: goto tr2269; case 2619: goto tr2270; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2259; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2259; } else goto tr2259; goto tr2255; st760: if ( ++p == pe ) goto _test_eof760; case 760: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2266; if ( 896 <= _widec && _widec <= 1151 ) goto st760; goto tr2255; tr2268: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1115; st1115: if ( ++p == pe ) goto _test_eof1115; case 1115: #line 61563 "scanner.c" goto st0; tr2269: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1116; st1116: if ( ++p == pe ) goto _test_eof1116; case 1116: #line 61579 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st759; case 32: goto st759; case 40: goto tr2264; case 41: goto tr2265; case 2058: goto tr2266; case 2107: goto st760; case 2314: goto tr2268; case 2363: goto tr2268; case 2570: goto tr2269; case 2619: goto tr2270; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2259; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2259; } else goto tr2259; goto tr2255; tr2270: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1117; st1117: if ( ++p == pe ) goto _test_eof1117; case 1117: #line 61631 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2266; if ( 896 <= _widec && _widec <= 1151 ) goto st760; goto tr2255; tr2254: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st761; st761: if ( ++p == pe ) goto _test_eof761; case 761: #line 61674 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2260; if ( 896 <= _widec && _widec <= 1151 ) goto st761; goto tr69; st762: if ( ++p == pe ) goto _test_eof762; case 762: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2246; if ( 896 <= _widec && _widec <= 1151 ) goto st762; goto tr69; tr2236: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st763; st763: if ( ++p == pe ) goto _test_eof763; case 763: #line 61747 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2241; if ( 896 <= _widec && _widec <= 1151 ) goto st763; goto tr69; st764: if ( ++p == pe ) goto _test_eof764; case 764: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2271; goto tr1654; tr2271: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st765; tr2275: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st765; st765: if ( ++p == pe ) goto _test_eof765; case 765: #line 61823 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2272; case 32: goto tr2272; case 40: goto tr2273; case 41: goto tr2274; case 1034: goto tr2276; case 1083: goto tr2277; } if ( 48 <= _widec && _widec <= 57 ) goto tr2275; goto tr1654; tr2279: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st766; tr2280: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st766; tr2282: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st766; tr2272: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st766; tr2273: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st766; tr2274: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st766; tr2276: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st766; st766: if ( ++p == pe ) goto _test_eof766; case 766: #line 61947 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st766; case 32: goto st766; case 40: goto tr2279; case 41: goto tr2280; case 1034: goto tr2282; case 1083: goto st773; } if ( 48 <= _widec && _widec <= 57 ) goto tr2281; goto tr1654; tr2281: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st767; tr2287: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st767; st767: if ( ++p == pe ) goto _test_eof767; case 767: #line 62015 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2284; case 32: goto tr2284; case 40: goto tr2285; case 41: goto tr2286; case 1034: goto tr2288; case 1083: goto tr2289; } if ( 48 <= _widec && _widec <= 57 ) goto tr2287; goto tr1654; tr2291: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st768; tr2292: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st768; tr2294: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st768; tr2284: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st768; tr2285: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st768; tr2286: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st768; tr2288: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st768; st768: if ( ++p == pe ) goto _test_eof768; case 768: #line 62139 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st768; case 32: goto st768; case 40: goto tr2291; case 41: goto tr2292; case 1034: goto tr2294; case 1083: goto st772; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2293; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2293; } else goto tr2293; goto tr2255; tr2293: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st769; st769: if ( ++p == pe ) goto _test_eof769; case 769: #line 62186 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2296; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr2296; } else goto tr2296; goto tr2255; tr2298: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st770; tr2299: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st770; tr2300: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st770; tr2296: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st770; st770: if ( ++p == pe ) goto _test_eof770; case 770: #line 62233 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st770; case 32: goto st770; case 40: goto tr2298; case 41: goto tr2299; case 2058: goto tr2300; case 2107: goto st771; case 2314: goto tr2302; case 2363: goto tr2302; case 2570: goto tr2303; case 2619: goto tr2304; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2293; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2293; } else goto tr2293; goto tr2255; st771: if ( ++p == pe ) goto _test_eof771; case 771: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2300; if ( 896 <= _widec && _widec <= 1151 ) goto st771; goto tr2255; tr2302: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1118; st1118: if ( ++p == pe ) goto _test_eof1118; case 1118: #line 62315 "scanner.c" goto st0; tr2303: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1119; st1119: if ( ++p == pe ) goto _test_eof1119; case 1119: #line 62331 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st770; case 32: goto st770; case 40: goto tr2298; case 41: goto tr2299; case 2058: goto tr2300; case 2107: goto st771; case 2314: goto tr2302; case 2363: goto tr2302; case 2570: goto tr2303; case 2619: goto tr2304; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2293; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2293; } else goto tr2293; goto tr2255; tr2304: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1120; st1120: if ( ++p == pe ) goto _test_eof1120; case 1120: #line 62383 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2300; if ( 896 <= _widec && _widec <= 1151 ) goto st771; goto tr2255; tr2289: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st772; st772: if ( ++p == pe ) goto _test_eof772; case 772: #line 62426 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2294; if ( 896 <= _widec && _widec <= 1151 ) goto st772; goto tr69; tr2277: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st773; st773: if ( ++p == pe ) goto _test_eof773; case 773: #line 62469 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2282; if ( 896 <= _widec && _widec <= 1151 ) goto st773; goto tr69; st774: if ( ++p == pe ) goto _test_eof774; case 774: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2305; goto tr1654; tr2305: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st775; tr2309: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st775; st775: if ( ++p == pe ) goto _test_eof775; case 775: #line 62545 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2306; case 32: goto tr2306; case 40: goto tr2307; case 41: goto tr2308; case 1034: goto tr2310; case 1083: goto tr2311; } if ( 48 <= _widec && _widec <= 57 ) goto tr2309; goto tr1654; tr2314: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st776; tr2315: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st776; tr2320: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st776; tr2306: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st776; tr2307: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st776; tr2308: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st776; tr2310: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st776; st776: if ( ++p == pe ) goto _test_eof776; case 776: #line 62669 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st776; case 32: goto st776; case 40: goto tr2314; case 41: goto tr2315; case 48: goto tr2316; case 49: goto tr2317; case 50: goto tr2318; case 51: goto tr2319; case 1034: goto tr2320; case 1083: goto st812; } goto tr2312; tr2316: #line 1070 "./scanner_body.rl" { *(rdata_tail++) = 0; } goto st777; st777: if ( ++p == pe ) goto _test_eof777; case 777: #line 62707 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st778; case 32: goto st778; case 40: goto tr2323; case 41: goto tr2324; case 1034: goto tr2325; case 1083: goto st790; } goto tr2312; tr2323: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st778; tr2324: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st778; tr2325: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st778; st778: if ( ++p == pe ) goto _test_eof778; case 778: #line 62761 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st778; case 32: goto st778; case 40: goto tr2323; case 41: goto tr2324; case 1034: goto tr2325; case 1083: goto st790; } if ( 48 <= _widec && _widec <= 57 ) goto tr2328; goto tr2327; tr2328: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st779; tr2332: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st779; st779: if ( ++p == pe ) goto _test_eof779; case 779: #line 62829 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2329; case 32: goto tr2329; case 40: goto tr2330; case 41: goto tr2331; case 1034: goto tr2333; case 1083: goto tr2334; } if ( 48 <= _widec && _widec <= 57 ) goto tr2332; goto tr2327; tr2336: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st780; tr2337: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st780; tr2339: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st780; tr2329: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st780; tr2330: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st780; tr2331: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st780; tr2333: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st780; st780: if ( ++p == pe ) goto _test_eof780; case 780: #line 62953 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st780; case 32: goto st780; case 40: goto tr2336; case 41: goto tr2337; case 46: goto st781; case 1034: goto tr2339; case 1083: goto st789; } goto tr2312; st781: if ( ++p == pe ) goto _test_eof781; case 781: _widec = (*p); if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else if ( (*p) >= 9 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 32 ) { if ( (*p) < 41 ) { if ( 40 <= (*p) && (*p) <= 40 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 41 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } switch( _widec ) { case 6153: goto st782; case 6176: goto st782; case 6184: goto tr2343; case 6185: goto tr2344; case 6409: goto st785; case 6432: goto st785; case 6440: goto tr2346; case 6441: goto tr2347; case 6665: goto st787; case 6688: goto st787; case 6696: goto tr2349; case 6697: goto tr2350; case 9482: goto tr2351; case 9531: goto tr2351; case 9738: goto tr2351; case 9787: goto tr2351; case 10250: goto tr2352; case 10299: goto st784; case 10506: goto tr2351; case 10555: goto tr2351; case 10762: goto tr2354; case 10811: goto tr2355; case 11274: goto tr2356; case 11323: goto st786; case 11530: goto tr2351; case 11579: goto tr2351; case 11786: goto tr2358; case 11835: goto tr2359; case 12298: goto tr2360; case 12347: goto st788; case 12554: goto tr2351; case 12603: goto tr2351; case 12810: goto tr2362; case 12859: goto tr2363; } goto tr2341; tr2343: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st782; tr2344: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st782; tr2352: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st782; tr2468: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st782; tr2469: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st782; tr2470: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st782; tr2478: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st782; tr2387: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } goto st782; tr2388: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st782; tr2389: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st782; tr2397: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st782; tr2428: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } goto st782; tr2429: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st782; tr2430: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st782; tr2438: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st782; st782: if ( ++p == pe ) goto _test_eof782; case 782: #line 63333 "scanner.c" _widec = (*p); if ( (*p) < 43 ) { if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else if ( (*p) >= 9 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) > 32 ) { if ( (*p) > 40 ) { if ( 41 <= (*p) && (*p) <= 41 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 40 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" 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 ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 47 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) > 59 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 65 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } switch( _widec ) { case 3081: goto st782; case 3104: goto st782; case 3112: goto tr2343; case 3113: goto tr2344; case 3115: goto tr2365; case 4106: goto tr2352; case 4155: goto st784; } if ( _widec < 3137 ) { if ( 3119 <= _widec && _widec <= 3129 ) goto tr2365; } else if ( _widec > 3162 ) { if ( 3169 <= _widec && _widec <= 3194 ) goto tr2365; } else goto tr2365; goto tr2364; tr2365: #line 973 "./scanner_body.rl" { p--; {stack[top++] = 783; goto st307;} } goto st783; st783: if ( ++p == pe ) goto _test_eof783; case 783: #line 63443 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } switch( _widec ) { case 1546: goto tr2351; case 1595: goto tr2351; } goto tr2364; tr2351: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1121; tr2396: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1121; tr2477: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1121; tr2437: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1121; st1121: if ( ++p == pe ) goto _test_eof1121; case 1121: #line 63523 "scanner.c" goto st0; tr2479: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st784; tr2398: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } goto st784; tr2439: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } goto st784; st784: if ( ++p == pe ) goto _test_eof784; case 784: #line 63567 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } if ( _widec == 4106 ) goto tr2352; if ( 3968 <= _widec && _widec <= 4223 ) goto st784; goto tr2364; tr2346: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st785; tr2347: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st785; tr2356: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st785; tr2471: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st785; tr2472: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st785; tr2473: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st785; tr2482: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st785; tr2390: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } goto st785; tr2391: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st785; tr2392: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st785; tr2401: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st785; tr2431: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } goto st785; tr2432: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st785; tr2433: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st785; tr2442: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st785; st785: if ( ++p == pe ) goto _test_eof785; case 785: #line 63845 "scanner.c" _widec = (*p); if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(12928 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else if ( (*p) >= 9 ) { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } } else if ( (*p) > 32 ) { if ( (*p) < 41 ) { if ( 40 <= (*p) && (*p) <= 40 ) { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } } else if ( (*p) > 41 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(12928 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } } else { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } switch( _widec ) { case 4617: goto st785; case 4640: goto st785; case 4648: goto tr2346; case 4649: goto tr2347; case 13578: goto tr2351; case 13627: goto tr2351; case 13834: goto tr2351; case 13883: goto tr2351; case 14346: goto tr2356; case 14395: goto st786; case 14602: goto tr2351; case 14651: goto tr2351; case 14858: goto tr2358; case 14907: goto tr2359; } goto tr2364; tr2483: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st786; tr2402: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } goto st786; tr2443: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } goto st786; st786: if ( ++p == pe ) goto _test_eof786; case 786: #line 63959 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(4736 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(4736 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(4736 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } if ( _widec == 5642 ) goto tr2356; if ( 5504 <= _widec && _widec <= 5759 ) goto st786; goto tr2364; tr2358: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1122; tr2403: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1122; tr2444: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1122; tr2484: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1122; st1122: if ( ++p == pe ) goto _test_eof1122; case 1122: #line 64071 "scanner.c" _widec = (*p); if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(12928 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else if ( (*p) >= 9 ) { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } } else if ( (*p) > 32 ) { if ( (*p) < 41 ) { if ( 40 <= (*p) && (*p) <= 40 ) { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } } else if ( (*p) > 41 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(12928 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } } else { _widec = (short)(4224 + ((*p) - -128)); if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 256; } switch( _widec ) { case 4617: goto st785; case 4640: goto st785; case 4648: goto tr2346; case 4649: goto tr2347; case 13578: goto tr2351; case 13627: goto tr2351; case 13834: goto tr2351; case 13883: goto tr2351; case 14346: goto tr2356; case 14395: goto st786; case 14602: goto tr2351; case 14651: goto tr2351; case 14858: goto tr2358; case 14907: goto tr2359; } goto tr2364; tr2359: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1123; tr2404: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1123; tr2485: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1123; tr2445: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1123; st1123: if ( ++p == pe ) goto _test_eof1123; case 1123: #line 64203 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(4736 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(4736 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(4736 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } if ( _widec == 5642 ) goto tr2356; if ( 5504 <= _widec && _widec <= 5759 ) goto st786; goto tr2364; tr2349: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st787; tr2350: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st787; tr2360: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st787; tr2474: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st787; tr2475: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st787; tr2476: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st787; tr2486: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st787; tr2393: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } goto st787; tr2394: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st787; tr2395: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st787; tr2405: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st787; tr2434: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } goto st787; tr2435: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st787; tr2436: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st787; tr2446: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st787; st787: if ( ++p == pe ) goto _test_eof787; case 787: #line 64481 "scanner.c" _widec = (*p); if ( (*p) < 43 ) { if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else if ( (*p) >= 9 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 32 ) { if ( (*p) > 40 ) { if ( 41 <= (*p) && (*p) <= 41 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) >= 40 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" 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 ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 47 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) > 59 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 65 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } switch( _widec ) { case 3115: goto tr2365; case 6153: goto st782; case 6176: goto st782; case 6184: goto tr2343; case 6185: goto tr2344; case 6409: goto st785; case 6432: goto st785; case 6440: goto tr2346; case 6441: goto tr2347; case 6665: goto st787; case 6688: goto st787; case 6696: goto tr2349; case 6697: goto tr2350; case 9482: goto tr2351; case 9531: goto tr2351; case 9738: goto tr2351; case 9787: goto tr2351; case 10250: goto tr2352; case 10299: goto st784; case 10506: goto tr2351; case 10555: goto tr2351; case 10762: goto tr2354; case 10811: goto tr2355; case 11274: goto tr2356; case 11323: goto st786; case 11530: goto tr2351; case 11579: goto tr2351; case 11786: goto tr2358; case 11835: goto tr2359; case 12298: goto tr2360; case 12347: goto st788; case 12554: goto tr2351; case 12603: goto tr2351; case 12810: goto tr2362; case 12859: goto tr2363; } if ( _widec < 3137 ) { if ( 3119 <= _widec && _widec <= 3129 ) goto tr2365; } else if ( _widec > 3162 ) { if ( 3169 <= _widec && _widec <= 3194 ) goto tr2365; } else goto tr2365; goto tr2364; tr2354: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1124; tr2399: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1124; tr2440: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1124; tr2480: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1124; st1124: if ( ++p == pe ) goto _test_eof1124; case 1124: #line 64711 "scanner.c" _widec = (*p); if ( (*p) < 43 ) { if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else if ( (*p) >= 9 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) > 32 ) { if ( (*p) > 40 ) { if ( 41 <= (*p) && (*p) <= 41 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 40 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" 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 ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 47 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) > 59 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 65 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } switch( _widec ) { case 3081: goto st782; case 3104: goto st782; case 3112: goto tr2343; case 3113: goto tr2344; case 3115: goto tr2365; case 4106: goto tr2352; case 4155: goto st784; } if ( _widec < 3137 ) { if ( 3119 <= _widec && _widec <= 3129 ) goto tr2365; } else if ( _widec > 3162 ) { if ( 3169 <= _widec && _widec <= 3194 ) goto tr2365; } else goto tr2365; goto tr2364; tr2355: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1125; tr2400: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1125; tr2481: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1125; tr2441: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1125; st1125: if ( ++p == pe ) goto _test_eof1125; case 1125: #line 64873 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } } else { _widec = (short)(3200 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; } if ( _widec == 4106 ) goto tr2352; if ( 3968 <= _widec && _widec <= 4223 ) goto st784; goto tr2364; tr2487: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st788; tr2406: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } goto st788; tr2447: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } goto st788; st788: if ( ++p == pe ) goto _test_eof788; case 788: #line 64951 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(6784 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(6784 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else { _widec = (short)(6784 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } switch( _widec ) { case 7690: goto tr2352; case 8202: goto tr2356; case 8714: goto tr2360; } if ( _widec < 8064 ) { if ( 7552 <= _widec && _widec <= 7807 ) goto st784; } else if ( _widec > 8319 ) { if ( 8576 <= _widec && _widec <= 8831 ) goto st788; } else goto st786; goto tr2364; tr2362: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1126; tr2407: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1126; tr2448: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1126; tr2488: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1126; st1126: if ( ++p == pe ) goto _test_eof1126; case 1126: #line 65081 "scanner.c" _widec = (*p); if ( (*p) < 43 ) { if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else if ( (*p) >= 9 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 32 ) { if ( (*p) > 40 ) { if ( 41 <= (*p) && (*p) <= 41 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) >= 40 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" 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 ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 47 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) > 59 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else if ( (*p) >= 65 ) { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } } else { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else { _widec = (short)(2688 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; } switch( _widec ) { case 3115: goto tr2365; case 6153: goto st782; case 6176: goto st782; case 6184: goto tr2343; case 6185: goto tr2344; case 6409: goto st785; case 6432: goto st785; case 6440: goto tr2346; case 6441: goto tr2347; case 6665: goto st787; case 6688: goto st787; case 6696: goto tr2349; case 6697: goto tr2350; case 9482: goto tr2351; case 9531: goto tr2351; case 9738: goto tr2351; case 9787: goto tr2351; case 10250: goto tr2352; case 10299: goto st784; case 10506: goto tr2351; case 10555: goto tr2351; case 10762: goto tr2354; case 10811: goto tr2355; case 11274: goto tr2356; case 11323: goto st786; case 11530: goto tr2351; case 11579: goto tr2351; case 11786: goto tr2358; case 11835: goto tr2359; case 12298: goto tr2360; case 12347: goto st788; case 12554: goto tr2351; case 12603: goto tr2351; case 12810: goto tr2362; case 12859: goto tr2363; } if ( _widec < 3137 ) { if ( 3119 <= _widec && _widec <= 3129 ) goto tr2365; } else if ( _widec > 3162 ) { if ( 3169 <= _widec && _widec <= 3194 ) goto tr2365; } else goto tr2365; goto tr2364; tr2363: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1127; tr2408: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1127; tr2489: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1127; tr2449: #line 776 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET6, (char *)s->buffer, &addr6) <= 0) { WARN(ZSCANNER_EBAD_IPV6); p--; {goto st246;} } } #line 784 "./scanner_body.rl" { memcpy(rdata_tail, &(addr6.s6_addr), INET6_ADDR_LENGTH); rdata_tail += INET6_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1127; st1127: if ( ++p == pe ) goto _test_eof1127; case 1127: #line 65295 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(6784 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(6784 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } } else { _widec = (short)(6784 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 512; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 1024; } switch( _widec ) { case 7690: goto tr2352; case 8202: goto tr2356; case 8714: goto tr2360; } if ( _widec < 8064 ) { if ( 7552 <= _widec && _widec <= 7807 ) goto st784; } else if ( _widec > 8319 ) { if ( 8576 <= _widec && _widec <= 8831 ) goto st788; } else goto st786; goto tr2364; tr2334: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st789; st789: if ( ++p == pe ) goto _test_eof789; case 789: #line 65365 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2339; if ( 896 <= _widec && _widec <= 1151 ) goto st789; goto tr2312; st790: if ( ++p == pe ) goto _test_eof790; case 790: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2325; if ( 896 <= _widec && _widec <= 1151 ) goto st790; goto tr2312; tr2317: #line 1073 "./scanner_body.rl" { *(rdata_tail++) = 1; } goto st791; st791: if ( ++p == pe ) goto _test_eof791; case 791: #line 65432 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st792; case 32: goto st792; case 40: goto tr2367; case 41: goto tr2368; case 1034: goto tr2369; case 1083: goto st797; } goto tr2312; tr2367: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st792; tr2368: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st792; tr2369: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st792; st792: if ( ++p == pe ) goto _test_eof792; case 792: #line 65486 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st792; case 32: goto st792; case 40: goto tr2367; case 41: goto tr2368; case 1034: goto tr2369; case 1083: goto st797; } if ( 48 <= _widec && _widec <= 57 ) goto tr2371; goto tr2327; tr2371: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st793; tr2375: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st793; st793: if ( ++p == pe ) goto _test_eof793; case 793: #line 65554 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2372; case 32: goto tr2372; case 40: goto tr2373; case 41: goto tr2374; case 1034: goto tr2376; case 1083: goto tr2377; } if ( 48 <= _widec && _widec <= 57 ) goto tr2375; goto tr2327; tr2380: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st794; tr2381: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st794; tr2383: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st794; tr2372: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st794; tr2373: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st794; tr2374: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st794; tr2376: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st794; st794: if ( ++p == pe ) goto _test_eof794; case 794: #line 65678 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st794; case 32: goto st794; case 40: goto tr2380; case 41: goto tr2381; case 46: goto tr2382; case 1034: goto tr2383; case 1083: goto st796; } if ( 48 <= _widec && _widec <= 57 ) goto tr2382; goto tr2378; tr2382: #line 746 "./scanner_body.rl" { s->buffer_length = 0; } #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st795; tr2386: #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st795; st795: if ( ++p == pe ) goto _test_eof795; case 795: #line 65737 "scanner.c" _widec = (*p); if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else if ( (*p) >= 9 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 32 ) { if ( (*p) < 41 ) { if ( 40 <= (*p) && (*p) <= 40 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 41 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } switch( _widec ) { case 46: goto tr2386; case 6153: goto tr2387; case 6176: goto tr2387; case 6184: goto tr2388; case 6185: goto tr2389; case 6409: goto tr2390; case 6432: goto tr2390; case 6440: goto tr2391; case 6441: goto tr2392; case 6665: goto tr2393; case 6688: goto tr2393; case 6696: goto tr2394; case 6697: goto tr2395; case 9482: goto tr2396; case 9531: goto tr2396; case 9738: goto tr2396; case 9787: goto tr2396; case 10250: goto tr2397; case 10299: goto tr2398; case 10506: goto tr2396; case 10555: goto tr2396; case 10762: goto tr2399; case 10811: goto tr2400; case 11274: goto tr2401; case 11323: goto tr2402; case 11530: goto tr2396; case 11579: goto tr2396; case 11786: goto tr2403; case 11835: goto tr2404; case 12298: goto tr2405; case 12347: goto tr2406; case 12554: goto tr2396; case 12603: goto tr2396; case 12810: goto tr2407; case 12859: goto tr2408; } if ( 48 <= _widec && _widec <= 57 ) goto tr2386; goto tr2385; tr2377: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st796; st796: if ( ++p == pe ) goto _test_eof796; case 796: #line 65866 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2383; if ( 896 <= _widec && _widec <= 1151 ) goto st796; goto tr2312; st797: if ( ++p == pe ) goto _test_eof797; case 797: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2369; if ( 896 <= _widec && _widec <= 1151 ) goto st797; goto tr2312; tr2318: #line 1076 "./scanner_body.rl" { *(rdata_tail++) = 2; } goto st798; st798: if ( ++p == pe ) goto _test_eof798; case 798: #line 65933 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st799; case 32: goto st799; case 40: goto tr2410; case 41: goto tr2411; case 1034: goto tr2412; case 1083: goto st804; } goto tr2312; tr2410: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st799; tr2411: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st799; tr2412: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st799; st799: if ( ++p == pe ) goto _test_eof799; case 799: #line 65987 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st799; case 32: goto st799; case 40: goto tr2410; case 41: goto tr2411; case 1034: goto tr2412; case 1083: goto st804; } if ( 48 <= _widec && _widec <= 57 ) goto tr2414; goto tr2327; tr2414: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st800; tr2418: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st800; st800: if ( ++p == pe ) goto _test_eof800; case 800: #line 66055 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2415; case 32: goto tr2415; case 40: goto tr2416; case 41: goto tr2417; case 1034: goto tr2419; case 1083: goto tr2420; } if ( 48 <= _widec && _widec <= 57 ) goto tr2418; goto tr2327; tr2422: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st801; tr2423: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st801; tr2425: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st801; tr2415: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st801; tr2416: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st801; tr2417: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st801; tr2419: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st801; st801: if ( ++p == pe ) goto _test_eof801; case 801: #line 66179 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st801; case 32: goto st801; case 40: goto tr2422; case 41: goto tr2423; case 46: goto tr2424; case 1034: goto tr2425; case 1083: goto st803; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 58 ) goto tr2424; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2424; } else goto tr2424; goto tr2378; tr2424: #line 746 "./scanner_body.rl" { s->buffer_length = 0; } #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st802; tr2427: #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st802; st802: if ( ++p == pe ) goto _test_eof802; case 802: #line 66244 "scanner.c" _widec = (*p); if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else if ( (*p) >= 9 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 32 ) { if ( (*p) < 41 ) { if ( 40 <= (*p) && (*p) <= 40 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 41 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } switch( _widec ) { case 46: goto tr2427; case 6153: goto tr2428; case 6176: goto tr2428; case 6184: goto tr2429; case 6185: goto tr2430; case 6409: goto tr2431; case 6432: goto tr2431; case 6440: goto tr2432; case 6441: goto tr2433; case 6665: goto tr2434; case 6688: goto tr2434; case 6696: goto tr2435; case 6697: goto tr2436; case 9482: goto tr2437; case 9531: goto tr2437; case 9738: goto tr2437; case 9787: goto tr2437; case 10250: goto tr2438; case 10299: goto tr2439; case 10506: goto tr2437; case 10555: goto tr2437; case 10762: goto tr2440; case 10811: goto tr2441; case 11274: goto tr2442; case 11323: goto tr2443; case 11530: goto tr2437; case 11579: goto tr2437; case 11786: goto tr2444; case 11835: goto tr2445; case 12298: goto tr2446; case 12347: goto tr2447; case 12554: goto tr2437; case 12603: goto tr2437; case 12810: goto tr2448; case 12859: goto tr2449; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 58 ) goto tr2427; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2427; } else goto tr2427; goto tr2385; tr2420: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st803; st803: if ( ++p == pe ) goto _test_eof803; case 803: #line 66379 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2425; if ( 896 <= _widec && _widec <= 1151 ) goto st803; goto tr2312; st804: if ( ++p == pe ) goto _test_eof804; case 804: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2412; if ( 896 <= _widec && _widec <= 1151 ) goto st804; goto tr2312; tr2319: #line 1079 "./scanner_body.rl" { *(rdata_tail++) = 3; } goto st805; st805: if ( ++p == pe ) goto _test_eof805; case 805: #line 66446 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st806; case 32: goto st806; case 40: goto tr2451; case 41: goto tr2452; case 1034: goto tr2453; case 1083: goto st811; } goto tr2312; tr2451: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st806; tr2452: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st806; tr2453: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st806; st806: if ( ++p == pe ) goto _test_eof806; case 806: #line 66500 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st806; case 32: goto st806; case 40: goto tr2451; case 41: goto tr2452; case 1034: goto tr2453; case 1083: goto st811; } if ( 48 <= _widec && _widec <= 57 ) goto tr2455; goto tr2327; tr2455: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st807; tr2459: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st807; st807: if ( ++p == pe ) goto _test_eof807; case 807: #line 66568 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2456; case 32: goto tr2456; case 40: goto tr2457; case 41: goto tr2458; case 1034: goto tr2460; case 1083: goto tr2461; } if ( 48 <= _widec && _widec <= 57 ) goto tr2459; goto tr2327; tr2463: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st808; tr2464: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st808; tr2466: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st808; tr2456: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st808; tr2457: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st808; tr2458: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st808; tr2460: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st808; st808: if ( ++p == pe ) goto _test_eof808; case 808: #line 66692 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st808; case 32: goto st808; case 40: goto tr2463; case 41: goto tr2464; case 42: goto tr2465; case 92: goto tr2465; case 95: goto tr2465; case 1034: goto tr2466; case 1083: goto st810; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr2465; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2465; } else goto tr2465; goto tr2312; tr2465: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 809; goto st248;} } goto st809; st809: if ( ++p == pe ) goto _test_eof809; case 809: #line 66739 "scanner.c" _widec = (*p); if ( (*p) < 32 ) { if ( (*p) > 9 ) { if ( 10 <= (*p) && (*p) <= 10 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else if ( (*p) >= 9 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 32 ) { if ( (*p) < 41 ) { if ( 40 <= (*p) && (*p) <= 40 ) { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else if ( (*p) > 41 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(8832 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 1024; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 2048; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } } else { _widec = (short)(5760 + ((*p) - -128)); if ( #line 1174 "./scanner_body.rl" s->number64 != 0 ) _widec += 256; if ( #line 1175 "./scanner_body.rl" s->number64 == 0 ) _widec += 512; } switch( _widec ) { case 6153: goto tr2468; case 6176: goto tr2468; case 6184: goto tr2469; case 6185: goto tr2470; case 6409: goto tr2471; case 6432: goto tr2471; case 6440: goto tr2472; case 6441: goto tr2473; case 6665: goto tr2474; case 6688: goto tr2474; case 6696: goto tr2475; case 6697: goto tr2476; case 9482: goto tr2477; case 9531: goto tr2477; case 9738: goto tr2477; case 9787: goto tr2477; case 10250: goto tr2478; case 10299: goto tr2479; case 10506: goto tr2477; case 10555: goto tr2477; case 10762: goto tr2480; case 10811: goto tr2481; case 11274: goto tr2482; case 11323: goto tr2483; case 11530: goto tr2477; case 11579: goto tr2477; case 11786: goto tr2484; case 11835: goto tr2485; case 12298: goto tr2486; case 12347: goto tr2487; case 12554: goto tr2477; case 12603: goto tr2477; case 12810: goto tr2488; case 12859: goto tr2489; } goto tr2341; tr2461: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st810; st810: if ( ++p == pe ) goto _test_eof810; case 810: #line 66865 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2466; if ( 896 <= _widec && _widec <= 1151 ) goto st810; goto tr2312; st811: if ( ++p == pe ) goto _test_eof811; case 811: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2453; if ( 896 <= _widec && _widec <= 1151 ) goto st811; goto tr2312; tr2311: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st812; st812: if ( ++p == pe ) goto _test_eof812; case 812: #line 66938 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2320; if ( 896 <= _widec && _widec <= 1151 ) goto st812; goto tr69; st813: if ( ++p == pe ) goto _test_eof813; case 813: switch( (*p) ) { case 65: goto st814; case 67: goto st848; case 68: goto st856; case 69: goto st870; case 72: goto st877; case 73: goto st882; case 75: goto st890; case 76: goto st894; case 77: goto st902; case 78: goto st908; case 80: goto st924; case 82: goto st927; case 83: goto st934; case 84: goto st945; case 97: goto st814; case 99: goto st848; case 100: goto st856; case 101: goto st870; case 104: goto st877; case 105: goto st882; case 107: goto st890; case 108: goto st894; case 109: goto st902; case 110: goto st908; case 112: goto st924; case 114: goto st927; case 115: goto st934; case 116: goto st945; } goto tr2490; st814: if ( ++p == pe ) goto _test_eof814; case 814: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2505; case 32: goto tr2505; case 40: goto tr2506; case 41: goto tr2507; case 65: goto st839; case 70: goto st842; case 80: goto st846; case 97: goto st839; case 102: goto st842; case 112: goto st846; case 1034: goto tr2511; case 1083: goto tr2512; } goto tr2490; tr2514: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2515: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2517: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2884: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st815; tr2885: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2886: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2888: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2505: #line 1187 "./scanner_body.rl" { type_num(KNOT_RRTYPE_A, &rdata_tail); } goto st815; tr2506: #line 1187 "./scanner_body.rl" { type_num(KNOT_RRTYPE_A, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2507: #line 1187 "./scanner_body.rl" { type_num(KNOT_RRTYPE_A, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2511: #line 1187 "./scanner_body.rl" { type_num(KNOT_RRTYPE_A, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2600: #line 1200 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } goto st815; tr2601: #line 1200 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2602: #line 1200 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2603: #line 1200 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2608: #line 1197 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } goto st815; tr2609: #line 1197 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2610: #line 1197 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2611: #line 1197 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2614: #line 1207 "./scanner_body.rl" { type_num(KNOT_RRTYPE_APL, &rdata_tail); } goto st815; tr2615: #line 1207 "./scanner_body.rl" { type_num(KNOT_RRTYPE_APL, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2616: #line 1207 "./scanner_body.rl" { type_num(KNOT_RRTYPE_APL, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2617: #line 1207 "./scanner_body.rl" { type_num(KNOT_RRTYPE_APL, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2623: #line 1205 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } goto st815; tr2624: #line 1205 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2625: #line 1205 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2626: #line 1205 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2631: #line 1189 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } goto st815; tr2632: #line 1189 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2633: #line 1189 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2634: #line 1189 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2642: #line 1214 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } goto st815; tr2643: #line 1214 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2644: #line 1214 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2645: #line 1214 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2651: #line 1206 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } goto st815; tr2652: #line 1206 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2653: #line 1206 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2654: #line 1206 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2659: #line 1213 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } goto st815; tr2660: #line 1213 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2661: #line 1213 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2662: #line 1213 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2664: #line 1208 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DS, &rdata_tail); } goto st815; tr2665: #line 1208 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DS, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2666: #line 1208 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DS, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2667: #line 1208 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DS, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2674: #line 1223 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } goto st815; tr2675: #line 1223 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2676: #line 1223 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2677: #line 1223 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2680: #line 1224 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } goto st815; tr2681: #line 1224 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2682: #line 1224 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2683: #line 1224 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2689: #line 1192 "./scanner_body.rl" { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } goto st815; tr2690: #line 1192 "./scanner_body.rl" { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2691: #line 1192 "./scanner_body.rl" { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2692: #line 1192 "./scanner_body.rl" { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2701: #line 1210 "./scanner_body.rl" { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } goto st815; tr2702: #line 1210 "./scanner_body.rl" { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2703: #line 1210 "./scanner_body.rl" { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2704: #line 1210 "./scanner_body.rl" { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2709: #line 1199 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } goto st815; tr2710: #line 1199 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2711: #line 1199 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2712: #line 1199 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2714: #line 1204 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KX, &rdata_tail); } goto st815; tr2715: #line 1204 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KX, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2716: #line 1204 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KX, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2717: #line 1204 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KX, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2724: #line 1220 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L32, &rdata_tail); } goto st815; tr2725: #line 1220 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L32, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2726: #line 1220 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L32, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2727: #line 1220 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L32, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2730: #line 1221 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L64, &rdata_tail); } goto st815; tr2731: #line 1221 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L64, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2732: #line 1221 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L64, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2733: #line 1221 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L64, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2736: #line 1201 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } goto st815; tr2737: #line 1201 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2738: #line 1201 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2739: #line 1201 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2741: #line 1222 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LP, &rdata_tail); } goto st815; tr2742: #line 1222 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LP, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2743: #line 1222 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LP, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2744: #line 1222 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LP, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2751: #line 1193 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } goto st815; tr2752: #line 1193 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2753: #line 1193 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2754: #line 1193 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2756: #line 1194 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MX, &rdata_tail); } goto st815; tr2757: #line 1194 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MX, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2758: #line 1194 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MX, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2759: #line 1194 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MX, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2767: #line 1203 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } goto st815; tr2768: #line 1203 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2769: #line 1203 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2770: #line 1203 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2773: #line 1219 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NID, &rdata_tail); } goto st815; tr2774: #line 1219 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NID, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2775: #line 1219 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NID, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2776: #line 1219 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NID, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2778: #line 1188 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NS, &rdata_tail); } goto st815; tr2779: #line 1188 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NS, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2780: #line 1188 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NS, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2782: #line 1188 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NS, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2785: #line 1212 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } goto st815; tr2786: #line 1212 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2787: #line 1212 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2789: #line 1212 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2791: #line 1215 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } goto st815; tr2792: #line 1215 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2793: #line 1215 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2795: #line 1215 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2801: #line 1216 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } goto st815; tr2802: #line 1216 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2803: #line 1216 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2804: #line 1216 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2808: #line 1191 "./scanner_body.rl" { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } goto st815; tr2809: #line 1191 "./scanner_body.rl" { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2810: #line 1191 "./scanner_body.rl" { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2811: #line 1191 "./scanner_body.rl" { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2816: #line 1196 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RP, &rdata_tail); } goto st815; tr2817: #line 1196 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RP, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2818: #line 1196 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RP, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2819: #line 1196 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RP, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2824: #line 1211 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } goto st815; tr2825: #line 1211 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2826: #line 1211 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2827: #line 1211 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2829: #line 1198 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RT, &rdata_tail); } goto st815; tr2830: #line 1198 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RT, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2831: #line 1198 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RT, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2832: #line 1198 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RT, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2839: #line 1190 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } goto st815; tr2840: #line 1190 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2841: #line 1190 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2842: #line 1190 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2845: #line 1218 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } goto st815; tr2846: #line 1218 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2847: #line 1218 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2848: #line 1218 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2851: #line 1202 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } goto st815; tr2852: #line 1202 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2853: #line 1202 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2854: #line 1202 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2859: #line 1209 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } goto st815; tr2860: #line 1209 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2861: #line 1209 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2862: #line 1209 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2869: #line 1217 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } goto st815; tr2870: #line 1217 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2871: #line 1217 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2872: #line 1217 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; tr2875: #line 1195 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } goto st815; tr2876: #line 1195 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st815; tr2877: #line 1195 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st815; tr2878: #line 1195 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st815; st815: if ( ++p == pe ) goto _test_eof815; case 815: #line 68499 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st815; case 32: goto st815; case 40: goto tr2514; case 41: goto tr2515; case 1034: goto tr2517; case 1083: goto st838; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2516; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2516; } else goto tr2516; goto tr69; tr2516: #line 1579 "./scanner_body.rl" { p--; {stack[top++] = 816; goto st453;} } goto st816; st816: if ( ++p == pe ) goto _test_eof816; case 816: #line 68539 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st817; case 32: goto st817; case 40: goto tr2520; case 41: goto tr2521; case 1034: goto tr2522; case 1083: goto st837; } goto tr69; tr2520: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st817; tr2521: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st817; tr2522: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st817; st817: if ( ++p == pe ) goto _test_eof817; case 817: #line 68593 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st817; case 32: goto st817; case 40: goto tr2520; case 41: goto tr2521; case 1034: goto tr2522; case 1083: goto st837; } if ( 48 <= _widec && _widec <= 57 ) goto tr2524; goto tr1654; tr2524: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st818; tr2528: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st818; st818: if ( ++p == pe ) goto _test_eof818; case 818: #line 68661 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2525; case 32: goto tr2525; case 40: goto tr2526; case 41: goto tr2527; case 1034: goto tr2529; case 1083: goto tr2530; } if ( 48 <= _widec && _widec <= 57 ) goto tr2528; goto tr1654; tr2532: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st819; tr2533: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st819; tr2535: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st819; tr2525: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st819; tr2526: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st819; tr2527: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st819; tr2529: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st819; st819: if ( ++p == pe ) goto _test_eof819; case 819: #line 68785 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st819; case 32: goto st819; case 40: goto tr2532; case 41: goto tr2533; case 1034: goto tr2535; case 1083: goto st836; } if ( 48 <= _widec && _widec <= 57 ) goto tr2534; goto tr1654; tr2534: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st820; tr2540: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st820; st820: if ( ++p == pe ) goto _test_eof820; case 820: #line 68853 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2537; case 32: goto tr2537; case 40: goto tr2538; case 41: goto tr2539; case 1034: goto tr2541; case 1083: goto tr2542; } if ( 48 <= _widec && _widec <= 57 ) goto tr2540; goto tr1654; tr2545: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st821; tr2546: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st821; tr2548: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st821; tr2537: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st821; tr2538: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st821; tr2539: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st821; tr2541: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st821; st821: if ( ++p == pe ) goto _test_eof821; case 821: #line 68977 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st821; case 32: goto st821; case 40: goto tr2545; case 41: goto tr2546; case 1034: goto tr2548; case 1083: goto st835; } if ( 48 <= _widec && _widec <= 57 ) goto tr2547; goto tr2543; tr2547: #line 441 "./scanner_body.rl" { s->buffer_length = 0; } #line 444 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st822; tr2553: #line 444 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st822; st822: if ( ++p == pe ) goto _test_eof822; case 822: #line 69033 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" 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 tr2543; tr2557: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st823; tr2558: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st823; tr2560: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st823; tr2550: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } goto st823; tr2551: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st823; tr2552: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st823; tr2554: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st823; st823: if ( ++p == pe ) goto _test_eof823; case 823: #line 69261 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st823; case 32: goto st823; case 40: goto tr2557; case 41: goto tr2558; case 1034: goto tr2560; case 1083: goto st834; } if ( 48 <= _widec && _widec <= 57 ) goto tr2559; goto tr2543; tr2559: #line 441 "./scanner_body.rl" { s->buffer_length = 0; } #line 444 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st824; tr2565: #line 444 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st824; st824: if ( ++p == pe ) goto _test_eof824; case 824: #line 69317 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2562; case 32: goto tr2562; case 40: goto tr2563; case 41: goto tr2564; case 1034: goto tr2566; case 1083: goto tr2567; } if ( 48 <= _widec && _widec <= 57 ) goto tr2565; goto tr2543; tr2569: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st825; tr2570: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st825; tr2572: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st825; tr2562: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } goto st825; tr2563: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st825; tr2564: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st825; tr2566: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st825; st825: if ( ++p == pe ) goto _test_eof825; case 825: #line 69545 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st825; case 32: goto st825; case 40: goto tr2569; case 41: goto tr2570; case 1034: goto tr2572; case 1083: goto st833; } if ( 48 <= _widec && _widec <= 57 ) goto tr2571; goto tr1654; tr2571: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st826; tr2577: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st826; st826: if ( ++p == pe ) goto _test_eof826; case 826: #line 69613 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2574; case 32: goto tr2574; case 40: goto tr2575; case 41: goto tr2576; case 1034: goto tr2578; case 1083: goto tr2579; } if ( 48 <= _widec && _widec <= 57 ) goto tr2577; goto tr1654; tr2581: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st827; tr2582: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st827; tr2584: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st827; tr2574: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st827; tr2575: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st827; tr2576: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st827; tr2578: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st827; st827: if ( ++p == pe ) goto _test_eof827; case 827: #line 69737 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st827; case 32: goto st827; case 40: goto tr2581; case 41: goto tr2582; case 42: goto tr2583; case 92: goto tr2583; case 95: goto tr2583; case 1034: goto tr2584; case 1083: goto st832; } if ( _widec < 64 ) { if ( 45 <= _widec && _widec <= 57 ) goto tr2583; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2583; } else goto tr2583; goto tr69; tr2583: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 828; goto st248;} } goto st828; st828: if ( ++p == pe ) goto _test_eof828; case 828: #line 69784 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2586; case 32: goto tr2586; case 40: goto tr2587; case 41: goto tr2588; case 1034: goto tr2589; case 1083: goto tr2590; } goto tr69; tr2592: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st829; tr2593: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st829; tr2595: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st829; tr2586: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st829; tr2587: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st829; tr2588: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st829; tr2589: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st829; st829: if ( ++p == pe ) goto _test_eof829; case 829: #line 69882 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st829; case 32: goto st829; case 40: goto tr2592; case 41: goto tr2593; case 43: goto tr2594; case 1034: goto tr2595; case 1083: goto st831; } if ( _widec < 65 ) { if ( 47 <= _widec && _widec <= 57 ) goto tr2594; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2594; } else goto tr2594; goto tr69; tr2594: #line 973 "./scanner_body.rl" { p--; {stack[top++] = 830; goto st307;} } goto st830; st830: if ( ++p == pe ) goto _test_eof830; case 830: #line 69923 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } switch( _widec ) { case 1546: goto tr2597; case 1595: goto tr2597; } goto tr69; tr2597: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1128; st1128: if ( ++p == pe ) goto _test_eof1128; case 1128: #line 69953 "scanner.c" goto st0; tr2590: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } goto st831; st831: if ( ++p == pe ) goto _test_eof831; case 831: #line 69965 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2595; if ( 896 <= _widec && _widec <= 1151 ) goto st831; goto tr69; tr2579: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st832; st832: if ( ++p == pe ) goto _test_eof832; case 832: #line 70008 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2584; if ( 896 <= _widec && _widec <= 1151 ) goto st832; goto tr69; tr2567: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } goto st833; st833: if ( ++p == pe ) goto _test_eof833; case 833: #line 70077 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2572; if ( 896 <= _widec && _widec <= 1151 ) goto st833; goto tr69; tr2555: #line 452 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (s->buffer_length == 14) { // Date; 14 = len("YYYYMMDDHHmmSS"). ret = date_to_timestamp(s->buffer, ×tamp); if (ret == ZSCANNER_OK) { *((uint32_t *)rdata_tail) = htonl(timestamp); rdata_tail += 4; } else { WARN(ret); p--; {goto st246;} } } 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(ZSCANNER_EBAD_TIMESTAMP); p--; {goto st246;} } if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)s->number64); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } else { WARN(ZSCANNER_EBAD_TIMESTAMP_LENGTH); p--; {goto st246;} } } goto st834; st834: if ( ++p == pe ) goto _test_eof834; case 834: #line 70146 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2560; if ( 896 <= _widec && _widec <= 1151 ) goto st834; goto tr69; tr2542: #line 346 "./scanner_body.rl" { if (s->number64 <= UINT32_MAX) { *((uint32_t *)rdata_tail) = htonl((uint32_t)(s->number64)); rdata_tail += 4; } else { WARN(ZSCANNER_ENUMBER32_OVERFLOW); p--; {goto st246;} } } goto st835; st835: if ( ++p == pe ) goto _test_eof835; case 835: #line 70189 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2548; if ( 896 <= _widec && _widec <= 1151 ) goto st835; goto tr69; tr2530: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st836; st836: if ( ++p == pe ) goto _test_eof836; case 836: #line 70232 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2535; if ( 896 <= _widec && _widec <= 1151 ) goto st836; goto tr69; st837: if ( ++p == pe ) goto _test_eof837; case 837: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2522; if ( 896 <= _widec && _widec <= 1151 ) goto st837; goto tr69; tr2889: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st838; tr2512: #line 1187 "./scanner_body.rl" { type_num(KNOT_RRTYPE_A, &rdata_tail); } goto st838; tr2604: #line 1200 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AAAA, &rdata_tail); } goto st838; tr2612: #line 1197 "./scanner_body.rl" { type_num(KNOT_RRTYPE_AFSDB, &rdata_tail); } goto st838; tr2618: #line 1207 "./scanner_body.rl" { type_num(KNOT_RRTYPE_APL, &rdata_tail); } goto st838; tr2627: #line 1205 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CERT, &rdata_tail); } goto st838; tr2635: #line 1189 "./scanner_body.rl" { type_num(KNOT_RRTYPE_CNAME, &rdata_tail); } goto st838; tr2646: #line 1214 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DHCID, &rdata_tail); } goto st838; tr2655: #line 1206 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNAME, &rdata_tail); } goto st838; tr2663: #line 1213 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DNSKEY, &rdata_tail); } goto st838; tr2668: #line 1208 "./scanner_body.rl" { type_num(KNOT_RRTYPE_DS, &rdata_tail); } goto st838; tr2678: #line 1223 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI48, &rdata_tail); } goto st838; tr2684: #line 1224 "./scanner_body.rl" { type_num(KNOT_RRTYPE_EUI64, &rdata_tail); } goto st838; tr2693: #line 1192 "./scanner_body.rl" { type_num(KNOT_RRTYPE_HINFO, &rdata_tail); } goto st838; tr2705: #line 1210 "./scanner_body.rl" { type_num(KNOT_RRTYPE_IPSECKEY, &rdata_tail); } goto st838; tr2713: #line 1199 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KEY, &rdata_tail); } goto st838; tr2718: #line 1204 "./scanner_body.rl" { type_num(KNOT_RRTYPE_KX, &rdata_tail); } goto st838; tr2728: #line 1220 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L32, &rdata_tail); } goto st838; tr2734: #line 1221 "./scanner_body.rl" { type_num(KNOT_RRTYPE_L64, &rdata_tail); } goto st838; tr2740: #line 1201 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LOC, &rdata_tail); } goto st838; tr2745: #line 1222 "./scanner_body.rl" { type_num(KNOT_RRTYPE_LP, &rdata_tail); } goto st838; tr2755: #line 1193 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MINFO, &rdata_tail); } goto st838; tr2760: #line 1194 "./scanner_body.rl" { type_num(KNOT_RRTYPE_MX, &rdata_tail); } goto st838; tr2771: #line 1203 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NAPTR, &rdata_tail); } goto st838; tr2777: #line 1219 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NID, &rdata_tail); } goto st838; tr2783: #line 1188 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NS, &rdata_tail); } goto st838; tr2790: #line 1212 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC, &rdata_tail); } goto st838; tr2796: #line 1215 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3, &rdata_tail); } goto st838; tr2805: #line 1216 "./scanner_body.rl" { type_num(KNOT_RRTYPE_NSEC3PARAM, &rdata_tail); } goto st838; tr2812: #line 1191 "./scanner_body.rl" { type_num(KNOT_RRTYPE_PTR, &rdata_tail); } goto st838; tr2820: #line 1196 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RP, &rdata_tail); } goto st838; tr2828: #line 1211 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RRSIG, &rdata_tail); } goto st838; tr2833: #line 1198 "./scanner_body.rl" { type_num(KNOT_RRTYPE_RT, &rdata_tail); } goto st838; tr2843: #line 1190 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SOA, &rdata_tail); } goto st838; tr2849: #line 1218 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SPF, &rdata_tail); } goto st838; tr2855: #line 1202 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SRV, &rdata_tail); } goto st838; tr2863: #line 1209 "./scanner_body.rl" { type_num(KNOT_RRTYPE_SSHFP, &rdata_tail); } goto st838; tr2873: #line 1217 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TLSA, &rdata_tail); } goto st838; tr2879: #line 1195 "./scanner_body.rl" { type_num(KNOT_RRTYPE_TXT, &rdata_tail); } goto st838; st838: if ( ++p == pe ) goto _test_eof838; case 838: #line 70457 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2517; if ( 896 <= _widec && _widec <= 1151 ) goto st838; goto tr69; st839: if ( ++p == pe ) goto _test_eof839; case 839: switch( (*p) ) { case 65: goto st840; case 97: goto st840; } goto tr2490; st840: if ( ++p == pe ) goto _test_eof840; case 840: switch( (*p) ) { case 65: goto st841; case 97: goto st841; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2600; case 32: goto tr2600; case 40: goto tr2601; case 41: goto tr2602; case 1034: goto tr2603; case 1083: goto tr2604; } goto tr2490; st842: if ( ++p == pe ) goto _test_eof842; case 842: switch( (*p) ) { case 83: goto st843; case 115: goto st843; } goto tr2490; st843: if ( ++p == pe ) goto _test_eof843; case 843: switch( (*p) ) { case 68: goto st844; case 100: goto st844; } goto tr2490; st844: if ( ++p == pe ) goto _test_eof844; case 844: switch( (*p) ) { case 66: goto st845; case 98: goto st845; } goto tr2490; st845: if ( ++p == pe ) goto _test_eof845; case 845: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2608; case 32: goto tr2608; case 40: goto tr2609; case 41: goto tr2610; case 1034: goto tr2611; case 1083: goto tr2612; } goto tr2490; st846: if ( ++p == pe ) goto _test_eof846; case 846: switch( (*p) ) { case 76: goto st847; case 108: goto st847; } goto tr2490; st847: if ( ++p == pe ) goto _test_eof847; case 847: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2614; case 32: goto tr2614; case 40: goto tr2615; case 41: goto tr2616; case 1034: goto tr2617; case 1083: goto tr2618; } goto tr2490; st848: if ( ++p == pe ) goto _test_eof848; case 848: switch( (*p) ) { case 69: goto st849; case 78: goto st852; case 101: goto st849; case 110: goto st852; } goto tr2490; st849: if ( ++p == pe ) goto _test_eof849; case 849: switch( (*p) ) { case 82: goto st850; case 114: goto st850; } goto tr2490; st850: if ( ++p == pe ) goto _test_eof850; case 850: switch( (*p) ) { case 84: goto st851; case 116: goto st851; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2623; case 32: goto tr2623; case 40: goto tr2624; case 41: goto tr2625; case 1034: goto tr2626; case 1083: goto tr2627; } goto tr2490; st852: if ( ++p == pe ) goto _test_eof852; case 852: switch( (*p) ) { case 65: goto st853; case 97: goto st853; } goto tr2490; st853: if ( ++p == pe ) goto _test_eof853; case 853: switch( (*p) ) { case 77: goto st854; case 109: goto st854; } goto tr2490; st854: if ( ++p == pe ) goto _test_eof854; case 854: switch( (*p) ) { case 69: goto st855; case 101: goto st855; } goto tr2490; st855: if ( ++p == pe ) goto _test_eof855; case 855: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2631; case 32: goto tr2631; case 40: goto tr2632; case 41: goto tr2633; case 1034: goto tr2634; case 1083: goto tr2635; } goto tr2490; st856: if ( ++p == pe ) goto _test_eof856; case 856: switch( (*p) ) { case 72: goto st857; case 78: goto st861; case 83: goto st869; case 104: goto st857; case 110: goto st861; case 115: goto st869; } goto tr2490; st857: if ( ++p == pe ) goto _test_eof857; case 857: switch( (*p) ) { case 67: goto st858; case 99: goto st858; } goto tr2490; st858: if ( ++p == pe ) goto _test_eof858; case 858: switch( (*p) ) { case 73: goto st859; case 105: goto st859; } goto tr2490; st859: if ( ++p == pe ) goto _test_eof859; case 859: switch( (*p) ) { case 68: goto st860; case 100: goto st860; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2642; case 32: goto tr2642; case 40: goto tr2643; case 41: goto tr2644; case 1034: goto tr2645; case 1083: goto tr2646; } goto tr2490; st861: if ( ++p == pe ) goto _test_eof861; case 861: switch( (*p) ) { case 65: goto st862; case 83: goto st865; case 97: goto st862; case 115: goto st865; } goto tr2490; st862: if ( ++p == pe ) goto _test_eof862; case 862: switch( (*p) ) { case 77: goto st863; case 109: goto st863; } goto tr2490; st863: if ( ++p == pe ) goto _test_eof863; case 863: switch( (*p) ) { case 69: goto st864; case 101: goto st864; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2651; case 32: goto tr2651; case 40: goto tr2652; case 41: goto tr2653; case 1034: goto tr2654; case 1083: goto tr2655; } goto tr2490; st865: if ( ++p == pe ) goto _test_eof865; case 865: switch( (*p) ) { case 75: goto st866; case 107: goto st866; } goto tr2490; st866: if ( ++p == pe ) goto _test_eof866; case 866: switch( (*p) ) { case 69: goto st867; case 101: goto st867; } goto tr2490; st867: if ( ++p == pe ) goto _test_eof867; case 867: switch( (*p) ) { case 89: goto st868; case 121: goto st868; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2659; case 32: goto tr2659; case 40: goto tr2660; case 41: goto tr2661; case 1034: goto tr2662; case 1083: goto tr2663; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2664; case 32: goto tr2664; case 40: goto tr2665; case 41: goto tr2666; case 1034: goto tr2667; case 1083: goto tr2668; } goto tr2490; st870: if ( ++p == pe ) goto _test_eof870; case 870: switch( (*p) ) { case 85: goto st871; case 117: goto st871; } goto tr2490; st871: if ( ++p == pe ) goto _test_eof871; case 871: switch( (*p) ) { case 73: goto st872; case 105: goto st872; } goto tr2490; st872: if ( ++p == pe ) goto _test_eof872; case 872: switch( (*p) ) { case 52: goto st873; case 54: goto st875; } goto tr2490; st873: if ( ++p == pe ) goto _test_eof873; case 873: if ( (*p) == 56 ) goto st874; goto tr2490; st874: if ( ++p == pe ) goto _test_eof874; case 874: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2674; case 32: goto tr2674; case 40: goto tr2675; case 41: goto tr2676; case 1034: goto tr2677; case 1083: goto tr2678; } goto tr2490; st875: if ( ++p == pe ) goto _test_eof875; case 875: if ( (*p) == 52 ) goto st876; goto tr2490; st876: if ( ++p == pe ) goto _test_eof876; case 876: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2680; case 32: goto tr2680; case 40: goto tr2681; case 41: goto tr2682; case 1034: goto tr2683; case 1083: goto tr2684; } goto tr2490; st877: if ( ++p == pe ) goto _test_eof877; case 877: switch( (*p) ) { case 73: goto st878; case 105: goto st878; } goto tr2490; st878: if ( ++p == pe ) goto _test_eof878; case 878: switch( (*p) ) { case 78: goto st879; case 110: goto st879; } goto tr2490; st879: if ( ++p == pe ) goto _test_eof879; case 879: switch( (*p) ) { case 70: goto st880; case 102: goto st880; } goto tr2490; st880: if ( ++p == pe ) goto _test_eof880; case 880: switch( (*p) ) { case 79: goto st881; case 111: goto st881; } goto tr2490; st881: if ( ++p == pe ) goto _test_eof881; case 881: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2689; case 32: goto tr2689; case 40: goto tr2690; case 41: goto tr2691; case 1034: goto tr2692; case 1083: goto tr2693; } goto tr2490; st882: if ( ++p == pe ) goto _test_eof882; case 882: switch( (*p) ) { case 80: goto st883; case 112: goto st883; } goto tr2490; st883: if ( ++p == pe ) goto _test_eof883; case 883: switch( (*p) ) { case 83: goto st884; case 115: goto st884; } goto tr2490; st884: if ( ++p == pe ) goto _test_eof884; case 884: switch( (*p) ) { case 69: goto st885; case 101: goto st885; } goto tr2490; st885: if ( ++p == pe ) goto _test_eof885; case 885: switch( (*p) ) { case 67: goto st886; case 99: goto st886; } goto tr2490; st886: if ( ++p == pe ) goto _test_eof886; case 886: switch( (*p) ) { case 75: goto st887; case 107: goto st887; } goto tr2490; st887: if ( ++p == pe ) goto _test_eof887; case 887: switch( (*p) ) { case 69: goto st888; case 101: goto st888; } goto tr2490; st888: if ( ++p == pe ) goto _test_eof888; case 888: switch( (*p) ) { case 89: goto st889; case 121: goto st889; } goto tr2490; st889: if ( ++p == pe ) goto _test_eof889; case 889: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2701; case 32: goto tr2701; case 40: goto tr2702; case 41: goto tr2703; case 1034: goto tr2704; case 1083: goto tr2705; } goto tr2490; st890: if ( ++p == pe ) goto _test_eof890; case 890: switch( (*p) ) { case 69: goto st891; case 88: goto st893; case 101: goto st891; case 120: goto st893; } goto tr2490; st891: if ( ++p == pe ) goto _test_eof891; case 891: switch( (*p) ) { case 89: goto st892; case 121: goto st892; } goto tr2490; st892: if ( ++p == pe ) goto _test_eof892; case 892: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2709; case 32: goto tr2709; case 40: goto tr2710; case 41: goto tr2711; case 1034: goto tr2712; case 1083: goto tr2713; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2714; case 32: goto tr2714; case 40: goto tr2715; case 41: goto tr2716; case 1034: goto tr2717; case 1083: goto tr2718; } goto tr2490; st894: if ( ++p == pe ) goto _test_eof894; case 894: switch( (*p) ) { case 51: goto st895; case 54: goto st897; case 79: goto st899; case 80: goto st901; case 111: goto st899; case 112: goto st901; } goto tr2490; st895: if ( ++p == pe ) goto _test_eof895; case 895: if ( (*p) == 50 ) goto st896; goto tr2490; st896: if ( ++p == pe ) goto _test_eof896; case 896: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2724; case 32: goto tr2724; case 40: goto tr2725; case 41: goto tr2726; case 1034: goto tr2727; case 1083: goto tr2728; } goto tr2490; st897: if ( ++p == pe ) goto _test_eof897; case 897: if ( (*p) == 52 ) goto st898; goto tr2490; st898: if ( ++p == pe ) goto _test_eof898; case 898: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2730; case 32: goto tr2730; case 40: goto tr2731; case 41: goto tr2732; case 1034: goto tr2733; case 1083: goto tr2734; } goto tr2490; st899: if ( ++p == pe ) goto _test_eof899; case 899: switch( (*p) ) { case 67: goto st900; case 99: goto st900; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2736; case 32: goto tr2736; case 40: goto tr2737; case 41: goto tr2738; case 1034: goto tr2739; case 1083: goto tr2740; } goto tr2490; st901: if ( ++p == pe ) goto _test_eof901; case 901: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2741; case 32: goto tr2741; case 40: goto tr2742; case 41: goto tr2743; case 1034: goto tr2744; case 1083: goto tr2745; } goto tr2490; st902: if ( ++p == pe ) goto _test_eof902; case 902: switch( (*p) ) { case 73: goto st903; case 88: goto st907; case 105: goto st903; case 120: goto st907; } goto tr2490; st903: if ( ++p == pe ) goto _test_eof903; case 903: switch( (*p) ) { case 78: goto st904; case 110: goto st904; } goto tr2490; st904: if ( ++p == pe ) goto _test_eof904; case 904: switch( (*p) ) { case 70: goto st905; case 102: goto st905; } goto tr2490; st905: if ( ++p == pe ) goto _test_eof905; case 905: switch( (*p) ) { case 79: goto st906; case 111: goto st906; } goto tr2490; st906: if ( ++p == pe ) goto _test_eof906; case 906: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2751; case 32: goto tr2751; case 40: goto tr2752; case 41: goto tr2753; case 1034: goto tr2754; case 1083: goto tr2755; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2756; case 32: goto tr2756; case 40: goto tr2757; case 41: goto tr2758; case 1034: goto tr2759; case 1083: goto tr2760; } goto tr2490; st908: if ( ++p == pe ) goto _test_eof908; case 908: switch( (*p) ) { case 65: goto st909; case 73: goto st913; case 83: goto st915; case 97: goto st909; case 105: goto st913; case 115: goto st915; } goto tr2490; st909: if ( ++p == pe ) goto _test_eof909; case 909: switch( (*p) ) { case 80: goto st910; case 112: goto st910; } goto tr2490; st910: if ( ++p == pe ) goto _test_eof910; case 910: switch( (*p) ) { case 84: goto st911; case 116: goto st911; } goto tr2490; st911: if ( ++p == pe ) goto _test_eof911; case 911: switch( (*p) ) { case 82: goto st912; case 114: goto st912; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2767; case 32: goto tr2767; case 40: goto tr2768; case 41: goto tr2769; case 1034: goto tr2770; case 1083: goto tr2771; } goto tr2490; st913: if ( ++p == pe ) goto _test_eof913; case 913: switch( (*p) ) { case 68: goto st914; case 100: goto st914; } goto tr2490; st914: if ( ++p == pe ) goto _test_eof914; case 914: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2773; case 32: goto tr2773; case 40: goto tr2774; case 41: goto tr2775; case 1034: goto tr2776; case 1083: goto tr2777; } goto tr2490; st915: if ( ++p == pe ) goto _test_eof915; case 915: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2778; case 32: goto tr2778; case 40: goto tr2779; case 41: goto tr2780; case 69: goto st916; case 101: goto st916; case 1034: goto tr2782; case 1083: goto tr2783; } goto tr2490; st916: if ( ++p == pe ) goto _test_eof916; case 916: switch( (*p) ) { case 67: goto st917; case 99: goto st917; } goto tr2490; st917: if ( ++p == pe ) goto _test_eof917; case 917: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2785; case 32: goto tr2785; case 40: goto tr2786; case 41: goto tr2787; case 51: goto st918; case 1034: goto tr2789; case 1083: goto tr2790; } goto tr2490; st918: if ( ++p == pe ) goto _test_eof918; case 918: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2791; case 32: goto tr2791; case 40: goto tr2792; case 41: goto tr2793; case 80: goto st919; case 112: goto st919; case 1034: goto tr2795; case 1083: goto tr2796; } goto tr2490; st919: if ( ++p == pe ) goto _test_eof919; case 919: switch( (*p) ) { case 65: goto st920; case 97: goto st920; } goto tr2490; st920: if ( ++p == pe ) goto _test_eof920; case 920: switch( (*p) ) { case 82: goto st921; case 114: goto st921; } goto tr2490; st921: if ( ++p == pe ) goto _test_eof921; case 921: switch( (*p) ) { case 65: goto st922; case 97: goto st922; } goto tr2490; st922: if ( ++p == pe ) goto _test_eof922; case 922: switch( (*p) ) { case 77: goto st923; case 109: goto st923; } goto tr2490; st923: if ( ++p == pe ) goto _test_eof923; case 923: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2801; case 32: goto tr2801; case 40: goto tr2802; case 41: goto tr2803; case 1034: goto tr2804; case 1083: goto tr2805; } goto tr2490; st924: if ( ++p == pe ) goto _test_eof924; case 924: switch( (*p) ) { case 84: goto st925; case 116: goto st925; } goto tr2490; st925: if ( ++p == pe ) goto _test_eof925; case 925: switch( (*p) ) { case 82: goto st926; case 114: goto st926; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2808; case 32: goto tr2808; case 40: goto tr2809; case 41: goto tr2810; case 1034: goto tr2811; case 1083: goto tr2812; } goto tr2490; st927: if ( ++p == pe ) goto _test_eof927; case 927: switch( (*p) ) { case 80: goto st928; case 82: goto st929; case 84: goto st933; case 112: goto st928; case 114: goto st929; case 116: goto st933; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2816; case 32: goto tr2816; case 40: goto tr2817; case 41: goto tr2818; case 1034: goto tr2819; case 1083: goto tr2820; } goto tr2490; st929: if ( ++p == pe ) goto _test_eof929; case 929: switch( (*p) ) { case 83: goto st930; case 115: goto st930; } goto tr2490; st930: if ( ++p == pe ) goto _test_eof930; case 930: switch( (*p) ) { case 73: goto st931; case 105: goto st931; } goto tr2490; st931: if ( ++p == pe ) goto _test_eof931; case 931: switch( (*p) ) { case 71: goto st932; case 103: goto st932; } goto tr2490; st932: if ( ++p == pe ) goto _test_eof932; case 932: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2824; case 32: goto tr2824; case 40: goto tr2825; case 41: goto tr2826; case 1034: goto tr2827; case 1083: goto tr2828; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2829; case 32: goto tr2829; case 40: goto tr2830; case 41: goto tr2831; case 1034: goto tr2832; case 1083: goto tr2833; } goto tr2490; st934: if ( ++p == pe ) goto _test_eof934; case 934: switch( (*p) ) { case 79: goto st935; case 80: goto st937; case 82: goto st939; case 83: goto st941; case 111: goto st935; case 112: goto st937; case 114: goto st939; case 115: goto st941; } goto tr2490; st935: if ( ++p == pe ) goto _test_eof935; case 935: switch( (*p) ) { case 65: goto st936; case 97: goto st936; } goto tr2490; st936: if ( ++p == pe ) goto _test_eof936; case 936: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2839; case 32: goto tr2839; case 40: goto tr2840; case 41: goto tr2841; case 1034: goto tr2842; case 1083: goto tr2843; } goto tr2490; st937: if ( ++p == pe ) goto _test_eof937; case 937: switch( (*p) ) { case 70: goto st938; case 102: goto st938; } goto tr2490; st938: if ( ++p == pe ) goto _test_eof938; case 938: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2845; case 32: goto tr2845; case 40: goto tr2846; case 41: goto tr2847; case 1034: goto tr2848; case 1083: goto tr2849; } goto tr2490; st939: if ( ++p == pe ) goto _test_eof939; case 939: switch( (*p) ) { case 86: goto st940; case 118: goto st940; } goto tr2490; st940: if ( ++p == pe ) goto _test_eof940; case 940: _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2851; case 32: goto tr2851; case 40: goto tr2852; case 41: goto tr2853; case 1034: goto tr2854; case 1083: goto tr2855; } goto tr2490; st941: if ( ++p == pe ) goto _test_eof941; case 941: switch( (*p) ) { case 72: goto st942; case 104: goto st942; } goto tr2490; st942: if ( ++p == pe ) goto _test_eof942; case 942: switch( (*p) ) { case 70: goto st943; case 102: goto st943; } goto tr2490; st943: if ( ++p == pe ) goto _test_eof943; case 943: switch( (*p) ) { case 80: goto st944; case 112: goto st944; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2859; case 32: goto tr2859; case 40: goto tr2860; case 41: goto tr2861; case 1034: goto tr2862; case 1083: goto tr2863; } goto tr2490; st945: if ( ++p == pe ) goto _test_eof945; case 945: switch( (*p) ) { case 76: goto st946; case 88: goto st949; case 89: goto st951; case 108: goto st946; case 120: goto st949; case 121: goto st951; } goto tr2490; st946: if ( ++p == pe ) goto _test_eof946; case 946: switch( (*p) ) { case 83: goto st947; case 115: goto st947; } goto tr2490; st947: if ( ++p == pe ) goto _test_eof947; case 947: switch( (*p) ) { case 65: goto st948; case 97: goto st948; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2869; case 32: goto tr2869; case 40: goto tr2870; case 41: goto tr2871; case 1034: goto tr2872; case 1083: goto tr2873; } goto tr2490; st949: if ( ++p == pe ) goto _test_eof949; case 949: switch( (*p) ) { case 84: goto st950; case 116: goto st950; } goto tr2490; 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 ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2875; case 32: goto tr2875; case 40: goto tr2876; case 41: goto tr2877; case 1034: goto tr2878; case 1083: goto tr2879; } goto tr2490; st951: if ( ++p == pe ) goto _test_eof951; case 951: switch( (*p) ) { case 80: goto st952; case 112: goto st952; } goto tr2490; st952: if ( ++p == pe ) goto _test_eof952; case 952: switch( (*p) ) { case 69: goto st953; case 101: goto st953; } goto tr2490; st953: if ( ++p == pe ) goto _test_eof953; case 953: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2883; goto tr2882; tr2883: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st954; tr2887: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st954; st954: if ( ++p == pe ) goto _test_eof954; case 954: #line 72256 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2884; case 32: goto tr2884; case 40: goto tr2885; case 41: goto tr2886; case 1034: goto tr2888; case 1083: goto tr2889; } if ( 48 <= _widec && _widec <= 57 ) goto tr2887; goto tr2882; st955: if ( ++p == pe ) goto _test_eof955; case 955: switch( (*p) ) { case 42: goto tr2890; case 92: goto tr2890; case 95: goto tr2890; } if ( (*p) < 64 ) { if ( 45 <= (*p) && (*p) <= 57 ) goto tr2890; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr2890; } else goto tr2890; goto tr69; tr2890: #line 250 "./scanner_body.rl" { s->dname = rdata_tail; } #line 205 "./scanner_body.rl" { p--; {stack[top++] = 956; goto st248;} } goto st956; st956: if ( ++p == pe ) goto _test_eof956; case 956: #line 72312 "scanner.c" switch( (*p) ) { case 32: goto tr2891; case 59: goto tr2891; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr2891; } else if ( (*p) >= 9 ) goto tr2891; goto tr69; tr2891: #line 253 "./scanner_body.rl" { rdata_tail += s->dname_tmp_length; } #line 1319 "./scanner_body.rl" { p--; {stack[top++] = 957; goto st314;} } goto st957; st957: if ( ++p == pe ) goto _test_eof957; case 957: #line 72335 "scanner.c" switch( (*p) ) { case 32: goto tr2892; case 59: goto tr2892; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr2892; } else if ( (*p) >= 9 ) goto tr2892; goto tr69; tr2892: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1129; st1129: if ( ++p == pe ) goto _test_eof1129; case 1129: #line 72356 "scanner.c" goto st0; st958: if ( ++p == pe ) goto _test_eof958; case 958: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2893; goto tr1654; tr2893: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st959; tr2897: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st959; st959: if ( ++p == pe ) goto _test_eof959; case 959: #line 72407 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2894; case 32: goto tr2894; case 40: goto tr2895; case 41: goto tr2896; case 1034: goto tr2898; case 1083: goto tr2899; } if ( 48 <= _widec && _widec <= 57 ) goto tr2897; goto tr1654; tr2901: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st960; tr2902: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st960; tr2904: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st960; tr2894: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st960; tr2895: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st960; tr2896: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st960; tr2898: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st960; st960: if ( ++p == pe ) goto _test_eof960; case 960: #line 72531 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st960; case 32: goto st960; case 40: goto tr2901; case 41: goto tr2902; case 1034: goto tr2904; case 1083: goto st968; } if ( 48 <= _widec && _widec <= 57 ) goto tr2903; goto tr1654; tr2903: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st961; tr2909: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st961; st961: if ( ++p == pe ) goto _test_eof961; case 961: #line 72599 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2906; case 32: goto tr2906; case 40: goto tr2907; case 41: goto tr2908; case 1034: goto tr2910; case 1083: goto tr2911; } if ( 48 <= _widec && _widec <= 57 ) goto tr2909; goto tr1654; tr2913: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st962; tr2914: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st962; tr2916: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st962; tr2906: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st962; tr2907: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st962; tr2908: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st962; tr2910: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st962; st962: if ( ++p == pe ) goto _test_eof962; case 962: #line 72723 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st962; case 32: goto st962; case 40: goto tr2913; case 41: goto tr2914; case 1034: goto tr2916; case 1083: goto st967; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2915; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2915; } else goto tr2915; goto tr69; tr2915: #line 1579 "./scanner_body.rl" { p--; {stack[top++] = 963; goto st453;} } goto st963; st963: if ( ++p == pe ) goto _test_eof963; case 963: #line 72763 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st964; case 32: goto st964; case 40: goto tr2919; case 41: goto tr2920; case 1034: goto tr2921; case 1083: goto st966; } goto tr69; tr2919: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st964; tr2920: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st964; tr2921: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st964; st964: if ( ++p == pe ) goto _test_eof964; case 964: #line 72817 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st964; case 32: goto st964; case 40: goto tr2919; case 41: goto tr2920; case 43: goto tr2923; case 1034: goto tr2921; case 1083: goto st966; } if ( _widec < 65 ) { if ( 47 <= _widec && _widec <= 57 ) goto tr2923; } else if ( _widec > 90 ) { if ( 97 <= _widec && _widec <= 122 ) goto tr2923; } else goto tr2923; goto tr69; tr2923: #line 973 "./scanner_body.rl" { p--; {stack[top++] = 965; goto st307;} } goto st965; st965: if ( ++p == pe ) goto _test_eof965; case 965: #line 72858 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } switch( _widec ) { case 1546: goto tr2924; case 1595: goto tr2924; } goto tr69; tr2924: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1130; st1130: if ( ++p == pe ) goto _test_eof1130; case 1130: #line 72888 "scanner.c" goto st0; st966: if ( ++p == pe ) goto _test_eof966; case 966: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2921; if ( 896 <= _widec && _widec <= 1151 ) goto st966; goto tr69; tr2911: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st967; st967: if ( ++p == pe ) goto _test_eof967; case 967: #line 72936 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2916; if ( 896 <= _widec && _widec <= 1151 ) goto st967; goto tr69; tr2899: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st968; st968: if ( ++p == pe ) goto _test_eof968; case 968: #line 72979 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2904; if ( 896 <= _widec && _widec <= 1151 ) goto st968; goto tr69; st969: if ( ++p == pe ) goto _test_eof969; case 969: if ( (*p) == 43 ) goto tr2925; if ( (*p) < 65 ) { if ( 47 <= (*p) && (*p) <= 57 ) goto tr2925; } else if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr2925; } else goto tr2925; goto tr69; tr2925: #line 973 "./scanner_body.rl" { p--; {stack[top++] = 970; goto st307;} } goto st970; st970: if ( ++p == pe ) goto _test_eof970; case 970: #line 73029 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(1152 + ((*p) - -128)); if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 256; } switch( _widec ) { case 1546: goto tr2926; case 1595: goto tr2926; } goto tr69; tr2926: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1131; st1131: if ( ++p == pe ) goto _test_eof1131; case 1131: #line 73059 "scanner.c" goto st0; st971: if ( ++p == pe ) goto _test_eof971; case 971: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2927; goto tr1654; tr2927: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st972; tr2931: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st972; st972: if ( ++p == pe ) goto _test_eof972; case 972: #line 73110 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2928; case 32: goto tr2928; case 40: goto tr2929; case 41: goto tr2930; case 1034: goto tr2932; case 1083: goto tr2933; } if ( 48 <= _widec && _widec <= 57 ) goto tr2931; goto tr1654; tr2935: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st973; tr2936: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st973; tr2938: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st973; tr2928: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st973; tr2929: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st973; tr2930: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st973; tr2932: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st973; st973: if ( ++p == pe ) goto _test_eof973; case 973: #line 73234 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st973; case 32: goto st973; case 40: goto tr2935; case 41: goto tr2936; case 1034: goto tr2938; case 1083: goto st999; } if ( 48 <= _widec && _widec <= 57 ) goto tr2937; goto tr1654; tr2937: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st974; tr2943: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st974; st974: if ( ++p == pe ) goto _test_eof974; case 974: #line 73302 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2940; case 32: goto tr2940; case 40: goto tr2941; case 41: goto tr2942; case 1034: goto tr2944; case 1083: goto tr2945; } if ( 48 <= _widec && _widec <= 57 ) goto tr2943; goto tr1654; tr2947: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st975; tr2948: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st975; tr2950: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st975; tr2940: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st975; tr2941: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st975; tr2942: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st975; tr2944: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st975; st975: if ( ++p == pe ) goto _test_eof975; case 975: #line 73426 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st975; case 32: goto st975; case 40: goto tr2947; case 41: goto tr2948; case 1034: goto tr2950; case 1083: goto st998; } if ( 48 <= _widec && _widec <= 57 ) goto tr2949; goto tr1654; tr2949: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st976; tr2955: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st976; st976: if ( ++p == pe ) goto _test_eof976; case 976: #line 73494 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2952; case 32: goto tr2952; case 40: goto tr2953; case 41: goto tr2954; case 1034: goto tr2956; case 1083: goto tr2957; } if ( 48 <= _widec && _widec <= 57 ) goto tr2955; goto tr1654; tr2959: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st977; tr2960: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st977; tr2963: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st977; tr2952: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st977; tr2953: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st977; tr2954: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st977; tr2956: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st977; st977: if ( ++p == pe ) goto _test_eof977; case 977: #line 73618 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st977; case 32: goto st977; case 40: goto tr2959; case 41: goto tr2960; case 45: goto tr2961; case 1034: goto tr2963; case 1083: goto st997; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2962; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2962; } else goto tr2962; goto tr2255; tr2961: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } goto st978; st978: if ( ++p == pe ) goto _test_eof978; case 978: #line 73661 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2965; case 32: goto tr2965; case 40: goto tr2966; case 41: goto tr2967; case 1034: goto tr2968; case 1083: goto tr2969; } goto tr2255; tr2972: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st979; tr2973: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st979; tr2975: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st979; tr2965: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st979; tr2966: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st979; tr2967: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st979; tr2968: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st979; st979: if ( ++p == pe ) goto _test_eof979; case 979: #line 73787 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st979; case 32: goto st979; case 40: goto tr2972; case 41: goto tr2973; case 1034: goto tr2975; case 1083: goto st994; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2974; } else if ( _widec > 86 ) { if ( 97 <= _widec && _widec <= 118 ) goto tr2974; } else goto tr2974; goto tr2970; tr2974: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 977 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st980; tr2989: #line 977 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_base32hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st980; st980: if ( ++p == pe ) goto _test_eof980; case 980: #line 73849 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2977; } else if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2977; } else goto tr2977; goto tr2970; tr2977: #line 985 "./scanner_body.rl" { *(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(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st981; st981: if ( ++p == pe ) goto _test_eof981; case 981: #line 73876 "scanner.c" if ( (*p) == 61 ) goto st992; if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2978; } else if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2978; } else goto tr2978; goto tr2970; tr2978: #line 995 "./scanner_body.rl" { *rdata_tail += third_base32hex_to_num[(uint8_t)(*p)]; } goto st982; st982: if ( ++p == pe ) goto _test_eof982; case 982: #line 73898 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2980; } else if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2980; } else goto tr2980; goto tr2970; tr2980: #line 998 "./scanner_body.rl" { *(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(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st983; st983: if ( ++p == pe ) goto _test_eof983; case 983: #line 73925 "scanner.c" if ( (*p) == 61 ) goto st991; if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2981; } else if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2981; } else goto tr2981; goto tr2970; tr2981: #line 1008 "./scanner_body.rl" { *(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(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st984; st984: if ( ++p == pe ) goto _test_eof984; case 984: #line 73954 "scanner.c" if ( (*p) == 61 ) goto st989; if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2983; } else if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2983; } else goto tr2983; goto tr2970; tr2983: #line 1018 "./scanner_body.rl" { *rdata_tail += sixth_base32hex_to_num[(uint8_t)(*p)]; } goto st985; st985: if ( ++p == pe ) goto _test_eof985; case 985: #line 73976 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2985; } else if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2985; } else goto tr2985; goto tr2970; tr2985: #line 1021 "./scanner_body.rl" { *(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(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st986; st986: if ( ++p == pe ) goto _test_eof986; case 986: #line 74003 "scanner.c" if ( (*p) == 61 ) goto st987; if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2986; } else if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2986; } else goto tr2986; goto tr2970; tr2986: #line 1031 "./scanner_body.rl" { *(rdata_tail++) += eighth_base32hex_to_num[(uint8_t)(*p)]; } goto st987; st987: if ( ++p == pe ) goto _test_eof987; case 987: #line 74025 "scanner.c" switch( (*p) ) { case 32: goto tr2988; case 59: goto tr2988; } if ( (*p) < 48 ) { if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr2988; } else if ( (*p) >= 9 ) goto tr2988; } else if ( (*p) > 57 ) { if ( (*p) > 86 ) { if ( 97 <= (*p) && (*p) <= 118 ) goto tr2989; } else if ( (*p) >= 65 ) goto tr2989; } else goto tr2989; goto tr2970; tr2988: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 1319 "./scanner_body.rl" { p--; {stack[top++] = 988; goto st314;} } goto st988; st988: if ( ++p == pe ) goto _test_eof988; case 988: #line 74064 "scanner.c" switch( (*p) ) { case 32: goto tr2990; case 59: goto tr2990; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr2990; } else if ( (*p) >= 9 ) goto tr2990; goto tr69; tr2990: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1132; st1132: if ( ++p == pe ) goto _test_eof1132; case 1132: #line 74085 "scanner.c" goto st0; st989: if ( ++p == pe ) goto _test_eof989; case 989: if ( (*p) == 61 ) goto st990; goto tr2970; st990: if ( ++p == pe ) goto _test_eof990; case 990: if ( (*p) == 61 ) goto st987; goto tr2970; st991: if ( ++p == pe ) goto _test_eof991; case 991: if ( (*p) == 61 ) goto st989; goto tr2970; st992: if ( ++p == pe ) goto _test_eof992; case 992: if ( (*p) == 61 ) goto st993; goto tr2970; st993: if ( ++p == pe ) goto _test_eof993; case 993: if ( (*p) == 61 ) goto st991; goto tr2970; tr2969: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } goto st994; st994: if ( ++p == pe ) goto _test_eof994; case 994: #line 74139 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2975; if ( 896 <= _widec && _widec <= 1151 ) goto st994; goto tr69; tr2994: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st995; tr2962: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st995; st995: if ( ++p == pe ) goto _test_eof995; case 995: #line 74196 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr2993; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr2993; } else goto tr2993; goto tr2255; tr2993: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st996; st996: if ( ++p == pe ) goto _test_eof996; case 996: #line 74217 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr2965; case 32: goto tr2965; case 40: goto tr2966; case 41: goto tr2967; case 1034: goto tr2968; case 1083: goto tr2969; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr2994; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr2994; } else goto tr2994; goto tr2255; tr2957: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st997; st997: if ( ++p == pe ) goto _test_eof997; case 997: #line 74265 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2963; if ( 896 <= _widec && _widec <= 1151 ) goto st997; goto tr69; tr2945: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st998; st998: if ( ++p == pe ) goto _test_eof998; case 998: #line 74308 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2950; if ( 896 <= _widec && _widec <= 1151 ) goto st998; goto tr69; tr2933: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st999; st999: if ( ++p == pe ) goto _test_eof999; case 999: #line 74351 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr2938; if ( 896 <= _widec && _widec <= 1151 ) goto st999; goto tr69; st1000: if ( ++p == pe ) goto _test_eof1000; case 1000: if ( 48 <= (*p) && (*p) <= 57 ) goto tr2995; goto tr1654; tr2995: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1001; tr2999: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1001; st1001: if ( ++p == pe ) goto _test_eof1001; case 1001: #line 74427 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" 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 tr3000; case 1083: goto tr3001; } if ( 48 <= _widec && _widec <= 57 ) goto tr2999; goto tr1654; tr3003: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1002; tr3004: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1002; tr3006: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1002; tr2996: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1002; tr2997: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1002; tr2998: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1002; tr3000: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1002; st1002: if ( ++p == pe ) goto _test_eof1002; case 1002: #line 74551 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1002; case 32: goto st1002; case 40: goto tr3003; case 41: goto tr3004; case 1034: goto tr3006; case 1083: goto st1012; } if ( 48 <= _widec && _widec <= 57 ) goto tr3005; goto tr1654; tr3005: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1003; tr3011: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1003; st1003: if ( ++p == pe ) goto _test_eof1003; case 1003: #line 74619 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3008; case 32: goto tr3008; case 40: goto tr3009; case 41: goto tr3010; case 1034: goto tr3012; case 1083: goto tr3013; } if ( 48 <= _widec && _widec <= 57 ) goto tr3011; goto tr1654; tr3015: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1004; tr3016: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1004; tr3018: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1004; tr3008: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1004; tr3009: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1004; tr3010: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1004; tr3012: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1004; st1004: if ( ++p == pe ) goto _test_eof1004; case 1004: #line 74743 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1004; case 32: goto st1004; case 40: goto tr3015; case 41: goto tr3016; case 1034: goto tr3018; case 1083: goto st1011; } if ( 48 <= _widec && _widec <= 57 ) goto tr3017; goto tr1654; tr3017: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1005; tr3023: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1005; st1005: if ( ++p == pe ) goto _test_eof1005; case 1005: #line 74811 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3020; case 32: goto tr3020; case 40: goto tr3021; case 41: goto tr3022; case 1034: goto tr3024; case 1083: goto tr3025; } if ( 48 <= _widec && _widec <= 57 ) goto tr3023; goto tr1654; tr3027: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1006; tr3028: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1006; tr3031: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1006; tr3020: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1006; tr3021: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1006; tr3022: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1006; tr3024: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1006; st1006: if ( ++p == pe ) goto _test_eof1006; case 1006: #line 74935 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1006; case 32: goto st1006; case 40: goto tr3027; case 41: goto tr3028; case 45: goto tr3029; case 1034: goto tr3031; case 1083: goto st1010; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr3030; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr3030; } else goto tr3030; goto tr2255; tr3029: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } goto st1007; st1007: if ( ++p == pe ) goto _test_eof1007; case 1007: #line 74978 "scanner.c" switch( (*p) ) { case 32: goto tr3033; case 59: goto tr3033; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr3033; } else if ( (*p) >= 9 ) goto tr3033; goto tr2255; tr3033: #line 212 "./scanner_body.rl" { 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(ZSCANNER_EITEM_OVERFLOW); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1133; st1133: if ( ++p == pe ) goto _test_eof1133; case 1133: #line 75010 "scanner.c" goto st0; tr3035: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1008; tr3030: #line 209 "./scanner_body.rl" { s->item_length_location = rdata_tail++; } #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1008; st1008: if ( ++p == pe ) goto _test_eof1008; case 1008: #line 75042 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3034; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3034; } else goto tr3034; goto tr2255; tr3034: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1009; st1009: if ( ++p == pe ) goto _test_eof1009; case 1009: #line 75063 "scanner.c" switch( (*p) ) { case 32: goto tr3033; case 59: goto tr3033; } if ( (*p) < 48 ) { if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr3033; } else if ( (*p) >= 9 ) goto tr3033; } else if ( (*p) > 57 ) { if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3035; } else if ( (*p) >= 65 ) goto tr3035; } else goto tr3035; goto tr2255; tr3025: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1010; st1010: if ( ++p == pe ) goto _test_eof1010; case 1010: #line 75099 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3031; if ( 896 <= _widec && _widec <= 1151 ) goto st1010; goto tr69; tr3013: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1011; st1011: if ( ++p == pe ) goto _test_eof1011; case 1011: #line 75142 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3018; if ( 896 <= _widec && _widec <= 1151 ) goto st1011; goto tr69; tr3001: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1012; st1012: if ( ++p == pe ) goto _test_eof1012; case 1012: #line 75185 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3006; if ( 896 <= _widec && _widec <= 1151 ) goto st1012; goto tr69; st1013: if ( ++p == pe ) goto _test_eof1013; case 1013: if ( 48 <= (*p) && (*p) <= 57 ) goto tr3036; goto tr1654; tr3036: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1014; tr3040: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1014; st1014: if ( ++p == pe ) goto _test_eof1014; case 1014: #line 75261 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3037; case 32: goto tr3037; case 40: goto tr3038; case 41: goto tr3039; case 1034: goto tr3041; case 1083: goto tr3042; } if ( 48 <= _widec && _widec <= 57 ) goto tr3040; goto tr1654; tr3044: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1015; tr3045: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1015; tr3047: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1015; tr3037: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1015; tr3038: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1015; tr3039: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1015; tr3041: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1015; st1015: if ( ++p == pe ) goto _test_eof1015; case 1015: #line 75385 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1015; case 32: goto st1015; case 40: goto tr3044; case 41: goto tr3045; case 1034: goto tr3047; case 1083: goto st1025; } if ( 48 <= _widec && _widec <= 57 ) goto tr3046; goto tr1654; tr3046: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1016; tr3052: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1016; st1016: if ( ++p == pe ) goto _test_eof1016; case 1016: #line 75453 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3049; case 32: goto tr3049; case 40: goto tr3050; case 41: goto tr3051; case 1034: goto tr3053; case 1083: goto tr3054; } if ( 48 <= _widec && _widec <= 57 ) goto tr3052; goto tr1654; tr3056: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1017; tr3057: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1017; tr3059: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1017; tr3049: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1017; tr3050: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1017; tr3051: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1017; tr3053: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1017; st1017: if ( ++p == pe ) goto _test_eof1017; case 1017: #line 75577 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1017; case 32: goto st1017; case 40: goto tr3056; case 41: goto tr3057; case 1034: goto tr3059; case 1083: goto st1024; } if ( 48 <= _widec && _widec <= 57 ) goto tr3058; goto tr1654; tr3058: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1018; tr3064: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1018; st1018: if ( ++p == pe ) goto _test_eof1018; case 1018: #line 75645 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3061; case 32: goto tr3061; case 40: goto tr3062; case 41: goto tr3063; case 1034: goto tr3065; case 1083: goto tr3066; } if ( 48 <= _widec && _widec <= 57 ) goto tr3064; goto tr1654; tr3068: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1019; tr3069: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1019; tr3071: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1019; tr3061: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1019; tr3062: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1019; tr3063: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1019; tr3065: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1019; st1019: if ( ++p == pe ) goto _test_eof1019; case 1019: #line 75769 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1019; case 32: goto st1019; case 40: goto tr3068; case 41: goto tr3069; case 1034: goto tr3071; case 1083: goto st1023; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr3070; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr3070; } else goto tr3070; goto tr2255; tr3070: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1020; st1020: if ( ++p == pe ) goto _test_eof1020; case 1020: #line 75816 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3073; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3073; } else goto tr3073; goto tr2255; tr3075: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1021; tr3076: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1021; tr3077: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1021; tr3073: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1021; st1021: if ( ++p == pe ) goto _test_eof1021; case 1021: #line 75863 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st1021; case 32: goto st1021; case 40: goto tr3075; case 41: goto tr3076; case 2058: goto tr3077; case 2107: goto st1022; case 2314: goto tr3079; case 2363: goto tr3079; case 2570: goto tr3080; case 2619: goto tr3081; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr3070; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr3070; } else goto tr3070; goto tr2255; st1022: if ( ++p == pe ) goto _test_eof1022; case 1022: _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3077; if ( 896 <= _widec && _widec <= 1151 ) goto st1022; goto tr2255; tr3079: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1134; st1134: if ( ++p == pe ) goto _test_eof1134; case 1134: #line 75945 "scanner.c" goto st0; tr3080: #line 25 "./scanner_body.rl" { s->line_counter++; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1135; st1135: if ( ++p == pe ) goto _test_eof1135; case 1135: #line 75961 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } } else if ( (*p) >= 10 ) { _widec = (short)(1664 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; if ( #line 63 "./scanner_body.rl" !s->multiline ) _widec += 512; } switch( _widec ) { case 9: goto st1021; case 32: goto st1021; case 40: goto tr3075; case 41: goto tr3076; case 2058: goto tr3077; case 2107: goto st1022; case 2314: goto tr3079; case 2363: goto tr3079; case 2570: goto tr3080; case 2619: goto tr3081; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr3070; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr3070; } else goto tr3070; goto tr2255; tr3081: #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1136; st1136: if ( ++p == pe ) goto _test_eof1136; case 1136: #line 76013 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3077; if ( 896 <= _widec && _widec <= 1151 ) goto st1022; goto tr2255; tr3066: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1023; st1023: if ( ++p == pe ) goto _test_eof1023; case 1023: #line 76056 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3071; if ( 896 <= _widec && _widec <= 1151 ) goto st1023; goto tr69; tr3054: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1024; st1024: if ( ++p == pe ) goto _test_eof1024; case 1024: #line 76099 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3059; if ( 896 <= _widec && _widec <= 1151 ) goto st1024; goto tr69; tr3042: #line 328 "./scanner_body.rl" { if (s->number64 <= UINT8_MAX) { *rdata_tail = (uint8_t)(s->number64); rdata_tail += 1; } else { WARN(ZSCANNER_ENUMBER8_OVERFLOW); p--; {goto st246;} } } goto st1025; st1025: if ( ++p == pe ) goto _test_eof1025; case 1025: #line 76142 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3047; if ( 896 <= _widec && _widec <= 1151 ) goto st1025; goto tr69; st1026: if ( ++p == pe ) goto _test_eof1026; case 1026: if ( 48 <= (*p) && (*p) <= 57 ) goto tr3082; goto tr1654; tr3082: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1027; tr3086: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1027; st1027: if ( ++p == pe ) goto _test_eof1027; case 1027: #line 76218 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3083; case 32: goto tr3083; case 40: goto tr3084; case 41: goto tr3085; case 1034: goto tr3087; case 1083: goto tr3088; } if ( 48 <= _widec && _widec <= 57 ) goto tr3086; goto tr1654; tr3090: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1028; tr3091: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1028; tr3093: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1028; tr3083: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1028; tr3084: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1028; tr3085: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1028; tr3087: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1028; st1028: if ( ++p == pe ) goto _test_eof1028; case 1028: #line 76342 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1028; case 32: goto st1028; case 40: goto tr3090; case 41: goto tr3091; case 46: goto tr3092; case 1034: goto tr3093; case 1083: goto st1030; } if ( 48 <= _widec && _widec <= 57 ) goto tr3092; goto tr1631; tr3092: #line 746 "./scanner_body.rl" { s->buffer_length = 0; } #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1029; tr3096: #line 749 "./scanner_body.rl" { if (s->buffer_length < MAX_RDATA_LENGTH) { s->buffer[s->buffer_length++] = (*p); } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1029; st1029: if ( ++p == pe ) goto _test_eof1029; case 1029: #line 76401 "scanner.c" switch( (*p) ) { case 32: goto tr3095; case 46: goto tr3096; case 59: goto tr3095; } if ( (*p) < 40 ) { if ( 9 <= (*p) && (*p) <= 10 ) goto tr3095; } else if ( (*p) > 41 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3096; } else goto tr3095; goto tr1631; tr3095: #line 763 "./scanner_body.rl" { s->buffer[s->buffer_length] = 0; if (inet_pton(AF_INET, (char *)s->buffer, &addr4) <= 0) { WARN(ZSCANNER_EBAD_IPV4); p--; {goto st246;} } } #line 771 "./scanner_body.rl" { memcpy(rdata_tail, &(addr4.s_addr), INET4_ADDR_LENGTH); rdata_tail += INET4_ADDR_LENGTH; } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1137; st1137: if ( ++p == pe ) goto _test_eof1137; case 1137: #line 76440 "scanner.c" goto st0; tr3088: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1030; st1030: if ( ++p == pe ) goto _test_eof1030; case 1030: #line 76458 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3093; if ( 896 <= _widec && _widec <= 1151 ) goto st1030; goto tr69; st1031: if ( ++p == pe ) goto _test_eof1031; case 1031: if ( 48 <= (*p) && (*p) <= 57 ) goto tr3097; goto tr1654; tr3097: #line 278 "./scanner_body.rl" { s->number64 = 0; } #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1032; tr3101: #line 261 "./scanner_body.rl" { // Overflow check: 10*(s->number64) + fc - ASCII_0 <= UINT64_MAX if ((s->number64 < (UINT64_MAX / 10)) || // Dominant fast check. ((s->number64 == (UINT64_MAX / 10)) && // Marginal case. ((uint8_t)(*p) <= (UINT64_MAX % 10) + ASCII_0) ) ) { s->number64 *= 10; s->number64 += digit_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ENUMBER64_OVERFLOW); p--; {goto st246;} } } goto st1032; st1032: if ( ++p == pe ) goto _test_eof1032; case 1032: #line 76534 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto tr3098; case 32: goto tr3098; case 40: goto tr3099; case 41: goto tr3100; case 1034: goto tr3102; case 1083: goto tr3103; } if ( 48 <= _widec && _widec <= 57 ) goto tr3101; goto tr1654; tr3105: #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1033; tr3106: #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1033; tr3108: #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1033; tr3098: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1033; tr3099: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 29 "./scanner_body.rl" { if (s->multiline == true) { ERR(ZSCANNER_ELEFT_PARENTHESIS); p--; {goto st246;} } s->multiline = true; } goto st1033; tr3100: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 36 "./scanner_body.rl" { if (s->multiline == false) { ERR(ZSCANNER_ERIGHT_PARENTHESIS); p--; {goto st246;} } s->multiline = false; } goto st1033; tr3102: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } #line 25 "./scanner_body.rl" { s->line_counter++; } goto st1033; st1033: if ( ++p == pe ) goto _test_eof1033; case 1033: #line 76658 "scanner.c" _widec = (*p); if ( (*p) > 10 ) { if ( 59 <= (*p) && (*p) <= 59 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) >= 10 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } switch( _widec ) { case 9: goto st1033; case 32: goto st1033; case 40: goto tr3105; case 41: goto tr3106; case 1034: goto tr3108; case 1083: goto st1043; } if ( _widec < 65 ) { if ( 48 <= _widec && _widec <= 57 ) goto tr3107; } else if ( _widec > 70 ) { if ( 97 <= _widec && _widec <= 102 ) goto tr3107; } else goto tr3107; goto tr2255; tr3107: #line 1528 "./scanner_body.rl" { s->item_length = 0; } #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1034; st1034: if ( ++p == pe ) goto _test_eof1034; case 1034: #line 76709 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3110; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3110; } else goto tr3110; goto tr2255; tr3110: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1035; st1035: if ( ++p == pe ) goto _test_eof1035; case 1035: #line 76730 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3111; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3111; } else goto tr3111; goto tr2255; tr3111: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1036; st1036: if ( ++p == pe ) goto _test_eof1036; case 1036: #line 76755 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3112; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3112; } else goto tr3112; goto tr2255; tr3112: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1037; st1037: if ( ++p == pe ) goto _test_eof1037; case 1037: #line 76776 "scanner.c" if ( (*p) == 58 ) goto tr3114; goto tr3113; tr3114: #line 1531 "./scanner_body.rl" { s->item_length++; } goto st1038; st1038: if ( ++p == pe ) goto _test_eof1038; case 1038: #line 76790 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3115; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3115; } else goto tr3115; goto tr2255; tr3115: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1039; st1039: if ( ++p == pe ) goto _test_eof1039; case 1039: #line 76815 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3116; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3116; } else goto tr3116; goto tr2255; tr3116: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1040; st1040: if ( ++p == pe ) goto _test_eof1040; case 1040: #line 76836 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3117; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3117; } else goto tr3117; goto tr2255; tr3117: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1041; st1041: if ( ++p == pe ) goto _test_eof1041; case 1041: #line 76861 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3118; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3118; } else goto tr3118; goto tr2255; tr3118: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1042; st1042: if ( ++p == pe ) goto _test_eof1042; case 1042: #line 76882 "scanner.c" switch( (*p) ) { case 32: goto tr3120; case 58: goto tr3114; case 59: goto tr3120; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr3120; } else if ( (*p) >= 9 ) goto tr3120; goto tr3119; tr3120: #line 1531 "./scanner_body.rl" { s->item_length++; } #line 1534 "./scanner_body.rl" { if (s->item_length != 4) { WARN(ZSCANNER_EBAD_L64_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1138; st1138: if ( ++p == pe ) goto _test_eof1138; case 1138: #line 76915 "scanner.c" goto st0; tr3103: #line 337 "./scanner_body.rl" { if (s->number64 <= UINT16_MAX) { *((uint16_t *)rdata_tail) = htons((uint16_t)(s->number64)); rdata_tail += 2; } else { WARN(ZSCANNER_ENUMBER16_OVERFLOW); p--; {goto st246;} } } goto st1043; st1043: if ( ++p == pe ) goto _test_eof1043; case 1043: #line 76933 "scanner.c" _widec = (*p); if ( (*p) < 10 ) { if ( (*p) <= 9 ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else if ( (*p) > 10 ) { if ( 11 <= (*p) ) { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } } else { _widec = (short)(640 + ((*p) - -128)); if ( #line 54 "./scanner_body.rl" s->multiline ) _widec += 256; } if ( _widec == 1034 ) goto tr3108; if ( 896 <= _widec && _widec <= 1151 ) goto st1043; goto tr69; st1044: if ( ++p == pe ) goto _test_eof1044; case 1044: if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3121; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3121; } else goto tr3121; goto tr2255; tr3121: #line 1495 "./scanner_body.rl" { s->item_length = 0; } #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1045; st1045: if ( ++p == pe ) goto _test_eof1045; case 1045: #line 76992 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3122; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3122; } else goto tr3122; goto tr2255; tr3122: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1046; st1046: if ( ++p == pe ) goto _test_eof1046; case 1046: #line 77013 "scanner.c" if ( (*p) == 45 ) goto tr3124; goto tr3123; tr3124: #line 1498 "./scanner_body.rl" { s->item_length++; } goto st1047; st1047: if ( ++p == pe ) goto _test_eof1047; case 1047: #line 77027 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3125; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3125; } else goto tr3125; goto tr2255; tr3125: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1048; st1048: if ( ++p == pe ) goto _test_eof1048; case 1048: #line 77052 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3126; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3126; } else goto tr3126; goto tr2255; tr3126: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1049; st1049: if ( ++p == pe ) goto _test_eof1049; case 1049: #line 77073 "scanner.c" switch( (*p) ) { case 32: goto tr3127; case 45: goto tr3124; case 59: goto tr3127; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr3127; } else if ( (*p) >= 9 ) goto tr3127; goto tr3123; tr3127: #line 1498 "./scanner_body.rl" { s->item_length++; } #line 1501 "./scanner_body.rl" { if (s->item_length != 6) { WARN(ZSCANNER_EBAD_EUI_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1139; st1139: if ( ++p == pe ) goto _test_eof1139; case 1139: #line 77106 "scanner.c" goto st0; st1050: if ( ++p == pe ) goto _test_eof1050; case 1050: if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3128; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3128; } else goto tr3128; goto tr2255; tr3128: #line 1495 "./scanner_body.rl" { s->item_length = 0; } #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1051; st1051: if ( ++p == pe ) goto _test_eof1051; case 1051: #line 77140 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3129; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3129; } else goto tr3129; goto tr2255; tr3129: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1052; st1052: if ( ++p == pe ) goto _test_eof1052; case 1052: #line 77161 "scanner.c" if ( (*p) == 45 ) goto tr3130; goto tr3123; tr3130: #line 1498 "./scanner_body.rl" { s->item_length++; } goto st1053; st1053: if ( ++p == pe ) goto _test_eof1053; case 1053: #line 77175 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3131; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3131; } else goto tr3131; goto tr2255; tr3131: #line 876 "./scanner_body.rl" { if (rdata_tail <= rdata_stop) { *rdata_tail = first_hex_to_num[(uint8_t)(*p)]; } else { WARN(ZSCANNER_ERDATA_OVERFLOW); p--; {goto st246;} } } goto st1054; st1054: if ( ++p == pe ) goto _test_eof1054; case 1054: #line 77200 "scanner.c" if ( (*p) < 65 ) { if ( 48 <= (*p) && (*p) <= 57 ) goto tr3132; } else if ( (*p) > 70 ) { if ( 97 <= (*p) && (*p) <= 102 ) goto tr3132; } else goto tr3132; goto tr2255; tr3132: #line 884 "./scanner_body.rl" { *rdata_tail += second_hex_to_num[(uint8_t)(*p)]; rdata_tail++; } goto st1055; st1055: if ( ++p == pe ) goto _test_eof1055; case 1055: #line 77221 "scanner.c" switch( (*p) ) { case 32: goto tr3133; case 45: goto tr3130; case 59: goto tr3133; } if ( (*p) > 10 ) { if ( 40 <= (*p) && (*p) <= 41 ) goto tr3133; } else if ( (*p) >= 9 ) goto tr3133; goto tr3123; tr3133: #line 1498 "./scanner_body.rl" { s->item_length++; } #line 1507 "./scanner_body.rl" { if (s->item_length != 8) { WARN(ZSCANNER_EBAD_EUI_LENGTH); p--; {goto st246;} } } #line 20 "./scanner_body.rl" { p--; {cs = stack[--top];goto _again;} } goto st1140; st1140: if ( ++p == pe ) goto _test_eof1140; case 1140: #line 77254 "scanner.c" goto st0; } _test_eof1056: cs = 1056; 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_eof1057: cs = 1057; goto _test_eof; _test_eof13: cs = 13; 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_eof1058: cs = 1058; 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_eof1059: cs = 1059; goto _test_eof; _test_eof138: cs = 138; goto _test_eof; _test_eof139: cs = 139; goto _test_eof; _test_eof140: cs = 140; goto _test_eof; _test_eof141: cs = 141; goto _test_eof; _test_eof142: cs = 142; goto _test_eof; _test_eof143: cs = 143; goto _test_eof; _test_eof144: cs = 144; goto _test_eof; _test_eof145: cs = 145; goto _test_eof; _test_eof1060: cs = 1060; 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_eof1061: cs = 1061; goto _test_eof; _test_eof149: cs = 149; goto _test_eof; _test_eof150: cs = 150; goto _test_eof; _test_eof151: cs = 151; goto _test_eof; _test_eof152: cs = 152; goto _test_eof; _test_eof153: cs = 153; goto _test_eof; _test_eof154: cs = 154; goto _test_eof; _test_eof155: cs = 155; goto _test_eof; _test_eof156: cs = 156; goto _test_eof; _test_eof157: cs = 157; goto _test_eof; _test_eof158: cs = 158; goto _test_eof; _test_eof159: cs = 159; goto _test_eof; _test_eof1062: cs = 1062; goto _test_eof; _test_eof160: cs = 160; goto _test_eof; _test_eof161: cs = 161; goto _test_eof; _test_eof162: cs = 162; goto _test_eof; _test_eof163: cs = 163; goto _test_eof; _test_eof1063: cs = 1063; 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_eof174: cs = 174; goto _test_eof; _test_eof175: cs = 175; goto _test_eof; _test_eof176: cs = 176; goto _test_eof; _test_eof177: cs = 177; goto _test_eof; _test_eof178: cs = 178; goto _test_eof; _test_eof1064: cs = 1064; 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_eof194: cs = 194; goto _test_eof; _test_eof1065: cs = 1065; 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_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_eof1066: cs = 1066; goto _test_eof; _test_eof248: cs = 248; goto _test_eof; _test_eof249: cs = 249; goto _test_eof; _test_eof1067: cs = 1067; 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_eof1068: cs = 1068; goto _test_eof; _test_eof1069: cs = 1069; goto _test_eof; _test_eof259: cs = 259; goto _test_eof; _test_eof260: cs = 260; goto _test_eof; _test_eof261: cs = 261; goto _test_eof; _test_eof262: cs = 262; goto _test_eof; _test_eof263: cs = 263; goto _test_eof; _test_eof264: cs = 264; goto _test_eof; _test_eof265: cs = 265; goto _test_eof; _test_eof266: cs = 266; goto _test_eof; _test_eof267: cs = 267; goto _test_eof; _test_eof268: cs = 268; goto _test_eof; _test_eof269: cs = 269; goto _test_eof; _test_eof270: cs = 270; goto _test_eof; _test_eof271: cs = 271; goto _test_eof; _test_eof272: cs = 272; goto _test_eof; _test_eof1070: cs = 1070; goto _test_eof; _test_eof273: cs = 273; goto _test_eof; _test_eof274: cs = 274; goto _test_eof; _test_eof275: cs = 275; goto _test_eof; _test_eof276: cs = 276; goto _test_eof; _test_eof277: cs = 277; goto _test_eof; _test_eof278: cs = 278; goto _test_eof; _test_eof279: cs = 279; goto _test_eof; _test_eof280: cs = 280; goto _test_eof; _test_eof281: cs = 281; goto _test_eof; _test_eof282: cs = 282; goto _test_eof; _test_eof1071: cs = 1071; goto _test_eof; _test_eof283: cs = 283; goto _test_eof; _test_eof284: cs = 284; goto _test_eof; _test_eof285: cs = 285; goto _test_eof; _test_eof286: cs = 286; goto _test_eof; _test_eof287: cs = 287; goto _test_eof; _test_eof288: cs = 288; goto _test_eof; _test_eof289: cs = 289; goto _test_eof; _test_eof290: cs = 290; goto _test_eof; _test_eof291: cs = 291; goto _test_eof; _test_eof292: cs = 292; goto _test_eof; _test_eof293: cs = 293; goto _test_eof; _test_eof294: cs = 294; goto _test_eof; _test_eof295: cs = 295; goto _test_eof; _test_eof296: cs = 296; goto _test_eof; _test_eof1072: cs = 1072; 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_eof1073: cs = 1073; goto _test_eof; _test_eof304: cs = 304; goto _test_eof; _test_eof305: cs = 305; goto _test_eof; _test_eof306: cs = 306; goto _test_eof; _test_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_eof1074: cs = 1074; goto _test_eof; _test_eof1075: cs = 1075; goto _test_eof; _test_eof1076: cs = 1076; goto _test_eof; _test_eof313: cs = 313; goto _test_eof; _test_eof314: cs = 314; goto _test_eof; _test_eof315: cs = 315; goto _test_eof; _test_eof316: cs = 316; goto _test_eof; _test_eof317: cs = 317; goto _test_eof; _test_eof318: cs = 318; goto _test_eof; _test_eof319: cs = 319; goto _test_eof; _test_eof320: cs = 320; goto _test_eof; _test_eof1077: cs = 1077; goto _test_eof; _test_eof1078: cs = 1078; 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_eof1079: cs = 1079; goto _test_eof; _test_eof325: cs = 325; goto _test_eof; _test_eof326: cs = 326; goto _test_eof; _test_eof327: cs = 327; goto _test_eof; _test_eof328: cs = 328; goto _test_eof; _test_eof329: cs = 329; goto _test_eof; _test_eof330: cs = 330; goto _test_eof; _test_eof331: cs = 331; goto _test_eof; _test_eof332: cs = 332; goto _test_eof; _test_eof333: cs = 333; goto _test_eof; _test_eof334: cs = 334; goto _test_eof; _test_eof335: cs = 335; goto _test_eof; _test_eof336: cs = 336; goto _test_eof; _test_eof337: cs = 337; goto _test_eof; _test_eof338: cs = 338; goto _test_eof; _test_eof339: cs = 339; goto _test_eof; _test_eof340: cs = 340; goto _test_eof; _test_eof341: cs = 341; goto _test_eof; _test_eof342: cs = 342; goto _test_eof; _test_eof343: cs = 343; goto _test_eof; _test_eof344: cs = 344; goto _test_eof; _test_eof345: cs = 345; goto _test_eof; _test_eof346: cs = 346; goto _test_eof; _test_eof347: cs = 347; goto _test_eof; _test_eof348: cs = 348; goto _test_eof; _test_eof349: cs = 349; goto _test_eof; _test_eof350: cs = 350; goto _test_eof; _test_eof351: cs = 351; goto _test_eof; _test_eof352: cs = 352; goto _test_eof; _test_eof353: cs = 353; goto _test_eof; _test_eof354: cs = 354; goto _test_eof; _test_eof355: cs = 355; goto _test_eof; _test_eof356: cs = 356; goto _test_eof; _test_eof357: cs = 357; goto _test_eof; _test_eof358: cs = 358; goto _test_eof; _test_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_eof1080: cs = 1080; goto _test_eof; _test_eof1081: cs = 1081; goto _test_eof; _test_eof1082: cs = 1082; 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_eof1083: cs = 1083; 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_eof1084: cs = 1084; goto _test_eof; _test_eof1085: cs = 1085; goto _test_eof; _test_eof1086: cs = 1086; goto _test_eof; _test_eof450: cs = 450; goto _test_eof; _test_eof451: cs = 451; goto _test_eof; _test_eof1087: cs = 1087; 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_eof1088: cs = 1088; goto _test_eof; _test_eof455: cs = 455; goto _test_eof; _test_eof456: cs = 456; goto _test_eof; _test_eof457: cs = 457; goto _test_eof; _test_eof458: cs = 458; goto _test_eof; _test_eof459: cs = 459; goto _test_eof; _test_eof460: cs = 460; goto _test_eof; _test_eof461: cs = 461; goto _test_eof; _test_eof462: cs = 462; goto _test_eof; _test_eof463: cs = 463; goto _test_eof; _test_eof464: cs = 464; goto _test_eof; _test_eof465: cs = 465; goto _test_eof; _test_eof466: cs = 466; goto _test_eof; _test_eof467: cs = 467; goto _test_eof; _test_eof468: cs = 468; goto _test_eof; _test_eof469: cs = 469; goto _test_eof; _test_eof470: cs = 470; goto _test_eof; _test_eof471: cs = 471; goto _test_eof; _test_eof472: cs = 472; goto _test_eof; _test_eof473: cs = 473; goto _test_eof; _test_eof474: cs = 474; goto _test_eof; _test_eof475: cs = 475; goto _test_eof; _test_eof476: cs = 476; goto _test_eof; _test_eof477: cs = 477; goto _test_eof; _test_eof478: cs = 478; goto _test_eof; _test_eof479: cs = 479; goto _test_eof; _test_eof480: cs = 480; goto _test_eof; _test_eof481: cs = 481; goto _test_eof; _test_eof482: cs = 482; goto _test_eof; _test_eof483: cs = 483; goto _test_eof; _test_eof484: cs = 484; goto _test_eof; _test_eof485: cs = 485; goto _test_eof; _test_eof486: cs = 486; goto _test_eof; _test_eof487: cs = 487; goto _test_eof; _test_eof488: cs = 488; goto _test_eof; _test_eof489: cs = 489; goto _test_eof; _test_eof490: cs = 490; goto _test_eof; _test_eof491: cs = 491; goto _test_eof; _test_eof492: cs = 492; goto _test_eof; _test_eof493: cs = 493; goto _test_eof; _test_eof494: cs = 494; goto _test_eof; _test_eof495: cs = 495; goto _test_eof; _test_eof496: cs = 496; goto _test_eof; _test_eof497: cs = 497; goto _test_eof; _test_eof498: cs = 498; goto _test_eof; _test_eof499: cs = 499; goto _test_eof; _test_eof500: cs = 500; goto _test_eof; _test_eof501: cs = 501; goto _test_eof; _test_eof502: cs = 502; goto _test_eof; _test_eof503: cs = 503; goto _test_eof; _test_eof504: cs = 504; goto _test_eof; _test_eof505: cs = 505; goto _test_eof; _test_eof506: cs = 506; goto _test_eof; _test_eof507: cs = 507; goto _test_eof; _test_eof508: cs = 508; goto _test_eof; _test_eof509: cs = 509; goto _test_eof; _test_eof510: cs = 510; goto _test_eof; _test_eof511: cs = 511; goto _test_eof; _test_eof512: cs = 512; goto _test_eof; _test_eof513: cs = 513; goto _test_eof; _test_eof514: cs = 514; goto _test_eof; _test_eof515: cs = 515; goto _test_eof; _test_eof516: cs = 516; goto _test_eof; _test_eof517: cs = 517; goto _test_eof; _test_eof518: cs = 518; goto _test_eof; _test_eof519: cs = 519; goto _test_eof; _test_eof520: cs = 520; goto _test_eof; _test_eof521: cs = 521; goto _test_eof; _test_eof522: cs = 522; goto _test_eof; _test_eof523: cs = 523; goto _test_eof; _test_eof524: cs = 524; goto _test_eof; _test_eof525: cs = 525; goto _test_eof; _test_eof526: cs = 526; goto _test_eof; _test_eof527: cs = 527; goto _test_eof; _test_eof528: cs = 528; goto _test_eof; _test_eof529: cs = 529; goto _test_eof; _test_eof530: cs = 530; goto _test_eof; _test_eof531: cs = 531; goto _test_eof; _test_eof532: cs = 532; goto _test_eof; _test_eof533: cs = 533; goto _test_eof; _test_eof534: cs = 534; goto _test_eof; _test_eof535: cs = 535; goto _test_eof; _test_eof536: cs = 536; goto _test_eof; _test_eof537: cs = 537; goto _test_eof; _test_eof538: cs = 538; goto _test_eof; _test_eof539: cs = 539; goto _test_eof; _test_eof540: cs = 540; goto _test_eof; _test_eof541: cs = 541; goto _test_eof; _test_eof542: cs = 542; goto _test_eof; _test_eof543: cs = 543; goto _test_eof; _test_eof544: cs = 544; goto _test_eof; _test_eof545: cs = 545; goto _test_eof; _test_eof546: cs = 546; goto _test_eof; _test_eof547: cs = 547; goto _test_eof; _test_eof548: cs = 548; goto _test_eof; _test_eof549: cs = 549; goto _test_eof; _test_eof1089: cs = 1089; 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_eof1090: cs = 1090; goto _test_eof; _test_eof591: cs = 591; goto _test_eof; _test_eof592: cs = 592; goto _test_eof; _test_eof1091: cs = 1091; 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_eof1092: cs = 1092; 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_eof1093: cs = 1093; 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_eof1094: cs = 1094; goto _test_eof; _test_eof634: cs = 634; goto _test_eof; _test_eof635: cs = 635; goto _test_eof; _test_eof636: cs = 636; goto _test_eof; _test_eof637: cs = 637; goto _test_eof; _test_eof638: cs = 638; goto _test_eof; _test_eof1095: cs = 1095; 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_eof1096: cs = 1096; goto _test_eof; _test_eof1097: cs = 1097; goto _test_eof; _test_eof1098: cs = 1098; goto _test_eof; _test_eof644: cs = 644; goto _test_eof; _test_eof645: cs = 645; goto _test_eof; _test_eof1099: cs = 1099; goto _test_eof; _test_eof646: cs = 646; goto _test_eof; _test_eof647: cs = 647; goto _test_eof; _test_eof648: cs = 648; goto _test_eof; _test_eof649: cs = 649; goto _test_eof; _test_eof650: cs = 650; goto _test_eof; _test_eof651: cs = 651; goto _test_eof; _test_eof652: cs = 652; goto _test_eof; _test_eof653: cs = 653; goto _test_eof; _test_eof654: cs = 654; goto _test_eof; _test_eof655: cs = 655; goto _test_eof; _test_eof656: cs = 656; goto _test_eof; _test_eof657: cs = 657; goto _test_eof; _test_eof658: cs = 658; goto _test_eof; _test_eof659: cs = 659; goto _test_eof; _test_eof660: cs = 660; goto _test_eof; _test_eof661: cs = 661; goto _test_eof; _test_eof662: cs = 662; goto _test_eof; _test_eof663: cs = 663; goto _test_eof; _test_eof664: cs = 664; goto _test_eof; _test_eof665: cs = 665; goto _test_eof; _test_eof666: cs = 666; goto _test_eof; _test_eof667: cs = 667; goto _test_eof; _test_eof668: cs = 668; goto _test_eof; _test_eof669: cs = 669; goto _test_eof; _test_eof670: cs = 670; goto _test_eof; _test_eof671: cs = 671; goto _test_eof; _test_eof672: cs = 672; goto _test_eof; _test_eof1100: cs = 1100; goto _test_eof; _test_eof1101: cs = 1101; goto _test_eof; _test_eof1102: cs = 1102; 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_eof1103: cs = 1103; goto _test_eof; _test_eof1104: cs = 1104; goto _test_eof; _test_eof676: cs = 676; goto _test_eof; _test_eof677: cs = 677; goto _test_eof; _test_eof678: cs = 678; goto _test_eof; _test_eof679: cs = 679; goto _test_eof; _test_eof1105: cs = 1105; goto _test_eof; _test_eof1106: cs = 1106; goto _test_eof; _test_eof680: cs = 680; goto _test_eof; _test_eof681: cs = 681; goto _test_eof; _test_eof682: cs = 682; goto _test_eof; _test_eof683: cs = 683; goto _test_eof; _test_eof1107: cs = 1107; goto _test_eof; _test_eof1108: cs = 1108; goto _test_eof; _test_eof684: cs = 684; goto _test_eof; _test_eof685: cs = 685; goto _test_eof; _test_eof686: cs = 686; goto _test_eof; _test_eof687: cs = 687; goto _test_eof; _test_eof688: cs = 688; goto _test_eof; _test_eof689: cs = 689; goto _test_eof; _test_eof690: cs = 690; goto _test_eof; _test_eof691: cs = 691; goto _test_eof; _test_eof692: cs = 692; goto _test_eof; _test_eof693: cs = 693; goto _test_eof; _test_eof694: cs = 694; goto _test_eof; _test_eof695: cs = 695; goto _test_eof; _test_eof696: cs = 696; goto _test_eof; _test_eof697: cs = 697; goto _test_eof; _test_eof698: cs = 698; goto _test_eof; _test_eof699: cs = 699; goto _test_eof; _test_eof700: cs = 700; goto _test_eof; _test_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_eof1109: cs = 1109; goto _test_eof; _test_eof709: cs = 709; goto _test_eof; _test_eof710: cs = 710; goto _test_eof; _test_eof711: cs = 711; goto _test_eof; _test_eof712: cs = 712; goto _test_eof; _test_eof713: cs = 713; goto _test_eof; _test_eof714: cs = 714; goto _test_eof; _test_eof715: cs = 715; goto _test_eof; _test_eof716: cs = 716; goto _test_eof; _test_eof717: cs = 717; goto _test_eof; _test_eof718: cs = 718; goto _test_eof; _test_eof719: cs = 719; goto _test_eof; _test_eof720: cs = 720; goto _test_eof; _test_eof721: cs = 721; goto _test_eof; _test_eof722: cs = 722; goto _test_eof; _test_eof723: cs = 723; goto _test_eof; _test_eof1110: cs = 1110; goto _test_eof; _test_eof724: cs = 724; goto _test_eof; _test_eof725: cs = 725; goto _test_eof; _test_eof726: cs = 726; goto _test_eof; _test_eof727: cs = 727; goto _test_eof; _test_eof728: cs = 728; goto _test_eof; _test_eof729: cs = 729; goto _test_eof; _test_eof730: cs = 730; goto _test_eof; _test_eof731: cs = 731; goto _test_eof; _test_eof732: cs = 732; goto _test_eof; _test_eof733: cs = 733; goto _test_eof; _test_eof734: cs = 734; goto _test_eof; _test_eof735: cs = 735; goto _test_eof; _test_eof736: cs = 736; goto _test_eof; _test_eof1111: cs = 1111; 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_eof1112: cs = 1112; goto _test_eof; _test_eof1113: cs = 1113; 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_eof1114: cs = 1114; goto _test_eof; _test_eof751: cs = 751; goto _test_eof; _test_eof752: cs = 752; goto _test_eof; _test_eof753: cs = 753; goto _test_eof; _test_eof754: cs = 754; goto _test_eof; _test_eof755: cs = 755; goto _test_eof; _test_eof756: cs = 756; goto _test_eof; _test_eof757: cs = 757; goto _test_eof; _test_eof758: cs = 758; goto _test_eof; _test_eof759: cs = 759; goto _test_eof; _test_eof760: cs = 760; goto _test_eof; _test_eof1115: cs = 1115; goto _test_eof; _test_eof1116: cs = 1116; goto _test_eof; _test_eof1117: cs = 1117; goto _test_eof; _test_eof761: cs = 761; goto _test_eof; _test_eof762: cs = 762; goto _test_eof; _test_eof763: cs = 763; goto _test_eof; _test_eof764: cs = 764; goto _test_eof; _test_eof765: cs = 765; goto _test_eof; _test_eof766: cs = 766; goto _test_eof; _test_eof767: cs = 767; goto _test_eof; _test_eof768: cs = 768; goto _test_eof; _test_eof769: cs = 769; goto _test_eof; _test_eof770: cs = 770; goto _test_eof; _test_eof771: cs = 771; goto _test_eof; _test_eof1118: cs = 1118; goto _test_eof; _test_eof1119: cs = 1119; goto _test_eof; _test_eof1120: cs = 1120; goto _test_eof; _test_eof772: cs = 772; goto _test_eof; _test_eof773: cs = 773; goto _test_eof; _test_eof774: cs = 774; goto _test_eof; _test_eof775: cs = 775; goto _test_eof; _test_eof776: cs = 776; goto _test_eof; _test_eof777: cs = 777; goto _test_eof; _test_eof778: cs = 778; goto _test_eof; _test_eof779: cs = 779; goto _test_eof; _test_eof780: cs = 780; goto _test_eof; _test_eof781: cs = 781; goto _test_eof; _test_eof782: cs = 782; goto _test_eof; _test_eof783: cs = 783; goto _test_eof; _test_eof1121: cs = 1121; 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_eof1122: cs = 1122; goto _test_eof; _test_eof1123: cs = 1123; goto _test_eof; _test_eof787: cs = 787; goto _test_eof; _test_eof1124: cs = 1124; goto _test_eof; _test_eof1125: cs = 1125; goto _test_eof; _test_eof788: cs = 788; goto _test_eof; _test_eof1126: cs = 1126; goto _test_eof; _test_eof1127: cs = 1127; goto _test_eof; _test_eof789: cs = 789; goto _test_eof; _test_eof790: cs = 790; goto _test_eof; _test_eof791: cs = 791; goto _test_eof; _test_eof792: cs = 792; goto _test_eof; _test_eof793: cs = 793; goto _test_eof; _test_eof794: cs = 794; goto _test_eof; _test_eof795: cs = 795; goto _test_eof; _test_eof796: cs = 796; goto _test_eof; _test_eof797: cs = 797; goto _test_eof; _test_eof798: cs = 798; goto _test_eof; _test_eof799: cs = 799; goto _test_eof; _test_eof800: cs = 800; goto _test_eof; _test_eof801: cs = 801; goto _test_eof; _test_eof802: cs = 802; goto _test_eof; _test_eof803: cs = 803; goto _test_eof; _test_eof804: cs = 804; goto _test_eof; _test_eof805: cs = 805; goto _test_eof; _test_eof806: cs = 806; goto _test_eof; _test_eof807: cs = 807; goto _test_eof; _test_eof808: cs = 808; goto _test_eof; _test_eof809: cs = 809; goto _test_eof; _test_eof810: cs = 810; goto _test_eof; _test_eof811: cs = 811; goto _test_eof; _test_eof812: cs = 812; goto _test_eof; _test_eof813: cs = 813; goto _test_eof; _test_eof814: cs = 814; goto _test_eof; _test_eof815: cs = 815; goto _test_eof; _test_eof816: cs = 816; goto _test_eof; _test_eof817: cs = 817; goto _test_eof; _test_eof818: cs = 818; goto _test_eof; _test_eof819: cs = 819; goto _test_eof; _test_eof820: cs = 820; goto _test_eof; _test_eof821: cs = 821; goto _test_eof; _test_eof822: cs = 822; goto _test_eof; _test_eof823: cs = 823; goto _test_eof; _test_eof824: cs = 824; goto _test_eof; _test_eof825: cs = 825; goto _test_eof; _test_eof826: cs = 826; goto _test_eof; _test_eof827: cs = 827; goto _test_eof; _test_eof828: cs = 828; goto _test_eof; _test_eof829: cs = 829; goto _test_eof; _test_eof830: cs = 830; goto _test_eof; _test_eof1128: cs = 1128; goto _test_eof; _test_eof831: cs = 831; goto _test_eof; _test_eof832: cs = 832; goto _test_eof; _test_eof833: cs = 833; goto _test_eof; _test_eof834: cs = 834; goto _test_eof; _test_eof835: cs = 835; goto _test_eof; _test_eof836: cs = 836; goto _test_eof; _test_eof837: cs = 837; goto _test_eof; _test_eof838: cs = 838; goto _test_eof; _test_eof839: cs = 839; goto _test_eof; _test_eof840: cs = 840; goto _test_eof; _test_eof841: cs = 841; goto _test_eof; _test_eof842: cs = 842; goto _test_eof; _test_eof843: cs = 843; goto _test_eof; _test_eof844: cs = 844; goto _test_eof; _test_eof845: cs = 845; goto _test_eof; _test_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_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_eof1129: cs = 1129; 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_eof1130: cs = 1130; 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_eof1131: cs = 1131; 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_eof1132: cs = 1132; 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_eof1133: cs = 1133; goto _test_eof; _test_eof1008: cs = 1008; goto _test_eof; _test_eof1009: cs = 1009; goto _test_eof; _test_eof1010: cs = 1010; goto _test_eof; _test_eof1011: cs = 1011; goto _test_eof; _test_eof1012: cs = 1012; goto _test_eof; _test_eof1013: cs = 1013; goto _test_eof; _test_eof1014: cs = 1014; goto _test_eof; _test_eof1015: cs = 1015; goto _test_eof; _test_eof1016: cs = 1016; goto _test_eof; _test_eof1017: cs = 1017; goto _test_eof; _test_eof1018: cs = 1018; goto _test_eof; _test_eof1019: cs = 1019; goto _test_eof; _test_eof1020: cs = 1020; goto _test_eof; _test_eof1021: cs = 1021; goto _test_eof; _test_eof1022: cs = 1022; goto _test_eof; _test_eof1134: cs = 1134; goto _test_eof; _test_eof1135: cs = 1135; goto _test_eof; _test_eof1136: cs = 1136; goto _test_eof; _test_eof1023: cs = 1023; goto _test_eof; _test_eof1024: cs = 1024; goto _test_eof; _test_eof1025: cs = 1025; goto _test_eof; _test_eof1026: cs = 1026; goto _test_eof; _test_eof1027: cs = 1027; goto _test_eof; _test_eof1028: cs = 1028; goto _test_eof; _test_eof1029: cs = 1029; goto _test_eof; _test_eof1137: cs = 1137; 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_eof1138: cs = 1138; goto _test_eof; _test_eof1043: cs = 1043; 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_eof1139: cs = 1139; 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_eof1140: cs = 1140; goto _test_eof; _test_eof: {} if ( p == eof ) { switch ( cs ) { case 7: case 8: case 137: case 161: case 163: case 211: case 224: case 242: case 296: case 297: case 303: #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 248: case 249: case 250: case 255: case 256: #line 193 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_DNAME_CHAR); p--; {goto st246;} } break; case 146: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } break; case 264: #line 509 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT); p--; {goto st246;} } break; case 269: case 277: #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } break; case 278: case 279: case 280: case 289: #line 596 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_ORIGIN); p--; {goto st246;} } break; case 291: #line 625 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } break; case 294: case 304: #line 636 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_ORIGIN); p--; {goto st246;} } break; case 1060: #line 704 "./scanner_body.rl" { s->stop = false; } break; case 138: case 139: case 140: case 141: case 142: case 143: case 144: case 145: case 180: case 181: case 182: case 183: case 184: case 185: case 186: case 187: case 188: #line 707 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_DIRECTIVE); p--; {goto st246;} } break; case 307: case 308: case 309: case 310: case 311: case 312: case 313: #line 951 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_BASE64_CHAR); p--; {goto st246;} } break; case 314: case 315: case 316: case 317: case 318: case 319: case 320: case 321: case 322: case 323: case 324: case 325: case 326: case 327: case 328: case 329: case 330: case 331: case 332: case 333: case 334: case 335: 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: #line 1311 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_BITMAP); p--; {goto st246;} } break; case 434: case 441: case 442: case 443: case 450: case 452: #line 1477 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } break; case 453: case 454: case 455: case 456: case 457: case 458: case 459: case 460: case 461: case 462: case 463: case 464: case 465: case 466: case 467: case 468: case 469: case 470: case 471: case 472: case 473: case 474: case 475: case 476: case 477: case 478: case 479: case 480: case 481: case 482: case 483: case 484: case 485: case 486: case 487: case 488: case 489: case 490: case 491: case 492: case 493: case 494: case 495: case 496: case 497: case 498: case 499: case 500: case 501: case 502: case 503: case 504: case 505: case 506: case 507: case 508: case 509: case 510: case 511: case 512: case 513: case 514: case 515: case 516: case 517: case 518: case 519: case 520: case 521: case 522: case 523: case 524: case 525: case 526: case 527: case 528: case 529: case 530: case 531: case 532: case 533: case 534: case 535: case 536: case 537: case 538: case 539: case 540: case 541: case 542: case 543: case 544: case 545: case 546: case 547: #line 1553 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ALGORITHM); p--; {goto st246;} } break; 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: #line 1557 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CERT_TYPE); p--; {goto st246;} } break; case 5: case 9: case 10: case 227: case 591: case 592: case 593: case 594: case 595: case 596: case 610: case 614: case 618: case 622: case 623: case 624: case 625: case 626: case 627: case 628: case 629: case 630: case 631: case 632: case 633: case 634: case 637: case 638: case 639: case 640: case 641: case 642: case 643: case 707: case 708: case 709: case 710: case 711: 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 733: case 734: case 735: case 736: case 737: case 738: case 739: case 747: case 753: case 754: case 761: case 762: case 763: case 772: case 773: case 812: case 815: case 816: case 827: case 828: case 829: case 830: case 831: case 832: case 833: case 834: case 835: case 836: case 837: case 838: case 955: case 956: case 957: case 962: case 963: case 964: case 965: case 966: case 967: case 968: case 969: case 970: case 988: case 994: case 997: case 998: case 999: case 1010: case 1011: case 1012: case 1023: case 1024: case 1025: case 1030: case 1043: #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 3: case 16: case 17: case 18: case 21: case 22: case 23: case 25: case 26: case 27: case 28: case 30: case 31: case 32: case 34: case 35: case 36: case 39: case 40: case 41: case 42: case 44: case 46: case 47: case 48: case 49: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 62: case 63: case 66: case 67: case 69: case 71: case 74: case 75: case 76: case 77: case 80: case 81: case 82: case 83: case 85: case 88: case 91: case 92: case 93: case 94: case 96: case 97: case 99: case 101: case 102: case 103: case 106: case 107: case 109: case 111: case 113: case 114: case 115: case 117: case 118: case 119: case 121: case 123: case 124: case 127: case 129: case 130: case 136: case 151: case 155: case 213: case 214: case 216: case 217: case 218: case 220: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } break; case 272: case 273: #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } break; case 281: case 282: case 283: case 288: #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 596 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_ORIGIN); p--; {goto st246;} } break; case 251: case 252: case 253: case 254: #line 147 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 193 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_DNAME_CHAR); p--; {goto st246;} } break; case 284: case 285: case 286: case 287: #line 147 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 596 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_ORIGIN); p--; {goto st246;} } break; case 298: case 299: case 300: case 301: #line 147 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 636 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_ORIGIN); p--; {goto st246;} } break; case 208: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 229: case 230: case 231: case 232: case 233: case 234: case 235: case 236: case 237: case 238: case 239: case 240: case 241: case 244: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } break; case 270: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } break; case 435: case 436: case 444: case 445: case 451: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1477 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } break; case 597: case 598: case 599: case 601: case 603: case 605: case 635: case 636: case 701: case 702: case 703: case 704: case 705: case 706: case 712: case 713: case 714: case 715: case 731: case 732: case 751: case 752: case 755: case 756: case 764: case 765: case 766: case 767: case 774: case 775: case 817: case 818: case 819: case 820: case 825: case 826: case 958: case 959: case 960: case 961: case 971: case 972: case 973: case 974: case 975: case 976: case 1000: case 1001: case 1002: case 1003: case 1004: case 1005: case 1013: case 1014: case 1015: case 1016: case 1017: case 1018: case 1026: case 1027: case 1031: case 1032: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 125: case 131: case 147: case 150: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } break; case 821: case 822: case 823: case 824: #line 487 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIMESTAMP_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 257: case 258: case 263: #line 505 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT_CHAR); p--; {goto st246;} } #line 509 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT); p--; {goto st246;} } break; case 292: #line 625 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_FILENAME); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 293: case 295: case 302: #line 636 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_INCLUDE_ORIGIN); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 589: case 590: case 644: case 645: case 1028: case 1029: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 740: case 741: case 742: case 745: case 746: case 748: #line 858 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 757: case 758: case 759: case 760: case 768: case 769: case 770: case 771: case 977: case 978: case 995: case 996: case 1006: case 1007: case 1008: case 1009: case 1019: case 1020: case 1021: case 1022: case 1033: case 1034: case 1035: case 1036: case 1038: case 1039: case 1040: case 1041: case 1044: case 1045: case 1047: case 1048: case 1050: case 1051: case 1053: case 1054: #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 979: case 980: case 981: case 982: case 983: case 984: case 985: case 986: case 987: case 989: case 990: case 991: case 992: case 993: #line 1035 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_BASE32HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 776: case 777: case 780: case 789: case 790: case 791: case 796: case 797: case 798: case 803: case 804: case 805: case 808: case 810: case 811: #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 782: case 783: case 784: case 785: case 786: case 787: case 788: #line 1163 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY_KEY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 813: case 814: case 839: case 840: case 841: case 842: case 843: case 844: case 845: case 846: case 847: case 848: case 849: case 850: case 851: case 852: case 853: case 854: case 855: case 856: case 857: case 858: case 859: case 860: case 861: case 862: case 863: case 864: case 865: case 866: case 867: case 868: case 869: 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 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: #line 1181 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 646: case 647: case 648: case 649: case 650: case 651: case 652: case 653: case 654: case 655: case 656: case 657: case 658: case 659: case 660: case 661: case 662: case 663: case 664: case 665: case 666: case 667: case 668: case 669: case 670: case 671: case 672: case 673: case 674: case 675: case 676: case 677: case 678: case 679: case 680: case 681: case 682: case 683: case 684: case 685: case 686: case 687: case 688: case 689: case 690: case 691: case 692: case 693: case 694: case 695: case 696: case 697: case 698: case 699: case 700: #line 1464 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_LOC_DATA); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 6: case 11: case 12: case 20: case 159: case 162: case 178: case 210: case 212: case 222: case 223: case 225: case 226: case 228: #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 15: case 192: case 243: case 245: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 4: case 19: case 24: case 29: case 33: case 37: case 38: case 43: case 45: case 50: case 61: case 64: case 65: case 68: case 70: case 72: case 73: case 78: case 79: case 84: case 86: case 87: case 89: case 90: case 95: case 98: case 100: case 104: case 105: case 108: case 110: case 112: case 116: case 120: case 122: case 215: case 219: case 221: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 189: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 156: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 778: case 779: case 792: case 793: case 799: case 800: case 806: case 807: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 953: case 954: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1181 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 1: case 128: case 160: case 191: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 126: case 157: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 275: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } break; case 600: case 602: case 604: case 606: case 607: case 608: case 609: case 611: case 612: case 613: case 615: case 616: case 617: case 619: case 620: case 621: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 2: case 132: case 133: case 134: case 135: case 152: case 153: case 154: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } break; case 259: case 260: case 261: case 262: case 265: case 266: case 267: case 268: #line 539 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 505 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT_CHAR); p--; {goto st246;} } #line 509 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TEXT); p--; {goto st246;} } break; case 743: case 744: case 749: case 750: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 858 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_APL); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 794: case 801: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 437: case 438: case 439: case 440: case 446: case 447: case 448: case 449: #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 909 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } #line 1477 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_RDATA); p--; {goto st246;} } break; case 1037: #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1540 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CHAR_COLON); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 781: case 809: #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1163 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY_KEY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 1046: case 1049: case 1052: case 1055: #line 1513 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CHAR_DASH); p--; {goto st246;} } #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 1042: #line 1540 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_CHAR_COLON); p--; {goto st246;} } #line 888 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_HEX_CHAR); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 179: #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 707 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_DIRECTIVE); p--; {goto st246;} } break; case 158: case 165: case 166: case 167: case 168: case 169: case 170: case 171: case 172: case 173: case 174: case 175: case 176: case 177: #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 149: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } break; case 193: case 195: case 196: case 197: case 198: case 199: case 200: case 201: case 202: case 203: case 204: case 205: case 206: case 207: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 13: case 164: case 194: case 209: #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 271: case 274: case 276: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } #line 579 "./scanner_body.rl" { ERR(ZSCANNER_EBAD_TTL); p--; {goto st246;} } break; case 795: case 802: #line 758 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_ADDRESS_CHAR); p--; {goto st246;} } #line 1159 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY); p--; {goto st246;} } #line 1163 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_GATEWAY_KEY); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } break; case 14: #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; case 190: #line 238 "./scanner_body.rl" { s->r_owner_length = 0; WARN(ZSCANNER_EBAD_OWNER); p--; {goto st246;} } #line 382 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_TIME_UNIT); p--; {goto st246;} } #line 281 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_NUMBER); p--; {goto st246;} } #line 1850 "./scanner_body.rl" { WARN(ZSCANNER_EUNSUPPORTED_TYPE); p--; {goto st246;} } #line 1601 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_RDATA); p--; {goto st246;} } #line 44 "./scanner_body.rl" { WARN(ZSCANNER_EBAD_REST); p--; {goto st246;} } break; #line 80313 "scanner.c" } } _out: {} } #line 202 "./scanner.rl" // Check if scanner state machine is in uncovered state. if (cs == zone_scanner_error) { ERR(ZSCANNER_UNCOVERED_STATE); s->error_counter++; // Fill error context data. for (s->buffer_length = 0; ((p + s->buffer_length) < pe) && (s->buffer_length < sizeof(s->buffer) - 1); s->buffer_length++) { // Only rest of the current line. if (*(p + s->buffer_length) == '\n') { break; } s->buffer[s->buffer_length] = *(p + s->buffer_length); } // Ending string in buffer. s->buffer[s->buffer_length++] = 0; // Processing error. s->process_error(s); return -1; } // Check unclosed multiline record. if (is_complete && s->multiline) { ERR(ZSCANNER_UNCLOSED_MULTILINE); s->error_counter++; s->process_error(s); } // Storing scanner states. s->cs = cs; s->top = top; memcpy(s->stack, stack, sizeof(stack)); // Storing r_data pointer. s->r_data_tail = rdata_tail - s->r_data; // Check if any errors has occured. if (s->error_counter > 0) { return -1; } return 0; }