Commit 11a01615 authored by Anthony Martin's avatar Anthony Martin Committed by Robert Griesemer

go spec: fix two grammar typos

R=gri
CC=golang-dev
https://golang.org/cl/3580042
parent 6fcae0f0
......@@ -596,7 +596,7 @@ which composes a new type from previously declared types.
<pre class="ebnf">
Type = TypeName | TypeLit | "(" Type ")" .
TypeName = QualifiedIdent.
TypeName = QualifiedIdent .
TypeLit = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
SliceType | MapType | ChannelType .
</pre>
......@@ -1831,7 +1831,7 @@ A function declaration binds an identifier to a function (§<a href="#Function_t
<pre class="ebnf">
FunctionDecl = "func" identifier Signature [ Body ] .
Body = Block.
Body = Block .
</pre>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment