Skip to content

Commit

Permalink
[cypher] Removed useless parentheses (antlr#3443)
Browse files Browse the repository at this point in the history
Removed parentheses from cypher grammar that are unnecessary.
  • Loading branch information
kaby76 authored May 18, 2023
1 parent 09375b1 commit 75afb10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypher/CypherParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ invocationName
;

functionInvocation
: invocationName LPAREN DISTINCT? (expressionChain)? RPAREN
: invocationName LPAREN DISTINCT? expressionChain? RPAREN
;

parenthesizedExpression
Expand Down Expand Up @@ -401,7 +401,7 @@ charLit
: CHAR_LITERAL
;
listLit
: LBRACK (expressionChain)? RBRACK
: LBRACK expressionChain? RBRACK
;

mapLit
Expand Down

0 comments on commit 75afb10

Please sign in to comment.