diff --git a/doc/go_spec.html b/doc/go_spec.html index 6b6e75c7c9..437fc066bb 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -2443,9 +2443,8 @@ PrimaryExpr = Selector = "." identifier . Index = "[" Expression "]" . -Slice = "[" ( [ Expression ] ":" [ Expression ] ) | - ( [ Expression ] ":" Expression ":" Expression ) - "]" . +Slice = "[" [ Expression ] ":" [ Expression ] "]" | + "[" [ Expression ] ":" Expression ":" Expression "]" . TypeAssertion = "." "(" Type ")" . Arguments = "(" [ ( ExpressionList | Type [ "," ExpressionList ] ) [ "..." ] [ "," ] ] ")" .