about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-28 22:37:19 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-28 22:37:19 -0800
commit808e171dbda290fc1f7d70c3bce0b6d339f87859 (patch)
treeea82ce3448bfec2fa1257bb2bc8d1501fa3dcf0a
parent65bd3727d7b45bf674d6685a38ac946167e75939 (diff)
downloadmu-808e171dbda290fc1f7d70c3bce0b6d339f87859.tar.gz
2497
-rw-r--r--056recipe_header.cc6
-rw-r--r--999spaces.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/056recipe_header.cc b/056recipe_header.cc
index 4c44f1eb..ac1ca37e 100644
--- a/056recipe_header.cc
+++ b/056recipe_header.cc
@@ -165,10 +165,10 @@ recipe add2 x:number, x:number -> z:number [
 map<string, int> ingredient_index;
 
 :(after "Begin Instruction Modifying Transforms")
-Transform.push_back(check_and_update_header_reagents);  // idempotent
+Transform.push_back(check_header_ingredients);  // idempotent
 
 :(code)
-void check_and_update_header_reagents(const recipe_ordinal r) {
+void check_header_ingredients(const recipe_ordinal r) {
   recipe& caller_recipe = get(Recipe, r);
   if (caller_recipe.products.empty()) return;
   trace(9991, "transform") << "--- checking reply instructions against header for " << caller_recipe.name << end();
@@ -261,7 +261,7 @@ recipe add2 x:number, y:number -> z:number [
 ]
 +mem: storing 8 in location 1
 
-:(after "Transform.push_back(check_and_update_header_reagents)")
+:(after "Transform.push_back(check_header_ingredients)")
 Transform.push_back(fill_in_reply_ingredients);  // idempotent
 
 :(code)
diff --git a/999spaces.cc b/999spaces.cc
index 95b204ed..33d14453 100644
--- a/999spaces.cc
+++ b/999spaces.cc
@@ -41,7 +41,7 @@ assert(Max_callstack_depth == 9989);
 //:   end instruction inserting transforms
 //:
 //:   begin instruction modifying transforms
-//:     56.2 update header reagents
+//:     56.2 check header ingredients
 //:      ↳ 56.4 fill in reply ingredients
 //:
 //:     48 check types by name