yurloc commented on code in PR #5834:
URL:
https://github.com/apache/incubator-kie-drools/pull/5834#discussion_r1558316316
##########
drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/DRLParser.g4:
##########
@@ -403,7 +426,7 @@ patternSource : fromAccumulate
| fromExpression
;
-fromExpression : conditionalOrExpression ;
+fromExpression : unaryExpressionNotPlusMinus ;
Review Comment:
This is the most specific rule that still supports all the forms of from
expressions that we have in our code base, for example:
- `from $town.getPeople()`
- `from $order.items`
- `from new Cell($i, $j)`
The rule is taken from the expression parser. I kept the original name so
that it's easier to identify the overlap between the two parsers.
--
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]