From: Ian Lance Taylor Date: Wed, 10 Sep 2008 20:24:47 +0000 (-0700) Subject: Eliminate duplication of MethodDecl nonterminal by renaming X-Git-Tag: weekly.2009-11-06~3250 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=203b55e319203a57fb48a70249939e47502c7b87;p=gostls13.git 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 --- diff --git a/doc/go_spec.txt b/doc/go_spec.txt index 80f18b15f7..ddf1af4b7b 100644 --- a/doc/go_spec.txt +++ b/doc/go_spec.txt @@ -1090,9 +1090,9 @@ Interface types An interface type denotes a set of methods. - InterfaceType = "interface" "{" [ MethodDeclList [ ";" ] ] "}" . - MethodDeclList = MethodDecl { ";" MethodDecl } . - MethodDecl = identifier FunctionType . + InterfaceType = "interface" "{" [ MethodList [ ";" ] ] "}" . + MethodList = Method { ";" Method } . + Method = identifier FunctionType . // A basic file interface. type File interface {