Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNathan Ridge2018-08-03 00:31:46 -0400
committerNathan Ridge2018-08-24 14:08:05 -0400
commitc4ec66adf4cdd554d58f928f655b524148086fc0 (patch)
treea9d334f9353c9a921bb3daa72a0e4668f4039f8f /core
parent19cbbb52d1620b91918fd8855abcdf5d5243fc01 (diff)
downloadorg.eclipse.cdt-c4ec66adf4cdd554d58f928f655b524148086fc0.tar.gz
org.eclipse.cdt-c4ec66adf4cdd554d58f928f655b524148086fc0.tar.xz
org.eclipse.cdt-c4ec66adf4cdd554d58f928f655b524148086fc0.zip
Bug 537534 - Support binary expressions with an initializer-list as the second operand in CPPASTBinaryExpressions.acceptWithoutRecursion()
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBinaryExpression.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBinaryExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBinaryExpression.java
index 1fc3b627e4..073bbf58e3 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBinaryExpression.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBinaryExpression.java
@@ -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;

Back to the top