Skip to main content
summaryrefslogtreecommitdiffstats
path: root/upc
diff options
context:
space:
mode:
authorMike Kucera2009-10-09 15:55:31 -0400
committerMike Kucera2009-10-09 15:55:31 -0400
commit30f169331522f053fb721467efc97e1c1701c816 (patch)
tree7fa0b3301eff9c963c4b3167fe37aed2946d0333 /upc
parent94e6fe0fa75e1caafa60511a6d615b3af48bb27d (diff)
downloadorg.eclipse.cdt-30f169331522f053fb721467efc97e1c1701c816.tar.gz
org.eclipse.cdt-30f169331522f053fb721467efc97e1c1701c816.tar.xz
org.eclipse.cdt-30f169331522f053fb721467efc97e1c1701c816.zip
fix compiler errors in lrparser caused by bug 231859
Diffstat (limited to 'upc')
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
index 0bef33b65c..1e3b45d7ee 100644
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
+++ b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
@@ -13,6 +13,7 @@ package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
import org.eclipse.cdt.core.dom.ast.ASTVisitor;
import org.eclipse.cdt.core.dom.ast.IBasicType;
import org.eclipse.cdt.core.dom.ast.IType;
+import org.eclipse.cdt.core.dom.ast.IBasicType.Kind;
import org.eclipse.cdt.core.dom.upc.ast.IUPCASTKeywordExpression;
import org.eclipse.cdt.internal.core.dom.parser.ASTNode;
import org.eclipse.cdt.internal.core.dom.parser.c.CBasicType;
@@ -46,7 +47,7 @@ public class UPCASTKeywordExpression extends ASTNode implements IUPCASTKeywordEx
}
public IType getExpressionType() {
- return new CBasicType(IBasicType.t_int, 0, this);
+ return new CBasicType(Kind.eInt, 0, this);
}

Back to the top