added support to enum in completion

This commit is contained in:
Martino Ferrari committed 2026-01-23 14:18:41 +01:00
1 parent ce9b68200e
commit 94ee7e4880
3 files changed
+166 -1

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ func (p *Parser) parseSubnode() (Subnode, bool) {
if t.Type == TokenEOF {
p.addError(t.Position, "unexpected EOF, expected }")
sub.EndPosition = t.Position
return sub, false
return sub, true
}
def, ok := p.parseDefinition()
if ok {