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

Bug 312558

Summary: [Formatter] Unexpected behavior with before(rule) and after(rule)
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: moritz.eysholdt: helios+
Version: 1.0.0   
Target Milestone: RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Moritz Eysholdt CLA 2010-05-12 05:28:27 EDT
With the current implementation, before(rule) not only matches when a rule is entered at it's beginning (this is the expected behavior), but also when a rule that has already been entered is being re-entered when returning from a sub-rule.
Comment 1 Moritz Eysholdt CLA 2010-05-12 16:49:42 EDT
Fixed in head. The formatter is now aware of rule call semantic.
Comment 2 Karsten Thoms CLA 2017-09-19 16:08:58 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.