Tokenizer: only print AST in debug output if --verbose is used

This commit is contained in:
Daniel Marjamäki 2015-01-07 06:46:04 +01:00
parent b0cc46e98b
commit 8a6bb46958
1 changed files with 2 additions and 1 deletions

View File

@ -3877,6 +3877,7 @@ void Tokenizer::printDebugOutput() const
_symbolDatabase->printOut("Symbol database");
}
if (_settings->_verbose)
list.front()->printAst(_settings->_verbose, _settings->_xml, std::cout);
list.front()->printValueFlow(_settings->_xml, std::cout);