tkobayas commented on code in PR #5783:
URL: 
https://github.com/apache/incubator-kie-drools/pull/5783#discussion_r1524577252


##########
drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/DRL6Expressions.g4:
##########
@@ -608,18 +678,18 @@ primary returns [BaseDescr result]
     //|   void_key DOT class_key
     |   inlineMapExpression
     |   inlineListExpression
-    |   i1=IDENTIFIER { helper.emit($i1, DroolsEditorType.IDENTIFIER); }
+    |   i1=drlIdentifier { helper.emit($i1.token, 
DroolsEditorType.IDENTIFIER); }

Review Comment:
   I have fixed only `primary` rule to make this PR concise and easy to review. 
I'll file an issue to review `DRL6Expressions.g4` for other possible 
`IDENTIFIER` replacement.



-- 
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]

Reply via email to