go/scanner: use constant name rather than its value (cleanup)
go/scanner: use constant name rather than its value (cleanup)

Change-Id: I3fcd1683870f66a1d65e2acf0beaf1046e7f5446
Reviewed-on: https://go-review.googlesource.com/c/go/+/407535
Reviewed-by: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@google.com>
TryBot-Result: Gopher Robot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Auto-Submit: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@google.com>
Reviewed-by: David Chase <ae171625adc8645b8b79b7e405a6da5aba5341e0@google.com>
Run-TryBot: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@google.com>

golang/go,golang/go,golang/go,golang/go,golang/go,golang/go,golang/go,golang/go