diff options
| author | cuishuang <imcusg@gmail.com> | 2024-09-09 12:22:05 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-09-09 16:44:45 +0000 |
| commit | cc912bd8ebece1471f606248c97a36b0fb800f86 (patch) | |
| tree | a403b30d70d032395c27cc28183d9739c84e8c67 /src/cmd/compile/internal/syntax | |
| parent | 5858205831117498e7b65ded82e398b28cff6c37 (diff) | |
| download | go-cc912bd8ebece1471f606248c97a36b0fb800f86.tar.xz | |
all: remove unnecessary symbols and add missing symbols
Change-Id: I535a7aaaf3f9e8a9c0e0c04f8f745ad7445a32f7
Reviewed-on: https://go-review.googlesource.com/c/go/+/611678
Run-TryBot: shuang cui <imcusg@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/syntax')
| -rw-r--r-- | src/cmd/compile/internal/syntax/printer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/syntax/printer.go b/src/cmd/compile/internal/syntax/printer.go index 3b234d43f9..1c0bfc190e 100644 --- a/src/cmd/compile/internal/syntax/printer.go +++ b/src/cmd/compile/internal/syntax/printer.go @@ -931,7 +931,7 @@ func (p *printer) printParameterList(list []*Field, tok token) { // combinesWithName reports whether a name followed by the expression x // syntactically combines to another valid (value) expression. For instance // using *T for x, "name *T" syntactically appears as the expression x*T. -// On the other hand, using P|Q or *P|~Q for x, "name P|Q" or name *P|~Q" +// On the other hand, using P|Q or *P|~Q for x, "name P|Q" or "name *P|~Q" // cannot be combined into a valid (value) expression. func combinesWithName(x Expr) bool { switch x := x.(type) { |
