Fix testcase
This commit is contained in:
parent
6b1a2dcc5d
commit
b01772e4d1
|
@ -3009,8 +3009,8 @@ void Tokenizer::setVarIdPass2()
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!tok)
|
if (!tok->next())
|
||||||
syntaxError(tok1);
|
syntaxError(tok);
|
||||||
if (Token::Match(tok, "%name% ("))
|
if (Token::Match(tok, "%name% ("))
|
||||||
allMemberFunctions.push_back(Member(scope, usingnamespaces, tok1));
|
allMemberFunctions.push_back(Member(scope, usingnamespaces, tok1));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue