From b185370e50658ddec3b792434c2f5d87cf180a41 Mon Sep 17 00:00:00 2001 From: amigalev Date: Mon, 31 Jul 2023 15:58:27 +0300 Subject: [PATCH] fix: Delete lookahead(3) --- src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt b/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt index 7ee70ffde..ef177291d 100644 --- a/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt +++ b/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt @@ -4796,7 +4796,7 @@ Expression CaseWhenExpression() #CaseWhenExpression: [ ( - LOOKAHEAD(3, {getAsBoolean(Feature.allowComplexParsing) && !interrupted}) elseExp=Expression() + LOOKAHEAD({getAsBoolean(Feature.allowComplexParsing) && !interrupted}) elseExp=Expression() | elseExp=SimpleExpression() ) ]