From 2c678a4e1d7f97c862342ee19cf2d6ee6e901d85 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 29 May 2017 14:21:32 -0700 Subject: 3897 - various updates to documentation --- html/060rewrite_literal_string.cc.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/060rewrite_literal_string.cc.html') diff --git a/html/060rewrite_literal_string.cc.html b/html/060rewrite_literal_string.cc.html index a7bccb19..7689488e 100644 --- a/html/060rewrite_literal_string.cc.html +++ b/html/060rewrite_literal_string.cc.html @@ -100,10 +100,10 @@ if ('onhashchange' in window) { 38 trace(9991, "transform") << "--- rewrite literal strings in recipe " << caller.name << end(); 39 if (contains_numeric_locations(caller)) return; 40 vector<instruction> new_instructions; -41 for (int i = 0; i < SIZE(caller.steps); ++i) { +41 for (int i = 0; i < SIZE(caller.steps); ++i) { 42 ¦ instruction& inst = caller.steps.at(i); 43 ¦ if (recipes_taking_literal_strings.find(inst.name) == recipes_taking_literal_strings.end()) { -44 ¦ ¦ for (int j = 0; j < SIZE(inst.ingredients); ++j) { +44 ¦ ¦ for (int j = 0; j < SIZE(inst.ingredients); ++j) { 45 ¦ ¦ ¦ if (!is_literal_text(inst.ingredients.at(j))) continue; 46 ¦ ¦ ¦ instruction def; 47 ¦ ¦ ¦ ostringstream ingredient_name; @@ -122,12 +122,12 @@ if ('onhashchange' in window) { 60 } 61 62 bool contains_numeric_locations(const recipe& caller) { -63 for (int i = 0; i < SIZE(caller.steps); ++i) { +63 for (int i = 0; i < SIZE(caller.steps); ++i) { 64 ¦ const instruction& inst = caller.steps.at(i); -65 ¦ for (int in = 0; in < SIZE(inst.ingredients); ++in) +65 ¦ for (int in = 0; in < SIZE(inst.ingredients); ++in) 66 ¦ ¦ if (is_numeric_location(inst.ingredients.at(in))) 67 ¦ ¦ ¦ return true; -68 ¦ for (int out = 0; out < SIZE(inst.products); ++out) +68 ¦ for (int out = 0; out < SIZE(inst.products); ++out) 69 ¦ ¦ if (is_numeric_location(inst.products.at(out))) 70 ¦ ¦ ¦ return true; 71 } -- cgit 1.4.1-2-gfad0