Summary: | codeSelect - does not work in catch clause | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.1 M3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
David Audel
2002-10-10 09:20:19 EDT
Inside SelectionParser replace : protected void consumeFormalParameter() { if (this.indexOfAssistIdentifier() < 0) { super.consumeFormalParameter(); } else { ... } } by : protected void consumeFormalParameter() { if (this.indexOfAssistIdentifier() < 0) { super.consumeFormalParameter(); if((!diet || dietInt != 0) && astPtr > -1) { Argument argument = (Argument) astStack[astPtr]; if(argument.type == assistNode) { isOrphanCompletionNode = true; this.restartRecovery = true; // force to restart in recovery mode this.lastIgnoredToken = -1; } } } else { ... } } Fixed. Verified. |