diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-03 20:50:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-03 20:50:59 +0100 |
commit | 4e12a5df37ed4a47ca94a8b9393c768e8ca1f75a (patch) | |
tree | 3f3386ab89dbb5d4c813c142b852856dcd7bc1ff /src/proto/vim9compile.pro | |
parent | b283a8a6802ef8a46b17cb439f9514840c03698f (diff) | |
download | vim-git-4e12a5df37ed4a47ca94a8b9393c768e8ca1f75a.tar.gz |
patch 8.2.0201: cannot assign to an imported variablev8.2.0201
Problem: Cannot assign to an imported variable.
Solution: Make it work.
Diffstat (limited to 'src/proto/vim9compile.pro')
-rw-r--r-- | src/proto/vim9compile.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/vim9compile.pro b/src/proto/vim9compile.pro index 4f06e9d9c..73cf13f49 100644 --- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -4,7 +4,7 @@ type_T *parse_type(char_u **arg, garray_T *type_list); 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); |