Skip to content

Commit 51e8428

Browse files
committed
1 parent cd742d3 commit 51e8428

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2992,13 +2992,11 @@ Expression SimpleExpression():
29922992
Expression retval = null;
29932993
}
29942994
{
2995-
(
2996-
retval=ConcatExpression()
2997-
)
2998-
2999-
{
3000-
return retval;
3001-
}
2995+
[ LOOKAHEAD(UserVariable() "=") UserVariable() "=" ]
2996+
retval=ConcatExpression()
2997+
{
2998+
return retval;
2999+
}
30023000
}
30033001

30043002
Expression ConcatExpression():
@@ -3560,6 +3558,9 @@ RowConstructor RowConstructor(): {
35603558
}
35613559
}
35623560

3561+
/**
3562+
TODO: VariableExpression should be a standalone class with more operations available.
3563+
*/
35633564
EqualsTo VariableExpression(): {
35643565
Expression left;
35653566
Expression right;

0 commit comments

Comments
 (0)