Add generated content
This commit is contained in:
parent
77df52c2f2
commit
3cb1fd98ed
|
@ -0,0 +1,965 @@
|
|||
|
||||
// line 1 "kparse.rl"
|
||||
package dns
|
||||
|
||||
// Parse private key files
|
||||
|
||||
import (
|
||||
"os"
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
// line 15 "kparse.go"
|
||||
var k_start int = 75
|
||||
var k_first_final int = 75
|
||||
var k_error int = 0
|
||||
|
||||
var k_en_main int = 75
|
||||
|
||||
|
||||
// line 14 "kparse.rl"
|
||||
|
||||
|
||||
func Kparse(data string) (m map[string]string, err os.Error) {
|
||||
cs, p, pe := 0, 0, len(data)
|
||||
mark := 0
|
||||
k := ""
|
||||
k=k
|
||||
m = make(map[string]string)
|
||||
|
||||
|
||||
// line 34 "kparse.go"
|
||||
cs = k_start
|
||||
|
||||
// line 37 "kparse.go"
|
||||
{
|
||||
if p == pe { goto _test_eof }
|
||||
switch cs {
|
||||
case -666: // i am a hack D:
|
||||
tr12:
|
||||
// line 26 "kparse.rl"
|
||||
{ m[k] = data[mark:p]; fmt.Printf("value {%s}\n", data[mark:p]) }
|
||||
goto st75
|
||||
st75:
|
||||
p++
|
||||
if p == pe { goto _test_eof75 }
|
||||
fallthrough
|
||||
case 75:
|
||||
// line 51 "kparse.go"
|
||||
switch data[p] {
|
||||
case 65: goto tr72
|
||||
case 67: goto tr73
|
||||
case 69: goto tr74
|
||||
case 77: goto tr75
|
||||
case 80: goto tr76
|
||||
case 97: goto tr72
|
||||
case 99: goto tr73
|
||||
case 101: goto tr74
|
||||
case 109: goto tr75
|
||||
case 112: goto tr76
|
||||
}
|
||||
goto st0
|
||||
st0:
|
||||
cs = 0;
|
||||
goto _out;
|
||||
tr72:
|
||||
// line 24 "kparse.rl"
|
||||
{ mark = p }
|
||||
goto st1
|
||||
st1:
|
||||
p++
|
||||
if p == pe { goto _test_eof1 }
|
||||
fallthrough
|
||||
case 1:
|
||||
// line 77 "kparse.go"
|
||||
switch data[p] {
|
||||
case 67: goto st2
|
||||
case 76: goto st12
|
||||
case 99: goto st2
|
||||
case 108: goto st12
|
||||
}
|
||||
goto st0
|
||||
st2:
|
||||
p++
|
||||
if p == pe { goto _test_eof2 }
|
||||
fallthrough
|
||||
case 2:
|
||||
switch data[p] {
|
||||
case 84: goto st3
|
||||
case 116: goto st3
|
||||
}
|
||||
goto st0
|
||||
st3:
|
||||
p++
|
||||
if p == pe { goto _test_eof3 }
|
||||
fallthrough
|
||||
case 3:
|
||||
switch data[p] {
|
||||
case 73: goto st4
|
||||
case 105: goto st4
|
||||
}
|
||||
goto st0
|
||||
st4:
|
||||
p++
|
||||
if p == pe { goto _test_eof4 }
|
||||
fallthrough
|
||||
case 4:
|
||||
switch data[p] {
|
||||
case 86: goto st5
|
||||
case 118: goto st5
|
||||
}
|
||||
goto st0
|
||||
st5:
|
||||
p++
|
||||
if p == pe { goto _test_eof5 }
|
||||
fallthrough
|
||||
case 5:
|
||||
switch data[p] {
|
||||
case 65: goto st6
|
||||
case 97: goto st6
|
||||
}
|
||||
goto st0
|
||||
st6:
|
||||
p++
|
||||
if p == pe { goto _test_eof6 }
|
||||
fallthrough
|
||||
case 6:
|
||||
switch data[p] {
|
||||
case 84: goto st7
|
||||
case 116: goto st7
|
||||
}
|
||||
goto st0
|
||||
st7:
|
||||
p++
|
||||
if p == pe { goto _test_eof7 }
|
||||
fallthrough
|
||||
case 7:
|
||||
switch data[p] {
|
||||
case 69: goto st8
|
||||
case 101: goto st8
|
||||
}
|
||||
goto st0
|
||||
st8:
|
||||
p++
|
||||
if p == pe { goto _test_eof8 }
|
||||
fallthrough
|
||||
case 8:
|
||||
if data[p] == 58 { goto tr9 }
|
||||
goto st0
|
||||
tr9:
|
||||
// line 25 "kparse.rl"
|
||||
{ k = strings.ToLower(data[mark:p]); fmt.Printf("key {%s}\n", k) }
|
||||
goto st9
|
||||
st9:
|
||||
p++
|
||||
if p == pe { goto _test_eof9 }
|
||||
fallthrough
|
||||
case 9:
|
||||
// line 161 "kparse.go"
|
||||
if data[p] == 32 { goto st10 }
|
||||
goto st0
|
||||
st10:
|
||||
p++
|
||||
if p == pe { goto _test_eof10 }
|
||||
fallthrough
|
||||
case 10:
|
||||
switch data[p] {
|
||||
case 32: goto tr11
|
||||
case 43: goto tr11
|
||||
case 61: goto tr11
|
||||
case 92: goto tr11
|
||||
}
|
||||
if data[p] < 46 {
|
||||
if 40 <= data[p] && data[p] <= 41 { goto tr11 }
|
||||
} else if data[p] > 57 {
|
||||
if data[p] > 90 {
|
||||
if 97 <= data[p] && data[p] <= 122 { goto tr11 }
|
||||
} else if data[p] >= 65 {
|
||||
goto tr11
|
||||
}
|
||||
} else {
|
||||
goto tr11
|
||||
}
|
||||
goto st0
|
||||
tr11:
|
||||
// line 24 "kparse.rl"
|
||||
{ mark = p }
|
||||
goto st11
|
||||
st11:
|
||||
p++
|
||||
if p == pe { goto _test_eof11 }
|
||||
fallthrough
|
||||
case 11:
|
||||
// line 196 "kparse.go"
|
||||
switch data[p] {
|
||||
case 10: goto tr12
|
||||
case 32: goto st11
|
||||
case 43: goto st11
|
||||
case 61: goto st11
|
||||
case 92: goto st11
|
||||
}
|
||||
if data[p] < 46 {
|
||||
if 40 <= data[p] && data[p] <= 41 { goto st11 }
|
||||
} else if data[p] > 57 {
|
||||
if data[p] > 90 {
|
||||
if 97 <= data[p] && data[p] <= 122 { goto st11 }
|
||||
} else if data[p] >= 65 {
|
||||
goto st11
|
||||
}
|
||||
} else {
|
||||
goto st11
|
||||
}
|
||||
goto st0
|
||||
st12:
|
||||
p++
|
||||
if p == pe { goto _test_eof12 }
|
||||
fallthrough
|
||||
case 12:
|
||||
switch data[p] {
|
||||
case 71: goto st13
|
||||
case 103: goto st13
|
||||
}
|
||||
goto st0
|
||||
st13:
|
||||
p++
|
||||
if p == pe { goto _test_eof13 }
|
||||
fallthrough
|
||||
case 13:
|
||||
switch data[p] {
|
||||
case 79: goto st14
|
||||
case 111: goto st14
|
||||
}
|
||||
goto st0
|
||||
st14:
|
||||
p++
|
||||
if p == pe { goto _test_eof14 }
|
||||
fallthrough
|
||||
case 14:
|
||||
switch data[p] {
|
||||
case 82: goto st15
|
||||
case 114: goto st15
|
||||
}
|
||||
goto st0
|
||||
st15:
|
||||
p++
|
||||
if p == pe { goto _test_eof15 }
|
||||
fallthrough
|
||||
case 15:
|
||||
switch data[p] {
|
||||
case 73: goto st16
|
||||
case 105: goto st16
|
||||
}
|
||||
goto st0
|
||||
st16:
|
||||
p++
|
||||
if p == pe { goto _test_eof16 }
|
||||
fallthrough
|
||||
case 16:
|
||||
switch data[p] {
|
||||
case 84: goto st17
|
||||
case 116: goto st17
|
||||
}
|
||||
goto st0
|
||||
st17:
|
||||
p++
|
||||
if p == pe { goto _test_eof17 }
|
||||
fallthrough
|
||||
case 17:
|
||||
switch data[p] {
|
||||
case 72: goto st18
|
||||
case 104: goto st18
|
||||
}
|
||||
goto st0
|
||||
st18:
|
||||
p++
|
||||
if p == pe { goto _test_eof18 }
|
||||
fallthrough
|
||||
case 18:
|
||||
switch data[p] {
|
||||
case 77: goto st8
|
||||
case 109: goto st8
|
||||
}
|
||||
goto st0
|
||||
tr73:
|
||||
// line 24 "kparse.rl"
|
||||
{ mark = p }
|
||||
goto st19
|
||||
st19:
|
||||
p++
|
||||
if p == pe { goto _test_eof19 }
|
||||
fallthrough
|
||||
case 19:
|
||||
// line 295 "kparse.go"
|
||||
switch data[p] {
|
||||
case 79: goto st20
|
||||
case 82: goto st29
|
||||
case 111: goto st20
|
||||
case 114: goto st29
|
||||
}
|
||||
goto st0
|
||||
st20:
|
||||
p++
|
||||
if p == pe { goto _test_eof20 }
|
||||
fallthrough
|
||||
case 20:
|
||||
switch data[p] {
|
||||
case 69: goto st21
|
||||
case 101: goto st21
|
||||
}
|
||||
goto st0
|
||||
st21:
|
||||
p++
|
||||
if p == pe { goto _test_eof21 }
|
||||
fallthrough
|
||||
case 21:
|
||||
switch data[p] {
|
||||
case 70: goto st22
|
||||
case 102: goto st22
|
||||
}
|
||||
goto st0
|
||||
st22:
|
||||
p++
|
||||
if p == pe { goto _test_eof22 }
|
||||
fallthrough
|
||||
case 22:
|
||||
switch data[p] {
|
||||
case 70: goto st23
|
||||
case 102: goto st23
|
||||
}
|
||||
goto st0
|
||||
st23:
|
||||
p++
|
||||
if p == pe { goto _test_eof23 }
|
||||
fallthrough
|
||||
case 23:
|
||||
switch data[p] {
|
||||
case 73: goto st24
|
||||
case 105: goto st24
|
||||
}
|
||||
goto st0
|
||||
st24:
|
||||
p++
|
||||
if p == pe { goto _test_eof24 }
|
||||
fallthrough
|
||||
case 24:
|
||||
switch data[p] {
|
||||
case 67: goto st25
|
||||
case 99: goto st25
|
||||
}
|
||||
goto st0
|
||||
st25:
|
||||
p++
|
||||
if p == pe { goto _test_eof25 }
|
||||
fallthrough
|
||||
case 25:
|
||||
switch data[p] {
|
||||
case 73: goto st26
|
||||
case 105: goto st26
|
||||
}
|
||||
goto st0
|
||||
st26:
|
||||
p++
|
||||
if p == pe { goto _test_eof26 }
|
||||
fallthrough
|
||||
case 26:
|
||||
switch data[p] {
|
||||
case 69: goto st27
|
||||
case 101: goto st27
|
||||
}
|
||||
goto st0
|
||||
st27:
|
||||
p++
|
||||
if p == pe { goto _test_eof27 }
|
||||
fallthrough
|
||||
case 27:
|
||||
switch data[p] {
|
||||
case 78: goto st28
|
||||
case 110: goto st28
|
||||
}
|
||||
goto st0
|
||||
st28:
|
||||
p++
|
||||
if p == pe { goto _test_eof28 }
|
||||
fallthrough
|
||||
case 28:
|
||||
switch data[p] {
|
||||
case 84: goto st8
|
||||
case 116: goto st8
|
||||
}
|
||||
goto st0
|
||||
st29:
|
||||
p++
|
||||
if p == pe { goto _test_eof29 }
|
||||
fallthrough
|
||||
case 29:
|
||||
switch data[p] {
|
||||
case 69: goto st30
|
||||
case 101: goto st30
|
||||
}
|
||||
goto st0
|
||||
st30:
|
||||
p++
|
||||
if p == pe { goto _test_eof30 }
|
||||
fallthrough
|
||||
case 30:
|
||||
switch data[p] {
|
||||
case 65: goto st31
|
||||
case 97: goto st31
|
||||
}
|
||||
goto st0
|
||||
st31:
|
||||
p++
|
||||
if p == pe { goto _test_eof31 }
|
||||
fallthrough
|
||||
case 31:
|
||||
switch data[p] {
|
||||
case 84: goto st32
|
||||
case 116: goto st32
|
||||
}
|
||||
goto st0
|
||||
st32:
|
||||
p++
|
||||
if p == pe { goto _test_eof32 }
|
||||
fallthrough
|
||||
case 32:
|
||||
switch data[p] {
|
||||
case 69: goto st33
|
||||
case 101: goto st33
|
||||
}
|
||||
goto st0
|
||||
st33:
|
||||
p++
|
||||
if p == pe { goto _test_eof33 }
|
||||
fallthrough
|
||||
case 33:
|
||||
switch data[p] {
|
||||
case 68: goto st8
|
||||
case 100: goto st8
|
||||
}
|
||||
goto st0
|
||||
tr74:
|
||||
// line 24 "kparse.rl"
|
||||
{ mark = p }
|
||||
goto st34
|
||||
st34:
|
||||
p++
|
||||
if p == pe { goto _test_eof34 }
|
||||
fallthrough
|
||||
case 34:
|
||||
// line 452 "kparse.go"
|
||||
switch data[p] {
|
||||
case 88: goto st35
|
||||
case 120: goto st35
|
||||
}
|
||||
goto st0
|
||||
st35:
|
||||
p++
|
||||
if p == pe { goto _test_eof35 }
|
||||
fallthrough
|
||||
case 35:
|
||||
switch data[p] {
|
||||
case 80: goto st36
|
||||
case 112: goto st36
|
||||
}
|
||||
goto st0
|
||||
st36:
|
||||
p++
|
||||
if p == pe { goto _test_eof36 }
|
||||
fallthrough
|
||||
case 36:
|
||||
switch data[p] {
|
||||
case 79: goto st37
|
||||
case 111: goto st37
|
||||
}
|
||||
goto st0
|
||||
st37:
|
||||
p++
|
||||
if p == pe { goto _test_eof37 }
|
||||
fallthrough
|
||||
case 37:
|
||||
switch data[p] {
|
||||
case 78: goto st38
|
||||
case 110: goto st38
|
||||
}
|
||||
goto st0
|
||||
st38:
|
||||
p++
|
||||
if p == pe { goto _test_eof38 }
|
||||
fallthrough
|
||||
case 38:
|
||||
switch data[p] {
|
||||
case 69: goto st39
|
||||
case 101: goto st39
|
||||
}
|
||||
goto st0
|
||||
st39:
|
||||
p++
|
||||
if p == pe { goto _test_eof39 }
|
||||
fallthrough
|
||||
case 39:
|
||||
switch data[p] {
|
||||
case 78: goto st40
|
||||
case 110: goto st40
|
||||
}
|
||||
goto st0
|
||||
st40:
|
||||
p++
|
||||
if p == pe { goto _test_eof40 }
|
||||
fallthrough
|
||||
case 40:
|
||||
switch data[p] {
|
||||
case 84: goto st41
|
||||
case 116: goto st41
|
||||
}
|
||||
goto st0
|
||||
st41:
|
||||
p++
|
||||
if p == pe { goto _test_eof41 }
|
||||
fallthrough
|
||||
case 41:
|
||||
if 49 <= data[p] && data[p] <= 50 { goto st8 }
|
||||
goto st0
|
||||
tr75:
|
||||
// line 24 "kparse.rl"
|
||||
{ mark = p }
|
||||
goto st42
|
||||
st42:
|
||||
p++
|
||||
if p == pe { goto _test_eof42 }
|
||||
fallthrough
|
||||
case 42:
|
||||
// line 534 "kparse.go"
|
||||
switch data[p] {
|
||||
case 79: goto st43
|
||||
case 111: goto st43
|
||||
}
|
||||
goto st0
|
||||
st43:
|
||||
p++
|
||||
if p == pe { goto _test_eof43 }
|
||||
fallthrough
|
||||
case 43:
|
||||
switch data[p] {
|
||||
case 68: goto st44
|
||||
case 100: goto st44
|
||||
}
|
||||
goto st0
|
||||
st44:
|
||||
p++
|
||||
if p == pe { goto _test_eof44 }
|
||||
fallthrough
|
||||
case 44:
|
||||
switch data[p] {
|
||||
case 85: goto st45
|
||||
case 117: goto st45
|
||||
}
|
||||
goto st0
|
||||
st45:
|
||||
p++
|
||||
if p == pe { goto _test_eof45 }
|
||||
fallthrough
|
||||
case 45:
|
||||
switch data[p] {
|
||||
case 76: goto st46
|
||||
case 108: goto st46
|
||||
}
|
||||
goto st0
|
||||
st46:
|
||||
p++
|
||||
if p == pe { goto _test_eof46 }
|
||||
fallthrough
|
||||
case 46:
|
||||
switch data[p] {
|
||||
case 85: goto st47
|
||||
case 117: goto st47
|
||||
}
|
||||
goto st0
|
||||
st47:
|
||||
p++
|
||||
if p == pe { goto _test_eof47 }
|
||||
fallthrough
|
||||
case 47:
|
||||
switch data[p] {
|
||||
case 83: goto st8
|
||||
case 115: goto st8
|
||||
}
|
||||
goto st0
|
||||
tr76:
|
||||
// line 24 "kparse.rl"
|
||||
{ mark = p }
|
||||
goto st48
|
||||
st48:
|
||||
p++
|
||||
if p == pe { goto _test_eof48 }
|
||||
fallthrough
|
||||
case 48:
|
||||
// line 599 "kparse.go"
|
||||
switch data[p] {
|
||||
case 82: goto st49
|
||||
case 85: goto st69
|
||||
case 114: goto st49
|
||||
case 117: goto st69
|
||||
}
|
||||
goto st0
|
||||
st49:
|
||||
p++
|
||||
if p == pe { goto _test_eof49 }
|
||||
fallthrough
|
||||
case 49:
|
||||
switch data[p] {
|
||||
case 73: goto st50
|
||||
case 105: goto st50
|
||||
}
|
||||
goto st0
|
||||
st50:
|
||||
p++
|
||||
if p == pe { goto _test_eof50 }
|
||||
fallthrough
|
||||
case 50:
|
||||
switch data[p] {
|
||||
case 77: goto st51
|
||||
case 86: goto st52
|
||||
case 109: goto st51
|
||||
case 118: goto st52
|
||||
}
|
||||
goto st0
|
||||
st51:
|
||||
p++
|
||||
if p == pe { goto _test_eof51 }
|
||||
fallthrough
|
||||
case 51:
|
||||
switch data[p] {
|
||||
case 69: goto st41
|
||||
case 101: goto st41
|
||||
}
|
||||
goto st0
|
||||
st52:
|
||||
p++
|
||||
if p == pe { goto _test_eof52 }
|
||||
fallthrough
|
||||
case 52:
|
||||
switch data[p] {
|
||||
case 65: goto st53
|
||||
case 97: goto st53
|
||||
}
|
||||
goto st0
|
||||
st53:
|
||||
p++
|
||||
if p == pe { goto _test_eof53 }
|
||||
fallthrough
|
||||
case 53:
|
||||
switch data[p] {
|
||||
case 84: goto st54
|
||||
case 116: goto st54
|
||||
}
|
||||
goto st0
|
||||
st54:
|
||||
p++
|
||||
if p == pe { goto _test_eof54 }
|
||||
fallthrough
|
||||
case 54:
|
||||
switch data[p] {
|
||||
case 69: goto st55
|
||||
case 101: goto st55
|
||||
}
|
||||
goto st0
|
||||
st55:
|
||||
p++
|
||||
if p == pe { goto _test_eof55 }
|
||||
fallthrough
|
||||
case 55:
|
||||
switch data[p] {
|
||||
case 45: goto st56
|
||||
case 69: goto st65
|
||||
case 101: goto st65
|
||||
}
|
||||
goto st0
|
||||
st56:
|
||||
p++
|
||||
if p == pe { goto _test_eof56 }
|
||||
fallthrough
|
||||
case 56:
|
||||
switch data[p] {
|
||||
case 75: goto st57
|
||||
case 107: goto st57
|
||||
}
|
||||
goto st0
|
||||
st57:
|
||||
p++
|
||||
if p == pe { goto _test_eof57 }
|
||||
fallthrough
|
||||
case 57:
|
||||
switch data[p] {
|
||||
case 69: goto st58
|
||||
case 101: goto st58
|
||||
}
|
||||
goto st0
|
||||
st58:
|
||||
p++
|
||||
if p == pe { goto _test_eof58 }
|
||||
fallthrough
|
||||
case 58:
|
||||
switch data[p] {
|
||||
case 89: goto st59
|
||||
case 121: goto st59
|
||||
}
|
||||
goto st0
|
||||
st59:
|
||||
p++
|
||||
if p == pe { goto _test_eof59 }
|
||||
fallthrough
|
||||
case 59:
|
||||
if data[p] == 45 { goto st60 }
|
||||
goto st0
|
||||
st60:
|
||||
p++
|
||||
if p == pe { goto _test_eof60 }
|
||||
fallthrough
|
||||
case 60:
|
||||
switch data[p] {
|
||||
case 70: goto st61
|
||||
case 102: goto st61
|
||||
}
|
||||
goto st0
|
||||
st61:
|
||||
p++
|
||||
if p == pe { goto _test_eof61 }
|
||||
fallthrough
|
||||
case 61:
|
||||
switch data[p] {
|
||||
case 79: goto st62
|
||||
case 111: goto st62
|
||||
}
|
||||
goto st0
|
||||
st62:
|
||||
p++
|
||||
if p == pe { goto _test_eof62 }
|
||||
fallthrough
|
||||
case 62:
|
||||
switch data[p] {
|
||||
case 82: goto st63
|
||||
case 114: goto st63
|
||||
}
|
||||
goto st0
|
||||
st63:
|
||||
p++
|
||||
if p == pe { goto _test_eof63 }
|
||||
fallthrough
|
||||
case 63:
|
||||
switch data[p] {
|
||||
case 77: goto st64
|
||||
case 109: goto st64
|
||||
}
|
||||
goto st0
|
||||
st64:
|
||||
p++
|
||||
if p == pe { goto _test_eof64 }
|
||||
fallthrough
|
||||
case 64:
|
||||
switch data[p] {
|
||||
case 65: goto st28
|
||||
case 97: goto st28
|
||||
}
|
||||
goto st0
|
||||
st65:
|
||||
p++
|
||||
if p == pe { goto _test_eof65 }
|
||||
fallthrough
|
||||
case 65:
|
||||
switch data[p] {
|
||||
case 88: goto st66
|
||||
case 120: goto st66
|
||||
}
|
||||
goto st0
|
||||
st66:
|
||||
p++
|
||||
if p == pe { goto _test_eof66 }
|
||||
fallthrough
|
||||
case 66:
|
||||
switch data[p] {
|
||||
case 80: goto st67
|
||||
case 112: goto st67
|
||||
}
|
||||
goto st0
|
||||
st67:
|
||||
p++
|
||||
if p == pe { goto _test_eof67 }
|
||||
fallthrough
|
||||
case 67:
|
||||
switch data[p] {
|
||||
case 79: goto st68
|
||||
case 111: goto st68
|
||||
}
|
||||
goto st0
|
||||
st68:
|
||||
p++
|
||||
if p == pe { goto _test_eof68 }
|
||||
fallthrough
|
||||
case 68:
|
||||
switch data[p] {
|
||||
case 78: goto st26
|
||||
case 110: goto st26
|
||||
}
|
||||
goto st0
|
||||
st69:
|
||||
p++
|
||||
if p == pe { goto _test_eof69 }
|
||||
fallthrough
|
||||
case 69:
|
||||
switch data[p] {
|
||||
case 66: goto st70
|
||||
case 98: goto st70
|
||||
}
|
||||
goto st0
|
||||
st70:
|
||||
p++
|
||||
if p == pe { goto _test_eof70 }
|
||||
fallthrough
|
||||
case 70:
|
||||
switch data[p] {
|
||||
case 76: goto st71
|
||||
case 108: goto st71
|
||||
}
|
||||
goto st0
|
||||
st71:
|
||||
p++
|
||||
if p == pe { goto _test_eof71 }
|
||||
fallthrough
|
||||
case 71:
|
||||
switch data[p] {
|
||||
case 73: goto st72
|
||||
case 105: goto st72
|
||||
}
|
||||
goto st0
|
||||
st72:
|
||||
p++
|
||||
if p == pe { goto _test_eof72 }
|
||||
fallthrough
|
||||
case 72:
|
||||
switch data[p] {
|
||||
case 67: goto st73
|
||||
case 83: goto st74
|
||||
case 99: goto st73
|
||||
case 115: goto st74
|
||||
}
|
||||
goto st0
|
||||
st73:
|
||||
p++
|
||||
if p == pe { goto _test_eof73 }
|
||||
fallthrough
|
||||
case 73:
|
||||
switch data[p] {
|
||||
case 69: goto st65
|
||||
case 101: goto st65
|
||||
}
|
||||
goto st0
|
||||
st74:
|
||||
p++
|
||||
if p == pe { goto _test_eof74 }
|
||||
fallthrough
|
||||
case 74:
|
||||
switch data[p] {
|
||||
case 72: goto st8
|
||||
case 104: goto st8
|
||||
}
|
||||
goto st0
|
||||
}
|
||||
_test_eof75: cs = 75; goto _test_eof;
|
||||
_test_eof1: cs = 1; goto _test_eof;
|
||||
_test_eof2: cs = 2; goto _test_eof;
|
||||
_test_eof3: cs = 3; goto _test_eof;
|
||||
_test_eof4: cs = 4; goto _test_eof;
|
||||
_test_eof5: cs = 5; goto _test_eof;
|
||||
_test_eof6: cs = 6; goto _test_eof;
|
||||
_test_eof7: cs = 7; goto _test_eof;
|
||||
_test_eof8: cs = 8; goto _test_eof;
|
||||
_test_eof9: cs = 9; goto _test_eof;
|
||||
_test_eof10: cs = 10; goto _test_eof;
|
||||
_test_eof11: cs = 11; goto _test_eof;
|
||||
_test_eof12: cs = 12; goto _test_eof;
|
||||
_test_eof13: cs = 13; goto _test_eof;
|
||||
_test_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_eof: {}
|
||||
_out: {}
|
||||
}
|
||||
|
||||
// line 53 "kparse.rl"
|
||||
|
||||
|
||||
if cs < z_first_final {
|
||||
// No clue what I'm doing what so ever
|
||||
if p == pe {
|
||||
//return nil, os.ErrorString("unexpected eof")
|
||||
println("err unexp eof")
|
||||
return m, nil
|
||||
} else {
|
||||
//return nil, os.ErrorString(fmt.Sprintf("error at position %d", p))
|
||||
println("err ", p, "data:", string(data[p]))
|
||||
return nil, nil
|
||||
}
|
||||
}
|
||||
return m, nil
|
||||
}
|
Loading…
Reference in New Issue