1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 343479. Reverted previous change.

This commit is contained in:
Sergey Prigogin 2011-04-21 18:57:18 +00:00
parent 0f66b2fcb3
commit eca2f20595

View file

@ -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