Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Recoskie2007-04-30 15:11:52 -0400
committerChris Recoskie2007-04-30 15:11:52 -0400
commit9edb298740048bd82bdf3c2dc9d68606a980083e (patch)
tree42cf1f9270bd8f51fcc3e7e718368fe60b28e169
parent1c4651b1513fae92b6f9808dfcb96241b8ea720e (diff)
downloadorg.eclipse.cdt-9edb298740048bd82bdf3c2dc9d68606a980083e.tar.gz
org.eclipse.cdt-9edb298740048bd82bdf3c2dc9d68606a980083e.tar.xz
org.eclipse.cdt-9edb298740048bd82bdf3c2dc9d68606a980083e.zip
RESOLVED - bug 184499: [C99 parser] add support for digraph and trigraph sequences
https://bugs.eclipse.org/bugs/show_bug.cgi?id=184499 Patch from Mike Kucera
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java1
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java31
2 files changed, 32 insertions, 0 deletions
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
index ad8ee7c9e42..da9a15b0938 100644
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
+++ b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
@@ -30,6 +30,7 @@ public class AutomatedIntegrationSuite extends TestSuite {
suite.addTestSuite(UPCC99SpecTests.class);
suite.addTestSuite(UPCC99Tests.class);
suite.addTestSuite(UPCLanguageExtensionTests.class);
+ suite.addTestSuite(UPCC99DigraphTrigraphTests.class);
return suite;
}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java
new file mode 100644
index 00000000000..51131147658
--- /dev/null
+++ b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2006, 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
+ *******************************************************************************/
+package org.eclipse.cdt.core.parser.upc.tests;
+
+import org.eclipse.cdt.core.dom.c99.C99Language;
+import org.eclipse.cdt.core.dom.upc.UPCLanguage;
+import org.eclipse.cdt.core.parser.c99.tests.C99DigraphTrigraphTests;
+
+
+public class UPCC99DigraphTrigraphTests extends C99DigraphTrigraphTests {
+
+ public UPCC99DigraphTrigraphTests() {
+ super();
+ }
+
+ public UPCC99DigraphTrigraphTests(String name) {
+ super(name);
+ }
+
+ protected C99Language getC99Language() {
+ return new UPCLanguage();
+ }
+}

Back to the top