From 25d991d948e7ff44b705829f7b27e659b8063208 Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Sun, 26 Jul 2009 00:16:18 +0300 Subject: [PATCH] Removed some debug output which should not be on and cleaned up a little. --- src/preprocessor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/preprocessor.cpp b/src/preprocessor.cpp index 47adb03b7..4259e8876 100644 --- a/src/preprocessor.cpp +++ b/src/preprocessor.cpp @@ -770,8 +770,8 @@ std::list Preprocessor::getcfgs(const std::string &filedata) if (s.find("&&") != std::string::npos || s.find("||") != std::string::npos) { // unhandled ifdef configuration.. - if (_settings && _settings->_debug) - std::cout << "unhandled configuration: " << s << std::endl; + if (_errorLogger && _settings && _settings->_debug) + _errorLogger->reportOut("unhandled configuration: " + s); ret.erase(it++); } @@ -878,7 +878,7 @@ std::string Preprocessor::getcode(const std::string &filedata, std::string cfg, cfg += line.substr(8); else cfg += line.substr(8, pos - 8) + "=" + line.substr(pos + 1); - std::cout << cfg << std::endl; + // std::cout << cfg << std::endl; } else if (line.find("#elif ") == 0)