Refactoring: changed "aaaa" to "str"

This commit is contained in:
Nicolas Le Cam 2008-12-13 11:52:56 +00:00
parent 661068bcd4
commit 4b04d38867
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ void CheckFunctionUsage::parseTokens( const Tokenizer &tokenizer )
if ( funcname ) if ( funcname )
{ {
FunctionUsage &func = _functions[ funcname->aaaa() ]; FunctionUsage &func = _functions[ funcname->str() ];
// No filename set yet.. // No filename set yet..
if (func.filename.empty()) if (func.filename.empty())
@ -123,7 +123,7 @@ void CheckFunctionUsage::parseTokens( const Tokenizer &tokenizer )
if ( funcname ) if ( funcname )
{ {
FunctionUsage &func = _functions[ funcname->aaaa() ]; FunctionUsage &func = _functions[ funcname->str() ];
if ( func.filename.empty() || func.filename == "+" ) if ( func.filename.empty() || func.filename == "+" )
func.usedOtherFile = true; func.usedOtherFile = true;

View File

@ -49,7 +49,7 @@ private:
std::string ret; std::string ret;
for ( const TOKEN *tok = tokenizer.tokens(); tok; tok = tok->next() ) for ( const TOKEN *tok = tokenizer.tokens(); tok; tok = tok->next() )
{ {
ret += std::string(tok->aaaa()) + " "; ret += tok->str() + " ";
} }
return ret; return ret;