]> Cypherpunks repositories - gostls13.git/commit
spec: fix EBNF for slice syntax
authorRobert Griesemer <gri@golang.org>
Tue, 23 Feb 2016 18:42:06 +0000 (10:42 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 23 Feb 2016 19:18:25 +0000 (19:18 +0000)
commit5583e8a4213467d3401710873f67403cb2de22f7
tree2f72be9388806669a12f87c518874446544a6e5f
parent735e5a483c428d6e99e7f62f7b40b3369afb3591
spec: fix EBNF for slice syntax

The () parentheses grouped wrongly. Removed them completely in
favor of separate 2- and 3-index slice alternatives which is
clearer.

Fixes #14477.

Change-Id: I0b7521ac912130d9ea8740b8793b3b88e2609418
Reviewed-on: https://go-review.googlesource.com/19853
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_spec.html