github.com/pingcap/tidb-lightning@v5.0.0-rc.0.20210428090220-84b649866577+incompatible/lightning/mydump/parser_generated.go (about) 1 // Code generated by ragel DO NOT EDIT. 2 3 //.... lightning/mydump/parser.rl:1 4 // Copyright 2019 PingCAP, Inc. 5 // 6 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // you may not use this file except in compliance with the License. 8 // You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // See the License for the specific language governing permissions and 15 // limitations under the License. 16 17 // Please edit `parser.rl` if you want to modify this file. To generate 18 // `parser_generated.go`, please execute 19 // 20 // ```sh 21 // make data_parsers 22 // ``` 23 24 package mydump 25 26 import ( 27 "io" 28 29 "github.com/pingcap/errors" 30 ) 31 32 //.... lightning/mydump/parser.rl:137 33 34 //.... tmp_parser.go:37 35 const chunk_parser_start int = 21 36 const chunk_parser_first_final int = 21 37 const chunk_parser_error int = 0 38 39 const chunk_parser_en_main int = 21 40 41 //.... lightning/mydump/parser.rl:140 42 43 func (parser *ChunkParser) lex() (token, []byte, error) { 44 var cs, ts, te, act, p int 45 46 //.... tmp_parser.go:50 47 { 48 cs = chunk_parser_start 49 ts = 0 50 te = 0 51 act = 0 52 } 53 54 //.... lightning/mydump/parser.rl:144 55 56 for { 57 data := parser.buf 58 consumedToken := tokNil 59 pe := len(data) 60 eof := -1 61 if parser.isLastChunk { 62 eof = pe 63 } 64 65 //.... tmp_parser.go:70 66 { 67 var _widec int16 68 if p == pe { 69 goto _test_eof 70 } 71 switch cs { 72 case 21: 73 goto st_case_21 74 case 22: 75 goto st_case_22 76 case 1: 77 goto st_case_1 78 case 2: 79 goto st_case_2 80 case 23: 81 goto st_case_23 82 case 3: 83 goto st_case_3 84 case 0: 85 goto st_case_0 86 case 4: 87 goto st_case_4 88 case 5: 89 goto st_case_5 90 case 24: 91 goto st_case_24 92 case 6: 93 goto st_case_6 94 case 25: 95 goto st_case_25 96 case 26: 97 goto st_case_26 98 case 27: 99 goto st_case_27 100 case 28: 101 goto st_case_28 102 case 7: 103 goto st_case_7 104 case 8: 105 goto st_case_8 106 case 9: 107 goto st_case_9 108 case 29: 109 goto st_case_29 110 case 30: 111 goto st_case_30 112 case 31: 113 goto st_case_31 114 case 32: 115 goto st_case_32 116 case 10: 117 goto st_case_10 118 case 33: 119 goto st_case_33 120 case 34: 121 goto st_case_34 122 case 35: 123 goto st_case_35 124 case 36: 125 goto st_case_36 126 case 37: 127 goto st_case_37 128 case 38: 129 goto st_case_38 130 case 39: 131 goto st_case_39 132 case 40: 133 goto st_case_40 134 case 41: 135 goto st_case_41 136 case 42: 137 goto st_case_42 138 case 43: 139 goto st_case_43 140 case 44: 141 goto st_case_44 142 case 45: 143 goto st_case_45 144 case 46: 145 goto st_case_46 146 case 47: 147 goto st_case_47 148 case 48: 149 goto st_case_48 150 case 49: 151 goto st_case_49 152 case 50: 153 goto st_case_50 154 case 51: 155 goto st_case_51 156 case 52: 157 goto st_case_52 158 case 53: 159 goto st_case_53 160 case 54: 161 goto st_case_54 162 case 11: 163 goto st_case_11 164 case 12: 165 goto st_case_12 166 case 13: 167 goto st_case_13 168 case 14: 169 goto st_case_14 170 case 15: 171 goto st_case_15 172 case 16: 173 goto st_case_16 174 case 17: 175 goto st_case_17 176 case 18: 177 goto st_case_18 178 case 55: 179 goto st_case_55 180 case 56: 181 goto st_case_56 182 case 57: 183 goto st_case_57 184 case 58: 185 goto st_case_58 186 case 59: 187 goto st_case_59 188 case 60: 189 goto st_case_60 190 case 19: 191 goto st_case_19 192 case 20: 193 goto st_case_20 194 case 61: 195 goto st_case_61 196 } 197 goto st_out 198 tr4: 199 //.... NONE:1 200 switch act { 201 case 0: 202 { 203 { 204 goto st0 205 } 206 } 207 case 4: 208 { 209 p = (te) - 1 210 211 consumedToken = tokValues 212 { 213 p++ 214 cs = 21 215 goto _out 216 } 217 } 218 case 5: 219 { 220 p = (te) - 1 221 222 consumedToken = tokNull 223 { 224 p++ 225 cs = 21 226 goto _out 227 } 228 } 229 case 6: 230 { 231 p = (te) - 1 232 233 consumedToken = tokTrue 234 { 235 p++ 236 cs = 21 237 goto _out 238 } 239 } 240 case 7: 241 { 242 p = (te) - 1 243 244 consumedToken = tokFalse 245 { 246 p++ 247 cs = 21 248 goto _out 249 } 250 } 251 case 9: 252 { 253 p = (te) - 1 254 255 consumedToken = tokHexString 256 { 257 p++ 258 cs = 21 259 goto _out 260 } 261 } 262 case 10: 263 { 264 p = (te) - 1 265 266 consumedToken = tokBinString 267 { 268 p++ 269 cs = 21 270 goto _out 271 } 272 } 273 case 11: 274 { 275 p = (te) - 1 276 277 consumedToken = tokSingleQuoted 278 { 279 p++ 280 cs = 21 281 goto _out 282 } 283 } 284 case 12: 285 { 286 p = (te) - 1 287 288 consumedToken = tokDoubleQuoted 289 { 290 p++ 291 cs = 21 292 goto _out 293 } 294 } 295 case 13: 296 { 297 p = (te) - 1 298 299 consumedToken = tokBackQuoted 300 { 301 p++ 302 cs = 21 303 goto _out 304 } 305 } 306 case 14: 307 { 308 p = (te) - 1 309 310 consumedToken = tokUnquoted 311 { 312 p++ 313 cs = 21 314 goto _out 315 } 316 } 317 } 318 319 goto st21 320 tr10: 321 //.... lightning/mydump/parser.rl:68 322 te = p + 1 323 324 goto st21 325 tr11: 326 //.... lightning/mydump/parser.rl:130 327 p = (te) - 1 328 { 329 consumedToken = tokUnquoted 330 { 331 p++ 332 cs = 21 333 goto _out 334 } 335 } 336 goto st21 337 tr12: 338 //.... lightning/mydump/parser.rl:110 339 te = p + 1 340 { 341 consumedToken = tokBinString 342 { 343 p++ 344 cs = 21 345 goto _out 346 } 347 } 348 goto st21 349 tr21: 350 //.... lightning/mydump/parser.rl:105 351 te = p + 1 352 { 353 consumedToken = tokHexString 354 { 355 p++ 356 cs = 21 357 goto _out 358 } 359 } 360 goto st21 361 tr28: 362 //.... lightning/mydump/parser.rl:70 363 te = p + 1 364 { 365 consumedToken = tokRowBegin 366 { 367 p++ 368 cs = 21 369 goto _out 370 } 371 } 372 goto st21 373 tr29: 374 //.... lightning/mydump/parser.rl:75 375 te = p + 1 376 { 377 consumedToken = tokRowEnd 378 { 379 p++ 380 cs = 21 381 goto _out 382 } 383 } 384 goto st21 385 tr42: 386 //.... lightning/mydump/parser.rl:120 387 te = p 388 p-- 389 { 390 consumedToken = tokDoubleQuoted 391 { 392 p++ 393 cs = 21 394 goto _out 395 } 396 } 397 goto st21 398 tr43: 399 //.... lightning/mydump/parser.rl:115 400 te = p 401 p-- 402 { 403 consumedToken = tokSingleQuoted 404 { 405 p++ 406 cs = 21 407 goto _out 408 } 409 } 410 goto st21 411 tr44: 412 //.... lightning/mydump/parser.rl:130 413 te = p 414 p-- 415 { 416 consumedToken = tokUnquoted 417 { 418 p++ 419 cs = 21 420 goto _out 421 } 422 } 423 goto st21 424 tr46: 425 //.... lightning/mydump/parser.rl:68 426 te = p 427 p-- 428 429 goto st21 430 tr48: 431 //.... lightning/mydump/parser.rl:100 432 te = p 433 p-- 434 { 435 consumedToken = tokInteger 436 { 437 p++ 438 cs = 21 439 goto _out 440 } 441 } 442 goto st21 443 tr79: 444 //.... lightning/mydump/parser.rl:125 445 te = p 446 p-- 447 { 448 consumedToken = tokBackQuoted 449 { 450 p++ 451 cs = 21 452 goto _out 453 } 454 } 455 goto st21 456 st21: 457 //.... NONE:1 458 ts = 0 459 460 //.... NONE:1 461 act = 0 462 463 if p++; p == pe { 464 goto _test_eof21 465 } 466 st_case_21: 467 //.... NONE:1 468 ts = p 469 470 //.... tmp_parser.go:381 471 switch data[p] { 472 case 32: 473 goto tr10 474 case 34: 475 goto st1 476 case 39: 477 goto st4 478 case 40: 479 goto tr28 480 case 41: 481 goto tr29 482 case 42: 483 goto st0 484 case 44: 485 goto tr10 486 case 45: 487 goto st25 488 case 47: 489 goto st7 490 case 48: 491 goto st29 492 case 59: 493 goto tr10 494 case 66: 495 goto tr34 496 case 67: 497 goto st33 498 case 70: 499 goto st40 500 case 78: 501 goto st44 502 case 84: 503 goto st47 504 case 85: 505 goto st50 506 case 86: 507 goto st55 508 case 88: 509 goto tr41 510 case 96: 511 goto st20 512 case 98: 513 goto tr34 514 case 99: 515 goto st33 516 case 102: 517 goto st40 518 case 110: 519 goto st44 520 case 116: 521 goto st47 522 case 117: 523 goto st50 524 case 118: 525 goto st55 526 case 120: 527 goto tr41 528 } 529 switch { 530 case data[p] > 13: 531 if 49 <= data[p] && data[p] <= 57 { 532 goto st28 533 } 534 case data[p] >= 9: 535 goto tr10 536 } 537 goto tr25 538 tr25: 539 //.... NONE:1 540 te = p + 1 541 542 //.... lightning/mydump/parser.rl:130 543 act = 14 544 goto st22 545 tr62: 546 //.... NONE:1 547 te = p + 1 548 549 //.... lightning/mydump/parser.rl:95 550 act = 7 551 goto st22 552 tr65: 553 //.... NONE:1 554 te = p + 1 555 556 //.... lightning/mydump/parser.rl:85 557 act = 5 558 goto st22 559 tr68: 560 //.... NONE:1 561 te = p + 1 562 563 //.... lightning/mydump/parser.rl:90 564 act = 6 565 goto st22 566 tr78: 567 //.... NONE:1 568 te = p + 1 569 570 //.... lightning/mydump/parser.rl:80 571 act = 4 572 goto st22 573 st22: 574 if p++; p == pe { 575 goto _test_eof22 576 } 577 st_case_22: 578 //.... tmp_parser.go:489 579 switch data[p] { 580 case 32: 581 goto tr4 582 case 34: 583 goto tr4 584 case 44: 585 goto tr4 586 case 47: 587 goto tr4 588 case 59: 589 goto tr4 590 case 96: 591 goto tr4 592 } 593 switch { 594 case data[p] > 13: 595 if 39 <= data[p] && data[p] <= 42 { 596 goto tr4 597 } 598 case data[p] >= 9: 599 goto tr4 600 } 601 goto tr25 602 st1: 603 if p++; p == pe { 604 goto _test_eof1 605 } 606 st_case_1: 607 _widec = int16(data[p]) 608 if 92 <= data[p] && data[p] <= 92 { 609 _widec = 256 + (int16(data[p]) - 0) 610 if parser.escFlavor != backslashEscapeFlavorNone { 611 _widec += 256 612 } 613 } 614 switch _widec { 615 case 34: 616 goto tr1 617 case 348: 618 goto st2 619 case 604: 620 goto st3 621 } 622 switch { 623 case _widec > 91: 624 if 93 <= _widec { 625 goto st2 626 } 627 default: 628 goto st2 629 } 630 goto st0 631 st2: 632 if p++; p == pe { 633 goto _test_eof2 634 } 635 st_case_2: 636 _widec = int16(data[p]) 637 if 92 <= data[p] && data[p] <= 92 { 638 _widec = 256 + (int16(data[p]) - 0) 639 if parser.escFlavor != backslashEscapeFlavorNone { 640 _widec += 256 641 } 642 } 643 switch _widec { 644 case 34: 645 goto tr1 646 case 348: 647 goto st2 648 case 604: 649 goto st3 650 } 651 switch { 652 case _widec > 91: 653 if 93 <= _widec { 654 goto st2 655 } 656 default: 657 goto st2 658 } 659 goto tr4 660 tr1: 661 //.... NONE:1 662 te = p + 1 663 664 //.... lightning/mydump/parser.rl:120 665 act = 12 666 goto st23 667 st23: 668 if p++; p == pe { 669 goto _test_eof23 670 } 671 st_case_23: 672 //.... tmp_parser.go:583 673 if data[p] == 34 { 674 goto st2 675 } 676 goto tr42 677 st3: 678 if p++; p == pe { 679 goto _test_eof3 680 } 681 st_case_3: 682 _widec = int16(data[p]) 683 if 92 <= data[p] && data[p] <= 92 { 684 _widec = 256 + (int16(data[p]) - 0) 685 if parser.escFlavor != backslashEscapeFlavorNone { 686 _widec += 256 687 } 688 } 689 switch _widec { 690 case 348: 691 goto st2 692 case 604: 693 goto st2 694 } 695 switch { 696 case _widec > 91: 697 if 93 <= _widec { 698 goto st2 699 } 700 default: 701 goto st2 702 } 703 goto tr4 704 st_case_0: 705 st0: 706 cs = 0 707 goto _out 708 st4: 709 if p++; p == pe { 710 goto _test_eof4 711 } 712 st_case_4: 713 _widec = int16(data[p]) 714 if 92 <= data[p] && data[p] <= 92 { 715 _widec = 256 + (int16(data[p]) - 0) 716 if parser.escFlavor != backslashEscapeFlavorNone { 717 _widec += 256 718 } 719 } 720 switch _widec { 721 case 39: 722 goto tr6 723 case 348: 724 goto st5 725 case 604: 726 goto st6 727 } 728 switch { 729 case _widec > 91: 730 if 93 <= _widec { 731 goto st5 732 } 733 default: 734 goto st5 735 } 736 goto st0 737 st5: 738 if p++; p == pe { 739 goto _test_eof5 740 } 741 st_case_5: 742 _widec = int16(data[p]) 743 if 92 <= data[p] && data[p] <= 92 { 744 _widec = 256 + (int16(data[p]) - 0) 745 if parser.escFlavor != backslashEscapeFlavorNone { 746 _widec += 256 747 } 748 } 749 switch _widec { 750 case 39: 751 goto tr6 752 case 348: 753 goto st5 754 case 604: 755 goto st6 756 } 757 switch { 758 case _widec > 91: 759 if 93 <= _widec { 760 goto st5 761 } 762 default: 763 goto st5 764 } 765 goto tr4 766 tr6: 767 //.... NONE:1 768 te = p + 1 769 770 //.... lightning/mydump/parser.rl:115 771 act = 11 772 goto st24 773 st24: 774 if p++; p == pe { 775 goto _test_eof24 776 } 777 st_case_24: 778 //.... tmp_parser.go:689 779 if data[p] == 39 { 780 goto st5 781 } 782 goto tr43 783 st6: 784 if p++; p == pe { 785 goto _test_eof6 786 } 787 st_case_6: 788 _widec = int16(data[p]) 789 if 92 <= data[p] && data[p] <= 92 { 790 _widec = 256 + (int16(data[p]) - 0) 791 if parser.escFlavor != backslashEscapeFlavorNone { 792 _widec += 256 793 } 794 } 795 switch _widec { 796 case 348: 797 goto st5 798 case 604: 799 goto st5 800 } 801 switch { 802 case _widec > 91: 803 if 93 <= _widec { 804 goto st5 805 } 806 default: 807 goto st5 808 } 809 goto tr4 810 st25: 811 if p++; p == pe { 812 goto _test_eof25 813 } 814 st_case_25: 815 switch data[p] { 816 case 32: 817 goto tr44 818 case 34: 819 goto tr44 820 case 44: 821 goto tr44 822 case 45: 823 goto st26 824 case 47: 825 goto tr44 826 case 59: 827 goto tr44 828 case 96: 829 goto tr44 830 } 831 switch { 832 case data[p] < 39: 833 if 9 <= data[p] && data[p] <= 13 { 834 goto tr44 835 } 836 case data[p] > 42: 837 if 48 <= data[p] && data[p] <= 57 { 838 goto st28 839 } 840 default: 841 goto tr44 842 } 843 goto tr25 844 st26: 845 if p++; p == pe { 846 goto _test_eof26 847 } 848 st_case_26: 849 switch data[p] { 850 case 10: 851 goto tr46 852 case 13: 853 goto tr46 854 case 32: 855 goto st27 856 case 34: 857 goto st27 858 case 44: 859 goto st27 860 case 47: 861 goto st27 862 case 59: 863 goto st27 864 case 96: 865 goto st27 866 } 867 switch { 868 case data[p] > 12: 869 if 39 <= data[p] && data[p] <= 42 { 870 goto st27 871 } 872 case data[p] >= 9: 873 goto st27 874 } 875 goto st26 876 st27: 877 if p++; p == pe { 878 goto _test_eof27 879 } 880 st_case_27: 881 switch data[p] { 882 case 10: 883 goto tr46 884 case 13: 885 goto tr46 886 } 887 goto st27 888 st28: 889 if p++; p == pe { 890 goto _test_eof28 891 } 892 st_case_28: 893 switch data[p] { 894 case 32: 895 goto tr48 896 case 34: 897 goto tr48 898 case 44: 899 goto tr48 900 case 47: 901 goto tr48 902 case 59: 903 goto tr48 904 case 96: 905 goto tr48 906 } 907 switch { 908 case data[p] < 39: 909 if 9 <= data[p] && data[p] <= 13 { 910 goto tr48 911 } 912 case data[p] > 42: 913 if 48 <= data[p] && data[p] <= 57 { 914 goto st28 915 } 916 default: 917 goto tr48 918 } 919 goto tr25 920 st7: 921 if p++; p == pe { 922 goto _test_eof7 923 } 924 st_case_7: 925 if data[p] == 42 { 926 goto st8 927 } 928 goto st0 929 st8: 930 if p++; p == pe { 931 goto _test_eof8 932 } 933 st_case_8: 934 if data[p] == 42 { 935 goto st9 936 } 937 goto st8 938 st9: 939 if p++; p == pe { 940 goto _test_eof9 941 } 942 st_case_9: 943 switch data[p] { 944 case 42: 945 goto st9 946 case 47: 947 goto tr10 948 } 949 goto st8 950 st29: 951 if p++; p == pe { 952 goto _test_eof29 953 } 954 st_case_29: 955 switch data[p] { 956 case 32: 957 goto tr48 958 case 34: 959 goto tr48 960 case 44: 961 goto tr48 962 case 47: 963 goto tr48 964 case 59: 965 goto tr48 966 case 96: 967 goto tr48 968 case 98: 969 goto tr49 970 case 120: 971 goto tr50 972 } 973 switch { 974 case data[p] < 39: 975 if 9 <= data[p] && data[p] <= 13 { 976 goto tr48 977 } 978 case data[p] > 42: 979 if 48 <= data[p] && data[p] <= 57 { 980 goto st28 981 } 982 default: 983 goto tr48 984 } 985 goto tr25 986 tr49: 987 //.... NONE:1 988 te = p + 1 989 990 //.... lightning/mydump/parser.rl:130 991 act = 14 992 goto st30 993 tr51: 994 //.... NONE:1 995 te = p + 1 996 997 //.... lightning/mydump/parser.rl:110 998 act = 10 999 goto st30 1000 st30: 1001 if p++; p == pe { 1002 goto _test_eof30 1003 } 1004 st_case_30: 1005 //.... tmp_parser.go:916 1006 switch data[p] { 1007 case 32: 1008 goto tr4 1009 case 34: 1010 goto tr4 1011 case 44: 1012 goto tr4 1013 case 47: 1014 goto tr4 1015 case 59: 1016 goto tr4 1017 case 96: 1018 goto tr4 1019 } 1020 switch { 1021 case data[p] < 39: 1022 if 9 <= data[p] && data[p] <= 13 { 1023 goto tr4 1024 } 1025 case data[p] > 42: 1026 if 48 <= data[p] && data[p] <= 49 { 1027 goto tr51 1028 } 1029 default: 1030 goto tr4 1031 } 1032 goto tr25 1033 tr50: 1034 //.... NONE:1 1035 te = p + 1 1036 1037 //.... lightning/mydump/parser.rl:130 1038 act = 14 1039 goto st31 1040 tr52: 1041 //.... NONE:1 1042 te = p + 1 1043 1044 //.... lightning/mydump/parser.rl:105 1045 act = 9 1046 goto st31 1047 st31: 1048 if p++; p == pe { 1049 goto _test_eof31 1050 } 1051 st_case_31: 1052 //.... tmp_parser.go:963 1053 switch data[p] { 1054 case 32: 1055 goto tr4 1056 case 34: 1057 goto tr4 1058 case 44: 1059 goto tr4 1060 case 47: 1061 goto tr4 1062 case 59: 1063 goto tr4 1064 case 96: 1065 goto tr4 1066 } 1067 switch { 1068 case data[p] < 48: 1069 switch { 1070 case data[p] > 13: 1071 if 39 <= data[p] && data[p] <= 42 { 1072 goto tr4 1073 } 1074 case data[p] >= 9: 1075 goto tr4 1076 } 1077 case data[p] > 57: 1078 switch { 1079 case data[p] > 70: 1080 if 97 <= data[p] && data[p] <= 102 { 1081 goto tr52 1082 } 1083 case data[p] >= 65: 1084 goto tr52 1085 } 1086 default: 1087 goto tr52 1088 } 1089 goto tr25 1090 tr34: 1091 //.... NONE:1 1092 te = p + 1 1093 1094 goto st32 1095 st32: 1096 if p++; p == pe { 1097 goto _test_eof32 1098 } 1099 st_case_32: 1100 //.... tmp_parser.go:1011 1101 switch data[p] { 1102 case 32: 1103 goto tr44 1104 case 34: 1105 goto tr44 1106 case 39: 1107 goto st10 1108 case 44: 1109 goto tr44 1110 case 47: 1111 goto tr44 1112 case 59: 1113 goto tr44 1114 case 96: 1115 goto tr44 1116 } 1117 switch { 1118 case data[p] > 13: 1119 if 40 <= data[p] && data[p] <= 42 { 1120 goto tr44 1121 } 1122 case data[p] >= 9: 1123 goto tr44 1124 } 1125 goto tr25 1126 st10: 1127 if p++; p == pe { 1128 goto _test_eof10 1129 } 1130 st_case_10: 1131 if data[p] == 39 { 1132 goto tr12 1133 } 1134 if 48 <= data[p] && data[p] <= 49 { 1135 goto st10 1136 } 1137 goto tr11 1138 st33: 1139 if p++; p == pe { 1140 goto _test_eof33 1141 } 1142 st_case_33: 1143 switch data[p] { 1144 case 32: 1145 goto tr44 1146 case 34: 1147 goto tr44 1148 case 44: 1149 goto tr44 1150 case 47: 1151 goto tr44 1152 case 59: 1153 goto tr44 1154 case 79: 1155 goto st34 1156 case 96: 1157 goto tr44 1158 case 111: 1159 goto st34 1160 } 1161 switch { 1162 case data[p] > 13: 1163 if 39 <= data[p] && data[p] <= 42 { 1164 goto tr44 1165 } 1166 case data[p] >= 9: 1167 goto tr44 1168 } 1169 goto tr25 1170 st34: 1171 if p++; p == pe { 1172 goto _test_eof34 1173 } 1174 st_case_34: 1175 switch data[p] { 1176 case 32: 1177 goto tr44 1178 case 34: 1179 goto tr44 1180 case 44: 1181 goto tr44 1182 case 47: 1183 goto tr44 1184 case 59: 1185 goto tr44 1186 case 78: 1187 goto st35 1188 case 96: 1189 goto tr44 1190 case 110: 1191 goto st35 1192 } 1193 switch { 1194 case data[p] > 13: 1195 if 39 <= data[p] && data[p] <= 42 { 1196 goto tr44 1197 } 1198 case data[p] >= 9: 1199 goto tr44 1200 } 1201 goto tr25 1202 st35: 1203 if p++; p == pe { 1204 goto _test_eof35 1205 } 1206 st_case_35: 1207 switch data[p] { 1208 case 32: 1209 goto tr44 1210 case 34: 1211 goto tr44 1212 case 44: 1213 goto tr44 1214 case 47: 1215 goto tr44 1216 case 59: 1217 goto tr44 1218 case 86: 1219 goto st36 1220 case 96: 1221 goto tr44 1222 case 118: 1223 goto st36 1224 } 1225 switch { 1226 case data[p] > 13: 1227 if 39 <= data[p] && data[p] <= 42 { 1228 goto tr44 1229 } 1230 case data[p] >= 9: 1231 goto tr44 1232 } 1233 goto tr25 1234 st36: 1235 if p++; p == pe { 1236 goto _test_eof36 1237 } 1238 st_case_36: 1239 switch data[p] { 1240 case 32: 1241 goto tr44 1242 case 34: 1243 goto tr44 1244 case 44: 1245 goto tr44 1246 case 47: 1247 goto tr44 1248 case 59: 1249 goto tr44 1250 case 69: 1251 goto st37 1252 case 96: 1253 goto tr44 1254 case 101: 1255 goto st37 1256 } 1257 switch { 1258 case data[p] > 13: 1259 if 39 <= data[p] && data[p] <= 42 { 1260 goto tr44 1261 } 1262 case data[p] >= 9: 1263 goto tr44 1264 } 1265 goto tr25 1266 st37: 1267 if p++; p == pe { 1268 goto _test_eof37 1269 } 1270 st_case_37: 1271 switch data[p] { 1272 case 32: 1273 goto tr44 1274 case 34: 1275 goto tr44 1276 case 44: 1277 goto tr44 1278 case 47: 1279 goto tr44 1280 case 59: 1281 goto tr44 1282 case 82: 1283 goto st38 1284 case 96: 1285 goto tr44 1286 case 114: 1287 goto st38 1288 } 1289 switch { 1290 case data[p] > 13: 1291 if 39 <= data[p] && data[p] <= 42 { 1292 goto tr44 1293 } 1294 case data[p] >= 9: 1295 goto tr44 1296 } 1297 goto tr25 1298 st38: 1299 if p++; p == pe { 1300 goto _test_eof38 1301 } 1302 st_case_38: 1303 switch data[p] { 1304 case 32: 1305 goto tr44 1306 case 34: 1307 goto tr44 1308 case 44: 1309 goto tr44 1310 case 47: 1311 goto tr44 1312 case 59: 1313 goto tr44 1314 case 84: 1315 goto st39 1316 case 96: 1317 goto tr44 1318 case 116: 1319 goto st39 1320 } 1321 switch { 1322 case data[p] > 13: 1323 if 39 <= data[p] && data[p] <= 42 { 1324 goto tr44 1325 } 1326 case data[p] >= 9: 1327 goto tr44 1328 } 1329 goto tr25 1330 st39: 1331 if p++; p == pe { 1332 goto _test_eof39 1333 } 1334 st_case_39: 1335 switch data[p] { 1336 case 32: 1337 goto tr44 1338 case 34: 1339 goto tr44 1340 case 40: 1341 goto tr10 1342 case 44: 1343 goto tr44 1344 case 47: 1345 goto tr44 1346 case 59: 1347 goto tr44 1348 case 96: 1349 goto tr44 1350 } 1351 switch { 1352 case data[p] > 13: 1353 if 39 <= data[p] && data[p] <= 42 { 1354 goto tr44 1355 } 1356 case data[p] >= 9: 1357 goto tr44 1358 } 1359 goto tr25 1360 st40: 1361 if p++; p == pe { 1362 goto _test_eof40 1363 } 1364 st_case_40: 1365 switch data[p] { 1366 case 32: 1367 goto tr44 1368 case 34: 1369 goto tr44 1370 case 44: 1371 goto tr44 1372 case 47: 1373 goto tr44 1374 case 59: 1375 goto tr44 1376 case 65: 1377 goto st41 1378 case 96: 1379 goto tr44 1380 case 97: 1381 goto st41 1382 } 1383 switch { 1384 case data[p] > 13: 1385 if 39 <= data[p] && data[p] <= 42 { 1386 goto tr44 1387 } 1388 case data[p] >= 9: 1389 goto tr44 1390 } 1391 goto tr25 1392 st41: 1393 if p++; p == pe { 1394 goto _test_eof41 1395 } 1396 st_case_41: 1397 switch data[p] { 1398 case 32: 1399 goto tr44 1400 case 34: 1401 goto tr44 1402 case 44: 1403 goto tr44 1404 case 47: 1405 goto tr44 1406 case 59: 1407 goto tr44 1408 case 76: 1409 goto st42 1410 case 96: 1411 goto tr44 1412 case 108: 1413 goto st42 1414 } 1415 switch { 1416 case data[p] > 13: 1417 if 39 <= data[p] && data[p] <= 42 { 1418 goto tr44 1419 } 1420 case data[p] >= 9: 1421 goto tr44 1422 } 1423 goto tr25 1424 st42: 1425 if p++; p == pe { 1426 goto _test_eof42 1427 } 1428 st_case_42: 1429 switch data[p] { 1430 case 32: 1431 goto tr44 1432 case 34: 1433 goto tr44 1434 case 44: 1435 goto tr44 1436 case 47: 1437 goto tr44 1438 case 59: 1439 goto tr44 1440 case 83: 1441 goto st43 1442 case 96: 1443 goto tr44 1444 case 115: 1445 goto st43 1446 } 1447 switch { 1448 case data[p] > 13: 1449 if 39 <= data[p] && data[p] <= 42 { 1450 goto tr44 1451 } 1452 case data[p] >= 9: 1453 goto tr44 1454 } 1455 goto tr25 1456 st43: 1457 if p++; p == pe { 1458 goto _test_eof43 1459 } 1460 st_case_43: 1461 switch data[p] { 1462 case 32: 1463 goto tr44 1464 case 34: 1465 goto tr44 1466 case 44: 1467 goto tr44 1468 case 47: 1469 goto tr44 1470 case 59: 1471 goto tr44 1472 case 69: 1473 goto tr62 1474 case 96: 1475 goto tr44 1476 case 101: 1477 goto tr62 1478 } 1479 switch { 1480 case data[p] > 13: 1481 if 39 <= data[p] && data[p] <= 42 { 1482 goto tr44 1483 } 1484 case data[p] >= 9: 1485 goto tr44 1486 } 1487 goto tr25 1488 st44: 1489 if p++; p == pe { 1490 goto _test_eof44 1491 } 1492 st_case_44: 1493 switch data[p] { 1494 case 32: 1495 goto tr44 1496 case 34: 1497 goto tr44 1498 case 44: 1499 goto tr44 1500 case 47: 1501 goto tr44 1502 case 59: 1503 goto tr44 1504 case 85: 1505 goto st45 1506 case 96: 1507 goto tr44 1508 case 117: 1509 goto st45 1510 } 1511 switch { 1512 case data[p] > 13: 1513 if 39 <= data[p] && data[p] <= 42 { 1514 goto tr44 1515 } 1516 case data[p] >= 9: 1517 goto tr44 1518 } 1519 goto tr25 1520 st45: 1521 if p++; p == pe { 1522 goto _test_eof45 1523 } 1524 st_case_45: 1525 switch data[p] { 1526 case 32: 1527 goto tr44 1528 case 34: 1529 goto tr44 1530 case 44: 1531 goto tr44 1532 case 47: 1533 goto tr44 1534 case 59: 1535 goto tr44 1536 case 76: 1537 goto st46 1538 case 96: 1539 goto tr44 1540 case 108: 1541 goto st46 1542 } 1543 switch { 1544 case data[p] > 13: 1545 if 39 <= data[p] && data[p] <= 42 { 1546 goto tr44 1547 } 1548 case data[p] >= 9: 1549 goto tr44 1550 } 1551 goto tr25 1552 st46: 1553 if p++; p == pe { 1554 goto _test_eof46 1555 } 1556 st_case_46: 1557 switch data[p] { 1558 case 32: 1559 goto tr44 1560 case 34: 1561 goto tr44 1562 case 44: 1563 goto tr44 1564 case 47: 1565 goto tr44 1566 case 59: 1567 goto tr44 1568 case 76: 1569 goto tr65 1570 case 96: 1571 goto tr44 1572 case 108: 1573 goto tr65 1574 } 1575 switch { 1576 case data[p] > 13: 1577 if 39 <= data[p] && data[p] <= 42 { 1578 goto tr44 1579 } 1580 case data[p] >= 9: 1581 goto tr44 1582 } 1583 goto tr25 1584 st47: 1585 if p++; p == pe { 1586 goto _test_eof47 1587 } 1588 st_case_47: 1589 switch data[p] { 1590 case 32: 1591 goto tr44 1592 case 34: 1593 goto tr44 1594 case 44: 1595 goto tr44 1596 case 47: 1597 goto tr44 1598 case 59: 1599 goto tr44 1600 case 82: 1601 goto st48 1602 case 96: 1603 goto tr44 1604 case 114: 1605 goto st48 1606 } 1607 switch { 1608 case data[p] > 13: 1609 if 39 <= data[p] && data[p] <= 42 { 1610 goto tr44 1611 } 1612 case data[p] >= 9: 1613 goto tr44 1614 } 1615 goto tr25 1616 st48: 1617 if p++; p == pe { 1618 goto _test_eof48 1619 } 1620 st_case_48: 1621 switch data[p] { 1622 case 32: 1623 goto tr44 1624 case 34: 1625 goto tr44 1626 case 44: 1627 goto tr44 1628 case 47: 1629 goto tr44 1630 case 59: 1631 goto tr44 1632 case 85: 1633 goto st49 1634 case 96: 1635 goto tr44 1636 case 117: 1637 goto st49 1638 } 1639 switch { 1640 case data[p] > 13: 1641 if 39 <= data[p] && data[p] <= 42 { 1642 goto tr44 1643 } 1644 case data[p] >= 9: 1645 goto tr44 1646 } 1647 goto tr25 1648 st49: 1649 if p++; p == pe { 1650 goto _test_eof49 1651 } 1652 st_case_49: 1653 switch data[p] { 1654 case 32: 1655 goto tr44 1656 case 34: 1657 goto tr44 1658 case 44: 1659 goto tr44 1660 case 47: 1661 goto tr44 1662 case 59: 1663 goto tr44 1664 case 69: 1665 goto tr68 1666 case 96: 1667 goto tr44 1668 case 101: 1669 goto tr68 1670 } 1671 switch { 1672 case data[p] > 13: 1673 if 39 <= data[p] && data[p] <= 42 { 1674 goto tr44 1675 } 1676 case data[p] >= 9: 1677 goto tr44 1678 } 1679 goto tr25 1680 st50: 1681 if p++; p == pe { 1682 goto _test_eof50 1683 } 1684 st_case_50: 1685 switch data[p] { 1686 case 32: 1687 goto tr44 1688 case 34: 1689 goto tr44 1690 case 44: 1691 goto tr44 1692 case 47: 1693 goto tr44 1694 case 59: 1695 goto tr44 1696 case 83: 1697 goto st51 1698 case 96: 1699 goto tr44 1700 case 115: 1701 goto st51 1702 } 1703 switch { 1704 case data[p] > 13: 1705 if 39 <= data[p] && data[p] <= 42 { 1706 goto tr44 1707 } 1708 case data[p] >= 9: 1709 goto tr44 1710 } 1711 goto tr25 1712 st51: 1713 if p++; p == pe { 1714 goto _test_eof51 1715 } 1716 st_case_51: 1717 switch data[p] { 1718 case 32: 1719 goto tr44 1720 case 34: 1721 goto tr44 1722 case 44: 1723 goto tr44 1724 case 47: 1725 goto tr44 1726 case 59: 1727 goto tr44 1728 case 73: 1729 goto st52 1730 case 96: 1731 goto tr44 1732 case 105: 1733 goto st52 1734 } 1735 switch { 1736 case data[p] > 13: 1737 if 39 <= data[p] && data[p] <= 42 { 1738 goto tr44 1739 } 1740 case data[p] >= 9: 1741 goto tr44 1742 } 1743 goto tr25 1744 st52: 1745 if p++; p == pe { 1746 goto _test_eof52 1747 } 1748 st_case_52: 1749 switch data[p] { 1750 case 32: 1751 goto tr44 1752 case 34: 1753 goto tr44 1754 case 44: 1755 goto tr44 1756 case 47: 1757 goto tr44 1758 case 59: 1759 goto tr44 1760 case 78: 1761 goto st53 1762 case 96: 1763 goto tr44 1764 case 110: 1765 goto st53 1766 } 1767 switch { 1768 case data[p] > 13: 1769 if 39 <= data[p] && data[p] <= 42 { 1770 goto tr44 1771 } 1772 case data[p] >= 9: 1773 goto tr44 1774 } 1775 goto tr25 1776 st53: 1777 if p++; p == pe { 1778 goto _test_eof53 1779 } 1780 st_case_53: 1781 switch data[p] { 1782 case 32: 1783 goto tr44 1784 case 34: 1785 goto tr44 1786 case 44: 1787 goto tr44 1788 case 47: 1789 goto tr44 1790 case 59: 1791 goto tr44 1792 case 71: 1793 goto tr72 1794 case 96: 1795 goto tr44 1796 case 103: 1797 goto tr72 1798 } 1799 switch { 1800 case data[p] > 13: 1801 if 39 <= data[p] && data[p] <= 42 { 1802 goto tr44 1803 } 1804 case data[p] >= 9: 1805 goto tr44 1806 } 1807 goto tr25 1808 tr72: 1809 //.... NONE:1 1810 te = p + 1 1811 1812 goto st54 1813 st54: 1814 if p++; p == pe { 1815 goto _test_eof54 1816 } 1817 st_case_54: 1818 //.... tmp_parser.go:1729 1819 switch data[p] { 1820 case 32: 1821 goto st11 1822 case 34: 1823 goto tr44 1824 case 44: 1825 goto tr44 1826 case 47: 1827 goto tr44 1828 case 59: 1829 goto tr44 1830 case 96: 1831 goto tr44 1832 } 1833 switch { 1834 case data[p] > 13: 1835 if 39 <= data[p] && data[p] <= 42 { 1836 goto tr44 1837 } 1838 case data[p] >= 9: 1839 goto tr44 1840 } 1841 goto tr25 1842 st11: 1843 if p++; p == pe { 1844 goto _test_eof11 1845 } 1846 st_case_11: 1847 switch data[p] { 1848 case 85: 1849 goto st12 1850 case 117: 1851 goto st12 1852 } 1853 goto tr11 1854 st12: 1855 if p++; p == pe { 1856 goto _test_eof12 1857 } 1858 st_case_12: 1859 switch data[p] { 1860 case 84: 1861 goto st13 1862 case 116: 1863 goto st13 1864 } 1865 goto tr11 1866 st13: 1867 if p++; p == pe { 1868 goto _test_eof13 1869 } 1870 st_case_13: 1871 switch data[p] { 1872 case 70: 1873 goto st14 1874 case 102: 1875 goto st14 1876 } 1877 goto tr11 1878 st14: 1879 if p++; p == pe { 1880 goto _test_eof14 1881 } 1882 st_case_14: 1883 if data[p] == 56 { 1884 goto st15 1885 } 1886 goto tr11 1887 st15: 1888 if p++; p == pe { 1889 goto _test_eof15 1890 } 1891 st_case_15: 1892 switch data[p] { 1893 case 77: 1894 goto st16 1895 case 109: 1896 goto st16 1897 } 1898 goto tr11 1899 st16: 1900 if p++; p == pe { 1901 goto _test_eof16 1902 } 1903 st_case_16: 1904 switch data[p] { 1905 case 66: 1906 goto st17 1907 case 98: 1908 goto st17 1909 } 1910 goto tr11 1911 st17: 1912 if p++; p == pe { 1913 goto _test_eof17 1914 } 1915 st_case_17: 1916 if data[p] == 52 { 1917 goto st18 1918 } 1919 goto tr11 1920 st18: 1921 if p++; p == pe { 1922 goto _test_eof18 1923 } 1924 st_case_18: 1925 if data[p] == 41 { 1926 goto tr10 1927 } 1928 goto tr11 1929 st55: 1930 if p++; p == pe { 1931 goto _test_eof55 1932 } 1933 st_case_55: 1934 switch data[p] { 1935 case 32: 1936 goto tr44 1937 case 34: 1938 goto tr44 1939 case 44: 1940 goto tr44 1941 case 47: 1942 goto tr44 1943 case 59: 1944 goto tr44 1945 case 65: 1946 goto st56 1947 case 96: 1948 goto tr44 1949 case 97: 1950 goto st56 1951 } 1952 switch { 1953 case data[p] > 13: 1954 if 39 <= data[p] && data[p] <= 42 { 1955 goto tr44 1956 } 1957 case data[p] >= 9: 1958 goto tr44 1959 } 1960 goto tr25 1961 st56: 1962 if p++; p == pe { 1963 goto _test_eof56 1964 } 1965 st_case_56: 1966 switch data[p] { 1967 case 32: 1968 goto tr44 1969 case 34: 1970 goto tr44 1971 case 44: 1972 goto tr44 1973 case 47: 1974 goto tr44 1975 case 59: 1976 goto tr44 1977 case 76: 1978 goto st57 1979 case 96: 1980 goto tr44 1981 case 108: 1982 goto st57 1983 } 1984 switch { 1985 case data[p] > 13: 1986 if 39 <= data[p] && data[p] <= 42 { 1987 goto tr44 1988 } 1989 case data[p] >= 9: 1990 goto tr44 1991 } 1992 goto tr25 1993 st57: 1994 if p++; p == pe { 1995 goto _test_eof57 1996 } 1997 st_case_57: 1998 switch data[p] { 1999 case 32: 2000 goto tr44 2001 case 34: 2002 goto tr44 2003 case 44: 2004 goto tr44 2005 case 47: 2006 goto tr44 2007 case 59: 2008 goto tr44 2009 case 85: 2010 goto st58 2011 case 96: 2012 goto tr44 2013 case 117: 2014 goto st58 2015 } 2016 switch { 2017 case data[p] > 13: 2018 if 39 <= data[p] && data[p] <= 42 { 2019 goto tr44 2020 } 2021 case data[p] >= 9: 2022 goto tr44 2023 } 2024 goto tr25 2025 st58: 2026 if p++; p == pe { 2027 goto _test_eof58 2028 } 2029 st_case_58: 2030 switch data[p] { 2031 case 32: 2032 goto tr44 2033 case 34: 2034 goto tr44 2035 case 44: 2036 goto tr44 2037 case 47: 2038 goto tr44 2039 case 59: 2040 goto tr44 2041 case 69: 2042 goto st59 2043 case 96: 2044 goto tr44 2045 case 101: 2046 goto st59 2047 } 2048 switch { 2049 case data[p] > 13: 2050 if 39 <= data[p] && data[p] <= 42 { 2051 goto tr44 2052 } 2053 case data[p] >= 9: 2054 goto tr44 2055 } 2056 goto tr25 2057 st59: 2058 if p++; p == pe { 2059 goto _test_eof59 2060 } 2061 st_case_59: 2062 switch data[p] { 2063 case 32: 2064 goto tr44 2065 case 34: 2066 goto tr44 2067 case 44: 2068 goto tr44 2069 case 47: 2070 goto tr44 2071 case 59: 2072 goto tr44 2073 case 83: 2074 goto tr78 2075 case 96: 2076 goto tr44 2077 case 115: 2078 goto tr78 2079 } 2080 switch { 2081 case data[p] > 13: 2082 if 39 <= data[p] && data[p] <= 42 { 2083 goto tr44 2084 } 2085 case data[p] >= 9: 2086 goto tr44 2087 } 2088 goto tr25 2089 tr41: 2090 //.... NONE:1 2091 te = p + 1 2092 2093 goto st60 2094 st60: 2095 if p++; p == pe { 2096 goto _test_eof60 2097 } 2098 st_case_60: 2099 //.... tmp_parser.go:2010 2100 switch data[p] { 2101 case 32: 2102 goto tr44 2103 case 34: 2104 goto tr44 2105 case 39: 2106 goto st19 2107 case 44: 2108 goto tr44 2109 case 47: 2110 goto tr44 2111 case 59: 2112 goto tr44 2113 case 96: 2114 goto tr44 2115 } 2116 switch { 2117 case data[p] > 13: 2118 if 40 <= data[p] && data[p] <= 42 { 2119 goto tr44 2120 } 2121 case data[p] >= 9: 2122 goto tr44 2123 } 2124 goto tr25 2125 st19: 2126 if p++; p == pe { 2127 goto _test_eof19 2128 } 2129 st_case_19: 2130 if data[p] == 39 { 2131 goto tr21 2132 } 2133 switch { 2134 case data[p] < 65: 2135 if 48 <= data[p] && data[p] <= 57 { 2136 goto st19 2137 } 2138 case data[p] > 70: 2139 if 97 <= data[p] && data[p] <= 102 { 2140 goto st19 2141 } 2142 default: 2143 goto st19 2144 } 2145 goto tr11 2146 st20: 2147 if p++; p == pe { 2148 goto _test_eof20 2149 } 2150 st_case_20: 2151 if data[p] == 96 { 2152 goto tr24 2153 } 2154 goto st20 2155 tr24: 2156 //.... NONE:1 2157 te = p + 1 2158 2159 //.... lightning/mydump/parser.rl:125 2160 act = 13 2161 goto st61 2162 st61: 2163 if p++; p == pe { 2164 goto _test_eof61 2165 } 2166 st_case_61: 2167 //.... tmp_parser.go:2078 2168 if data[p] == 96 { 2169 goto st20 2170 } 2171 goto tr79 2172 st_out: 2173 _test_eof21: 2174 cs = 21 2175 goto _test_eof 2176 _test_eof22: 2177 cs = 22 2178 goto _test_eof 2179 _test_eof1: 2180 cs = 1 2181 goto _test_eof 2182 _test_eof2: 2183 cs = 2 2184 goto _test_eof 2185 _test_eof23: 2186 cs = 23 2187 goto _test_eof 2188 _test_eof3: 2189 cs = 3 2190 goto _test_eof 2191 _test_eof4: 2192 cs = 4 2193 goto _test_eof 2194 _test_eof5: 2195 cs = 5 2196 goto _test_eof 2197 _test_eof24: 2198 cs = 24 2199 goto _test_eof 2200 _test_eof6: 2201 cs = 6 2202 goto _test_eof 2203 _test_eof25: 2204 cs = 25 2205 goto _test_eof 2206 _test_eof26: 2207 cs = 26 2208 goto _test_eof 2209 _test_eof27: 2210 cs = 27 2211 goto _test_eof 2212 _test_eof28: 2213 cs = 28 2214 goto _test_eof 2215 _test_eof7: 2216 cs = 7 2217 goto _test_eof 2218 _test_eof8: 2219 cs = 8 2220 goto _test_eof 2221 _test_eof9: 2222 cs = 9 2223 goto _test_eof 2224 _test_eof29: 2225 cs = 29 2226 goto _test_eof 2227 _test_eof30: 2228 cs = 30 2229 goto _test_eof 2230 _test_eof31: 2231 cs = 31 2232 goto _test_eof 2233 _test_eof32: 2234 cs = 32 2235 goto _test_eof 2236 _test_eof10: 2237 cs = 10 2238 goto _test_eof 2239 _test_eof33: 2240 cs = 33 2241 goto _test_eof 2242 _test_eof34: 2243 cs = 34 2244 goto _test_eof 2245 _test_eof35: 2246 cs = 35 2247 goto _test_eof 2248 _test_eof36: 2249 cs = 36 2250 goto _test_eof 2251 _test_eof37: 2252 cs = 37 2253 goto _test_eof 2254 _test_eof38: 2255 cs = 38 2256 goto _test_eof 2257 _test_eof39: 2258 cs = 39 2259 goto _test_eof 2260 _test_eof40: 2261 cs = 40 2262 goto _test_eof 2263 _test_eof41: 2264 cs = 41 2265 goto _test_eof 2266 _test_eof42: 2267 cs = 42 2268 goto _test_eof 2269 _test_eof43: 2270 cs = 43 2271 goto _test_eof 2272 _test_eof44: 2273 cs = 44 2274 goto _test_eof 2275 _test_eof45: 2276 cs = 45 2277 goto _test_eof 2278 _test_eof46: 2279 cs = 46 2280 goto _test_eof 2281 _test_eof47: 2282 cs = 47 2283 goto _test_eof 2284 _test_eof48: 2285 cs = 48 2286 goto _test_eof 2287 _test_eof49: 2288 cs = 49 2289 goto _test_eof 2290 _test_eof50: 2291 cs = 50 2292 goto _test_eof 2293 _test_eof51: 2294 cs = 51 2295 goto _test_eof 2296 _test_eof52: 2297 cs = 52 2298 goto _test_eof 2299 _test_eof53: 2300 cs = 53 2301 goto _test_eof 2302 _test_eof54: 2303 cs = 54 2304 goto _test_eof 2305 _test_eof11: 2306 cs = 11 2307 goto _test_eof 2308 _test_eof12: 2309 cs = 12 2310 goto _test_eof 2311 _test_eof13: 2312 cs = 13 2313 goto _test_eof 2314 _test_eof14: 2315 cs = 14 2316 goto _test_eof 2317 _test_eof15: 2318 cs = 15 2319 goto _test_eof 2320 _test_eof16: 2321 cs = 16 2322 goto _test_eof 2323 _test_eof17: 2324 cs = 17 2325 goto _test_eof 2326 _test_eof18: 2327 cs = 18 2328 goto _test_eof 2329 _test_eof55: 2330 cs = 55 2331 goto _test_eof 2332 _test_eof56: 2333 cs = 56 2334 goto _test_eof 2335 _test_eof57: 2336 cs = 57 2337 goto _test_eof 2338 _test_eof58: 2339 cs = 58 2340 goto _test_eof 2341 _test_eof59: 2342 cs = 59 2343 goto _test_eof 2344 _test_eof60: 2345 cs = 60 2346 goto _test_eof 2347 _test_eof19: 2348 cs = 19 2349 goto _test_eof 2350 _test_eof20: 2351 cs = 20 2352 goto _test_eof 2353 _test_eof61: 2354 cs = 61 2355 goto _test_eof 2356 2357 _test_eof: 2358 { 2359 } 2360 if p == eof { 2361 switch cs { 2362 case 22: 2363 goto tr4 2364 case 2: 2365 goto tr4 2366 case 23: 2367 goto tr42 2368 case 3: 2369 goto tr4 2370 case 5: 2371 goto tr4 2372 case 24: 2373 goto tr43 2374 case 6: 2375 goto tr4 2376 case 25: 2377 goto tr44 2378 case 26: 2379 goto tr46 2380 case 27: 2381 goto tr46 2382 case 28: 2383 goto tr48 2384 case 29: 2385 goto tr48 2386 case 30: 2387 goto tr4 2388 case 31: 2389 goto tr4 2390 case 32: 2391 goto tr44 2392 case 10: 2393 goto tr11 2394 case 33: 2395 goto tr44 2396 case 34: 2397 goto tr44 2398 case 35: 2399 goto tr44 2400 case 36: 2401 goto tr44 2402 case 37: 2403 goto tr44 2404 case 38: 2405 goto tr44 2406 case 39: 2407 goto tr44 2408 case 40: 2409 goto tr44 2410 case 41: 2411 goto tr44 2412 case 42: 2413 goto tr44 2414 case 43: 2415 goto tr44 2416 case 44: 2417 goto tr44 2418 case 45: 2419 goto tr44 2420 case 46: 2421 goto tr44 2422 case 47: 2423 goto tr44 2424 case 48: 2425 goto tr44 2426 case 49: 2427 goto tr44 2428 case 50: 2429 goto tr44 2430 case 51: 2431 goto tr44 2432 case 52: 2433 goto tr44 2434 case 53: 2435 goto tr44 2436 case 54: 2437 goto tr44 2438 case 11: 2439 goto tr11 2440 case 12: 2441 goto tr11 2442 case 13: 2443 goto tr11 2444 case 14: 2445 goto tr11 2446 case 15: 2447 goto tr11 2448 case 16: 2449 goto tr11 2450 case 17: 2451 goto tr11 2452 case 18: 2453 goto tr11 2454 case 55: 2455 goto tr44 2456 case 56: 2457 goto tr44 2458 case 57: 2459 goto tr44 2460 case 58: 2461 goto tr44 2462 case 59: 2463 goto tr44 2464 case 60: 2465 goto tr44 2466 case 19: 2467 goto tr11 2468 case 20: 2469 goto tr4 2470 case 61: 2471 goto tr79 2472 } 2473 } 2474 2475 _out: 2476 { 2477 } 2478 } 2479 2480 //.... lightning/mydump/parser.rl:155 2481 2482 if cs == 0 { 2483 parser.logSyntaxError() 2484 return tokNil, nil, errors.New("syntax error") 2485 } 2486 2487 if consumedToken != tokNil { 2488 result := data[ts:te] 2489 parser.buf = data[te:] 2490 parser.pos += int64(te) 2491 return consumedToken, result, nil 2492 } 2493 2494 if parser.isLastChunk { 2495 if te == eof { 2496 return tokNil, nil, io.EOF 2497 } else { 2498 return tokNil, nil, errors.New("syntax error: unexpected EOF") 2499 } 2500 } 2501 2502 parser.buf = parser.buf[ts:] 2503 parser.pos += int64(ts) 2504 p -= ts 2505 te -= ts 2506 ts = 0 2507 if err := parser.readBlock(); err != nil { 2508 return tokNil, nil, errors.Trace(err) 2509 } 2510 } 2511 2512 return tokNil, nil, nil 2513 }