summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2008-06-12 13:12:41 -0700
committerRobert Griesemer <gri@golang.org>2008-06-12 13:12:41 -0700
commit4732d2a3518bda35334461950464d2dffcd008b2 (patch)
tree8306d016a160bd2bbb8caed0db23e55c30e0a249
parent64700afea5b6b07b29b57c5f1210a0b85741e54c (diff)
downloadgolang-4732d2a3518bda35334461950464d2dffcd008b2.tar.gz
- fixed minor issues in spec
- fixed a couple of bugs in the spec (pointed out by iant) SVN=122479
-rw-r--r--doc/go_lang.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/go_lang.txt b/doc/go_lang.txt
index 7b78a57f3..5faa69552 100644
--- a/doc/go_lang.txt
+++ b/doc/go_lang.txt
@@ -4,7 +4,7 @@ The Go Programming Language (DRAFT)
Robert Griesemer, Rob Pike, Ken Thompson
----
-(June 9, 2008)
+(June 12, 2008)
This document is a semi-informal specification/proposal for a new
systems programming language. The document is under active
@@ -299,7 +299,7 @@ The arithmetic types are:
uint8 the set of all unsigned 8-bit integers
uint16 the set of all unsigned 16-bit integers
uint32 the set of all unsigned 32-bit integers
- unit64 the set of all unsigned 64-bit integers
+ uint64 the set of all unsigned 64-bit integers
int8 the set of all signed 8-bit integers, in 2's complement
int16 the set of all signed 16-bit integers, in 2's complement
@@ -1135,7 +1135,7 @@ Expression syntax is based on that of C but with fewer precedence levels.
Conversion = "convert" "(" Type [ "," ExpressionList ] ")" |
ConversionType "(" [ ExpressionList ] ")" .
ConversionType = TypeName | ArrayType | MapType | StructType | InterfaceType .
- Allocation = "new" "(" Type [ "," Expression ] ")" .
+ Allocation = "new" "(" Type [ "," ExpressionList ] ")" .
binary_op = log_op | rel_op | add_op | mul_op .
log_op = "||" | "&&" .