summaryrefslogtreecommitdiffstats
path: root/llgo/third_party/gofrontend/libgo/go/cmd/cgo/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/go/cmd/cgo/util.go')
-rw-r--r--llgo/third_party/gofrontend/libgo/go/cmd/cgo/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/llgo/third_party/gofrontend/libgo/go/cmd/cgo/util.go b/llgo/third_party/gofrontend/libgo/go/cmd/cgo/util.go
index 4e7800d1272..3adb8e87836 100644
--- a/llgo/third_party/gofrontend/libgo/go/cmd/cgo/util.go
+++ b/llgo/third_party/gofrontend/libgo/go/cmd/cgo/util.go
@@ -55,7 +55,7 @@ func error_(pos token.Pos, msg string, args ...interface{}) {
fmt.Fprintf(os.Stderr, "\n")
}
-// isName returns true if s is a valid C identifier
+// isName reports whether s is a valid C identifier
func isName(s string) bool {
for i, v := range s {
if v != '_' && (v < 'A' || v > 'Z') && (v < 'a' || v > 'z') && (v < '0' || v > '9') {
OpenPOWER on IntegriCloud