summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-25 22:36:50 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-25 22:36:50 +0200
commit25e0f5863e9010a75a1ff0d04e8f886403968755 (patch)
treebcb0891919dbc85578b8483487f2ef89ede0f93c /src/proto
parent2eec37926db6d31beb36f162ac00357a30c093c8 (diff)
downloadvim-git-25e0f5863e9010a75a1ff0d04e8f886403968755.tar.gz
patch 8.2.0823: Vim9: script reload test is disabledv8.2.0823
Problem: Vim9: script reload test is disabled. Solution: Compile a function in the context of the script where it was defined. Set execution stack for compiled function. Add a test that an error is reported for the right file/function.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/scriptfile.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/scriptfile.pro b/src/proto/scriptfile.pro
index 111e855a7..e2a267141 100644
--- a/src/proto/scriptfile.pro
+++ b/src/proto/scriptfile.pro
@@ -1,7 +1,8 @@
/* scriptfile.c */
void estack_init(void);
estack_T *estack_push(etype_T type, char_u *name, long lnum);
-void estack_push_ufunc(etype_T type, ufunc_T *ufunc, long lnum);
+void estack_push_ufunc(ufunc_T *ufunc, long lnum);
+int estack_top_is_ufunc(ufunc_T *ufunc, long lnum);
void estack_pop(void);
char_u *estack_sfile(void);
void ex_runtime(exarg_T *eap);