]> Cypherpunks repositories - gostls13.git/commitdiff
- more minor fixes
authorRobert Griesemer <gri@golang.org>
Wed, 2 Jul 2008 00:18:28 +0000 (17:18 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 2 Jul 2008 00:18:28 +0000 (17:18 -0700)
SVN=125574

doc/go_lang.txt

index 4d295e4381aa60d7b91e2ba94176f029c315cd19..032715aea080e093ee2815153386a1ab45e23eb1 100644 (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 .