diff options
author | Matthew Dempsky <mdempsky@google.com> | 2020-05-01 11:44:31 -0700 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2020-05-01 18:47:23 +0000 |
commit | 8be365f987821412dcea32d5d28336cd5cc7440e (patch) | |
tree | 709ffe78835c56382cda7d1d90561d997ce83d71 | |
parent | 44d22869a8df6419f894317b10c9f8329706467a (diff) | |
download | go-git-8be365f987821412dcea32d5d28336cd5cc7440e.tar.gz |
cmd/cgo: "not-type" means "is not a type", not "is a type"
Change-Id: I87111f20a55a0b202b95a533ffb7e3aa666715dc
Reviewed-on: https://go-review.googlesource.com/c/go/+/231598
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | src/cmd/cgo/gcc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/cgo/gcc.go b/src/cmd/cgo/gcc.go index 39ab5788ec..edcbd8d2d1 100644 --- a/src/cmd/cgo/gcc.go +++ b/src/cmd/cgo/gcc.go @@ -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. |