Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346681

Summary: Operators for compound assignments missing from IRs
Product: z_Archived Reporter: Scott Greer <greer>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: lasher, mheitz, pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Scott Greer CLA 2011-05-20 10:03:11 EDT
Statements such as 

   counter -= 1;


are manifest in the IRs as follows:

					<statements ID="312" eClass="org.eclipse.edt.mof.egl.AssignmentStatement" >
						<annotations ID="313" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:13" off="i:2337" line="i:92" />
						<functionMember IDREF="20"/>
						<expr ID="314" eClass="org.eclipse.edt.mof.egl.Assignment" >
							<annotations ID="315" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:12" off="i:2337" line="i:92" />
							<LHS ID="316" eClass="org.eclipse.edt.mof.egl.MemberName" id="counter" >
								<annotations ID="317" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:7" off="i:2337" line="i:92" />
								<member IDREF="40"/>
							</LHS>
							<RHS ID="318" eClass="org.eclipse.edt.mof.egl.IntegerLiteral" value="1" isNegated="false" >
								<annotations ID="319" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:1" off="i:2348" line="i:92" />
							</RHS>
						</expr>
					</statements>
Comment 1 Paul Harmon CLA 2011-06-21 09:30:08 EDT
i have updated the mof (egl and java) model to add operator to Assignment
Comment 2 Scott Greer CLA 2011-08-04 20:52:36 EDT
Verified.