From 2b25071710656d7a755c2f66c99734cd7990d1ba Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 26 May 2017 16:43:18 -0700 Subject: 3877 --- html/024jump.cc.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'html/024jump.cc.html') diff --git a/html/024jump.cc.html b/html/024jump.cc.html index 63f26819..dcb4f87a 100644 --- a/html/024jump.cc.html +++ b/html/024jump.cc.html @@ -80,11 +80,11 @@ if ('onhashchange' in window) { 16 :(before "End Primitive Recipe Checks") 17 case JUMP: { 18 if (SIZE(inst.ingredients) != 1) { - 19 ¦ raise << maybe(get(Recipe, r).name) << "'" << inst.original_string << "' should get exactly one ingredient\n" << end(); + 19 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly one ingredient\n" << end(); 20 ¦ break; 21 } 22 if (!is_literal(inst.ingredients.at(0))) { - 23 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '" << inst.original_string << "' should be a label or offset, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); + 23 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '" << to_original_string(inst) << "' should be a label or offset, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); 24 ¦ break; 25 } 26 break; @@ -119,15 +119,15 @@ if ('onhashchange' in window) { 55 :(before "End Primitive Recipe Checks") 56 case JUMP_IF: { 57 if (SIZE(inst.ingredients) != 2) { - 58 ¦ raise << maybe(get(Recipe, r).name) << "'" << inst.original_string << "' should get exactly two ingredients\n" << end(); + 58 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end(); 59 ¦ break; 60 } 61 if (!is_mu_scalar(inst.ingredients.at(0))) { - 62 ¦ raise << maybe(get(Recipe, r).name) << "'" << inst.original_string << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); + 62 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); 63 ¦ break; 64 } 65 if (!is_literal(inst.ingredients.at(1))) { - 66 ¦ raise << maybe(get(Recipe, r).name) << "'" << inst.original_string << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); + 66 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); 67 ¦ break; 68 } 69 // End JUMP_IF Checks @@ -172,15 +172,15 @@ if ('onhashchange' in window) { 108 :(before "End Primitive Recipe Checks") 109 case JUMP_UNLESS: { 110 if (SIZE(inst.ingredients) != 2) { -111 ¦ raise << maybe(get(Recipe, r).name) << "'" << inst.original_string << "' should get exactly two ingredients\n" << end(); +111 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end(); 112 ¦ break; 113 } 114 if (!is_mu_scalar(inst.ingredients.at(0))) { -115 ¦ raise << maybe(get(Recipe, r).name) << "'" << inst.original_string << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); +115 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); 116 ¦ break; 117 } 118 if (!is_literal(inst.ingredients.at(1))) { -119 ¦ raise << maybe(get(Recipe, r).name) << "'" << inst.original_string << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); +119 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); 120 ¦ break; 121 } 122 // End JUMP_UNLESS Checks -- cgit 1.4.1-2-gfad0