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 return typ
} }
// InterfaceType = "interface" "{" { ( MethodDecl | EmbeddedElem | TypeList ) ";" } "}" . // InterfaceType = "interface" "{" { ( MethodDecl | EmbeddedElem ) ";" } "}" .
// TypeList = "type" Type { "," Type } .
func (p *parser) interfaceType() *InterfaceType { func (p *parser) interfaceType() *InterfaceType {
if trace { if trace {
defer p.trace("interfaceType")() defer p.trace("interfaceType")()