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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user