From 20a7d37f74625962c946f027074031d7cd2cbbcb Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 13 Nov 2016 09:37:50 -0800 Subject: 3673 --- html/029tools.cc.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'html/029tools.cc.html') diff --git a/html/029tools.cc.html b/html/029tools.cc.html index a6322f9c..da2f41ab 100644 --- a/html/029tools.cc.html +++ b/html/029tools.cc.html @@ -70,7 +70,7 @@ put(Recipe_ordinal,; for (int i = 2; i < SIZE(current_instruction().ingredients); ++i) { if (i > 2) out << ' '; - out << print_mu(current_instruction().ingredients.at(i), ingredients.at(i)); + out << inspect(current_instruction().ingredients.at(i), ingredients.at(i)); } trace(depth, label) << out.str() << end(); break; @@ -91,7 +91,7 @@ put(Recipe_ordinal,; for (int i = 0; i < SIZE(current_instruction().ingredients); ++i) { if (i) out << ' '; - out << print_mu(current_instruction().ingredients.at(i), ingredients.at(i)); + out << inspect(current_instruction().ingredients.at(i), ingredients.at(i)); } trace(2, "app") << out.str() << end(); break; @@ -117,10 +117,10 @@ put(Recipe_ordinal,+app: foo: 34 :(code) -string print_mu(const reagent& r, const vector<double>& data) { +string inspect(const reagent& r, const vector<double>& data) { if (is_literal(r)) return r.name; - // End print Special-cases(r, data) + // End inspect Special-cases(r, data) ostringstream out; for (long long i = 0; i < SIZE(data); ++i) { if (i) out << ' '; @@ -285,6 +285,7 @@ put(Recipe_ordinal,'\n'; } } + // End $print Special-cases else { for (int j = 0; j < SIZE(ingredients.at(i)); ++j) { trace(9998, "run") << "$print: " << ingredients.at(i).at(j) << end(); @@ -368,7 +369,7 @@ put(Recipe_ordinal,case _LOG: { ostringstream out; for (int i = 0; i < SIZE(current_instruction().ingredients); ++i) { - out << print_mu(current_instruction().ingredients.at(i), ingredients.at(i)); + out << inspect(current_instruction().ingredients.at(i), ingredients.at(i)); } LOG << out.str() << '\n'; break; -- cgit 1.4.1-2-gfad0