Index: compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java,v retrieving revision 1.310.2.1 diff -u -r1.310.2.1 Parser.java --- compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 3 Aug 2005 14:03:54 -0000 1.310.2.1 +++ compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 24 Aug 2005 11:35:56 -0000 @@ -2828,12 +2828,6 @@ currentType.insideEnumConstantPart = false; } } - if (!(this.currentElement instanceof RecoveredType) - && (this.currentToken == TokenNameDOT)){ - this.lastCheckPoint = enumConstant.sourceStart; - this.restartRecovery = true; - return; - } this.lastCheckPoint = this.scanner.startPosition; // force to restart at this exact position this.lastIgnoredToken = -1; this.restartRecovery = true;