0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.1263: Vim9: comperators use 'ignorecase' in Vim9 script

Problem:    Vim9: comperators use 'ignorecase' in Vim9 script.
Solution:   Ignore 'ignorecase'.  Use true and false instead of 1 and 0.
            (closes #6497)
This commit is contained in:
Bram Moolenaar
2020-07-21 21:31:00 +02:00
parent f868ba8903
commit c71f36a889
5 changed files with 43 additions and 16 deletions

View File

@@ -2017,9 +2017,6 @@ call_def_function(
typval_compare(tv1, tv2, exptype, ic);
clear_tv(tv2);
tv1->v_type = VAR_BOOL;
tv1->vval.v_number = tv1->vval.v_number
? VVAL_TRUE : VVAL_FALSE;
--ectx.ec_stack.ga_len;
}
break;