1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:34:40 -07:00

use FunctionType in FunctionLit production

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=26738
CL=26753
This commit is contained in:
Robert Griesemer 2009-03-25 13:58:44 -07:00
parent ba620d5027
commit 62fd90ab76

View File

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