0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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)
This commit is contained in:
Bram Moolenaar
2020-07-29 21:20:41 +02:00
parent 1040956292
commit 696ba23149
5 changed files with 38 additions and 41 deletions

View File

@@ -3633,7 +3633,7 @@ get_vim_constant(char_u **arg, typval_T *rettv)
}
}
static exptype_T
exptype_T
get_compare_type(char_u *p, int *len, int *type_is)
{
exptype_T type = EXPR_UNKNOWN;