about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-09-15 02:46:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-09-15 02:46:11 -0700
commitea59313c3496f9362640da907f2721f8356722a1 (patch)
treecd3d1e688c3c16a6cc082eb83d77132ddb3ecf13
parentfa2554eb0e5dc49f0e30b2e38eab705612c22a9a (diff)
downloadmu-ea59313c3496f9362640da907f2721f8356722a1.tar.gz
4000
-rw-r--r--tangle/003tangle.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tangle/003tangle.cc b/tangle/003tangle.cc
index 7eb62f27..1699e8ce 100644
--- a/tangle/003tangle.cc
+++ b/tangle/003tangle.cc
@@ -303,6 +303,7 @@ list<Line>::iterator balancing_curly(list<Line>::iterator curr) {
 // Remember to update is_input below if you add to this format.
 void emit_test(const string& name, list<Line>& lines, list<Line>& result) {
   result.push_back(Line("void test_"+name+"() {", front(lines).filename, front(lines).line_number-1));  // use line number of directive
+//?   result.push_back("cerr << \""+name+"\\n\";");  // debug: uncomment this to print scenario names as you run them
   while (!lines.empty()) {
     while (!lines.empty() && starts_with(front(lines).contents, "% ")) {
       result.push_back(Line("  "+front(lines).contents.substr(strlen("% ")), front(lines)));