From 4f25b1aba050b85fa97ca2316aa04dd4b0b22530 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 10 Sep 2020 19:25:05 +0200 Subject: patch 8.2.1653: expand('') does not include the final line number Problem: Expand('') does not include the final line number. Solution: Add the line nuber. (closes #6927) --- src/proto/scriptfile.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proto') diff --git a/src/proto/scriptfile.pro b/src/proto/scriptfile.pro index 52df2ca82..cbb9253c5 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(int is_sfile); +char_u *estack_sfile(estack_arg_T which); 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); -- cgit v1.2.1