Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2010-05-03 04:32:14 -0400
committerMarkus Schorn2010-05-03 04:32:14 -0400
commit2f09275558673a4e0be849c0f5954add4c7076f6 (patch)
tree4fa0d75c96d1422cb73a1bb6a4a5242e6c8da7ae /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter
parent404e31b20ad7269b39ae7d1039cfea3af138c1ee (diff)
downloadorg.eclipse.cdt-2f09275558673a4e0be849c0f5954add4c7076f6.tar.gz
org.eclipse.cdt-2f09275558673a4e0be849c0f5954add4c7076f6.tar.xz
org.eclipse.cdt-2f09275558673a4e0be849c0f5954add4c7076f6.zip
Deprecation of IASTArraySubscriptExpression.getSubscriptExpression().
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/ExpressionWriter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/ExpressionWriter.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/ExpressionWriter.java
index a04d3310ad..3c9cce0eb1 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/ExpressionWriter.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/ExpressionWriter.java
@@ -408,7 +408,7 @@ public class ExpressionWriter extends NodeWriter{
private void writeArraySubscriptExpression(IASTArraySubscriptExpression arrSubExp) {
arrSubExp.getArrayExpression().accept(visitor);
scribe.print('[');
- arrSubExp.getSubscriptExpression().accept(visitor);
+ arrSubExp.getArgument().accept(visitor);
scribe.print(']');
}

Back to the top