diff --git a/doc/go_lang.txt b/doc/go_lang.txt index 4d295e4381a..032715aea08 100644 --- a/doc/go_lang.txt +++ b/doc/go_lang.txt @@ -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 .