tkobayas commented on code in PR #5805: URL: https://github.com/apache/incubator-kie-drools/pull/5805#discussion_r1540386486
########## drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/DRLParser.g4: ########## @@ -127,7 +127,7 @@ lhsPattern : xpathPrimary (OVER patternFilter)? | lhsPattern : QUESTION? objectType=drlQualifiedName LPAREN positionalConstraints? constraints? RPAREN drlAnnotation* (DRL_OVER patternFilter)? (DRL_FROM patternSource)? ; positionalConstraints : constraint (COMMA constraint)* SEMI ; constraints : constraint (COMMA constraint)* ; -constraint : ( nestedConstraint | conditionalOrExpression ) ; +constraint : ( nestedConstraint | conditionalOrExpression | xpathPrimary) ; Review Comment: @yurloc Thank you very much for the point! Yes, I fixed it to accept the mixture of OOPath and standard constraint with a unit test. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
