From 95f2fe96262fcc5977c4633828730acc588c99b3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 6 Feb 2017 23:44:46 -0800 Subject: 3742 - move instruction.old_name to a later layer The drawback of this is that we forget to initialize old_name when we create instructions out of whole cloth in a few places. But this problem already existed.. --- 010vm.cc | 2 -- 1 file changed, 2 deletions(-) (limited to '010vm.cc') diff --git a/010vm.cc b/010vm.cc index b35d39d8..fea11a50 100644 --- a/010vm.cc +++ b/010vm.cc @@ -33,7 +33,6 @@ struct instruction { bool is_label; string label; // only if is_label string name; // only if !is_label - string old_name; // before our automatic rewrite rules string original_string; // for error messages recipe_ordinal operation; // get(Recipe_ordinal, name) vector ingredients; // only if !is_label @@ -266,7 +265,6 @@ void instruction::clear() { is_label=false; label.clear(); name.clear(); - old_name.clear(); operation=IDLE; ingredients.clear(); products.clear(); -- cgit 1.4.1-2-gfad0