Commit 203b55e3 authored by Ian Lance Taylor's avatar Ian Lance Taylor

Eliminate duplication of MethodDecl nonterminal by renaming

the one associated with interface types.

R=gri
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=15092
CL=15096
parent 667ef6c1
...@@ -1090,9 +1090,9 @@ Interface types ...@@ -1090,9 +1090,9 @@ Interface types
An interface type denotes a set of methods. An interface type denotes a set of methods.
InterfaceType = "interface" "{" [ MethodDeclList [ ";" ] ] "}" . InterfaceType = "interface" "{" [ MethodList [ ";" ] ] "}" .
MethodDeclList = MethodDecl { ";" MethodDecl } . MethodList = Method { ";" Method } .
MethodDecl = identifier FunctionType . Method = identifier FunctionType .
// A basic file interface. // A basic file interface.
type File interface { type File interface {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment