Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/upc
diff options
context:
space:
mode:
authorJason Montojo2007-12-10 15:23:52 +0000
committerJason Montojo2007-12-10 15:23:52 +0000
commit0658cb9937483b744561cadb364938c1af73adf2 (patch)
tree7817a5c90dd4bb9d1f0e9f694f4ebae571ed8760 /upc
parent580127629126e1aaccd2cb839ef4d2f877756238 (diff)
downloadorg.eclipse.cdt-0658cb9937483b744561cadb364938c1af73adf2.tar.gz
org.eclipse.cdt-0658cb9937483b744561cadb364938c1af73adf2.tar.xz
org.eclipse.cdt-0658cb9937483b744561cadb364938c1af73adf2.zip
Fix for bug 212417
Diffstat (limited to 'upc')
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/upc/UPCLanguage.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/upc/UPCLanguage.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/upc/UPCLanguage.java
index 7b41205be58..cf8fd1e4255 100644
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/upc/UPCLanguage.java
+++ b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/upc/UPCLanguage.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.cdt.core.dom.upc;
+import org.eclipse.cdt.core.dom.ILinkage;
import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
import org.eclipse.cdt.core.dom.c99.IC99TokenCollector;
import org.eclipse.cdt.core.dom.c99.IKeywordMap;
@@ -53,6 +54,10 @@ public class UPCLanguage extends BaseExtensibleLanguage {
return ID;
}
+ public int getLinkageID() {
+ return ILinkage.C_LINKAGE_ID;
+ }
+
public String getName() {
// TODO: this has to be read from a message bundle
return "UPC";//$NON-NLS-1$

Back to the top