]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/cgo: "not-type" means "is not a type", not "is a type"
authorMatthew Dempsky <mdempsky@google.com>
Fri, 1 May 2020 18:44:31 +0000 (11:44 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 1 May 2020 18:47:23 +0000 (18:47 +0000)
Change-Id: I87111f20a55a0b202b95a533ffb7e3aa666715dc
Reviewed-on: https://go-review.googlesource.com/c/go/+/231598
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/cgo/gcc.go

index 39ab5788ec5c57f5b3c668df4a42ec43055ee605..edcbd8d2d1422f229fbcc9ac6fd2945dbffd77a3 100644 (file)
@@ -336,7 +336,7 @@ func (p *Package) guessKinds(f *File) []*Name {
        //      void __cgo_f_xxx_5(void) { static const char __cgo_undefined__5[] = (name); }
        //
        // If we see an error at not-declared:xxx, the corresponding name is not declared.
-       // If we see an error at not-type:xxx, the corresponding name is a type.
+       // If we see an error at not-type:xxx, the corresponding name is not a type.
        // If we see an error at not-int-const:xxx, the corresponding name is not an integer constant.
        // If we see an error at not-num-const:xxx, the corresponding name is not a number constant.
        // If we see an error at not-str-lit:xxx, the corresponding name is not a string literal.