about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-28 23:11:21 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-28 23:12:19 -0800
commit87f1cf600731f58b6404ad30752b29ec26c32699 (patch)
tree14946e0baf57db64cecd466e9e227d989da39e2b
parent266230ef79dc1040393597d9fc6352f8f80b5e5d (diff)
downloadmu-87f1cf600731f58b6404ad30752b29ec26c32699.tar.gz
2501
-rw-r--r--030container.cc2
-rw-r--r--048check_type_by_name.cc2
-rw-r--r--056recipe_header.cc2
-rw-r--r--999spaces.cc9
4 files changed, 7 insertions, 8 deletions
diff --git a/030container.cc b/030container.cc
index ca95be07..04be418c 100644
--- a/030container.cc
+++ b/030container.cc
@@ -528,7 +528,9 @@ container bar [
 $error: 0
 
 :(after "Begin Instruction Modifying Transforms")
+// Begin Type Modifying Transforms
 Transform.push_back(check_or_set_invalid_types);  // idempotent
+// End Type Modifying Transforms
 
 :(code)
 void check_or_set_invalid_types(const recipe_ordinal r) {
diff --git a/048check_type_by_name.cc b/048check_type_by_name.cc
index c741e037..f229263e 100644
--- a/048check_type_by_name.cc
+++ b/048check_type_by_name.cc
@@ -15,9 +15,7 @@ recipe main [
 +error: main: x used with multiple types
 
 :(after "Begin Instruction Modifying Transforms")
-// Begin Type Modifying Transforms
 Transform.push_back(check_types_by_name);  // idempotent
-// End Type Modifying Transforms
 
 :(code)
 void check_types_by_name(const recipe_ordinal r) {
diff --git a/056recipe_header.cc b/056recipe_header.cc
index b0d1d0ca..d1735887 100644
--- a/056recipe_header.cc
+++ b/056recipe_header.cc
@@ -133,7 +133,7 @@ recipe add2 x:number, y:number -> z:number [
 ]
 +error: add2: replied with the wrong type at 'reply z'
 
-:(before "End Type Modifying Transforms")
+:(after "Begin Type Modifying Transforms")
 Transform.push_back(check_reply_instructions_against_header);  // idempotent
 
 :(code)
diff --git a/999spaces.cc b/999spaces.cc
index 0bf0c3ac..a9247a5d 100644
--- a/999spaces.cc
+++ b/999spaces.cc
@@ -45,14 +45,13 @@ assert(Max_callstack_depth == 9989);
 //:      ↳ 56.4 fill in reply ingredients
 //:
 //:     begin type modifying transforms
-//:       48 check types by name
 //:        ↱ 56.3 deduce types from header
 //:       56 check reply instructions against header
+//:       48 check types by name
+//:     ---
+//:       30 check or set invalid containers
 //:     end type modifying transforms
-//:
-//:     57 static dispatch
-//:
-//:     30 check or set invalid containers
+//:      ↳ 57 static dispatch
 //:   ---
 //:     13 update instruction operation
 //:     40 transform braces