Skip to content

Commit 062a52f

Browse files
committed
chore: cannot skip CALL
1 parent 8b106e9 commit 062a52f

File tree

2 files changed

+6412
-6420
lines changed

2 files changed

+6412
-6420
lines changed

plsql/PlSqlParser.g4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5687,8 +5687,9 @@ return_statement
56875687
: RETURN expression?
56885688
;
56895689

5690+
// BYT-8268: Made CALL keyword mandatory to prevent misidentifying keywords like CASCADE as procedure calls
56905691
call_statement
5691-
: CALL? routine_name function_argument? (INTO bind_variable)?
5692+
: CALL routine_name function_argument? (INTO bind_variable)?
56925693
;
56935694

56945695
pipe_row_statement

0 commit comments

Comments
 (0)