diff options
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/010vm.cc b/010vm.cc index 9e6b4e24..41a63e2c 100644 --- a/010vm.cc +++ b/010vm.cc @@ -35,6 +35,7 @@ struct instruction { recipe_ordinal operation; // Recipe_ordinal[name] vector<reagent> ingredients; // only if !is_label vector<reagent> products; // only if !is_label + // End instruction Fields instruction(); void clear(); string to_string() const; @@ -171,7 +172,9 @@ Next_recipe_ordinal = 1000; // consistent new numbers for each test //:: Helpers :(code) -instruction::instruction() :is_label(false), operation(IDLE) {} +instruction::instruction() :is_label(false), operation(IDLE) { + // End instruction Constructor +} void instruction::clear() { is_label=false; label.clear(); operation=IDLE; ingredients.clear(); products.clear(); } // Reagents have the form <name>:<type>:<type>:.../<property>/<property>/... |