Bug 11106

Summary: DOM/AST: do statement doesn't contain trailing semicolon
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2002-03-11 12:56:32 EST
Build 20020307

package validSelection;

public class A_test260 {
	public void foo() {
		/*]*/do
			foo();
		while(1 < 10);/*[*/	
	}
}

Node ends with ) of while(1 < 10)
Comment 1 Olivier Thomann CLA 2002-03-11 13:53:11 EST
This is a really stupid bug. I had a test to check the doStatement positions, but I removed the semi-
colon.
Fixed and released in HEAD.