1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

Bug 537534 - Support binary expressions with an initializer-list as the second operand in CPPASTBinaryExpressions.acceptWithoutRecursion()

Change-Id: Ifb37df94c9b33f7eeeca4ab041d8f0608377b8cd
This commit is contained in:
Nathan Ridge 2018-08-03 00:31:46 -04:00
parent 8c3ed4c8a3
commit 95133b4b3f

View file

@ -227,7 +227,7 @@ public class CPPASTBinaryExpression extends ASTNode implements ICPPASTBinaryExpr
}
stack.fState= 2;
IASTExpression op2 = expr.getOperand2();
IASTInitializerClause op2 = expr.getInitOperand2();
if (op2 instanceof IASTBinaryExpression) {
N n= new N((IASTBinaryExpression) op2);
n.fNext= stack;