about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-02-06 22:52:23 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-02-06 22:52:23 -0800
commit755e45f35e02248a5edb31813d462416434ba1e2 (patch)
tree34d427c14ecf3c03db51d02b1a33e62f7f106f8a
parent74e327d14728443310324e03a61455418a2ee1b5 (diff)
downloadmu-755e45f35e02248a5edb31813d462416434ba1e2.tar.gz
3739
-rw-r--r--010vm.cc12
1 files changed, 11 insertions, 1 deletions
diff --git a/010vm.cc b/010vm.cc
index c1cec406..fd26a81d 100644
--- a/010vm.cc
+++ b/010vm.cc
@@ -262,7 +262,17 @@ recipe::recipe() {
 instruction::instruction() :is_label(false), operation(IDLE) {
   // End instruction Constructor
 }
-void instruction::clear() { is_label=false;  label.clear();  name.clear();  old_name.clear();  operation=IDLE;  ingredients.clear();  products.clear();  original_string.clear(); }
+void instruction::clear() {
+  is_label=false;
+  label.clear();
+  name.clear();
+  old_name.clear();
+  operation=IDLE;
+  ingredients.clear();
+  products.clear();
+  original_string.clear();
+  // End instruction Clear
+}
 bool instruction::is_empty() { return !is_label && name.empty(); }
 
 // Reagents have the form <name>:<type>:<type>:.../<property>/<property>/...