mirror of
https://github.com/golang/go
synced 2024-11-25 11:57:58 -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.
|
cases all referring to communication operations.
|
||||||
|
|
||||||
SelectStat = "select" "{" { CommClause } "}" .
|
SelectStat = "select" "{" { CommClause } "}" .
|
||||||
CommClause = CommCase { Statement } .
|
CommClause = CommCase [ StatementList [ ";" ] ] .
|
||||||
CommCase = ( "default" | ( "case" ( SendCase | RecvCase) ) ) ":" .
|
CommCase = ( "default" | ( "case" ( SendCase | RecvCase) ) ) ":" .
|
||||||
SendCase = Send .
|
SendCase = Send .
|
||||||
RecvCase = [ identifier "=" ] RecvExpr .
|
RecvCase = [ identifier "=" ] RecvExpr .
|
||||||
|
Loading…
Reference in New Issue
Block a user