[
http://jira.jboss.com/jira/browse/JBRULES-519?page=comments#action_12347866 ]
Edson Tirelli commented on JBRULES-519:
---------------------------------------
$ svn log -r 7928 -v
------------------------------------------------------------------------
r7928 | tirelli | 2006-11-29 08:48:37 -0300 (Wed, 29 Nov 2006) | 1 line
Changed paths:
M
/labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/compiler/DrlParser.java
A
/labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/compiler/SwitchingCommonTokenStream.java
A /labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
A /labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
D /labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
D
/labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
M
/labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/descr/LiteralRestrictionDescr.java
A /labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g
M /labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/IndexedNumber.java
M
/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java
M
/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/lang/RuleParserTest.java
M
/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/lang/column_partial.drl
M
/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/lang/empty_rule.drl
M
/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/lang/eol_funny_business.drl
M
/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/lang/invalid_syntax.drl
M
/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/lang/restrictions_test.drl
M
/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/lang/rule_names_number_prefix.drl
M
/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/lang/statement_ordering_1.drl
JBRULES-519: merging grammar into 3.1m1 branch
------------------------------------------------------------------------
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.4, 3.0.3
Reporter: Tomasz Cichocki
Assigned To: Edson Tirelli
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