Skip to content

Commit a1aa0a0

Browse files
authored
Merge pull request #69 from perrydunn/parse-aggregate-syntax-EnumValueOptions
Fix parsing EnumValueOptions wrt "Aggregate Syntax"
2 parents 6d78fe6 + c6deb0a commit a1aa0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser/enum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func (p *Parser) parseEnumValueOption() (*EnumValueOption, error) {
317317
return nil, p.unexpected("=")
318318
}
319319

320-
constant, _, err := p.lex.ReadConstant(p.permissive)
320+
constant, err := p.parseOptionConstant()
321321
if err != nil {
322322
return nil, err
323323
}

0 commit comments

Comments
 (0)