From 1c2d788b454670bf8fa1cb65c6251a8ff6ddcaf7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 19 Jun 2017 11:29:20 -0700 Subject: 3927 --- html/041jump_target.cc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html/041jump_target.cc.html') diff --git a/html/041jump_target.cc.html b/html/041jump_target.cc.html index 7bce171e..d57c5495 100644 --- a/html/041jump_target.cc.html +++ b/html/041jump_target.cc.html @@ -103,7 +103,7 @@ if ('onhashchange' in window) { 39 ¦ ¦ ¦ put(offset, inst.label, i); 40 ¦ ¦ } 41 ¦ ¦ else { - 42 ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "duplicate label '" << inst.label << "'" << end(); + 42 ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "duplicate label '" << inst.label << "'" << end(); 43 ¦ ¦ ¦ // have all jumps skip some random but noticeable and deterministic amount of code 44 ¦ ¦ ¦ put(offset, inst.label, 9999); 45 ¦ ¦ } @@ -113,14 +113,14 @@ if ('onhashchange' in window) { 49 ¦ instruction& inst = get(Recipe, r).steps.at(i); 50 ¦ if (inst.name == "jump") { 51 ¦ ¦ if (inst.ingredients.empty()) { - 52 ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' expects an ingredient but got 0\n" << end(); + 52 ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' expects an ingredient but got 0\n" << end(); 53 ¦ ¦ ¦ return; 54 ¦ ¦ } 55 ¦ ¦ replace_offset(inst.ingredients.at(0), offset, i, r); 56 ¦ } 57 ¦ if (inst.name == "jump-if" || inst.name == "jump-unless") { 58 ¦ ¦ if (SIZE(inst.ingredients) < 2) { - 59 ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' expects 2 ingredients but got " << SIZE(inst.ingredients) << '\n' << end(); + 59 ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' expects 2 ingredients but got " << SIZE(inst.ingredients) << '\n' << end(); 60 ¦ ¦ ¦ return; 61 ¦ ¦ } 62 ¦ ¦ replace_offset(inst.ingredients.at(1), offset, i, r); @@ -139,7 +139,7 @@ if ('onhashchange' in window) { 75 76 void replace_offset(reagent& x, /*const*/ map<string, int>& offset, const int current_offset, const recipe_ordinal r) { 77 if (!is_literal(x)) { - 78 ¦ raise << maybe(get(Recipe, r).name) << "jump target must be offset or label but is '" << x.original_string << "'\n" << end(); + 78 ¦ raise << maybe(get(Recipe, r).name) << "jump target must be offset or label but is '" << x.original_string << "'\n" << end(); 79 ¦ x.set_value(0); // no jump by default 80 ¦ return; 81 } -- cgit 1.4.1-2-gfad0