From eaeec7aa9ad7bc37af33607e1a8d236beccc9717 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 4 Feb 2012 02:41:43 +0100 Subject: Comment out some debug info to let tests pass diff --git a/src/module.cc b/src/module.cc index 7ad2e33..f049da1 100644 --- a/src/module.cc +++ b/src/module.cc @@ -205,7 +205,7 @@ std::string Module::dump(const std::string &indent, const std::string &name) con void Module::handleDependencies() { - PRINTB_NOCACHE("Module::handleDependencies(): %p (%d libs %p)", this % this->usedlibs.size() % &this->usedlibs); +// PRINTB_NOCACHE("Module::handleDependencies(): %p (%d libs %p)", this % this->usedlibs.size() % &this->usedlibs); // Iterating manually since we want to modify the container while iterating Module::ModuleContainer::iterator iter = this->usedlibs.begin(); while (iter != this->usedlibs.end()) { diff --git a/src/parser.y b/src/parser.y index 85fee48..2f4379a 100644 --- a/src/parser.y +++ b/src/parser.y @@ -572,7 +572,6 @@ std::string parser_source_path; Module *parse(const char *text, const char *path, int debug) { - PRINT_NOCACHE("New parser"); lexerin = NULL; parser_error_pos = -1; parser_input_buffer = text; @@ -580,7 +579,7 @@ Module *parse(const char *text, const char *path, int debug) module_stack.clear(); Module *rootmodule = currmodule = new Module(); - PRINTB_NOCACHE("New module: %s %p", "root" % rootmodule); + // PRINTB_NOCACHE("New module: %s %p", "root" % rootmodule); parserdebug = debug; parserparse(); -- cgit v0.10.1