Remove FIXME
This commit is contained in:
parent
dc38681a56
commit
749699c632
|
@ -1233,9 +1233,6 @@ void TokenList::validateAst() const
|
||||||
// Skip lambda assignment and/or initializer
|
// Skip lambda assignment and/or initializer
|
||||||
if (Token::Match(tok, "= {|^|["))
|
if (Token::Match(tok, "= {|^|["))
|
||||||
continue;
|
continue;
|
||||||
// FIXME: Workaround broken AST assignment in type aliases
|
|
||||||
if (Token::Match(tok->previous(), "%name% = %name%"))
|
|
||||||
continue;
|
|
||||||
if (!tok->astOperand1() || !tok->astOperand2())
|
if (!tok->astOperand1() || !tok->astOperand2())
|
||||||
throw InternalError(tok, "Syntax Error: AST broken, binary operator '" + tok->str() + "' doesn't have two operands.", InternalError::AST);
|
throw InternalError(tok, "Syntax Error: AST broken, binary operator '" + tok->str() + "' doesn't have two operands.", InternalError::AST);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue