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 #6927)
diff --git a/src/debugger.c b/src/debugger.c
index 00fb9c8..f745761 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -105,7 +105,7 @@
vim_free(debug_newval);
debug_newval = NULL;
}
- sname = estack_sfile(FALSE);
+ sname = estack_sfile(ESTACK_NONE);
if (sname != NULL)
msg((char *)sname);
vim_free(sname);
@@ -344,7 +344,7 @@
}
else
{
- char_u *sname = estack_sfile(FALSE);
+ char_u *sname = estack_sfile(ESTACK_NONE);
int max = get_maxbacktrace_level(sname);
if (debug_backtrace_level > max)
@@ -365,7 +365,7 @@
int i = 0;
int max;
- sname = estack_sfile(FALSE);
+ sname = estack_sfile(ESTACK_NONE);
max = get_maxbacktrace_level(sname);
if (sname != NULL)
{