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