From 59694ccf8866469614fe129f9eff8befde576a81 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Tue, 1 Jun 2004 15:16:55 +0000 Subject: [PATCH] Removed the ScannerData object and moved it's fields right into the Scanner. Made all users of getChar in the scanner call getChar(boolean) directly to remove the extra call to getChar(void). Merged readFromStream in as well. Finally, I have remove the trigraph code to remove the checks for every character. A bug will be raised to reimplement this functionality elsewhere. --- .../eclipse/cdt/core/parser/tests/QuickParseASTTests.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java index 9fbfa25411e..692ce0fae38 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java @@ -1657,7 +1657,8 @@ public class QuickParseASTTests extends BaseASTTest parse("double x = 0x1.fp1;").getDeclarations().next(); //$NON-NLS-1$ } - public void testBug39552A() throws Exception + // digraphs/trigraphs have been temporarily remove + public void testBug39552A(int x) throws Exception { Writer code = new StringWriter(); @@ -1682,7 +1683,8 @@ public class QuickParseASTTests extends BaseASTTest parse(code.toString()); } - public void testBug39552B() throws Exception + // digraphs/trigraphs have been temporarily remove + public void testBug39552B(int x) throws Exception { Writer code = new StringWriter();