mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1516: Vim9: error for :exe has wrong line number
Problem: Vim9: error for :exe has wrong line number. Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
This commit is contained in:
@@ -1062,7 +1062,10 @@ call_def_function(
|
||||
if (ga.ga_data != NULL)
|
||||
{
|
||||
if (iptr->isn_type == ISN_EXECUTE)
|
||||
{
|
||||
SOURCING_LNUM = iptr->isn_lnum;
|
||||
do_cmdline_cmd((char_u *)ga.ga_data);
|
||||
}
|
||||
else
|
||||
{
|
||||
msg_sb_eol();
|
||||
|
Reference in New Issue
Block a user