0
0
Fork 0

switch from go tool yacc to goyacc as of Go 1.8

does not imply need for Go 1.8 to use, just for developers
to regenerate the query parser
This commit is contained in:
Marty Schoch 2017-02-24 09:23:00 -05:00
parent 518abe742a
commit f6563ed9f5
1 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:generate go tool yacc -o query_string.y.go query_string.y
// as of Go 1.8 this requires the goyacc external tool
// available from golang.org/x/tools/cmd/goyacc
//go:generate goyacc -o query_string.y.go query_string.y
//go:generate sed -i.tmp -e 1d query_string.y.go
//go:generate rm query_string.y.go.tmp