From 790e7e632e9aa4967cca476593d3aecbb1376b11 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sat, 20 Aug 2022 12:50:32 -0400 Subject: [PATCH] Removed recursive member parsing nonsense from type section --- parser/body.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/body.go b/parser/body.go index 5def988..3f181d9 100644 --- a/parser/body.go +++ b/parser/body.go @@ -27,7 +27,7 @@ func (parser *ParsingOperation) parseBody () (err error) { parser.tree.typeSections = make(map[string] *TypeSection) } - parser.tree.typeSections[section.root.name] = section + parser.tree.typeSections[section.name] = section if err != nil { return } case "face": case "enum":