Mercurial > vim
diff src/proto/vim9compile.pro @ 19285:86665583dc83 v8.2.0201
patch 8.2.0201: cannot assign to an imported variable
Commit: https://github.com/vim/vim/commit/4e12a5df37ed4a47ca94a8b9393c768e8ca1f75a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 3 20:50:59 2020 +0100
patch 8.2.0201: cannot assign to an imported variable
Problem: Cannot assign to an imported variable.
Solution: Make it work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 03 Feb 2020 21:00:04 +0100 |
parents | 94eda51ba9ba |
children | ba35daca6553 |
line wrap: on
line diff
--- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -4,7 +4,7 @@ type_T *parse_type(char_u **arg, garray_ char *vartype_name(vartype_T type); char *type_name(type_T *type, char **tofree); int get_script_item_idx(int sid, char_u *name, int check_writable); -imported_T *find_imported(char_u *name, cctx_T *cctx); +imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); char_u *to_name_end(char_u *arg); char_u *to_name_const_end(char_u *arg); int assignment_len(char_u *p, int *heredoc);