mirror of https://github.com/golang/go.git
cmd/compile/internal/syntax: remove TypeList syntax in comment
This commit is contained in:
parent
d7df872267
commit
51040eb5e5
|
|
@ -1506,8 +1506,7 @@ func (p *parser) structType() *StructType {
|
|||
return typ
|
||||
}
|
||||
|
||||
// InterfaceType = "interface" "{" { ( MethodDecl | EmbeddedElem | TypeList ) ";" } "}" .
|
||||
// TypeList = "type" Type { "," Type } .
|
||||
// InterfaceType = "interface" "{" { ( MethodDecl | EmbeddedElem ) ";" } "}" .
|
||||
func (p *parser) interfaceType() *InterfaceType {
|
||||
if trace {
|
||||
defer p.trace("interfaceType")()
|
||||
|
|
|
|||
Loading…
Reference in New Issue