aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm/internal
diff options
context:
space:
mode:
authorhopehook <hopehook@qq.com>2022-04-11 18:38:08 +0800
committerGopher Robot <gobot@golang.org>2022-04-12 23:50:58 +0000
commit65558a4f3da02fd7ad3d7ea93821c2a1be5508d7 (patch)
tree72131b1585ac28d25a7ebd41fd4726258e7319c6 /src/cmd/asm/internal
parent9c7f0b1ccd37b6f41a5326c451c633c92e93870c (diff)
downloadgo-65558a4f3da02fd7ad3d7ea93821c2a1be5508d7.tar.xz
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>
Diffstat (limited to 'src/cmd/asm/internal')
-rw-r--r--src/cmd/asm/internal/lex/tokenizer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/asm/internal/lex/tokenizer.go b/src/cmd/asm/internal/lex/tokenizer.go
index 861a2d421d..4db88e20c3 100644
--- a/src/cmd/asm/internal/lex/tokenizer.go
+++ b/src/cmd/asm/internal/lex/tokenizer.go
@@ -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