cleishm / libcypher-parser

Cypher Parser Library
Apache License 2.0
149 stars 39 forks source link

parse error on extraneous parentheses #29

Open odanoburu opened 4 years ago

odanoburu commented 4 years ago

for

MATCH p=((anna)-[:FriendOf*]->(bob))
RETURN p

cypher-lint gives:

<stdin>:1:10: Invalid input '(': expected an identifier, a label, '{', a parameter or ')'
MATCH p=((anna)-[:FriendOf*]->(bob))
         ^

but Neo4j seems to accept it alright. I'm running the latest release, not master, so I'm sorry if this has been fixed already!

26 addresses this, I think?