]> Cypherpunks repositories - gostls13.git/commitdiff
go spec: fix two grammar typos
authorAnthony Martin <ality@pbrane.org>
Tue, 14 Dec 2010 06:19:41 +0000 (22:19 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 14 Dec 2010 06:19:41 +0000 (22:19 -0800)
R=gri
CC=golang-dev
https://golang.org/cl/3580042

doc/go_spec.html

index e7c5d136365569962ae573177f1454de4ab775cd..1b1deaba2c927927a0021ba0f26dcad36bb6229a 100644 (file)
@@ -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>