summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-09-10 21:05:02 +0200
committerBram Moolenaar <Bram@vim.org>2018-09-10 21:05:02 +0200
commitf29c1c6aa3f365c025890fab5fb9efbe88eb1761 (patch)
tree3cd43ee75a7e0fbdce4902426512ae804b1c7ff0 /src/proto
parent6b0b83f768cf536b34ce4d3f2de6bf62324229aa (diff)
downloadvim-git-f29c1c6aa3f365c025890fab5fb9efbe88eb1761.tar.gz
patch 8.1.0362: cannot get the script line number when executing a functionv8.1.0362
Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes #3362) Also display the line number with ":verbose set".
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/eval.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/eval.pro b/src/proto/eval.pro
index 537b6490a..37170a2f0 100644
--- a/src/proto/eval.pro
+++ b/src/proto/eval.pro
@@ -119,7 +119,7 @@ int script_autoload(char_u *name, int reload);
int read_viminfo_varlist(vir_T *virp, int writing);
void write_viminfo_varlist(FILE *fp);
int store_session_globals(FILE *fd);
-void last_set_msg(scid_T scriptID);
+void last_set_msg(sctx_T script_ctx);
void reset_v_option_vars(void);
void prepare_assert_error(garray_T *gap);
void assert_error(garray_T *gap);