diff --git a/upc/org.eclipse.cdt.core.parser.upc/plugin.xml b/upc/org.eclipse.cdt.core.parser.upc/plugin.xml
index d7145fcf911..98703b78a5b 100644
--- a/upc/org.eclipse.cdt.core.parser.upc/plugin.xml
+++ b/upc/org.eclipse.cdt.core.parser.upc/plugin.xml
@@ -21,6 +21,12 @@
class="org.eclipse.cdt.internal.core.pdom.dom.c.PDOMCLinkageFactory"
id="upc"/>
-
+
+
+
+
+
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/parser/upc/UPCKeywordMap.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/parser/upc/UPCKeywordMap.java
index 56502b8d788..ab032f883bf 100644
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/parser/upc/UPCKeywordMap.java
+++ b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/core/dom/parser/upc/UPCKeywordMap.java
@@ -27,7 +27,7 @@ public class UPCKeywordMap extends C99KeywordMap {
public static final String
MYTHREAD = "MYTHREAD",//$NON-NLS-1$
THREADS = "THREADS",//$NON-NLS-1$
- UPC_MAX_BLOCKSIZE = "UPC",//$NON-NLS-1$
+ UPC_MAX_BLOCKSIZE = "UPC_MAX_BLOCKSIZE",//$NON-NLS-1$
relaxed = "relaxed",//$NON-NLS-1$
shared = "shared",//$NON-NLS-1$
strict = "strict",//$NON-NLS-1$
diff --git a/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties b/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties
new file mode 100644
index 00000000000..a6b7229f61c
--- /dev/null
+++ b/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties
@@ -0,0 +1,14 @@
+###############################################################################
+# Copyright (c) 2007 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+
+
+forallLoop = upc_forall loop
+upcMaxBlocksize = UPC_MAX_BLOCKSIZE keyword
diff --git a/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml b/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml
new file mode 100644
index 00000000000..65117135fd0
--- /dev/null
+++ b/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+upc_forall (${var} = 0; ${var} < THREADS; ${var}++; ${var}) {
+ ${line_selection}${cursor}
+}
+
+UPC_MAX_BLOCKSIZE
+
+
+
+
\ No newline at end of file