mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:8.2.1653: expand('<stack>') does not include the final line number
Problem: Expand('<stack>') does not include the final line number.
Solution: Add the line nuber. (closes vim/vim#6927)
4f25b1aba0
This commit is contained in:
@@ -555,7 +555,7 @@ static char *get_emsg_source(void)
|
||||
FUNC_ATTR_MALLOC FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
{
|
||||
if (SOURCING_NAME != NULL && other_sourcing_name()) {
|
||||
char *sname = estack_sfile(false);
|
||||
char *sname = estack_sfile(ESTACK_NONE);
|
||||
char *tofree = sname;
|
||||
|
||||
if (sname == NULL) {
|
||||
|
Reference in New Issue
Block a user