Mercurial > vim
comparison src/proto/vim9script.pro @ 19623:2fee087c94cb v8.2.0368
patch 8.2.0368: Vim9: import that redefines local variable does not fail
Commit: https://github.com/vim/vim/commit/5269bd2a724fdb8c16c9635ef744a670f1bc8bd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 9 19:25:27 2020 +0100
patch 8.2.0368: Vim9: import that redefines local variable does not fail
Problem: Vim9: import that redefines local variable does not fail.
Solution: Check for already defined symbols.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Mar 2020 19:30:04 +0100 |
parents | 17f0d6dc6a73 |
children | 0600ab7b9f09 |
comparison
equal
deleted
inserted
replaced
19622:684f747f0568 | 19623:2fee087c94cb |
---|---|
3 void ex_vim9script(exarg_T *eap); | 3 void ex_vim9script(exarg_T *eap); |
4 void ex_export(exarg_T *eap); | 4 void ex_export(exarg_T *eap); |
5 void free_imports(int sid); | 5 void free_imports(int sid); |
6 void ex_import(exarg_T *eap); | 6 void ex_import(exarg_T *eap); |
7 int find_exported(int sid, char_u **argp, int *name_len, ufunc_T **ufunc, type_T **type); | 7 int find_exported(int sid, char_u **argp, int *name_len, ufunc_T **ufunc, type_T **type); |
8 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid); | 8 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, void *cctx); |
9 /* vim: set ft=c : */ | 9 /* vim: set ft=c : */ |