From 8e1d1add72e8b367ded6995c26f287f0b544cabe Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 19 Feb 2016 13:57:43 -0800 Subject: 2686 --- 010vm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '010vm.cc') diff --git a/010vm.cc b/010vm.cc index ae262e42..052473eb 100644 --- a/010vm.cc +++ b/010vm.cc @@ -41,7 +41,7 @@ struct instruction { // End instruction Fields instruction(); void clear(); - bool is_clear(); + bool is_empty(); }; :(before "struct instruction") @@ -225,7 +225,7 @@ 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(); } -bool instruction::is_clear() { return !is_label && name.empty(); } +bool instruction::is_empty() { return !is_label && name.empty(); } // Reagents have the form :::...///... reagent::reagent(string s) :original_string(s), value(0), initialized(false), type(NULL) { -- cgit 1.4.1-2-gfad0