diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-21 22:20:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-21 22:20:24 +0100 |
commit | b4893b84507570f24af32597716ffb67fb0ef24e (patch) | |
tree | b45bb7d17132c203b56ca6bf9ecd43071ae838ed /src/proto/vim9compile.pro | |
parent | 7e82c5f338efe5661951675565f27f6512901a6e (diff) | |
download | vim-git-b4893b84507570f24af32597716ffb67fb0ef24e.tar.gz |
patch 8.2.2540: Vim9: no error for using script var name for argumentv8.2.2540
Problem: Vim9: no error for using script var name for argument.
Solution: Check for this error. (closes #7868)
Diffstat (limited to 'src/proto/vim9compile.pro')
-rw-r--r-- | src/proto/vim9compile.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/vim9compile.pro b/src/proto/vim9compile.pro index 04c3c5efd..410910f00 100644 --- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -1,4 +1,5 @@ /* vim9compile.c */ +int script_var_exists(char_u *name, size_t len, int vim9script, cctx_T *cctx); int check_defined(char_u *p, size_t len, cctx_T *cctx); int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2); int use_typecheck(type_T *actual, type_T *expected); |