mirror of
https://github.com/golang/go
synced 2024-11-17 03:04:44 -07:00
cmd/asm: update comment to refer to #44505
Updates #44505 Change-Id: I400110c33e69decf133fe9c4b582a450b7258b39 Reviewed-on: https://go-review.googlesource.com/c/go/+/399514 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
9c7f0b1ccd
commit
65558a4f3d
@ -109,7 +109,7 @@ func (t *Tokenizer) Next() ScanToken {
|
||||
}
|
||||
text := s.TokenText()
|
||||
t.line += strings.Count(text, "\n")
|
||||
// TODO: Use constraint.IsGoBuild once it exists.
|
||||
// TODO: Use constraint.IsGoBuild once #44505 fixed.
|
||||
if strings.HasPrefix(text, "//go:build") {
|
||||
t.tok = BuildComment
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user