diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-02-06 23:44:46 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-02-06 23:44:46 -0800 |
commit | 95f2fe96262fcc5977c4633828730acc588c99b3 (patch) | |
tree | 080c35bc0d25bbf8df1e8f5d5d04c2bf1b8688f7 /010vm.cc | |
parent | 6078ecf1f67c0ff0089d58c8b9c11ec8230e9238 (diff) | |
download | mu-95f2fe96262fcc5977c4633828730acc588c99b3.tar.gz |
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..
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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<reagent> 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(); |