Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
354be785
Commit
354be785
authored
Aug 30, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- removed 'iota' from the keyword list
- added missing operators R=r OCL=14672 CL=14672
parent
fb4c2a37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
14 deletions
+11
-14
go_spec.txt
doc/go_spec.txt
+11
-14
No files found.
doc/go_spec.txt
View file @
354be785
...
@@ -4,7 +4,7 @@ The Go Programming Language Specification (DRAFT)
...
@@ -4,7 +4,7 @@ The Go Programming Language Specification (DRAFT)
Robert Griesemer, Rob Pike, Ken Thompson
Robert Griesemer, Rob Pike, Ken Thompson
----
----
(August 2
8
, 2008)
(August 2
9
, 2008)
This document is a semi-formal specification of the Go systems
This document is a semi-formal specification of the Go systems
...
@@ -351,12 +351,11 @@ Operators and delimitors
...
@@ -351,12 +351,11 @@ Operators and delimitors
The following special character sequences serve as operators or delimitors:
The following special character sequences serve as operators or delimitors:
+ & += &= == ( ,
+ & += &= && == != ( )
- | -= |= != ) ;
- | -= |= || < >= [ ]
* ^ *= ^= < [ :
* ^ *= ^= <- > <= { }
/ << /= <<= <= ] .
/ << /= <<= -< ++ -- = :=
% >> %= >>= > { !
% >> %= >>= ! . , ; :
<- -< = := >= }
Reserved words
Reserved words
...
@@ -364,13 +363,11 @@ Reserved words
...
@@ -364,13 +363,11 @@ Reserved words
The following words are reserved and must not be used as identifiers:
The following words are reserved and must not be used as identifiers:
break export import select
break default func interface select
case fallthrough interface struct
case else go map struct
const for iota switch
const export goto package switch
chan func map type
chan fallthrough if range type
continue go package var
continue for import return var
default goto range
else if return
Declaration and scope rules
Declaration and scope rules
...
...
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