]> Cypherpunks repositories - gostls13.git/commitdiff
use FunctionType in FunctionLit production
authorRobert Griesemer <gri@golang.org>
Wed, 25 Mar 2009 20:58:44 +0000 (13:58 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 25 Mar 2009 20:58:44 +0000 (13:58 -0700)
R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=26738
CL=26753

doc/go_spec.html

index 1f08a551c521aa94d0a16906b754dfaa22050f95..ad98b8355afb95bff416b76105f66d5e45d37560 100644 (file)
@@ -1991,7 +1991,7 @@ It consists of a specification of the function type and a function body.
 </p>
 
 <pre class="grammar">
-FunctionLit   = "func" Signature Block .
+FunctionLit   = FunctionType Block .
 Block         = "{" StatementList "}" .
 </pre>