2017-09-17 19:23:49 -05:00
|
|
|
//line lexer.rl:1
|
|
|
|
|
|
|
|
// Copyright 2017 Baliance. All rights reserved.
|
|
|
|
//
|
|
|
|
// Use of this source code is governed by the terms of the Affero GNU General
|
|
|
|
// Public License version 3.0 as published by the Free Software Foundation and
|
|
|
|
// appearing in the file LICENSE included in the packaging of this file. A
|
|
|
|
// commercial license can be purchased by contacting sales@baliance.com.
|
|
|
|
|
|
|
|
package format
|
|
|
|
|
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
"log"
|
|
|
|
)
|
|
|
|
|
|
|
|
//line lexer.go:20
|
2017-09-18 22:36:53 -04:00
|
|
|
const format_start int = 16
|
|
|
|
const format_first_final int = 16
|
2017-09-17 19:23:49 -05:00
|
|
|
const format_error int = -1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
const format_en_main int = 16
|
2017-09-17 19:23:49 -05:00
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:96
|
2017-09-17 19:23:49 -05:00
|
|
|
func (l *Lexer) Lex(r io.Reader) {
|
|
|
|
cs, p, pe := 0, 0, 0
|
|
|
|
eof := -1
|
|
|
|
ts, te, act := 0, 0, 0
|
|
|
|
_ = te
|
|
|
|
_ = act
|
|
|
|
curline := 1
|
|
|
|
_ = curline
|
|
|
|
data := make([]byte, 4096)
|
|
|
|
|
|
|
|
done := false
|
|
|
|
for !done {
|
|
|
|
// p - index of next character to process
|
|
|
|
// pe - index of the end of the data
|
|
|
|
// eof - index of the end of the file
|
|
|
|
// ts - index of the start of the current token
|
|
|
|
// te - index of the end of the current token
|
|
|
|
|
|
|
|
// still have a partial token
|
|
|
|
rem := 0
|
|
|
|
if ts > 0 {
|
|
|
|
rem = p - ts
|
|
|
|
}
|
|
|
|
p = 0
|
|
|
|
n, err := r.Read(data[rem:])
|
|
|
|
if n == 0 || err != nil {
|
|
|
|
done = true
|
|
|
|
}
|
|
|
|
pe = n + rem
|
|
|
|
if pe < len(data) {
|
|
|
|
eof = pe
|
|
|
|
}
|
|
|
|
|
|
|
|
//line lexer.go:64
|
|
|
|
{
|
|
|
|
cs = format_start
|
|
|
|
ts = 0
|
|
|
|
te = 0
|
|
|
|
act = 0
|
|
|
|
}
|
|
|
|
|
|
|
|
//line lexer.go:72
|
|
|
|
{
|
|
|
|
if p == pe {
|
|
|
|
goto _test_eof
|
|
|
|
}
|
|
|
|
switch cs {
|
|
|
|
case 16:
|
|
|
|
goto st_case_16
|
|
|
|
case 17:
|
|
|
|
goto st_case_17
|
2017-09-18 22:36:53 -04:00
|
|
|
case 0:
|
|
|
|
goto st_case_0
|
2017-09-17 19:23:49 -05:00
|
|
|
case 18:
|
|
|
|
goto st_case_18
|
|
|
|
case 19:
|
|
|
|
goto st_case_19
|
2017-09-18 22:36:53 -04:00
|
|
|
case 1:
|
|
|
|
goto st_case_1
|
|
|
|
case 20:
|
|
|
|
goto st_case_20
|
2017-09-17 19:23:49 -05:00
|
|
|
case 2:
|
|
|
|
goto st_case_2
|
2017-09-18 22:36:53 -04:00
|
|
|
case 21:
|
|
|
|
goto st_case_21
|
2017-09-17 19:23:49 -05:00
|
|
|
case 3:
|
|
|
|
goto st_case_3
|
|
|
|
case 4:
|
|
|
|
goto st_case_4
|
|
|
|
case 5:
|
|
|
|
goto st_case_5
|
|
|
|
case 6:
|
|
|
|
goto st_case_6
|
|
|
|
case 7:
|
|
|
|
goto st_case_7
|
|
|
|
case 22:
|
|
|
|
goto st_case_22
|
2017-09-18 22:36:53 -04:00
|
|
|
case 8:
|
|
|
|
goto st_case_8
|
2017-09-17 19:23:49 -05:00
|
|
|
case 23:
|
|
|
|
goto st_case_23
|
|
|
|
case 24:
|
|
|
|
goto st_case_24
|
|
|
|
case 25:
|
|
|
|
goto st_case_25
|
2017-09-18 22:36:53 -04:00
|
|
|
case 26:
|
|
|
|
goto st_case_26
|
|
|
|
case 27:
|
|
|
|
goto st_case_27
|
2017-09-17 19:23:49 -05:00
|
|
|
case 9:
|
|
|
|
goto st_case_9
|
|
|
|
case 10:
|
|
|
|
goto st_case_10
|
|
|
|
case 11:
|
|
|
|
goto st_case_11
|
|
|
|
case 12:
|
|
|
|
goto st_case_12
|
|
|
|
case 13:
|
|
|
|
goto st_case_13
|
|
|
|
case 28:
|
|
|
|
goto st_case_28
|
2017-09-18 22:36:53 -04:00
|
|
|
case 14:
|
|
|
|
goto st_case_14
|
2017-09-17 19:23:49 -05:00
|
|
|
case 29:
|
|
|
|
goto st_case_29
|
2017-09-18 22:36:53 -04:00
|
|
|
case 15:
|
|
|
|
goto st_case_15
|
2017-09-17 19:23:49 -05:00
|
|
|
case 30:
|
|
|
|
goto st_case_30
|
2017-09-18 22:36:53 -04:00
|
|
|
case 31:
|
|
|
|
goto st_case_31
|
|
|
|
case 32:
|
|
|
|
goto st_case_32
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
|
|
|
goto st_out
|
|
|
|
tr0:
|
|
|
|
//line NONE:1
|
|
|
|
switch act {
|
2017-09-18 22:36:53 -04:00
|
|
|
case 12:
|
2017-09-17 19:23:49 -05:00
|
|
|
{
|
|
|
|
p = (te) - 1
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeDate, data[ts:te])
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
case 13:
|
2017-09-17 19:23:49 -05:00
|
|
|
{
|
|
|
|
p = (te) - 1
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeTime, data[ts:te])
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
case 14:
|
2017-09-17 19:23:49 -05:00
|
|
|
{
|
|
|
|
p = (te) - 1
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeTime, data[ts:te])
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
case 16:
|
2017-09-17 19:23:49 -05:00
|
|
|
{
|
|
|
|
p = (te) - 1
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
case 18:
|
2017-09-17 19:23:49 -05:00
|
|
|
{
|
|
|
|
p = (te) - 1
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeLiteral, data[ts:te])
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
case 19:
|
2017-09-17 19:23:49 -05:00
|
|
|
{
|
|
|
|
p = (te) - 1
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeLiteral, data[ts+1:te-1])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
2017-09-17 19:23:49 -05:00
|
|
|
tr3:
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:73
|
2017-09-17 19:23:49 -05:00
|
|
|
p = (te) - 1
|
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.AddPlaceholder(FmtTypeDigitOpt, nil)
|
|
|
|
}
|
|
|
|
goto st16
|
|
|
|
tr4:
|
|
|
|
//line lexer.rl:71
|
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeDigitOptThousands, nil)
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr5:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line lexer.rl:84
|
|
|
|
p = (te) - 1
|
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.AddPlaceholder(FmtTypeDate, data[ts:te])
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
2017-09-17 19:23:49 -05:00
|
|
|
tr12:
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:85
|
2017-09-17 19:23:49 -05:00
|
|
|
p = (te) - 1
|
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.AddPlaceholder(FmtTypeTime, data[ts:te])
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr14:
|
|
|
|
//line lexer.rl:91
|
|
|
|
p = (te) - 1
|
2017-09-17 19:23:49 -05:00
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.AddPlaceholder(FmtTypeLiteral, data[ts:te])
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr19:
|
|
|
|
//line lexer.rl:81
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.isGeneral = true
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
2017-09-17 19:23:49 -05:00
|
|
|
tr23:
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:91
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.AddPlaceholder(FmtTypeLiteral, data[ts:te])
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr26:
|
|
|
|
//line lexer.rl:78
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeDollar, nil)
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr27:
|
|
|
|
//line lexer.rl:77
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypePercent, nil)
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr28:
|
|
|
|
//line lexer.rl:76
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeComma, nil)
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr29:
|
|
|
|
//line lexer.rl:75
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeDecimal, nil)
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr30:
|
|
|
|
//line lexer.rl:72
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeDigit, nil)
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr31:
|
|
|
|
//line lexer.rl:80
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.nextFmt()
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr32:
|
|
|
|
//line lexer.rl:74
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr38:
|
|
|
|
//line lexer.rl:79
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeUnderscore, nil)
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr42:
|
|
|
|
//line lexer.rl:91
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p
|
|
|
|
p--
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeLiteral, data[ts:te])
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr43:
|
|
|
|
//line lexer.rl:92
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p
|
|
|
|
p--
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeLiteral, data[ts+1:te-1])
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr44:
|
|
|
|
//line lexer.rl:73
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p
|
|
|
|
p--
|
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.AddPlaceholder(FmtTypeDigitOpt, nil)
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr46:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line lexer.rl:84
|
|
|
|
te = p
|
|
|
|
p--
|
|
|
|
{
|
2017-09-18 22:36:53 -04:00
|
|
|
l.fmt.AddPlaceholder(FmtTypeDate, data[ts:te])
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
2017-09-17 19:23:49 -05:00
|
|
|
tr48:
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:85
|
|
|
|
te = p
|
|
|
|
p--
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeTime, data[ts:te])
|
|
|
|
}
|
|
|
|
goto st16
|
|
|
|
tr52:
|
|
|
|
//line lexer.rl:87
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.IsExponential = true
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
tr55:
|
|
|
|
//line lexer.rl:90
|
2017-09-17 19:23:49 -05:00
|
|
|
te = p + 1
|
|
|
|
{
|
|
|
|
l.fmt.AddPlaceholder(FmtTypeLiteral, data[ts+1:te])
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st16
|
|
|
|
st16:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
ts = 0
|
|
|
|
|
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof16
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_16:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
ts = p
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.go:296
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 34:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr24
|
2017-09-17 19:23:49 -05:00
|
|
|
case 35:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr25
|
2017-09-17 19:23:49 -05:00
|
|
|
case 36:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr26
|
2017-09-17 19:23:49 -05:00
|
|
|
case 37:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr27
|
2017-09-17 19:23:49 -05:00
|
|
|
case 44:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr28
|
2017-09-17 19:23:49 -05:00
|
|
|
case 46:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr29
|
2017-09-17 19:23:49 -05:00
|
|
|
case 47:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr6
|
2017-09-17 19:23:49 -05:00
|
|
|
case 48:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr30
|
2017-09-17 19:23:49 -05:00
|
|
|
case 58:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 59:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr31
|
2017-09-17 19:23:49 -05:00
|
|
|
case 63:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr32
|
2017-09-17 19:23:49 -05:00
|
|
|
case 65:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr33
|
2017-09-17 19:23:49 -05:00
|
|
|
case 69:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st26
|
2017-09-17 19:23:49 -05:00
|
|
|
case 71:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr35
|
2017-09-17 19:23:49 -05:00
|
|
|
case 91:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr36
|
2017-09-17 19:23:49 -05:00
|
|
|
case 92:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st30
|
2017-09-17 19:23:49 -05:00
|
|
|
case 95:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr38
|
2017-09-17 19:23:49 -05:00
|
|
|
case 100:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr6
|
2017-09-17 19:23:49 -05:00
|
|
|
case 104:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 109:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr39
|
2017-09-17 19:23:49 -05:00
|
|
|
case 115:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr40
|
2017-09-17 19:23:49 -05:00
|
|
|
case 121:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st32
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr23
|
|
|
|
tr24:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:91
|
|
|
|
act = 18
|
|
|
|
goto st17
|
|
|
|
st17:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof17
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_17:
|
|
|
|
//line lexer.go:356
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 34 {
|
|
|
|
goto tr2
|
|
|
|
}
|
|
|
|
goto st0
|
|
|
|
st0:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof0
|
|
|
|
}
|
|
|
|
st_case_0:
|
|
|
|
if data[p] == 34 {
|
|
|
|
goto tr2
|
|
|
|
}
|
|
|
|
goto st0
|
|
|
|
tr2:
|
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:92
|
|
|
|
act = 19
|
|
|
|
goto st18
|
|
|
|
st18:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof18
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_18:
|
|
|
|
//line lexer.go:382
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 34 {
|
|
|
|
goto st0
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr43
|
|
|
|
tr25:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st19
|
|
|
|
st19:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof19
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_19:
|
|
|
|
//line lexer.go:397
|
|
|
|
if data[p] == 44 {
|
2017-09-17 19:23:49 -05:00
|
|
|
goto st1
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr44
|
2017-09-17 19:23:49 -05:00
|
|
|
st1:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof1
|
|
|
|
}
|
|
|
|
st_case_1:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 35 {
|
2017-09-17 19:23:49 -05:00
|
|
|
goto tr4
|
|
|
|
}
|
|
|
|
goto tr3
|
2017-09-18 22:36:53 -04:00
|
|
|
tr6:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st20
|
|
|
|
st20:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof20
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_20:
|
|
|
|
//line lexer.go:421
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
2017-09-18 22:36:53 -04:00
|
|
|
case 47:
|
|
|
|
goto tr6
|
|
|
|
case 100:
|
|
|
|
goto tr6
|
2017-09-17 19:23:49 -05:00
|
|
|
case 109:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr6
|
|
|
|
case 121:
|
|
|
|
goto st2
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr46
|
2017-09-17 19:23:49 -05:00
|
|
|
st2:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof2
|
|
|
|
}
|
|
|
|
st_case_2:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 121 {
|
|
|
|
goto tr6
|
|
|
|
}
|
|
|
|
goto tr5
|
|
|
|
tr9:
|
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
|
|
|
//line lexer.rl:85
|
|
|
|
act = 13
|
|
|
|
goto st21
|
|
|
|
st21:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof21
|
|
|
|
}
|
|
|
|
st_case_21:
|
|
|
|
//line lexer.go:454
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
2017-09-18 22:36:53 -04:00
|
|
|
case 58:
|
|
|
|
goto tr9
|
|
|
|
case 65:
|
2017-09-17 19:23:49 -05:00
|
|
|
goto st3
|
2017-09-18 22:36:53 -04:00
|
|
|
case 104:
|
|
|
|
goto tr9
|
|
|
|
case 109:
|
|
|
|
goto tr9
|
|
|
|
case 115:
|
|
|
|
goto tr40
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr48
|
2017-09-17 19:23:49 -05:00
|
|
|
st3:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof3
|
|
|
|
}
|
|
|
|
st_case_3:
|
2017-09-18 22:36:53 -04:00
|
|
|
switch data[p] {
|
|
|
|
case 47:
|
|
|
|
goto st4
|
|
|
|
case 77:
|
|
|
|
goto st5
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
|
|
|
goto tr0
|
|
|
|
st4:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof4
|
|
|
|
}
|
|
|
|
st_case_4:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 80 {
|
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
|
|
|
goto tr0
|
|
|
|
st5:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof5
|
|
|
|
}
|
|
|
|
st_case_5:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 47 {
|
2017-09-17 19:23:49 -05:00
|
|
|
goto st6
|
|
|
|
}
|
|
|
|
goto tr0
|
|
|
|
st6:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof6
|
|
|
|
}
|
|
|
|
st_case_6:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 80 {
|
|
|
|
goto st7
|
|
|
|
}
|
|
|
|
goto tr0
|
|
|
|
st7:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof7
|
|
|
|
}
|
|
|
|
st_case_7:
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 77 {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
|
|
|
goto tr0
|
2017-09-18 22:36:53 -04:00
|
|
|
tr40:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:85
|
|
|
|
act = 13
|
|
|
|
goto st22
|
|
|
|
st22:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof22
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_22:
|
|
|
|
//line lexer.go:528
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 46:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st8
|
2017-09-17 19:23:49 -05:00
|
|
|
case 58:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 65:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st3
|
2017-09-17 19:23:49 -05:00
|
|
|
case 104:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 109:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 115:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr40
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr48
|
|
|
|
st8:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof8
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_8:
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 48 {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr13
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr12
|
|
|
|
tr13:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:85
|
|
|
|
act = 13
|
|
|
|
goto st23
|
|
|
|
st23:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof23
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_23:
|
|
|
|
//line lexer.go:565
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 48:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr51
|
2017-09-17 19:23:49 -05:00
|
|
|
case 58:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 65:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st3
|
2017-09-17 19:23:49 -05:00
|
|
|
case 104:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 109:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 115:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr40
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr48
|
|
|
|
tr51:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:85
|
|
|
|
act = 13
|
|
|
|
goto st24
|
|
|
|
st24:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof24
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_24:
|
|
|
|
//line lexer.go:593
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 48:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 58:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 65:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st3
|
2017-09-17 19:23:49 -05:00
|
|
|
case 104:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 109:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 115:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr40
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr48
|
|
|
|
tr33:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:91
|
|
|
|
act = 18
|
|
|
|
goto st25
|
|
|
|
st25:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof25
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_25:
|
|
|
|
//line lexer.go:621
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 47:
|
|
|
|
goto st4
|
2017-09-18 22:36:53 -04:00
|
|
|
case 77:
|
|
|
|
goto st5
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr42
|
|
|
|
st26:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof26
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_26:
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 43:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr52
|
2017-09-17 19:23:49 -05:00
|
|
|
case 45:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr52
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr42
|
|
|
|
tr35:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st27
|
|
|
|
st27:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof27
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_27:
|
|
|
|
//line lexer.go:651
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 101 {
|
|
|
|
goto st9
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr42
|
2017-09-17 19:23:49 -05:00
|
|
|
st9:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof9
|
|
|
|
}
|
|
|
|
st_case_9:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 110 {
|
2017-09-17 19:23:49 -05:00
|
|
|
goto st10
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
st10:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof10
|
|
|
|
}
|
|
|
|
st_case_10:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 101 {
|
2017-09-17 19:23:49 -05:00
|
|
|
goto st11
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
st11:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof11
|
|
|
|
}
|
|
|
|
st_case_11:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 114 {
|
2017-09-17 19:23:49 -05:00
|
|
|
goto st12
|
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
st12:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof12
|
|
|
|
}
|
|
|
|
st_case_12:
|
2017-09-18 22:36:53 -04:00
|
|
|
if data[p] == 97 {
|
|
|
|
goto st13
|
|
|
|
}
|
|
|
|
goto tr14
|
|
|
|
st13:
|
|
|
|
if p++; p == pe {
|
|
|
|
goto _test_eof13
|
|
|
|
}
|
|
|
|
st_case_13:
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 108 {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr19
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
|
|
|
tr36:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:91
|
|
|
|
act = 18
|
|
|
|
goto st28
|
|
|
|
st28:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof28
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_28:
|
|
|
|
//line lexer.go:713
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 104:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st15
|
2017-09-17 19:23:49 -05:00
|
|
|
case 109:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st15
|
2017-09-17 19:23:49 -05:00
|
|
|
case 115:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st15
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st14
|
|
|
|
st14:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof14
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_14:
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 93 {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr21
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st14
|
|
|
|
tr21:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:88
|
|
|
|
act = 16
|
|
|
|
goto st29
|
|
|
|
tr22:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:86
|
|
|
|
act = 14
|
|
|
|
goto st29
|
|
|
|
st29:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof29
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_29:
|
|
|
|
//line lexer.go:751
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 93 {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr21
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st14
|
|
|
|
st15:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof15
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_15:
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 93 {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr22
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st14
|
|
|
|
st30:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof30
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_30:
|
|
|
|
goto tr55
|
|
|
|
tr39:
|
2017-09-17 19:23:49 -05:00
|
|
|
//line NONE:1
|
|
|
|
te = p + 1
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:84
|
|
|
|
act = 12
|
|
|
|
goto st31
|
|
|
|
st31:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof31
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_31:
|
|
|
|
//line lexer.go:783
|
2017-09-17 19:23:49 -05:00
|
|
|
switch data[p] {
|
|
|
|
case 47:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr6
|
2017-09-17 19:23:49 -05:00
|
|
|
case 58:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 65:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st3
|
2017-09-17 19:23:49 -05:00
|
|
|
case 100:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr6
|
2017-09-17 19:23:49 -05:00
|
|
|
case 104:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr9
|
2017-09-17 19:23:49 -05:00
|
|
|
case 109:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr39
|
2017-09-17 19:23:49 -05:00
|
|
|
case 115:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr40
|
2017-09-17 19:23:49 -05:00
|
|
|
case 121:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto st2
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr46
|
|
|
|
st32:
|
2017-09-17 19:23:49 -05:00
|
|
|
if p++; p == pe {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto _test_eof32
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
st_case_32:
|
2017-09-17 19:23:49 -05:00
|
|
|
if data[p] == 121 {
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr6
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr42
|
2017-09-17 19:23:49 -05:00
|
|
|
st_out:
|
|
|
|
_test_eof16:
|
|
|
|
cs = 16
|
|
|
|
goto _test_eof
|
|
|
|
_test_eof17:
|
|
|
|
cs = 17
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof0:
|
|
|
|
cs = 0
|
|
|
|
goto _test_eof
|
2017-09-17 19:23:49 -05:00
|
|
|
_test_eof18:
|
|
|
|
cs = 18
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof19:
|
|
|
|
cs = 19
|
|
|
|
goto _test_eof
|
2017-09-17 19:23:49 -05:00
|
|
|
_test_eof1:
|
|
|
|
cs = 1
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof20:
|
|
|
|
cs = 20
|
2017-09-17 19:23:49 -05:00
|
|
|
goto _test_eof
|
|
|
|
_test_eof2:
|
|
|
|
cs = 2
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof21:
|
|
|
|
cs = 21
|
|
|
|
goto _test_eof
|
2017-09-17 19:23:49 -05:00
|
|
|
_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_eof22:
|
|
|
|
cs = 22
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof8:
|
|
|
|
cs = 8
|
|
|
|
goto _test_eof
|
2017-09-17 19:23:49 -05:00
|
|
|
_test_eof23:
|
|
|
|
cs = 23
|
|
|
|
goto _test_eof
|
|
|
|
_test_eof24:
|
|
|
|
cs = 24
|
|
|
|
goto _test_eof
|
|
|
|
_test_eof25:
|
|
|
|
cs = 25
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof26:
|
|
|
|
cs = 26
|
|
|
|
goto _test_eof
|
|
|
|
_test_eof27:
|
|
|
|
cs = 27
|
2017-09-17 19:23:49 -05:00
|
|
|
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
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof28:
|
|
|
|
cs = 28
|
2017-09-17 19:23:49 -05:00
|
|
|
goto _test_eof
|
|
|
|
_test_eof14:
|
|
|
|
cs = 14
|
|
|
|
goto _test_eof
|
|
|
|
_test_eof29:
|
|
|
|
cs = 29
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof15:
|
|
|
|
cs = 15
|
|
|
|
goto _test_eof
|
2017-09-17 19:23:49 -05:00
|
|
|
_test_eof30:
|
|
|
|
cs = 30
|
|
|
|
goto _test_eof
|
2017-09-18 22:36:53 -04:00
|
|
|
_test_eof31:
|
|
|
|
cs = 31
|
|
|
|
goto _test_eof
|
|
|
|
_test_eof32:
|
|
|
|
cs = 32
|
|
|
|
goto _test_eof
|
2017-09-17 19:23:49 -05:00
|
|
|
|
|
|
|
_test_eof:
|
|
|
|
{
|
|
|
|
}
|
|
|
|
if p == eof {
|
|
|
|
switch cs {
|
2017-09-18 22:36:53 -04:00
|
|
|
case 17:
|
|
|
|
goto tr42
|
2017-09-17 19:23:49 -05:00
|
|
|
case 0:
|
|
|
|
goto tr0
|
|
|
|
case 18:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr43
|
2017-09-17 19:23:49 -05:00
|
|
|
case 19:
|
|
|
|
goto tr44
|
2017-09-18 22:36:53 -04:00
|
|
|
case 1:
|
|
|
|
goto tr3
|
|
|
|
case 20:
|
|
|
|
goto tr46
|
2017-09-17 19:23:49 -05:00
|
|
|
case 2:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr5
|
|
|
|
case 21:
|
|
|
|
goto tr48
|
2017-09-17 19:23:49 -05:00
|
|
|
case 3:
|
|
|
|
goto tr0
|
|
|
|
case 4:
|
|
|
|
goto tr0
|
|
|
|
case 5:
|
|
|
|
goto tr0
|
|
|
|
case 6:
|
|
|
|
goto tr0
|
|
|
|
case 7:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr0
|
2017-09-17 19:23:49 -05:00
|
|
|
case 22:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr48
|
|
|
|
case 8:
|
|
|
|
goto tr12
|
2017-09-17 19:23:49 -05:00
|
|
|
case 23:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr48
|
2017-09-17 19:23:49 -05:00
|
|
|
case 24:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr48
|
2017-09-17 19:23:49 -05:00
|
|
|
case 25:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr42
|
|
|
|
case 26:
|
|
|
|
goto tr42
|
|
|
|
case 27:
|
|
|
|
goto tr42
|
2017-09-17 19:23:49 -05:00
|
|
|
case 9:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
case 10:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
case 11:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
case 12:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
case 13:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
case 28:
|
|
|
|
goto tr42
|
2017-09-18 22:36:53 -04:00
|
|
|
case 14:
|
|
|
|
goto tr0
|
|
|
|
case 29:
|
|
|
|
goto tr0
|
|
|
|
case 15:
|
|
|
|
goto tr14
|
2017-09-17 19:23:49 -05:00
|
|
|
case 30:
|
2017-09-18 22:36:53 -04:00
|
|
|
goto tr42
|
|
|
|
case 31:
|
|
|
|
goto tr46
|
|
|
|
case 32:
|
|
|
|
goto tr42
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-09-18 22:36:53 -04:00
|
|
|
//line lexer.rl:133
|
2017-09-17 19:23:49 -05:00
|
|
|
if ts > 0 {
|
|
|
|
// currently parsing a token, so shift it to the
|
|
|
|
// beginning of the buffer
|
|
|
|
copy(data[0:], data[ts:])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_ = eof
|
|
|
|
if cs == format_error {
|
2017-09-18 22:36:53 -04:00
|
|
|
log.Printf("format parse error")
|
2017-09-17 19:23:49 -05:00
|
|
|
}
|
|
|
|
}
|