1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:24:42 -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:
Robert Griesemer 2008-05-01 18:47:44 -07:00
parent 1975ff8b44
commit d4d19fad2f

View File

@ -1572,8 +1572,8 @@ cases all referring to communication operations.
CommClause = CommCase { Statement } .
CommCase = ( "default" | ( "case" ( SendCase | RecvCase) ) ) ":" .
SendCase = Send .
RecvCase = [ identifier '=' ] RecvExpression .
RecvExpression = '<' Expression .
RecvCase = [ identifier "=" ] RecvExpr .
RecvExpr = "<" Expression .
The select statement evaluates all the channel (pointers) involved.
If any of the channels can proceed, the corresponding communication