File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
src/main/jjtree/net/sf/jsqlparser/parser Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -2555,13 +2555,12 @@ Expression OrExpression():
2555
2555
{
2556
2556
left=AndExpression() { result = left; }
2557
2557
(
2558
- LOOKAHEAD(<K_OR>)
2559
- <K_OR>
2560
- right=AndExpression()
2561
- {
2562
- result = new OrExpression(left, right);
2563
- left = result;
2564
- }
2558
+ <K_OR>
2559
+ right=AndExpression()
2560
+ {
2561
+ result = new OrExpression(left, right);
2562
+ left = result;
2563
+ }
2565
2564
)*
2566
2565
{
2567
2566
return result;
@@ -2577,7 +2576,7 @@ Expression AndExpression() :
2577
2576
}
2578
2577
{
2579
2578
(
2580
- LOOKAHEAD(Condition())
2579
+ LOOKAHEAD(Condition())
2581
2580
left=Condition()
2582
2581
|
2583
2582
[ <K_NOT> { not=true; } | "!" { not=true; exclamationMarkNot=true; } ]
@@ -2618,7 +2617,6 @@ Expression Condition():
2618
2617
(
2619
2618
LOOKAHEAD(RegularCondition()) result=RegularCondition()
2620
2619
| result=SQLCondition()
2621
- //| result=SimpleExpression()
2622
2620
)
2623
2621
2624
2622
{ return not?new NotExpression(result, exclamationMarkNot):result; }
@@ -3755,9 +3753,6 @@ Function InternalFunction(Function retval) :
3755
3753
boolean ignoreNulls = false;
3756
3754
}
3757
3755
{
3758
- /*funcName=RelObjectNameExt()
3759
- [ "." tmp=RelObjectNameExt() { funcName+= "." + tmp; } ["." tmp=RelObjectNameExt() { funcName+= "." + tmp; }]]
3760
- */
3761
3756
funcName = RelObjectNameList()
3762
3757
3763
3758
"(" [ [ LOOKAHEAD(2)(<K_DISTINCT> { retval.setDistinct(true); } | <K_ALL> { retval.setAllColumns(true); }) ]
You can’t perform that action at this time.
0 commit comments