summaryrefslogtreecommitdiffstats
path: root/src/debugger.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-10 19:25:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-10 19:25:05 +0200
commit4f25b1aba050b85fa97ca2316aa04dd4b0b22530 (patch)
tree9f051b3953c6eb88e6d5fc1cc5728d348fe626b3 /src/debugger.c
parenta953b5cf4f291875b805262eebd361e502de8c92 (diff)
patch 8.2.1653: expand('<stack>') does not include the final line numberv8.2.1653
Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
Diffstat (limited to 'src/debugger.c')
-rw-r--r--src/debugger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/debugger.c b/src/debugger.c
index 00fb9c8f8b..f745761f10 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -105,7 +105,7 @@ do_debug(char_u *cmd)
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 @@ do_checkbacktracelevel(void)
}
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 @@ do_showbacktrace(char_u *cmd)
int i = 0;
int max;
- sname = estack_sfile(FALSE);
+ sname = estack_sfile(ESTACK_NONE);
max = get_maxbacktrace_level(sname);
if (sname != NULL)
{