]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/asm: update comment to refer to #44505
authorhopehook <hopehook@qq.com>
Mon, 11 Apr 2022 10:38:08 +0000 (18:38 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 12 Apr 2022 23:50:58 +0000 (23:50 +0000)
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>

src/cmd/asm/internal/lex/tokenizer.go

index 861a2d421d5a81b7bb97b3ed6f5ac0038bb10b15..4db88e20c371e55c0a358a5b37d7b763c682a2f8 100644 (file)
@@ -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