Skip to content

Commit

Permalink
More precise "go generate" directive (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhump authored Jan 17, 2024
1 parent 72d7e68 commit 9913977
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import (
"github.com/bufbuild/protocompile/reporter"
)

//go:generate goyacc -o proto.y.go -l -p proto proto.y
// The path ../.tmp/bin/goyacc is built when using `make generate` from repo root.
//go:generate ../.tmp/bin/goyacc -o proto.y.go -l -p proto proto.y

func init() {
protoErrorVerbose = true
Expand Down

0 comments on commit 9913977

Please sign in to comment.