[
http://jira.jboss.com/jira/browse/JBRULES-519?page=comments#action_12346927 ]
Michael Neale commented on JBRULES-519:
---------------------------------------
Awesome !
Tomasz, you are some kind of an Antlr deity. Tell me where you live and I will pray in
that general direction tonight.
I am not sure when we will incorporate those changes, but we will. I want to pull out the
DSL stuff from the core parser anyway, so that is fine. I didn't think the lexer rule
for the RHS would actually work - does it have any detrimental side effects?
Perhaps we can combine this issue with tightening the newline requirements.
doublequotes not escaped in strings in a DRL rules RHS
------------------------------------------------------
Key: JBRULES-519
URL:
http://jira.jboss.com/jira/browse/JBRULES-519
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 3.0.3, 3.0.4
Reporter: Tomasz Cichocki
Assigned To: Mark Proctor
Attachments: modified_drl-single_token.g
Time Spent: 2 days
Remaining Estimate: 0 minutes
There is a problem with "-s inside string literals.
Example:
rule "test_Quotes"
when
InitialFact()
then
String s = "\"";
end
results in DRL compilation error:
[mTokens, mSTRING]: line 14:0 mismatched char: '?' on line 14; expecting char
'"'
(line 14 is the last line in the file)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira