Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2009-04-28 07:53:37 -0400
committerMarkus Schorn2009-04-28 07:53:37 -0400
commit1e31821df493d0cf7727febf0e58858c0ec43b74 (patch)
treead67242bbe86b461b1791d65a3367eaafd9872ba /lrparser/org.eclipse.cdt.core.lrparser
parent71638ab566810d7f6ffd32efaa3e1548a14730ee (diff)
downloadorg.eclipse.cdt-1e31821df493d0cf7727febf0e58858c0ec43b74.tar.gz
org.eclipse.cdt-1e31821df493d0cf7727febf0e58858c0ec43b74.tar.xz
org.eclipse.cdt-1e31821df493d0cf7727febf0e58858c0ec43b74.zip
Fixes CArrayType.getArraySizeExpression(), bug 273797.
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/c99/C99BuildASTParserAction.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/c99/C99BuildASTParserAction.java b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/c99/C99BuildASTParserAction.java
index fd1e80f73a..a562bfe49b 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/c99/C99BuildASTParserAction.java
+++ b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/c99/C99BuildASTParserAction.java
@@ -234,7 +234,7 @@ public class C99BuildASTParserAction extends BuildASTParserAction {
boolean isVarSized, boolean hasTypeQualifierList, boolean hasAssignmentExpr) {
assert isStatic || isVarSized || hasTypeQualifierList;
- ICASTArrayModifier arrayModifier = nodeFactory.newModifiedArrayModifier(null);
+ ICASTArrayModifier arrayModifier = nodeFactory.newArrayModifier(null);
// consume all the stuff between the square brackets into an array modifier
arrayModifier.setStatic(isStatic);

Back to the top