summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-02-04 01:41:43 (GMT)
committerMarius Kintel <marius@kintel.net>2012-02-15 00:32:37 (GMT)
commiteaeec7aa9ad7bc37af33607e1a8d236beccc9717 (patch)
tree4f9aa38b7bb2ca643a1b4f00b5dfac2a41296f35
parent061c1575473c730c947bdc7a9d14812ac36265fa (diff)
Comment out some debug info to let tests pass
-rw-r--r--src/module.cc2
-rw-r--r--src/parser.y3
2 files changed, 2 insertions, 3 deletions
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();
contact: Jan Huwald // Impressum