From b2059b4a5b64fca290c8312d13f5a62602a90664 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Tue, 12 Jun 2007 03:09:00 +0000 Subject: [PATCH] Trying to fix an encoding error that's occuring on the build machine. --- .../eclipse/cdt/core/parser/tests/ast2/AST2CSpecTest.java | 4 ++-- .../org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CSpecTest.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CSpecTest.java index 7104474ed16..7a7c17ac419 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CSpecTest.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CSpecTest.java @@ -805,7 +805,7 @@ public class AST2CSpecTest extends AST2SpecBaseTest { pi = &ncs.mem; // valid pi = &cs.mem; // violates type constraints for = pci = &cs.mem; // valid - pi = a[0]; // invalid: a[0] has type ‘‘const int *’’ + pi = a[0]; // invalid: a[0] has type ''const int *'' } --End Example] */ @@ -823,7 +823,7 @@ public class AST2CSpecTest extends AST2SpecBaseTest { buffer.append("pi = &ncs.mem; // valid\n"); //$NON-NLS-1$ buffer.append("pi = &cs.mem; // violates type constraints for =\n"); //$NON-NLS-1$ buffer.append("pci = &cs.mem; // valid\n"); //$NON-NLS-1$ - buffer.append("pi = a[0]; // invalid: a[0] has type ‘‘const int *’’\n"); //$NON-NLS-1$ + buffer.append("pi = a[0]; // invalid: a[0] has type ''const int *''\n"); //$NON-NLS-1$ buffer.append("}\n"); //$NON-NLS-1$ parseCandCPP(buffer.toString(), true, 0); } diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java index 699327071d4..895878ae35e 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java @@ -2134,9 +2134,9 @@ public class AST2Tests extends AST2BaseTest { .getName()); } - // test C99: 6.7.5.3-7 A declaration of a parameter as ‘‘array of type’’ - // shall be adjusted to ‘‘qualified pointer to - // type’’, where the type qualifiers (if any) are those specified within the + // test C99: 6.7.5.3-7 A declaration of a parameter as ''array of type'' + // shall be adjusted to ''qualified pointer to + // type'', where the type qualifiers (if any) are those specified within the // [ and ] of the // array type derivation. public void testArrayTypeToQualifiedPointerTypeParm() throws Exception {