From c0f84b1ffa18eaf6f399aafe462f2a0f705dd009 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 7 Dec 2017 16:22:23 -0800 Subject: 4155 --- html/023boolean.cc.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'html/023boolean.cc.html') diff --git a/html/023boolean.cc.html b/html/023boolean.cc.html index 4168dd6d..e2f6eca6 100644 --- a/html/023boolean.cc.html +++ b/html/023boolean.cc.html @@ -71,16 +71,16 @@ if ('onhashchange' in window) { 8 case AND: { 9 for (int i = 0; i < SIZE(inst.ingredients); ++i) { 10 ¦ if (!is_mu_scalar(inst.ingredients.at(i))) { - 11 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'and' requires boolean ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end(); + 11 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'and' requires boolean ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end(); 12 ¦ ¦ goto finish_checking_instruction; 13 ¦ } 14 } 15 if (SIZE(inst.products) > 1) { - 16 ¦ raise << maybe(get(Recipe, r).name) << "'and' yields exactly one product in '" << to_original_string(inst) << "'\n" << end(); + 16 ¦ raise << maybe(get(Recipe, r).name) << "'and' yields exactly one product in '" << to_original_string(inst) << "'\n" << end(); 17 ¦ break; 18 } 19 if (!inst.products.empty() && !is_dummy(inst.products.at(0)) && !is_mu_boolean(inst.products.at(0))) { - 20 ¦ raise << maybe(get(Recipe, r).name) << "'and' should yield a boolean, but got '" << inst.products.at(0).original_string << "'\n" << end(); + 20 ¦ raise << maybe(get(Recipe, r).name) << "'and' should yield a boolean, but got '" << inst.products.at(0).original_string << "'\n" << end(); 21 ¦ break; 22 } 23 break; @@ -129,16 +129,16 @@ if ('onhashchange' in window) { 66 case OR: { 67 for (int i = 0; i < SIZE(inst.ingredients); ++i) { 68 ¦ if (!is_mu_scalar(inst.ingredients.at(i))) { - 69 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'and' requires boolean ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end(); + 69 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'and' requires boolean ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end(); 70 ¦ ¦ goto finish_checking_instruction; 71 ¦ } 72 } 73 if (SIZE(inst.products) > 1) { - 74 ¦ raise << maybe(get(Recipe, r).name) << "'or' yields exactly one product in '" << to_original_string(inst) << "'\n" << end(); + 74 ¦ raise << maybe(get(Recipe, r).name) << "'or' yields exactly one product in '" << to_original_string(inst) << "'\n" << end(); 75 ¦ break; 76 } 77 if (!inst.products.empty() && !is_dummy(inst.products.at(0)) && !is_mu_boolean(inst.products.at(0))) { - 78 ¦ raise << maybe(get(Recipe, r).name) << "'or' should yield a boolean, but got '" << inst.products.at(0).original_string << "'\n" << end(); + 78 ¦ raise << maybe(get(Recipe, r).name) << "'or' should yield a boolean, but got '" << inst.products.at(0).original_string << "'\n" << end(); 79 ¦ break; 80 } 81 break; @@ -186,19 +186,19 @@ if ('onhashchange' in window) { 123 :(before "End Primitive Recipe Checks") 124 case NOT: { 125 if (SIZE(inst.products) != SIZE(inst.ingredients)) { -126 ¦ raise << "ingredients and products should match in '" << to_original_string(inst) << "'\n" << end(); +126 ¦ raise << "ingredients and products should match in '" << to_original_string(inst) << "'\n" << end(); 127 ¦ break; 128 } 129 for (int i = 0; i < SIZE(inst.ingredients); ++i) { 130 ¦ if (!is_mu_scalar(inst.ingredients.at(i))) { -131 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'not' requires boolean ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end(); +131 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'not' requires boolean ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end(); 132 ¦ ¦ goto finish_checking_instruction; 133 ¦ } 134 } 135 for (int i = 0; i < SIZE(inst.products); ++i) { 136 ¦ if (is_dummy(inst.products.at(i))) continue; 137 ¦ if (!is_mu_boolean(inst.products.at(i))) { -138 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'not' should yield a boolean, but got '" << inst.products.at(i).original_string << "'\n" << end(); +138 ¦ ¦ raise << maybe(get(Recipe, r).name) << "'not' should yield a boolean, but got '" << inst.products.at(i).original_string << "'\n" << end(); 139 ¦ ¦ goto finish_checking_instruction; 140 ¦ } 141 } -- cgit 1.4.1-2-gfad0