diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-04-10 14:03:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-04-10 14:03:43 +0200 |
commit | 599410cb3cb19946cd6df22441da5de003e114bb (patch) | |
tree | 7e8736d5a2c136a8aab567c57e21519d91a11985 /src/globals.h | |
parent | 701cc6ca9e940665a9424541f989bb38c853a498 (diff) | |
download | vim-git-599410cb3cb19946cd6df22441da5de003e114bb.tar.gz |
patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"v8.2.2743
Problem: Vim9: function state stuck when compiling with ":silent!".
Solution: Check for uf_def_status to be UF_COMPILING.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 94ec54b9a..51a69465c 100644 --- a/src/globals.h +++ b/src/globals.h @@ -230,6 +230,9 @@ EXTERN int did_endif INIT(= FALSE); // just had ":endif" EXTERN int did_emsg; // set by emsg() when the message // is displayed or thrown #ifdef FEAT_EVAL +EXTERN int did_emsg_silent INIT(= 0); // incremented by emsg() when + // emsg_silent was set and did_emsg + // is not incremented EXTERN int did_emsg_def; // set by emsg() when emsg_silent // is set before calling a function EXTERN int did_emsg_cumul; // cumulative did_emsg, increased |