You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason: Antlr4 doesn't have syntactic predicate and the parser chooses drlIdentifier rather than new_key creator in primary rule. So far we haven't found a way to prioritize new_key creator, so excluded new from drlIdentifier
There is some difference in parser error messages between Antlr4 and Antlr3 (e.g.mismatched input vs no viable alternative). We don't have much to do, and the difference is not important.
Old parser fails to populate common properties (e.g. startCharacter) in some Descr objects. There is no reason for the new parser to mimic the same failure.
This issue aggregates known backward compatibility issues between new Antlr4 parser and old Antlr3 parser.
new
is not included indrlIdentifier
. For example,new
is not used in a package name (of course, it's not allowed in Java).drlIdentifier
rather thannew_key creator
inprimary
rule. So far we haven't found a way to prioritizenew_key creator
, so excludednew
fromdrlIdentifier
mismatched input
vsno viable alternative
). We don't have much to do, and the difference is not important.DRLExprParserTest
in [incubator-kie-drools-5792] [new-parser] improve drools-drl-parser-tests #5855startCharacter
) in some Descr objects. There is no reason for the new parser to mimic the same failure.DescrCommonPropertyTest
in [incubator-kie-drools-5792] [new-parser] improve drools-drl-parser-tests #5855The text was updated successfully, but these errors were encountered: