fixed sequence parsing not properly pulling whitespace the occurs just before the closing delimiter
This commit is contained in:
parent
81cebfd8dc
commit
5184bb2f26
3
parse.go
3
parse.go
@ -261,6 +261,9 @@ func PullSeq(rbuf *bufio.Reader) ([]GngType,error) {
|
||||
} else if (b == od) {
|
||||
rbuf.ReadByte()
|
||||
return r,nil
|
||||
} else if Whitespace.includes(b) {
|
||||
_,err := PullWhitespace(rbuf)
|
||||
if err != nil { return r,err }
|
||||
} else {
|
||||
el,err := PullElement(rbuf)
|
||||
if err != nil { return r,err }
|
||||
|
Loading…
Reference in New Issue
Block a user