Open jmsfltchr opened 4 years ago
Related to #134
This is still an issue - testing the parser for the pattern
rule fails for something as simple as $x isa person;
This is in our grammar, a conjunction is matched after a variable, and only conjunctions are parsed with a trailing ;
(issue updated to reflect)
Description
Java's
ParsePattern
is throwing unexpected syntax errors for basic conjunctions. This is if the conjunction is given without surrounding{}
. With the enclosing braces the conjunction is parsed correctly.Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Try parsing the following query
Expected Output
This was expected to parse the query into a conjunction.
Actual Output
Additional information
Enclosing with
{}
parses correctly: