parent
7bfd686f04
commit
259724d6e3
|
@ -1539,7 +1539,8 @@ std::string Token::astStringVerbose() const
|
|||
return ret;
|
||||
}
|
||||
|
||||
std::string Token::astStringZ3() const {
|
||||
std::string Token::astStringZ3() const
|
||||
{
|
||||
if (!astOperand1())
|
||||
return str();
|
||||
if (!astOperand2())
|
||||
|
|
|
@ -1022,8 +1022,7 @@ static void compilePrecedence3(Token *&tok, AST_state& state)
|
|||
}
|
||||
|
||||
Token* leftToken = tok;
|
||||
while (Token::Match(tok->next(), ":: %name%"))
|
||||
{
|
||||
while (Token::Match(tok->next(), ":: %name%")) {
|
||||
Token* scopeToken = tok->next(); //The ::
|
||||
scopeToken->astOperand1(leftToken);
|
||||
scopeToken->astOperand2(scopeToken->next());
|
||||
|
|
Loading…
Reference in New Issue