[rules-users] 5.4.0.Beta2 parse error in consequence /* in string

Mark Proctor mproctor at codehaus.org
Tue Feb 28 02:15:42 EST 2012


On 27/02/2012 15:44, Benjamin Bennett wrote:
> I had created issue JBRULES-3399 for the issue. I tracked it a bit , 
> it is any comment.
>
> // or /*  , think the lexar expression for comment isn't correct .
>
> I am working towards a fix but not a  antlr expert. I have used yacc.
just a reminder to read this page, on how to correctly comment your 
commits, how to submit pull requests etc:
http://www.athico.com/Getting_Involved/gettinginvolved.html

Mark
>
>
>
> On Mon, Feb 27, 2012 at 1:38 AM, Wolfgang Laun 
> <wolfgang.laun at gmail.com <mailto:wolfgang.laun at gmail.com>> wrote:
>
>     Submitted: JBRULES-3401.
>
>     -W
>
>
>     On 24/02/2012, Benjamin Bennett <benbennett at gmail.com
>     <mailto:benbennett at gmail.com>> wrote:
>     > Just passing on I am using the drools 5.4.0Beta2
>     >
>     > The following doesn't compile using the mvel dialect .
>     > rule "some rule"
>     >  when
>     > fact: Fact()
>     > then
>     > BasicFact fault= new BasicFact( "/*");
>     > end
>     >
>     > but
>     > rule "some rule"
>     >  when
>     > fact: Fact()
>     > then
>     > BasicFact fault= new BasicFact( "/ *");
>     > end
>     >
>     > does compile some how /* is being parsed as an expression I
>     think and not a
>     > string literal.
>     >
>     > Thanks,
>     > Ben
>     >
>     _______________________________________________
>     rules-users mailing list
>     rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
> -- 
> Sincerely,
>
> Benjamin Bennett
> 314.246.0645
> benbennett at gmail.com <mailto:benbennett at gmail.com>
>
> "For a successful technology, reality must take precedence over public 
> relations, for Nature cannot be fooled."
> Richard Feynman
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120228/67ca3cbe/attachment.html 


More information about the rules-users mailing list