Skip to content

Commit 975cddf

Browse files
committed
corrects parsing error
1 parent ce1d627 commit 975cddf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,10 +1574,9 @@ Expression RegularCondition():
15741574
| "!~*" { result = new RegExpMatchOperator(RegExpMatchOperatorType.NOT_MATCH_CASEINSENSITIVE); }
15751575
)
15761576

1577-
[ <K_PRIOR> { oraclePrior = EqualsTo.ORACLE_PRIOR_END; } ]
1577+
( LOOKAHEAD(2) <K_PRIOR> rightExpression=ComparisonItem() { oraclePrior = EqualsTo.ORACLE_PRIOR_END; }
1578+
| rightExpression=ComparisonItem() )
15781579

1579-
rightExpression=ComparisonItem()
1580-
15811580
[ "(" "+" ")" { oracleJoin=EqualsTo.ORACLE_JOIN_LEFT; } ]
15821581

15831582
{

0 commit comments

Comments
 (0)