Mercurial > vim
comparison src/globals.h @ 24406:a26f0fa12845 v8.2.2743
patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"
Commit: https://github.com/vim/vim/commit/599410cb3cb19946cd6df22441da5de003e114bb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 10 14:03:43 2021 +0200
patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"
Problem: Vim9: function state stuck when compiling with ":silent!".
Solution: Check for uf_def_status to be UF_COMPILING.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Apr 2021 14:15:03 +0200 |
parents | 5f3a2d31c48d |
children | f293bb501b30 |
comparison
equal
deleted
inserted
replaced
24405:2831ce589a7d | 24406:a26f0fa12845 |
---|---|
228 EXTERN int did_endif INIT(= FALSE); // just had ":endif" | 228 EXTERN int did_endif INIT(= FALSE); // just had ":endif" |
229 #endif | 229 #endif |
230 EXTERN int did_emsg; // set by emsg() when the message | 230 EXTERN int did_emsg; // set by emsg() when the message |
231 // is displayed or thrown | 231 // is displayed or thrown |
232 #ifdef FEAT_EVAL | 232 #ifdef FEAT_EVAL |
233 EXTERN int did_emsg_silent INIT(= 0); // incremented by emsg() when | |
234 // emsg_silent was set and did_emsg | |
235 // is not incremented | |
233 EXTERN int did_emsg_def; // set by emsg() when emsg_silent | 236 EXTERN int did_emsg_def; // set by emsg() when emsg_silent |
234 // is set before calling a function | 237 // is set before calling a function |
235 EXTERN int did_emsg_cumul; // cumulative did_emsg, increased | 238 EXTERN int did_emsg_cumul; // cumulative did_emsg, increased |
236 // when did_emsg is reset. | 239 // when did_emsg is reset. |
237 EXTERN int called_vim_beep; // set if vim_beep() is called | 240 EXTERN int called_vim_beep; // set if vim_beep() is called |