Skip to content

Commit db90e74

Browse files
committed
corrected a Lookahead problem
1 parent 59bf07f commit db90e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3821,7 +3821,7 @@ JsonAggregateFunction JsonAggregateFunction() : {
38213821
)
38223822

38233823
// -- Filter
3824-
[ <K_FILTER> "(" <K_WHERE> { result.setAnalyticType(AnalyticType.FILTER_ONLY); } filter = Expression() { result.setFilterExpression( filter ); } ")" ]
3824+
[ LOOKAHEAD(2) <K_FILTER> "(" <K_WHERE> { result.setAnalyticType(AnalyticType.FILTER_ONLY); } filter = Expression() { result.setFilterExpression( filter ); } ")" ]
38253825

38263826
// -- OVER
38273827
[ LOOKAHEAD(2)

0 commit comments

Comments
 (0)