summaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/gc/syntax.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2019-05-28 14:50:53 -0700
committerMatthew Dempsky <mdempsky@google.com>2019-05-29 21:31:37 +0000
commit913d290402dfacabd2ec2b4d9ff7faef218eb02c (patch)
treef4f39a819a3a6b27ee893cabf75154be26899f7b /src/cmd/compile/internal/gc/syntax.go
parent5d0d87ae1659807909da9d97ed1da77d7544d30c (diff)
downloadgo-git-913d290402dfacabd2ec2b4d9ff7faef218eb02c.tar.gz
cmd/compile: sort OAS2* declarations
Change-Id: Idd3acf5f808705c608cd4e5877bc93e1626d9a58 Reviewed-on: https://go-review.googlesource.com/c/go/+/179238 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/gc/syntax.go')
-rw-r--r--src/cmd/compile/internal/gc/syntax.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/gc/syntax.go b/src/cmd/compile/internal/gc/syntax.go
index e932f93a15..dec72690bf 100644
--- a/src/cmd/compile/internal/gc/syntax.go
+++ b/src/cmd/compile/internal/gc/syntax.go
@@ -599,10 +599,10 @@ const (
OSTR2RUNES // Type(Left) (Type is []rune, Left is a string)
OAS // Left = Right or (if Colas=true) Left := Right
OAS2 // List = Rlist (x, y, z = a, b, c)
+ OAS2DOTTYPE // List = Rlist (x, ok = I.(int))
OAS2FUNC // List = Rlist (x, y = f())
- OAS2RECV // List = Rlist (x, ok = <-c)
OAS2MAPR // List = Rlist (x, ok = m["foo"])
- OAS2DOTTYPE // List = Rlist (x, ok = I.(int))
+ OAS2RECV // List = Rlist (x, ok = <-c)
OASOP // Left Etype= Right (x += y)
OCALL // Left(List) (function call, method call or type conversion)