From b2566a847948ba808d4ca93d02bcc62ee6487255 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 2 Feb 2016 09:59:40 -0800 Subject: 2625 --- html/042name.cc.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/042name.cc.html') diff --git a/html/042name.cc.html b/html/042name.cc.html index e6f0b296..b39670fb 100644 --- a/html/042name.cc.html +++ b/html/042name.cc.html @@ -80,7 +80,7 @@ void transform_names(const recipe_ordinal r// End transform_names(inst) Special-cases // map names to addresses for (long long int in = 0; in < SIZE(inst.ingredients); ++in) { - if (disqualified(inst.ingredients.at(in), inst, caller.name)) continue; + if (is_disqualified(inst.ingredients.at(in), inst, caller.name)) continue; if (is_numeric_location(inst.ingredients.at(in))) numeric_locations_used = true; if (is_named_location(inst.ingredients.at(in))) names_used = true; if (is_integer(inst.ingredients.at(in).name)) continue; @@ -90,7 +90,7 @@ void transform_names(const recipe_ordinal r.ingredients.at(in).set_value(lookup_name(inst.ingredients.at(in), r)); } for (long long int out = 0; out < SIZE(inst.products); ++out) { - if (disqualified(inst.products.at(out), inst, caller.name)) continue; + if (is_disqualified(inst.products.at(out), inst, caller.name)) continue; if (is_numeric_location(inst.products.at(out))) numeric_locations_used = true; if (is_named_location(inst.products.at(out))) names_used = true; if (is_integer(inst.products.at(out).name)) continue; @@ -106,15 +106,15 @@ void transform_names(const recipe_ordinal r(caller.name) << "mixing variable names and numeric addresses\n" << end(); } -bool disqualified(/*mutable*/ reagent& x, const instruction& inst, const string& recipe_name) { +bool is_disqualified(/*mutable*/ reagent& x, const instruction& inst, const string& recipe_name) { if (!x.type) { - // End transform_names Exceptions + // End Null-type is_disqualified Exceptions raise_error << maybe(recipe_name) << "missing type for " << x.original_string << " in '" << inst.to_string() << "'\n" << end(); return true; } if (is_raw(x)) return true; if (is_literal(x)) return true; - // End Disqualified Reagents + // End is_disqualified Cases if (x.initialized) return true; return false; } -- cgit 1.4.1-2-gfad0