From ea59313c3496f9362640da907f2721f8356722a1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 15 Sep 2017 02:46:11 -0700 Subject: 4000 --- tangle/003tangle.cc | 1 + 1 file changed, 1 insertion(+) 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::iterator balancing_curly(list::iterator curr) { // Remember to update is_input below if you add to this format. void emit_test(const string& name, list& lines, list& 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))); -- cgit 1.4.1-2-gfad0