about summary refs log tree commit diff stats
path: root/cpp/032array
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-17 23:24:52 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-17 23:24:52 -0700
commit7284d503f67572dab678f68e5635c471a9d53480 (patch)
tree292b611d694da66c1a881ed11662cf9b0ee64610 /cpp/032array
parentb3cdcdd44f6b8db053e4814351fbf04fefb7d7cf (diff)
downloadmu-7284d503f67572dab678f68e5635c471a9d53480.tar.gz
1094 - demarcate sections in layers
We have tangled vs regular comments, but they highlight the same. So
we're still at 3 colors for comments. Anything more starts to seem
gratuitous.
Diffstat (limited to 'cpp/032array')
-rw-r--r--cpp/032array5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/032array b/cpp/032array
index 284ca592..3aa531d0 100644
--- a/cpp/032array
+++ b/cpp/032array
@@ -56,7 +56,8 @@ if (x.types[0] != Type_number["array"] && size_of(x) != data.size())
     return 1 + Memory[r.value]*size_of(array_element(r.types));
   }
 
-//: To access elements of an array, use 'index'
+//:: To access elements of an array, use 'index'
+
 :(scenario "index")
 recipe main [
   1:integer <- copy 3:literal
@@ -139,7 +140,7 @@ recipe main [
 +run: address to copy is 2
 +mem: storing 2 in location 5
 
-//: To write to elements of containers, you need their address.
+//:: To write to elements of containers, you need their address.
 
 :(scenario "index_indirect")
 recipe main [