diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-15 10:39:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 10:39:41 +0800 |
commit | a6f0e32d23930b5ab7d5c70d0c58e9964e3af408 (patch) | |
tree | d3b03ad0d09022a99f2adc006881a93ed0ebe670 /src/nvim/ex_eval.c | |
parent | 1c164689a4ef243be2a0e1b4332c9b6c56b5b031 (diff) | |
parent | 9ab9eb1220113d247dd1eb089cb6576a135b8699 (diff) | |
download | rneovim-a6f0e32d23930b5ab7d5c70d0c58e9964e3af408.tar.gz rneovim-a6f0e32d23930b5ab7d5c70d0c58e9964e3af408.tar.bz2 rneovim-a6f0e32d23930b5ab7d5c70d0c58e9964e3af408.zip |
Merge pull request #19763 from zeertzjq/vim-8.2.1297
vim-patch:8.2.{1297,1653,1658}: expand('<stack>')
Diffstat (limited to 'src/nvim/ex_eval.c')
-rw-r--r-- | src/nvim/ex_eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_eval.c b/src/nvim/ex_eval.c index 66c782d12e..c39bb16498 100644 --- a/src/nvim/ex_eval.c +++ b/src/nvim/ex_eval.c @@ -278,7 +278,7 @@ bool cause_errthrow(const char *mesg, bool severe, bool *ignore) // Get the source name and lnum now, it may change before // reaching do_errthrow(). - elem->sfile = estack_sfile(); + elem->sfile = estack_sfile(ESTACK_NONE); elem->slnum = SOURCING_LNUM; } return true; @@ -490,7 +490,7 @@ static int throw_exception(void *value, except_type_T type, char *cmdname) entry->sfile = NULL; excp->throw_lnum = entry->slnum; } else { - excp->throw_name = estack_sfile(); + excp->throw_name = estack_sfile(ESTACK_NONE); if (excp->throw_name == NULL) { excp->throw_name = xstrdup(""); } |