summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-03-25 13:58:44 -0700
committerRobert Griesemer <gri@golang.org>2009-03-25 13:58:44 -0700
commit1a0719d5b94224238cf1b68c754a4f45ccdf8c5e (patch)
tree7dcd94774f70842523348b3fcaa47ff3797e4ce9
parentf6d3f8cbae9445f55564acc1d252769e51240f76 (diff)
downloadgolang-1a0719d5b94224238cf1b68c754a4f45ccdf8c5e.tar.gz
use FunctionType in FunctionLit production
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=26738 CL=26753
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 1f08a551c..ad98b8355 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -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>