Fix testcase

This commit is contained in:
Daniel Marjamäki 2017-11-10 21:28:13 +01:00
parent 6b1a2dcc5d
commit b01772e4d1
1 changed files with 2 additions and 2 deletions

View File

@ -3009,8 +3009,8 @@ void Tokenizer::setVarIdPass2()
else
break;
}
if (!tok)
syntaxError(tok1);
if (!tok->next())
syntaxError(tok);
if (Token::Match(tok, "%name% ("))
allMemberFunctions.push_back(Member(scope, usingnamespaces, tok1));
else