]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/asm/internal/lex: fix comment, remove the first "has"
authorJes Cok <xigua67damn@gmail.com>
Thu, 29 Jun 2023 14:17:00 +0000 (14:17 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 29 Jun 2023 22:49:50 +0000 (22:49 +0000)
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>

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

index 8ee0c7035f173ed996eeb7cbe1865ec3cd2c560a..61b15dd963191f8145948ab7c3881386d327c196 100644 (file)
@@ -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
 }