tkobayas commented on code in PR #5871:
URL:
https://github.com/apache/incubator-kie-drools/pull/5871#discussion_r1584203679
##########
drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/DRLParser.g4:
##########
@@ -123,6 +123,7 @@ lhsUnary : (
| lhsEval consequenceInvocation*
| lhsForall
| lhsAccumulate
+ | LPAREN lhsExpression RPAREN namedConsequenceInvocation?
Review Comment:
@yurloc Thank you for pointing out that. I had thought that
`MiscDRLParserTest.namedConsequenceAfterEnclosed` fails without `LPAREN
lhsExpression RPAREN namedConsequenceInvocation?`, but indeed it passes without
the line. Now I added a new test `namedConsequenceOrWithBindVariables` which
requires the line.
--
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]