diff src/vim9execute.c @ 26662:4b23672d1f0e v8.2.3860

patch 8.2.3860: Vim9: codecov struggles with the file size Commit: https://github.com/vim/vim/commit/dc7c366f3aae65ee691010b08f37acfb26e0742b Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 20 15:04:29 2021 +0000 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Dec 2021 16:15:03 +0100
parents 2fc1e528e0e1
children 3516017e5f54
line wrap: on
line diff
--- 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 @@ call_def_function(
     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();