aboutsummaryrefslogtreecommitdiff
path: root/doc/go_spec.html
diff options
context:
space:
mode:
authoryah01 <kagaminehuan@gmail.com>2020-01-15 01:34:43 +0000
committerRobert Griesemer <gri@golang.org>2020-01-15 05:32:51 +0000
commitee55dd6b647aab616b0819410563767f8552c082 (patch)
treeeeded546a475b39323c8838e2082868a1875a3aa /doc/go_spec.html
parenta52db6403c5e34ef76eb3fd01dc078718531d7bf (diff)
downloadgo-ee55dd6b647aab616b0819410563767f8552c082.tar.gz
go-ee55dd6b647aab616b0819410563767f8552c082.zip
spec: add missing space in EBNF
Fixes #36520 Change-Id: I698ab235f82f7c81caa09318c954847cf3833153 GitHub-Last-Rev: 368a1dc7889c2370fba272bcb45d94822b60d7b9 GitHub-Pull-Request: golang/go#36559 Reviewed-on: https://go-review.googlesource.com/c/go/+/214821 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r--doc/go_spec.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 06c1edf7a6..154bdbfeaf 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of Jan 13, 2020",
+ "Subtitle": "Version of Jan 14, 2020",
"Path": "/ref/spec"
}-->
@@ -2413,7 +2413,7 @@ operand only on the left-hand side of an <a href="#Assignments">assignment</a>.
Operand = Literal | OperandName | "(" Expression ")" .
Literal = BasicLit | CompositeLit | FunctionLit .
BasicLit = int_lit | float_lit | imaginary_lit | rune_lit | string_lit .
-OperandName = identifier | QualifiedIdent.
+OperandName = identifier | QualifiedIdent .
</pre>
<h3 id="Qualified_identifiers">Qualified identifiers</h3>