mirror of
https://github.com/golang/go
synced 2024-10-04 23:11:21 -06:00
82e1651a24
This extends cmd/yacc with support for %error { tokens } : message syntax to specify custom error messages to use instead of the default generic ones. This allows merging go.errors into go.y and removing the yaccerrors.go tool. Updates #9968. Change-Id: I781219c568b86472755f877f48401eaeab00ead5 Reviewed-on: https://go-review.googlesource.com/8563 Reviewed-by: Russ Cox <rsc@golang.org> |
||
---|---|---|
.. | ||
testdata/expr | ||
doc.go | ||
yacc.go |