Commit 458632a2 authored by Robert Griesemer's avatar Robert Griesemer

spec: BuiltinCall syntax must permit "..." for append

Also: fix an incorrect link.

Fixes #4479.
Fixes #4456.

R=rsc, iant, r, ken
CC=golang-dev
https://golang.org/cl/6868062
parent 76937156
<!--{ <!--{
"Title": "The Go Programming Language Specification", "Title": "The Go Programming Language Specification",
"Subtitle": "Version of December 3, 2012", "Subtitle": "Version of December 4, 2012",
"Path": "/ref/spec" "Path": "/ref/spec"
}--> }-->
...@@ -1013,7 +1013,7 @@ promoted methods are included in the method set of the struct as follows: ...@@ -1013,7 +1013,7 @@ promoted methods are included in the method set of the struct as follows:
A field declaration may be followed by an optional string literal <i>tag</i>, A field declaration may be followed by an optional string literal <i>tag</i>,
which becomes an attribute for all the fields in the corresponding which becomes an attribute for all the fields in the corresponding
field declaration. The tags are made field declaration. The tags are made
visible through a <a href="#Package_unsafe">reflection interface</a> visible through a <a href="/pkg/reflect/#StructTag">reflection interface</a>
but are otherwise ignored. but are otherwise ignored.
</p> </p>
...@@ -4831,7 +4831,7 @@ they cannot be used as function values. ...@@ -4831,7 +4831,7 @@ they cannot be used as function values.
<pre class="ebnf"> <pre class="ebnf">
BuiltinCall = identifier "(" [ BuiltinArgs [ "," ] ] ")" . BuiltinCall = identifier "(" [ BuiltinArgs [ "," ] ] ")" .
BuiltinArgs = Type [ "," ExpressionList ] | ExpressionList . BuiltinArgs = Type [ "," ArgumentList ] | ArgumentList .
</pre> </pre>
<h3 id="Close">Close</h3> <h3 id="Close">Close</h3>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment