]
Edson Tirelli resolved JBRULES-269.
-----------------------------------
Fix Version/s: 3.1-m1
(was: 3.1-m3)
Resolution: Done
New parser was rewrote. Closing the issue for new line enforcement.
Colisions will be handle in the other issue.
Parser to be stricter with newlines
-----------------------------------
Key: JBRULES-269
URL:
http://jira.jboss.com/jira/browse/JBRULES-269
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 3.0-rc2
Reporter: Michael Neale
Assigned To: Edson Tirelli
Fix For: 3.1-m1
Given that we are not going down the route of
when {
}
style brackets, we will need to be stricter about newlines.
In otherwords, newlines are required I believe in the following scenarious:
before a when,
after a when before the LHS
before a then
after a then before then RHS
before an end (at the end of the rule).
when,then, end - should all appear on a line by themselves.
Optionally (perhaps?) rule should always be at the start of a newline.
on a similar note, should rule and end be at the start of a newline? (don't really
want to have to enforce column positions - but it is kind of needed).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: