Edoardo Vacchi created DROOLS-5879:
--------------------------------------
Summary: Optional newline handling in MVEL parser
Key: DROOLS-5879
URL:
https://issues.redhat.com/browse/DROOLS-5879
Project: Drools
Issue Type: Enhancement
Components: core engine
Reporter: Edoardo Vacchi
Assignee: Edoardo Vacchi
MVEL parser explicitly handles newlines so that statements can be terminated automatically
without semicolons.
However, in some situations this is not necessary. For instance, while parsing
constraints, newlines should be treated as non-significant whitespace.
We add support to a new lexer state, that can be switched at run-time (parser
instantiation time), to allow for whitespace to be fully ignored, newlines included.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)