commit | 696ba23149eb5a7226e606e3fe6f15fdd064c5f7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jul 29 21:20:41 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jul 29 21:20:41 2020 +0200 |
tree | 76bcd1a409c844c1e0298581f56098c4b0ba869a | |
parent | 1040956292a9f2c3d02fc08febd5acf349c85590 [diff] [blame] |
patch 8.2.1323: Vim9: invalid operators only rejected in :def function Problem: Vim9: invalid operators only rejected in :def function. Solution: Also reject them at script level. (closes #6564)
diff --git a/src/vim9compile.c b/src/vim9compile.c index f150904..cf08e95 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -3633,7 +3633,7 @@ } } - static exptype_T + exptype_T get_compare_type(char_u *p, int *len, int *type_is) { exptype_T type = EXPR_UNKNOWN;