diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-03-16 20:26:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-03-16 20:26:59 -0700 |
commit | 3c435756bcd997dac981ca78c49c5100eb2211b7 (patch) | |
tree | 05524418c430239992558e5b5a82ddbdf133c60d /cpp/019array | |
parent | b589f25a005ad00f6fd888520f9eaaddbd707617 (diff) | |
download | mu-3c435756bcd997dac981ca78c49c5100eb2211b7.tar.gz |
932 - clean up comments in the tangled c++
Diffstat (limited to 'cpp/019array')
-rw-r--r-- | cpp/019array | 11 |
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 |