comparison src/globals.h @ 18949:5c405689da3e v8.2.0035

patch 8.2.0035: saving and restoring called_emsg is clumsy Commit: https://github.com/vim/vim/commit/53989554a44caca0964376d60297f08ec257c53c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 23 22:59:18 2019 +0100 patch 8.2.0035: saving and restoring called_emsg is clumsy Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages.
author Bram Moolenaar <Bram@vim.org>
date Mon, 23 Dec 2019 23:00:03 +0100
parents 25ebc35e104f
children bf8eb950df61
comparison
equal deleted inserted replaced
18948:bb405ee57349 18949:5c405689da3e
224 EXTERN int did_uncaught_emsg; // emsg() was called and did not 224 EXTERN int did_uncaught_emsg; // emsg() was called and did not
225 // cause an exception 225 // cause an exception
226 #endif 226 #endif
227 EXTERN int did_emsg_syntax; // did_emsg set because of a 227 EXTERN int did_emsg_syntax; // did_emsg set because of a
228 // syntax error 228 // syntax error
229 EXTERN int called_emsg; // always set by emsg() 229 EXTERN int called_emsg; // always incremented by emsg()
230 EXTERN int ex_exitval INIT(= 0); // exit value for ex mode 230 EXTERN int ex_exitval INIT(= 0); // exit value for ex mode
231 EXTERN int emsg_on_display INIT(= FALSE); // there is an error message 231 EXTERN int emsg_on_display INIT(= FALSE); // there is an error message
232 EXTERN int rc_did_emsg INIT(= FALSE); // vim_regcomp() called emsg() 232 EXTERN int rc_did_emsg INIT(= FALSE); // vim_regcomp() called emsg()
233 233
234 EXTERN int no_wait_return INIT(= 0); // don't wait for return for now 234 EXTERN int no_wait_return INIT(= 0); // don't wait for return for now