Removed some debug output which should not be on and cleaned up a little.
This commit is contained in:
parent
a07b7635c0
commit
25d991d948
|
@ -770,8 +770,8 @@ std::list<std::string> Preprocessor::getcfgs(const std::string &filedata)
|
||||||
if (s.find("&&") != std::string::npos || s.find("||") != std::string::npos)
|
if (s.find("&&") != std::string::npos || s.find("||") != std::string::npos)
|
||||||
{
|
{
|
||||||
// unhandled ifdef configuration..
|
// unhandled ifdef configuration..
|
||||||
if (_settings && _settings->_debug)
|
if (_errorLogger && _settings && _settings->_debug)
|
||||||
std::cout << "unhandled configuration: " << s << std::endl;
|
_errorLogger->reportOut("unhandled configuration: " + s);
|
||||||
|
|
||||||
ret.erase(it++);
|
ret.erase(it++);
|
||||||
}
|
}
|
||||||
|
@ -878,7 +878,7 @@ std::string Preprocessor::getcode(const std::string &filedata, std::string cfg,
|
||||||
cfg += line.substr(8);
|
cfg += line.substr(8);
|
||||||
else
|
else
|
||||||
cfg += line.substr(8, pos - 8) + "=" + line.substr(pos + 1);
|
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)
|
else if (line.find("#elif ") == 0)
|
||||||
|
|
Loading…
Reference in New Issue