1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

fix compiler errors in lrparser caused by bug 231859

This commit is contained in:
Mike Kucera 2009-10-09 19:55:31 +00:00
parent 94e6fe0fa7
commit 30f1693315
2 changed files with 12 additions and 1 deletions

View file

@ -131,4 +131,14 @@ public class C99BasicType implements ICBasicType {
}
}
public Kind getKind() {
// TODO Auto-generated method stub
return null;
}
public int getModifiers() {
// TODO Auto-generated method stub
return 0;
}
}

View file

@ -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);
}