about summary refs log tree commit diff stats
path: root/053recipe_header.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-02-07 00:07:16 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-02-07 00:07:16 -0800
commit3c4c9c08071b55a45bfe99a5609cab48d9013b31 (patch)
tree080c35bc0d25bbf8df1e8f5d5d04c2bf1b8688f7 /053recipe_header.cc
parentd9e39b3b1cfac9487a9a0aee2525ea86e3e137b1 (diff)
downloadmu-3c4c9c08071b55a45bfe99a5609cab48d9013b31.tar.gz
3744
Undo 3743. Really any time we create new instructions from whole cloth
during rewriting or transform, the whole notion of 'original name' goes
out the window. Pointless trying to fight that fact of life.
Diffstat (limited to '053recipe_header.cc')
-rw-r--r--053recipe_header.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/053recipe_header.cc b/053recipe_header.cc
index 7101d7d6..c8904ba3 100644
--- a/053recipe_header.cc
+++ b/053recipe_header.cc
@@ -481,7 +481,7 @@ void fill_in_return_ingredients(const recipe_ordinal r) {
   const instruction& final_instruction = caller_recipe.steps.at(SIZE(caller_recipe.steps)-1);
   if (final_instruction.name != "reply" && final_instruction.name != "return") {
     instruction inst;
-    inst.initialize_name("return");
+    inst.name = "return";
     add_header_products(inst, caller_recipe);
     caller_recipe.steps.push_back(inst);
   }