diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-26 15:37:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-26 15:37:02 +0200 |
commit | a5d0423fa16f18b4576a2a07e50034e489587a7d (patch) | |
tree | 67bfe997079bb1a9f17db6a829b29d6369a922a3 /src/proto | |
parent | d66cdcd43a598825add743bc95642cd8ed705252 (diff) |
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/proto')
-rw-r--r-- | src/proto/scriptfile.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/scriptfile.pro b/src/proto/scriptfile.pro index fd4c104738..00f1301eee 100644 --- a/src/proto/scriptfile.pro +++ b/src/proto/scriptfile.pro @@ -4,7 +4,7 @@ estack_T *estack_push(etype_T type, char_u *name, long lnum); estack_T *estack_push_ufunc(ufunc_T *ufunc, long lnum); int estack_top_is_ufunc(ufunc_T *ufunc, long lnum); estack_T *estack_pop(void); -char_u *estack_sfile(void); +char_u *estack_sfile(int is_sfile); void ex_runtime(exarg_T *eap); int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); |