summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscharlatan <a.regenfuss@gmx.de>2016-02-08 16:08:15 +0100
committerscharlatan <a.regenfuss@gmx.de>2016-02-08 16:08:15 +0100
commit3805b9556a6ed96cac073dbda26519f3390661ee (patch)
tree75942c692b37c8785d39a11ae3a182a1a39a947c
parentde19a8fec7353f9e81a3c4660dd314d5cd15fd02 (diff)
downloadmc-3805b9556a6ed96cac073dbda26519f3390661ee.tar.gz
Fix typos in the language specification.
-rw-r--r--doc/lang.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lang.txt b/doc/lang.txt
index 62c85b9..46a15b3 100644
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -205,7 +205,7 @@ TABLE OF CONTENTS:
eg: true, false
- Funciton literals describe a function. They begin with a '{',
+ Function literals describe a function. They begin with a '{',
followed by a newline-terminated argument list, followed by a
body and closing '}'. They will be described in more detail
later in this manual.
@@ -753,7 +753,7 @@ TABLE OF CONTENTS:
const main = {
var x = 123
var y = 456
- std.put("The max of %i, %i is %i\n", x, y, max(x, y))
+ std.put("The max of %i, %i is %i\n", x, y, intmax(x, y))
}
TODO: DESCRIBE CONSTRUCTS.