From 11a016151ba739357cf127144940a35e4e85a010 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Mon, 13 Dec 2010 22:19:41 -0800 Subject: [PATCH] go spec: fix two grammar typos R=gri CC=golang-dev https://golang.org/cl/3580042 --- doc/go_spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index e7c5d136365..1b1deaba2c9 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -596,7 +596,7 @@ which composes a new type from previously declared types.
 Type      = TypeName | TypeLit | "(" Type ")" .
-TypeName  = QualifiedIdent.
+TypeName  = QualifiedIdent .
 TypeLit   = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
 	    SliceType | MapType | ChannelType .
 
@@ -1831,7 +1831,7 @@ A function declaration binds an identifier to a function (ยง FunctionDecl = "func" identifier Signature [ Body ] . -Body = Block. +Body = Block .