cmd/compile/internal/syntax: remove TypeList syntax in comment

This commit is contained in:
Kevin Chen 2022-09-22 22:38:11 +08:00
parent d7df872267
commit 51040eb5e5
1 changed files with 1 additions and 2 deletions

View File

@ -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")()