Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
e6626daf
Commit
e6626daf
authored
Mar 06, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- get rid of Designator terminology
SVN=111696
parent
1cf631b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
doc/go_lang.txt
doc/go_lang.txt
+5
-4
No files found.
doc/go_lang.txt
View file @
e6626daf
...
...
@@ -1137,13 +1137,14 @@ Assignments
----
Assignment = SingleAssignment | TupleAssignment | Send .
SimpleAssignment = Designator assign_op Expression .
TupleAssignment = DesignatorList assign_op ExpressionList .
SingleAssignment = PrimaryExpr assign_op Expression .
TupleAssignment = PrimaryExprList assign_op ExpressionList .
PrimaryExprList = PrimaryExpr { "," PrimaryExpr } .
Send = '>' Expression '=' Expression .
assign_op = [ add_op | mul_op ] '=' .
The
designator
must be an l-value such as a variable, pointer indirection,
The
left-hand side
must be an l-value such as a variable, pointer indirection,
or an array indexing.
x = 1
...
...
@@ -1189,7 +1190,7 @@ must denote a channel pointer value.
>chan_ptr = value
In assignments, the type of the expression must match the type of the
designator
.
In assignments, the type of the expression must match the type of the
left-hand side
.
Go statements
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment