From: Robert Griesemer Date: Tue, 1 Sep 2009 00:57:14 +0000 (-0700) Subject: remove leftover forward-decl syntax and example X-Git-Tag: weekly.2009-11-06~691 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bdec330c85dd28682e1979bde5de50348d6bda64;p=gostls13.git remove leftover forward-decl syntax and example (per feedback from Austin) R=rsc DELTA=7 (0 added, 2 deleted, 5 changed) OCL=34158 CL=34161 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 9eebc7a258..cc37512a74 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1503,19 +1503,17 @@ to a new type. TODO: what exactly is a "new type"?
 TypeDecl     = "type" ( TypeSpec | "(" [ TypeSpecList ] ")" ) .
 TypeSpecList = TypeSpec { ";" TypeSpec } [ ";" ] .
-TypeSpec     = identifier ( Type | "struct" | "interface" ) .
+TypeSpec     = identifier Type .
 
-type IntArray [16] int
+type IntArray [16]int
 
 type (
 	Point struct { x, y float };
 	Polar Point
 )
 
-type Comparable interface
-
 type TreeNode struct {
 	left, right *TreeNode;
 	value *Comparable;