diff src/globals.h @ 22584:c271498e03b2 v8.2.1840

patch 8.2.1840: Vim9: error message is not clear about compilation error Commit: https://github.com/vim/vim/commit/f4e8cdd3d2156ab52aea1c7a392df66b7210e5eb Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 12 22:07:13 2020 +0200 patch 8.2.1840: Vim9: error message is not clear about compilation error Problem: Vim9: error message is not clear about compilation error. Solution: Say "compiling" instead of "processing".
author Bram Moolenaar <Bram@vim.org>
date Mon, 12 Oct 2020 22:15:04 +0200
parents 73be82f278c0
children f7f2d73ff85e
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -288,6 +288,9 @@ EXTERN garray_T	exestack INIT5(0, 0, siz
 #define SOURCING_LNUM (((estack_T *)exestack.ga_data)[exestack.ga_len - 1].es_lnum)
 
 #ifdef FEAT_EVAL
+// whether inside compile_def_function()
+EXTERN int	estack_compiling INIT(= FALSE);
+
 EXTERN int	ex_nesting_level INIT(= 0);	// nesting level
 EXTERN int	debug_break_level INIT(= -1);	// break below this level
 EXTERN int	debug_did_msg INIT(= FALSE);	// did "debug mode" message