summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-01-18 23:54:46 -0500
committerOri Bernstein <ori@eigenstate.org>2013-01-18 23:54:46 -0500
commit0835c92d23bdea6e2a99c816617ecb02733b8414 (patch)
treef4d220ab4187d45999e9cefc3886d29f21ebe61d /doc
parent3c4b4fecaf3841b492c75b6dacbc7b68c6aa1703 (diff)
downloadmc-0835c92d23bdea6e2a99c816617ecb02733b8414.tar.gz
Describe labels in the documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/lang.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lang.txt b/doc/lang.txt
index 711d9b9..bcf076a 100644
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -234,6 +234,14 @@ TABLE OF CONTENTS:
eg: (1,), (1,'b',"three")
+ Finally, while strictly not a literal, it's not a control
+ flow construct either. Labels are identifiers preceded by
+ colons.
+
+ eg: :my_label
+
+ They can be used as targets for gotos.
+
3.3. Control Constructs and Blocks:
if for