shithub: mc

Download patch

ref: 0835c92d23bdea6e2a99c816617ecb02733b8414
parent: 3c4b4fecaf3841b492c75b6dacbc7b68c6aa1703
author: Ori Bernstein <[email protected]>
date: Fri Jan 18 18:54:46 EST 2013

Describe labels in the documentation.

--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -234,6 +234,14 @@
 
             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