go fmt ./...
This commit is contained in:
parent
b307273223
commit
4bd9c94f82
@ -13,6 +13,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type TokenType int
|
type TokenType int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
BareString TokenType = iota
|
BareString TokenType = iota
|
||||||
QuotedString
|
QuotedString
|
||||||
|
@ -5,8 +5,8 @@ package parse
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"io"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"io"
|
||||||
"strconv"
|
"strconv"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
@ -118,7 +118,6 @@ func (p *Parser) parseToken(tok *lex.Token) (types.Elem, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (p *Parser) readUntil(closer string) ([]types.Elem, error) {
|
func (p *Parser) readUntil(closer string) ([]types.Elem, error) {
|
||||||
series := make([]types.Elem, 0, 4)
|
series := make([]types.Elem, 0, 4)
|
||||||
for {
|
for {
|
||||||
|
Loading…
Reference in New Issue
Block a user