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.
diff --git a/src/debugger.c b/src/debugger.c
index b79f613..0a25e0b 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -929,8 +929,7 @@
}
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)
{
typval_T *v;