File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
hibernate-core/src/main/antlr Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -309,24 +309,28 @@ inList
309
309
;
310
310
311
311
simpleExprList
312
- : { out("("); } (e:simpleExprWithVectorExpr { separator(e," , "); } )* { out(")"); }
312
+ : { out("("); } (e:simpleOrTupleExpr { separator(e," , "); } )* { out(")"); }
313
313
;
314
314
315
- simpleExprWithVectorExpr
316
- : simpleExpr
317
- | #( VECTOR_EXPR { out("("); } (e:expr { separator(e," , "); } )* { out(")"); } )
318
- ;
315
+ simpleOrTupleExpr
316
+ : simpleExpr
317
+ | tupleExpr
318
+ ;
319
319
320
320
// A simple expression, or a sub-select with parens around it.
321
321
expr
322
322
: simpleExpr
323
- | #( VECTOR_EXPR { out("("); } (e:expr { separator(e," , "); } )* { out(")"); } )
323
+ | tupleExpr
324
324
| parenSelect
325
325
| #(ANY { out("any "); } quantified )
326
326
| #(ALL { out("all "); } quantified )
327
327
| #(SOME { out("some "); } quantified )
328
328
;
329
-
329
+
330
+ tupleExpr
331
+ : #( VECTOR_EXPR { out("("); } (e:expr { separator(e," , "); } )* { out(")"); } )
332
+ ;
333
+
330
334
quantified
331
335
: { out("("); } ( sqlToken | selectStatement ) { out(")"); }
332
336
;
You can’t perform that action at this time.
0 commit comments