diff --git a/doc/go_lang.txt b/doc/go_lang.txt index 132824e14ec..248cb1eb516 100644 --- a/doc/go_lang.txt +++ b/doc/go_lang.txt @@ -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