mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
bda42a7a78
commit
55d4cbfbe1
1 changed files with 1 additions and 1 deletions
|
|
@ -704,7 +704,7 @@ func (s *scanner) rawString() {
|
|||
}
|
||||
|
||||
func (s *scanner) comment(text string) {
|
||||
s.errorAtf(0, text)
|
||||
s.errorAtf(0, "%s", text)
|
||||
}
|
||||
|
||||
func (s *scanner) skipLine() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue