summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-26 15:37:02 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-26 15:37:02 +0200
commita5d0423fa16f18b4576a2a07e50034e489587a7d (patch)
tree67bfe997079bb1a9f17db6a829b29d6369a922a3 /src/message.c
parentd66cdcd43a598825add743bc95642cd8ed705252 (diff)
downloadvim-git-a5d0423fa16f18b4576a2a07e50034e489587a7d.tar.gz
patch 8.2.1297: when a test fails it's often not easy to see wherev8.2.1297
Problem: When a test fails it's often not easy to see what the call stack is. Solution: Add more entries from the call stack in the exception message.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 76ec45679..91b2fe237 100644
--- a/src/message.c
+++ b/src/message.c
@@ -461,7 +461,7 @@ get_emsg_source(void)
if (SOURCING_NAME != NULL && other_sourcing_name())
{
- char_u *sname = estack_sfile();
+ char_u *sname = estack_sfile(FALSE);
char_u *tofree = sname;
if (sname == NULL)