about summary refs log tree commit diff stats
path: root/012transform.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-03-13 22:03:52 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-03-13 23:09:40 -0700
commitf1e09b1472dabfb3cdf8fae40a31d1f6cc800fc7 (patch)
treef3dfd6c8dfab799af4ad523c5632115020bca147 /012transform.cc
parent16272f8d9753e1fa5bb66c7b525dd9a7f7d84cda (diff)
downloadmu-f1e09b1472dabfb3cdf8fae40a31d1f6cc800fc7.tar.gz
2775 - test rewrite-stash transform
Diffstat (limited to '012transform.cc')
-rw-r--r--012transform.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/012transform.cc b/012transform.cc
index fd3b25ff..4b441f86 100644
--- a/012transform.cc
+++ b/012transform.cc
@@ -39,15 +39,20 @@ vector<transform_fn> Transform;
 :(code)
 void transform_all() {
   trace(9990, "transform") << "=== transform_all()" << end();
+//?   cerr << "=== transform_all\n";
   for (int t = 0; t < SIZE(Transform); ++t) {
 //?     cerr << "transform " << t << '\n';
     for (map<recipe_ordinal, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) {
       recipe& r = p->second;
+//?       cerr << "000 " << r.name << ' ' << SIZE(r.steps) << '\n';
       if (r.steps.empty()) continue;
+//?       cerr << "001 " << r.name << '\n';
       if (r.transformed_until != t-1) continue;
+//?       cerr << "002 " << r.name << '\n';
       // End Transform Checks
       (*Transform.at(t))(/*recipe_ordinal*/p->first);
       r.transformed_until = t;
+//?       cerr << "009 after transform " << t << ": " << to_string(r) << '\n';
     }
   }
 //?   cerr << "wrapping up transform\n";