8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

#7576 Allow nested parenthesized joined table
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mark Rotteveel 2023-05-08 18:18:42 +02:00 committed by Mark Rotteveel
parent f581f37dc8
commit 85bbdf3301

View File

@ -6060,9 +6060,15 @@ table_reference
%type <recSourceNode> table_primary
table_primary
: table_proc
| derived_table { $$ = $1; }
| lateral_derived_table { $$ = $1; }
| '(' joined_table ')' { $$ = $2; }
| derived_table { $$ = $1; }
| lateral_derived_table { $$ = $1; }
| parenthesized_joined_table { $$ = $1; }
;
%type <recSourceNode> parenthesized_joined_table
parenthesized_joined_table
: '(' parenthesized_joined_table ')' { $$ = $2; }
| '(' joined_table ')' { $$ = $2; }
;
%type <selectExprNode> derived_table