patch 8.2.3860: Vim9: codecov struggles with the file size
Problem: Vim9: codecov struggles with the file size.
Solution: Split vim9compile.c into four files.
diff --git a/src/vim9execute.c b/src/vim9execute.c
index 88dc58e..43b7e6f 100644
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -16,11 +16,11 @@
#if defined(FEAT_EVAL) || defined(PROTO)
-#ifdef VMS
-# include <float.h>
+// When not generating protos this is included in proto.h
+#ifdef PROTO
+# include "vim9.h"
#endif
-#include "vim9.h"
// Structure put on ec_trystack when ISN_TRY is encountered.
typedef struct {
@@ -5064,7 +5064,7 @@
if (ectx.ec_funcrefs.ga_len > 0)
{
handle_closure_in_use(&ectx, FALSE);
- ga_clear(&ectx.ec_funcrefs); // TODO: should not be needed?
+ ga_clear(&ectx.ec_funcrefs);
}
estack_pop();