Function usage: Minor update in the pattern for using function

This commit is contained in:
Daniel Marjamäki 2008-11-23 14:36:20 +00:00
parent c6264022f9
commit a26d44daf5
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void CheckFunctionUsage::parseTokens( const Tokenizer &tokenizer )
{ {
const TOKEN *funcname = 0; const TOKEN *funcname = 0;
if ( TOKEN::Match( tok, "[;{}.,()[=+-/&|?:] %var% [(),;:]" ) || if ( TOKEN::Match( tok, "[;{}.,()[=+-/&|?:] %var% [(),;:}]" ) ||
TOKEN::Match(tok, ":: %var% (") || TOKEN::Match(tok, ":: %var% (") ||
TOKEN::Match(tok, "|= %var% (") || TOKEN::Match(tok, "|= %var% (") ||
TOKEN::Match(tok, "&= %var% (") || TOKEN::Match(tok, "&= %var% (") ||