]> Cypherpunks repositories - gostls13.git/commitdiff
Fixed a typo (changed ' -> ") and shortened a production name slightly to match the...
authorRobert Griesemer <gri@golang.org>
Fri, 2 May 2008 01:47:44 +0000 (18:47 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 2 May 2008 01:47:44 +0000 (18:47 -0700)
SVN=117446

doc/go_lang.txt

index 132824e14ec211d693b227650e9c72352be369e4..248cb1eb5167e4d2cba9077a40696e5eb161558e 100644 (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