mirror of
https://github.com/golang/go
synced 2024-11-22 01:04:40 -07:00
Fixed a typo (changed ' -> ") and shortened a production name slightly to match the naming convention elsewhere.
SVN=117446
This commit is contained in:
parent
1975ff8b44
commit
d4d19fad2f
@ -1572,8 +1572,8 @@ cases all referring to communication operations.
|
|||||||
CommClause = CommCase { Statement } .
|
CommClause = CommCase { Statement } .
|
||||||
CommCase = ( "default" | ( "case" ( SendCase | RecvCase) ) ) ":" .
|
CommCase = ( "default" | ( "case" ( SendCase | RecvCase) ) ) ":" .
|
||||||
SendCase = Send .
|
SendCase = Send .
|
||||||
RecvCase = [ identifier '=' ] RecvExpression .
|
RecvCase = [ identifier "=" ] RecvExpr .
|
||||||
RecvExpression = '<' Expression .
|
RecvExpr = "<" Expression .
|
||||||
|
|
||||||
The select statement evaluates all the channel (pointers) involved.
|
The select statement evaluates all the channel (pointers) involved.
|
||||||
If any of the channels can proceed, the corresponding communication
|
If any of the channels can proceed, the corresponding communication
|
||||||
|
Loading…
Reference in New Issue
Block a user