aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2023-06-29 14:17:00 +0000
committerGopher Robot <gobot@golang.org>2023-06-29 22:49:50 +0000
commit683f51d3071abe8dbe13ef877595825b469f30e3 (patch)
treec11dfc514d1e432ac42419f3795e9c947d7ff3c1
parent2db31efdba131a411474608ebcf96cc964f8032b (diff)
downloadgo-683f51d3071abe8dbe13ef877595825b469f30e3.tar.gz
go-683f51d3071abe8dbe13ef877595825b469f30e3.zip
cmd/asm/internal/lex: fix comment, remove the first "has"
Change-Id: I429f0fa6c99ef576fe83c7bd0d1c1e176ecbb179 GitHub-Last-Rev: fb581b7f271f026182de0737c4fe5c360d5dea96 GitHub-Pull-Request: golang/go#61066 Reviewed-on: https://go-review.googlesource.com/c/go/+/507097 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com>
-rw-r--r--src/cmd/asm/internal/lex/slice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/asm/internal/lex/slice.go b/src/cmd/asm/internal/lex/slice.go
index 8ee0c7035f..61b15dd963 100644
--- a/src/cmd/asm/internal/lex/slice.go
+++ b/src/cmd/asm/internal/lex/slice.go
@@ -65,7 +65,7 @@ func (s *Slice) Col() int {
// #define A #define B(x) x
// and
// #define A #define B (x) x
- // The first has definition of B has an argument, the second doesn't. Because we let
+ // The first definition of B has an argument, the second doesn't. Because we let
// text/scanner strip the blanks for us, this is extremely rare, hard to fix, and not worth it.
return s.pos
}