diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-05-07 17:55:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-07 17:55:55 +0200 |
commit | f18332fb9e2e4208a97d800f096b02c6681780e7 (patch) | |
tree | 8cbfcb58bfbe67b2549d76ba721b2db9c33a602b /src/vim9type.c | |
parent | e08795e1ecf0b85751e9f41021603c39ef026d92 (diff) | |
download | vim-git-8.2.2842.tar.gz |
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiledv8.2.2842
Problem: Vim9: skip argument to searchpair() is not compiled.
Solution: Add VAR_INSTR.
Diffstat (limited to 'src/vim9type.c')
-rw-r--r-- | src/vim9type.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim9type.c b/src/vim9type.c index 8b0f2f15e..4dec1e770 100644 --- a/src/vim9type.c +++ b/src/vim9type.c @@ -950,6 +950,7 @@ equal_type(type_T *type1, type_T *type2) case VAR_BLOB: case VAR_JOB: case VAR_CHANNEL: + case VAR_INSTR: break; // not composite is always OK case VAR_LIST: case VAR_DICT: @@ -1097,6 +1098,7 @@ vartype_name(vartype_T type) case VAR_CHANNEL: return "channel"; case VAR_LIST: return "list"; case VAR_DICT: return "dict"; + case VAR_INSTR: return "instr"; case VAR_FUNC: case VAR_PARTIAL: return "func"; |