summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-12 22:07:13 +0200
committerBram Moolenaar <Bram@vim.org>2020-10-12 22:07:13 +0200
commitf4e8cdd3d2156ab52aea1c7a392df66b7210e5eb (patch)
treedc6d9acee8bb857e78d4e3d097645b3f105389d2 /src/globals.h
parentfc8aa6d02d85b0df703e0a790137891c91503c9e (diff)
patch 8.2.1840: Vim9: error message is not clear about compilation errorv8.2.1840
Problem: Vim9: error message is not clear about compilation error. Solution: Say "compiling" instead of "processing".
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 4ca3092e9d..5495eac13b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -288,6 +288,9 @@ EXTERN garray_T exestack INIT5(0, 0, sizeof(estack_T), 50, NULL);
#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