From eca2f20595ac79ccd92f0cee9493e708fcfff7f3 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 21 Apr 2011 18:57:18 +0000 Subject: [PATCH] Bug 343479. Reverted previous change. --- .../internal/core/dom/parser/AbstractGNUSourceCodeParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/AbstractGNUSourceCodeParser.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/AbstractGNUSourceCodeParser.java index f08acc780e8..646a29658a5 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/AbstractGNUSourceCodeParser.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/AbstractGNUSourceCodeParser.java @@ -1998,7 +1998,7 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser { if (LT(1) != IToken.tEOC) stmt= statement(); - if (!(stmt instanceof IASTCaseStatement) && !(stmt instanceof IASTDefaultStatement)) + if (stmt instanceof IASTCaseStatement == false) return stmt; // bug 105334, switch without compound statement