reverted accidental changes committed in [1330]

This commit is contained in:
Daniel Marjamäki 2009-03-04 17:10:28 +00:00
parent 8b7a5dd494
commit 4522bcd680
1 changed files with 1 additions and 4 deletions

View File

@ -334,9 +334,6 @@ void CppCheck::checkFile(const std::string &code, const char FileName[])
// Tokenize the file // Tokenize the file
{ {
std::cout << "code..\n" << code << std::endl;
std::istringstream istr(code); std::istringstream istr(code);
_tokenizer.tokenize(istr, FileName); _tokenizer.tokenize(istr, FileName);
} }
@ -368,7 +365,7 @@ void CppCheck::checkFile(const std::string &code, const char FileName[])
_tokenizer.simplifyTokenList(); _tokenizer.simplifyTokenList();
// Write simplified token list to a file.. // Write simplified token list to a file..
std::cout << _tokenizer.tokens()->stringifyList(true) << std::endl; //std::cout << _tokenizer.tokens()->stringifyList(true) << std::endl;
if (_settings._unusedFunctions) if (_settings._unusedFunctions)
_checkFunctionUsage.parseTokens(_tokenizer); _checkFunctionUsage.parseTokens(_tokenizer);