Skip to content

Commit 9913977

Browse files
authored
More precise "go generate" directive (#226)
1 parent 72d7e68 commit 9913977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parser/parser.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import (
2525
"github.com/bufbuild/protocompile/reporter"
2626
)
2727

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

3031
func init() {
3132
protoErrorVerbose = true

0 commit comments

Comments
 (0)