cmd/goyacc: use a constant instead of zero value

Found with honnef.co/go/tools/cmd/unused.

Change-Id: I373d710e0f5f98dcf591826a26541d1d12696e14
Reviewed-on: https://go-review.googlesource.com/38175
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Tamir Duberstein 2017-03-14 15:50:13 -04:00 committed by Brad Fitzpatrick
parent ab34c5f581
commit 1f5953e340
1 changed files with 1 additions and 1 deletions

View File

@ -2279,7 +2279,7 @@ func output() {
// temp1[t] is changed to reflect the action
//
func precftn(r, t, s int) {
var action int
action := NOASC
lp := levprd[r]
lt := toklev[t]