libcypher-parser icon indicating copy to clipboard operation
libcypher-parser copied to clipboard

parse error on extraneous parentheses

Open odanoburu opened this issue 5 years ago • 0 comments

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?

odanoburu avatar May 15 '20 13:05 odanoburu