mirror of
https://github.com/golang/go
synced 2024-11-21 23:54:40 -07:00
- more minor fixes
SVN=125574
This commit is contained in:
parent
27b4b2e4d3
commit
ceb01373bc
@ -1734,7 +1734,7 @@ will proceed. It looks similar to a switch statement but with the
|
||||
cases all referring to communication operations.
|
||||
|
||||
SelectStat = "select" "{" { CommClause } "}" .
|
||||
CommClause = CommCase { Statement } .
|
||||
CommClause = CommCase [ StatementList [ ";" ] ] .
|
||||
CommCase = ( "default" | ( "case" ( SendCase | RecvCase) ) ) ":" .
|
||||
SendCase = Send .
|
||||
RecvCase = [ identifier "=" ] RecvExpr .
|
||||
|
Loading…
Reference in New Issue
Block a user