Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312558 - [Formatter] Unexpected behavior with before(rule) and after(rule)
Summary: [Formatter] Unexpected behavior with before(rule) and after(rule)
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 05:28 EDT by Moritz Eysholdt CLA
Modified: 2017-09-19 16:08 EDT (History)
0 users

See Also:
moritz.eysholdt: helios+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.