about summary refs log tree commit diff stats
path: root/060rewrite_literal_string.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 /060rewrite_literal_string.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 '060rewrite_literal_string.cc')
-rw-r--r--060rewrite_literal_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/060rewrite_literal_string.cc b/060rewrite_literal_string.cc
index 1cd27a8b..3310bf9d 100644
--- a/060rewrite_literal_string.cc
+++ b/060rewrite_literal_string.cc
@@ -46,7 +46,7 @@ void rewrite_literal_string_to_text(const recipe_ordinal r) {
         instruction def;
         ostringstream ingredient_name;
         ingredient_name << inst.name << '_' << i << '_' << j << ":text";
-        def.initialize_name("new");
+        def.name = "new";
         def.ingredients.push_back(inst.ingredients.at(j));
         def.products.push_back(reagent(ingredient_name.str()));
         new_instructions.push_back(def);