Skip to content

Commit 34268e4

Browse files
author
udhos
committed
Catching up with go install for goyacc in newer Go 1.17.
1 parent 39f649c commit 34268e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ https://github.com/udhos/basgo/releases
9191
The recipe below will install 'basgo-build' under "~/go/bin".
9292

9393
# if you don't have goyacc yet
94-
go get -d modernc.org/goyacc ;# if Go < 1.17
95-
go install modernc.org/goyacc ;# if Go >= 1.17
94+
go get -d modernc.org/goyacc ;# if Go < 1.17
95+
go install modernc.org/goyacc@latest ;# if Go >= 1.17
9696

9797
git clone https://github.com/udhos/basgo
9898
cd basgo

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ build() {
2020
}
2121

2222
#go get golang.org/x/tools/cmd/goyacc
23-
go install modernc.org/goyacc ;# supports %precedence
23+
go install modernc.org/goyacc@latest ;# supports %precedence
2424
#goyacc -o ./basparser/parser.go -p Input ./basparser/parser.y
2525
go generate ./basparser ;# see ./basparser/generate.go
2626

0 commit comments

Comments
 (0)