Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357933 - the exit case statement needs to be converted to exit label
Summary: the exit case statement needs to be converted to exit label
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 08:20 EDT by Jeff Douglas CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Douglas CLA 2011-09-16 08:20:50 EDT
As per our discussion.

Paul the IR generated code is currently converting a case statement to a series of if statements, which is good. However, if the user coded an exit IF statement in one of the case criteria, then it would branch to the wrong location.

We need a label placed on the 1st IF statement for the case converted IF, and then any exit case statement would need to be converted to exit label (of the case).
Comment 1 Paul Harmon CLA 2011-11-01 10:03:54 EDT
I have fixed this with updates to:

EGL2MofStatement
CompoundConditionExpander
AbstractVisitor
Comment 2 Jeff Douglas CLA 2011-11-18 11:56:46 EST
ok