From 5184bb2f26dd9e299705e374d8c2fee02dfb2428 Mon Sep 17 00:00:00 2001 From: mediocregopher Date: Mon, 27 May 2013 01:08:23 -0400 Subject: [PATCH] fixed sequence parsing not properly pulling whitespace the occurs just before the closing delimiter --- parse.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parse.go b/parse.go index 180779a..a85b982 100644 --- a/parse.go +++ b/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 }