summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-01-15 23:39:58 -0800
committerOri Bernstein <ori@eigenstate.org>2017-01-15 23:40:05 -0800
commitb4fed18974bfdfc41a813578cb56b5a54964395b (patch)
tree9cbb599f4210bb1d7be40a21efcb724fa7fe0adc /doc
parenta9a7d5b32a9423f871311384af6260a3848291d1 (diff)
downloadmc-b4fed18974bfdfc41a813578cb56b5a54964395b.tar.gz
Renumber sections.
Diffstat (limited to 'doc')
-rw-r--r--doc/lang.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lang.txt b/doc/lang.txt
index 459e3bd..215dd43 100644
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -675,7 +675,7 @@ TABLE OF CONTENTS:
5. TYPES:
- 4.2. Data Types:
+ 5.1. Data Types:
The language defines a number of built in primitive types. These
are not keywords, and in fact live in a separate namespace from
@@ -686,7 +686,7 @@ TABLE OF CONTENTS:
must be explicitly cast if you want to convert, and the casts must
be of compatible types, as will be described later.
- 4.2.1. Primitive types:
+ 5.1.1. Primitive types:
void
bool char
@@ -726,7 +726,7 @@ TABLE OF CONTENTS:
var y : float32 declare y as a 32 bit float
- 4.2.2. Composite types:
+ 5.1.2. Composite types:
pointer
slice array
@@ -750,7 +750,7 @@ TABLE OF CONTENTS:
foo[123] type: array of 123 foo
foo[,] type: slice of foo
- 4.2.3. Aggregate types:
+ 5.1.3. Aggregate types:
tuple struct
union
@@ -784,7 +784,7 @@ TABLE OF CONTENTS:
;;
- 4.2.4. Generic types:
+ 5.1.4. Generic types:
tyvar typaram
tyname