about summary refs log tree commit diff stats
path: root/cpp/042new
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/042new
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/042new')
-rw-r--r--cpp/042new9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/042new b/cpp/042new
index 0d7742f8..7244cca2 100644
--- a/cpp/042new
+++ b/cpp/042new
@@ -19,7 +19,8 @@ size_t alloc;
     calls.push(call(r));
   }
 
-//: First handle 'type' operands
+//:: First handle 'type' operands.
+
 :(before "End Mu Types Initialization")
 Type_number["type"] = 0;
 :(after "Per-recipe Transforms")
@@ -35,7 +36,8 @@ if (inst.operation == Recipe_number["new"]) {
   trace("new") << inst.ingredients[0].name << " -> " << inst.ingredients[0].value;
 }
 
-//: Now implement the primitive recipe.
+//:: Now implement the primitive recipe.
+
 :(before "End Primitive Recipe Declarations")
 NEW,
 :(before "End Primitive Recipe Numbers")
@@ -74,7 +76,8 @@ recipe main [
 +run: instruction main/2
 +mem: storing 5 in location 3
 
-//: Next, extend 'new' to handle a string literal argument.
+//:: Next, extend 'new' to handle a string literal argument.
+
 :(scenario "new_string")
 recipe main [
   1:address:array:character <- new [abc def]