mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:8.2.0044: expression type is used inconsistently
Problem: Expression type is used inconsistently.
Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
"TYPE_" to "ETYPE_" to avoid confusion.
07a3db89b8
This commit is contained in:
@@ -876,7 +876,7 @@ debuggy_find(
|
||||
debug_newval = typval_tostring(bp->dbg_val);
|
||||
line = true;
|
||||
} else {
|
||||
if (typval_compare(tv, bp->dbg_val, TYPE_EQUAL, true, false) == OK
|
||||
if (typval_compare(tv, bp->dbg_val, ETYPE_IS, false) == OK
|
||||
&& tv->vval.v_number == false) {
|
||||
line = true;
|
||||
debug_oldval = typval_tostring(bp->dbg_val);
|
||||
|
Reference in New Issue
Block a user