mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Fixed one more limitation in the parser.
This commit is contained in:
parent
21d9ffdcd5
commit
2740167100
7352
src/dsql/parse.cpp
7352
src/dsql/parse.cpp
File diff suppressed because it is too large
Load Diff
@ -1718,30 +1718,11 @@ err : SQLCODE signed_short_integer
|
||||
|
||||
/* Direct EXECUTE PROCEDURE */
|
||||
|
||||
invoke_procedure : EXECUTE PROCEDURE symbol_procedure_name prc_inputs
|
||||
invoke_procedure : EXECUTE PROCEDURE symbol_procedure_name proc_inputs
|
||||
{ $$ = make_node (nod_exec_procedure, e_exe_count, $3,
|
||||
$4, make_node (nod_all, (int) 0, NULL)); }
|
||||
;
|
||||
|
||||
prc_inputs : prm_const_list
|
||||
{ $$ = make_list ($1); }
|
||||
| '(' prm_const_list ')'
|
||||
{ $$ = make_list ($2); }
|
||||
|
|
||||
{ $$ = NULL; }
|
||||
;
|
||||
|
||||
prm_const_list : parameter
|
||||
| constant
|
||||
| null_value
|
||||
| prm_const_list ',' parameter
|
||||
{ $$ = make_node (nod_list, 2, $1, $3); }
|
||||
| prm_const_list ',' constant
|
||||
{ $$ = make_node (nod_list, 2, $1, $3); }
|
||||
| prm_const_list ',' null_value
|
||||
{ $$ = make_node (nod_list, 2, $1, $3); }
|
||||
;
|
||||
|
||||
|
||||
/* CREATE VIEW */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user