comparison src/proto/vim9script.pro @ 29828:6b7020f3d856 v9.0.0253

patch 9.0.0253: a symlink to an autoload script results in two entries Commit: https://github.com/vim/vim/commit/753885b6c5b9021184daa94d32fd8bf025f1b488 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 24 16:30:36 2022 +0100 patch 9.0.0253: a symlink to an autoload script results in two entries Problem: A symlink to an autoload script results in two entries in the list of scripts, items expected in one are actually in the other. Solution: Have one script item refer to the actually sourced one. (closes #10960)
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Aug 2022 17:45:03 +0200
parents b418e073b42f
children 307f68a41b03
comparison
equal deleted inserted replaced
29827:db296237ca1d 29828:6b7020f3d856
10 void ex_incdec(exarg_T *eap); 10 void ex_incdec(exarg_T *eap);
11 void ex_export(exarg_T *eap); 11 void ex_export(exarg_T *eap);
12 void free_imports_and_script_vars(int sid); 12 void free_imports_and_script_vars(int sid);
13 void mark_imports_for_reload(int sid); 13 void mark_imports_for_reload(int sid);
14 void ex_import(exarg_T *eap); 14 void ex_import(exarg_T *eap);
15 void import_check_sourced_sid(int *sid);
15 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, cstack_T *cstack, int verbose); 16 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, cstack_T *cstack, int verbose);
16 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); 17 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg);
17 void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member); 18 void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member);
18 void hide_script_var(scriptitem_T *si, int idx, int func_defined); 19 void hide_script_var(scriptitem_T *si, int idx, int func_defined);
19 svar_T *find_typval_in_script(typval_T *dest, scid_T sid, int must_find); 20 svar_T *find_typval_in_script(typval_T *dest, scid_T sid, int must_find);