Skip to content

Commit

Permalink
lookahead
Browse files Browse the repository at this point in the history
  • Loading branch information
AnEmortalKid committed Jun 20, 2020
1 parent df4faab commit e12f85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
Original file line number Diff line number Diff line change
Expand Up @@ -2561,7 +2561,7 @@ Expression InExpression() #InExpression :
[<K_NOT> { result.setNot(true); } ] <K_IN>
(
// syntactic lookahead for a multi expression list, ie: ((a,b),(c,d))
LOOKAHEAD(MultiInExpressions()) multiExpressionList = MultiInExpressions()
LOOKAHEAD(3) multiExpressionList = MultiInExpressions()
| rightExpression = Function()
| token=<S_CHAR_LITERAL> { rightExpression = new StringValue(token.image); }
| "(" (LOOKAHEAD(3) rightItemsList=SubSelect() | rightItemsList=SimpleExpressionList() )")"
Expand Down

0 comments on commit e12f85f

Please sign in to comment.