From a802f0cedc7b5580d746f46ae62fcf8074ae3c49 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 2 Mar 2017 04:41:24 -0800 Subject: 3749 --- html/021check_instruction.cc.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/021check_instruction.cc.html') diff --git a/html/021check_instruction.cc.html b/html/021check_instruction.cc.html index 9e8d0d1f..e399cd2c 100644 --- a/html/021check_instruction.cc.html +++ b/html/021check_instruction.cc.html @@ -74,7 +74,7 @@ if ('onhashchange' in window) { 13 14 :(code) 15 void check_instruction(const recipe_ordinal r) { - 16 trace(9991, "transform") << "--- perform checks for recipe " << get(Recipe, r).name << end(); + 16 trace(9991, "transform") << "--- perform checks for recipe " << get(Recipe, r).name << end(); 17 map<string, vector<type_ordinal> > metadata; 18 for (int i = 0; i < SIZE(get(Recipe, r).steps); ++i) { 19 instruction& inst = get(Recipe, r).steps.at(i); @@ -83,12 +83,12 @@ if ('onhashchange' in window) { 22 // Primitive Recipe Checks 23 case COPY: { 24 if (SIZE(inst.products) != SIZE(inst.ingredients)) { - 25 raise << maybe(get(Recipe, r).name) << "ingredients and products should match in '" << inst.original_string << "'\n" << end(); + 25 raise << maybe(get(Recipe, r).name) << "ingredients and products should match in '" << inst.original_string << "'\n" << end(); 26 break; 27 } 28 for (int i = 0; i < SIZE(inst.ingredients); ++i) { 29 if (!types_coercible(inst.products.at(i), inst.ingredients.at(i))) { - 30 raise << maybe(get(Recipe, r).name) << "can't copy '" << inst.ingredients.at(i).original_string << "' to '" << inst.products.at(i).original_string << "'; types don't match\n" << end(); + 30 raise << maybe(get(Recipe, r).name) << "can't copy '" << inst.ingredients.at(i).original_string << "' to '" << inst.products.at(i).original_string << "'; types don't match\n" << end(); 31 goto finish_checking_instruction; 32 } 33 } @@ -236,7 +236,7 @@ if ('onhashchange' in window) { 175 if (is_literal(type)) return false; 176 if (type->atom) return false; 177 if (!type->left->atom) { -178 raise << "invalid type " << to_string(type) << '\n' << end(); +178 raise << "invalid type " << to_string(type) << '\n' << end(); 179 return false; 180 } 181 return type->left->value == get(Type_ordinal, "array"); @@ -251,7 +251,7 @@ if ('onhashchange' in window) { 190 if (is_literal(type)) return false; 191 if (type->atom) return false; 192 if (!type->left->atom) { -193 raise << "invalid type " << to_string(type) << '\n' << end(); +193 raise << "invalid type " << to_string(type) << '\n' << end(); 194 return false; 195 } 196 return type->left->value == get(Type_ordinal, "address"); -- cgit 1.4.1-2-gfad0