| Summary: | AST: ASTIfConstructNode and ASTWhereConstructNode structured incorrectly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Matthew Fotzler <incongruous> | ||||
| Component: | Photran.For Internal Use | Assignee: | Photran Inbox <photran-inbox> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P4 | CC: | com-eclipse-dot-org | ||||
| Version: | 6.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Matthew Fotzler
The Control Flow Graph code will probably need to be changed once this is fixed. ASTWhereConstructNodes suffer from the same structure problem. Created attachment 180988 [details]
proposed patch
This provides IfConstructRestructurer and WhereConstructRestructurer, which will pull the else/elsewhere and end if/where statements from the elsewhere, else if constructs to the if/where constructs.
Thanks, Matt. Can you please confirm that 1. you wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others, 2. you have the right to contribute the code to Eclipse, and 3. you have included the EPL license header in all source files? Yes, I wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others, I have the right to contribute the code to Eclipse, and I have included the EPL license header in all source files. |