aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Donizetti <alb.donizetti@gmail.com>2019-12-13 12:07:06 +0100
committerRob Pike <r@golang.org>2019-12-13 20:41:04 +0000
commit7d30af8e17d62932f8a458ad96f483b9afec6171 (patch)
tree99c35581b476d42372b5a040abc185c39579f259
parentad12ee3006ed8d0552d14dcb623de9af325c6758 (diff)
downloadgo-7d30af8e17d62932f8a458ad96f483b9afec6171.tar.gz
go-7d30af8e17d62932f8a458ad96f483b9afec6171.zip
spec: reword claim about the grammar being regular
Since the word "regular" has a precise meaning in the context of formal languages, the Introduction sentence claiming that Go's grammar is "compact and regular" may mislead readers. Reword it using Rob's suggestion. Fixes #36037 Change-Id: I00c1a5714bdab8878d9a77b36d67dae67d63da0f Reviewed-on: https://go-review.googlesource.com/c/go/+/211277 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Rob Pike <r@golang.org>
-rw-r--r--doc/go_spec.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 724b044aa4..4fff107c9b 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of Sep 4, 2019",
+ "Subtitle": "Version of Dec 13, 2019",
"Path": "/ref/spec"
}-->
@@ -20,8 +20,8 @@ dependencies.
</p>
<p>
-The grammar is compact and regular, allowing for easy analysis by
-automatic tools such as integrated development environments.
+The grammar is compact and simple to parse, allowing for easy analysis
+by automatic tools such as integrated development environments.
</p>
<h2 id="Notation">Notation</h2>