File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4067,7 +4067,6 @@ JsonExpression JsonExpression() : {
4067
4067
CastExpression castExpr = null;
4068
4068
}
4069
4069
{
4070
- { System.out.println("Complex:" + getAsBoolean(Feature.allowComplexParsing));}
4071
4070
(
4072
4071
LOOKAHEAD(3, {!interrupted}) expr=CaseWhenExpression()
4073
4072
|
@@ -4092,7 +4091,6 @@ JsonExpression JsonExpression() : {
4092
4091
LOOKAHEAD(ParenthesedExpression(), {getAsBoolean(Feature.allowComplexParsing)} ) expr = ParenthesedExpression()
4093
4092
|
4094
4093
LOOKAHEAD( 3, {getAsBoolean(Feature.allowComplexParsing) && !interrupted}) expr=ParenthesedSelect()
4095
-
4096
4094
)
4097
4095
4098
4096
(
@@ -6714,6 +6712,9 @@ List<String> captureFunctionBody() {
6714
6712
tok = getToken(1);
6715
6713
int l = tokens.size();
6716
6714
if( tok.kind == EOF || ( foundEnd && tok.kind == ST_SEMICOLON) ) {
6715
+ if (tok.kind == ST_SEMICOLON) {
6716
+ tokens.add(tok.image);
6717
+ }
6717
6718
break;
6718
6719
} else if ( l>0 && ( tok.image.equals(".") || tokens.get(l-1).endsWith(".")) ) {
6719
6720
tokens.set(l-1, tokens.get(l-1) + tok.image);
Original file line number Diff line number Diff line change 61
61
import java .nio .charset .StandardCharsets ;
62
62
import java .util .ArrayList ;
63
63
import java .util .List ;
64
- import java .util .logging .Level ;
65
64
66
65
import static net .sf .jsqlparser .test .TestUtils .assertDeparse ;
67
66
import static net .sf .jsqlparser .test .TestUtils .assertExpressionCanBeDeparsedAs ;
You can’t perform that action at this time.
0 commit comments