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.313 diff -u -r1.313 Parser.java --- compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 5 Aug 2005 15:08:45 -0000 1.313 +++ compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 24 Aug 2005 10:22:38 -0000 @@ -2817,12 +2817,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;