Mercurial > vim
comparison src/proto/scriptfile.pro @ 20538:9f921ba86d05 v8.2.0823
patch 8.2.0823: Vim9: script reload test is disabled
Commit: https://github.com/vim/vim/commit/25e0f5863e9010a75a1ff0d04e8f886403968755
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 25 22:36:50 2020 +0200
patch 8.2.0823: Vim9: script reload test is disabled
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 May 2020 22:45:03 +0200 |
parents | 8fa783f2c69c |
children | 7ee565134d4a |
comparison
equal
deleted
inserted
replaced
20537:cceaa5ec43aa | 20538:9f921ba86d05 |
---|---|
1 /* scriptfile.c */ | 1 /* scriptfile.c */ |
2 void estack_init(void); | 2 void estack_init(void); |
3 estack_T *estack_push(etype_T type, char_u *name, long lnum); | 3 estack_T *estack_push(etype_T type, char_u *name, long lnum); |
4 void estack_push_ufunc(etype_T type, ufunc_T *ufunc, long lnum); | 4 void estack_push_ufunc(ufunc_T *ufunc, long lnum); |
5 int estack_top_is_ufunc(ufunc_T *ufunc, long lnum); | |
5 void estack_pop(void); | 6 void estack_pop(void); |
6 char_u *estack_sfile(void); | 7 char_u *estack_sfile(void); |
7 void ex_runtime(exarg_T *eap); | 8 void ex_runtime(exarg_T *eap); |
8 int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); | 9 int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); |
9 int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); | 10 int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); |