patch 8.2.3871: list.c contains code for dict and blob
Problem: List.c contains code for dict and blob.
Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
closes #9386)
diff --git a/src/structs.h b/src/structs.h
index 9aad415..7023ac3 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -4492,3 +4492,11 @@
int sve_did_save;
hashtab_T sve_hashtab;
} save_v_event_T;
+
+// Enum used by filter(), map() and mapnew()
+typedef enum {
+ FILTERMAP_FILTER,
+ FILTERMAP_MAP,
+ FILTERMAP_MAPNEW
+} filtermap_T;
+