cmd/compile/internal/scanner: report correct directive string (fix build)

Change-Id: I01b244e97e4140545a46b3d494489a30126c2139
Reviewed-on: https://go-review.googlesource.com/c/go/+/222257
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Robert Griesemer 2020-03-05 12:55:44 -08:00
parent bda42a7a78
commit 55d4cbfbe1

View file

@ -704,7 +704,7 @@ func (s *scanner) rawString() {
} }
func (s *scanner) comment(text string) { func (s *scanner) comment(text string) {
s.errorAtf(0, text) s.errorAtf(0, "%s", text)
} }
func (s *scanner) skipLine() { func (s *scanner) skipLine() {