1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:57:57 -07:00

- fixed double-definition of StructType

SVN=111689
This commit is contained in:
Robert Griesemer 2008-03-06 22:11:51 -08:00
parent b1d991d6fd
commit f27e5df49c

View File

@ -623,8 +623,7 @@ Struct literals represent struct constants. They comprise a list of
expressions that represent the individual fields of a struct. The expressions that represent the individual fields of a struct. The
individual expressions must match those of the specified struct type. individual expressions must match those of the specified struct type.
StructLit = StructType '(' [ ExpressionList ] ')' . StructLit = TypeName '(' [ ExpressionList ] ')' .
StructType = TypeName .
The type name must be that of a defined struct type. The type name must be that of a defined struct type.