From ff04433ad5521ea4ad263e9cd0804be24ba180bb Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 16 Sep 2022 18:27:26 -0400 Subject: [PATCH] The parser now steps past > --- parser/data_test.go | 1 + parser/type-notation.go | 3 +++ 2 files changed, 4 insertions(+) diff --git a/parser/data_test.go b/parser/data_test.go index 9bcb0ee..7101357 100644 --- a/parser/data_test.go +++ b/parser/data_test.go @@ -34,6 +34,7 @@ data ro jObject:Obj: data ro kNestedObject:Obj: ( .ro newMember:Int:<9023> + ) .this: ( .bird0:<324> diff --git a/parser/type-notation.go b/parser/type-notation.go index 2788a73..ce87672 100644 --- a/parser/type-notation.go +++ b/parser/type-notation.go @@ -257,6 +257,9 @@ func (parser *ParsingOperation) parseObjectInheritedMember () ( value, err = parser.parseObjectDefaultValue() if err != nil { return } } + + err = parser.nextToken() + if err != nil { return } return }