diff src/vim9.h @ 27698:3813036f19cb v8.2.4375

patch 8.2.4375: ctx_imports is not used Commit: https://github.com/vim/vim/commit/4b1d9639726ebe1630991488a1314db628b6b854 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 13 21:51:08 2022 +0000 patch 8.2.4375: ctx_imports is not used Problem: ctx_imports is not used. Solution: Delete ctx_imports. Add missing dependency.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Feb 2022 23:00:04 +0100
parents 1a6421c5be20
children e6e3abc28c7a
line wrap: on
line diff
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -691,7 +691,7 @@ typedef struct {
 } lhs_T;
 
 /*
- * Context for compiling lines of Vim script.
+ * Context for compiling lines of a :def function.
  * Stores info about the local variables and condition stack.
  */
 struct cctx_S {
@@ -710,8 +710,6 @@ struct cctx_S {
     int		ctx_has_closure;    // set to one if a closure was created in
 				    // the function
 
-    garray_T	ctx_imports;	    // imported items
-
     skip_T	ctx_skip;
     scope_T	*ctx_scope;	    // current scope, NULL at toplevel
     int		ctx_had_return;	    // last seen statement was "return"