about summary refs log tree commit diff stats
path: root/cpp/019array
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-16 20:26:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-16 20:26:59 -0700
commit3c435756bcd997dac981ca78c49c5100eb2211b7 (patch)
tree05524418c430239992558e5b5a82ddbdf133c60d /cpp/019array
parentb589f25a005ad00f6fd888520f9eaaddbd707617 (diff)
downloadmu-3c435756bcd997dac981ca78c49c5100eb2211b7.tar.gz
932 - clean up comments in the tangled c++
Diffstat (limited to 'cpp/019array')
-rw-r--r--cpp/019array11
1 files changed, 6 insertions, 5 deletions
diff --git a/cpp/019array b/cpp/019array
index 3d797161..8a9af8c4 100644
--- a/cpp/019array
+++ b/cpp/019array
@@ -1,13 +1,14 @@
-// Support for arrays.
-:(before "End Mu Types")
-// We'll use this array as a running example:
+//: Support for arrays.
+:(before "End Mu Types Initialization")
+//: We'll use this array as a running example:
 int integer_array = Type_number["integer-array"] = Next_type_number++;
 Type[integer_array].is_array = true;
 Type[integer_array].element.push_back(integer);
 
+//: Arrays can be copied around with a single instruction just like integers,
+//: no matter how large they are.
+
 :(scenario copy_array)
-# Arrays can be copied around with a single instruction just like integers,
-# no matter how large they are.
 recipe main [
   1:integer <- copy 3:literal
   2:integer <- copy 14:literal