forked from aniani/vim
patch 8.2.0056: execution stack is incomplete and inefficient
Problem: Execution stack is incomplete and inefficient.
Solution: Introduce a proper execution stack and use it instead of
sourcing_name/sourcing_lnum. Create a string only when used.
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
/* 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_pop(void);
|
||||
char_u *estack_sfile(void);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user