From 203b55e319203a57fb48a70249939e47502c7b87 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 10 Sep 2008 13:24:47 -0700 Subject: [PATCH] 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 --- doc/go_spec.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.48.1