1
0
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:
Robert Griesemer 2008-07-01 17:18:28 -07:00
parent 27b4b2e4d3
commit ceb01373bc

View File

@ -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 .