summaryrefslogtreecommitdiffstats
path: root/src/vim9execute.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-20 15:04:29 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-20 15:04:29 +0000
commitdc7c366f3aae65ee691010b08f37acfb26e0742b (patch)
tree90d12bd3030048100a9c5084474aef484f6fc58f /src/vim9execute.c
parenta99fb23842f055c511bfe1b62de7bbd14d5a99c0 (diff)
patch 8.2.3860: Vim9: codecov struggles with the file sizev8.2.3860
Problem: Vim9: codecov struggles with the file size. Solution: Split vim9compile.c into four files.
Diffstat (limited to 'src/vim9execute.c')
-rw-r--r--src/vim9execute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vim9execute.c b/src/vim9execute.c
index 88dc58ee16..43b7e6fdac 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 @@ 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();