Skip to content

Commit

Permalink
(f) participle usage change
Browse files Browse the repository at this point in the history
  • Loading branch information
ont committed Sep 22, 2020
1 parent 1da7a6b commit bc7397c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/grammar.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Param struct {
func NewGrammar(reader io.Reader) *Grammar {
var grammar Grammar

parser := participle.MustBuild(&Grammar{}, nil)
parser := participle.MustBuild(&Grammar{})
parser.Parse(reader, &grammar)

return &grammar
Expand Down

0 comments on commit bc7397c

Please sign in to comment.