Mercurial > vim
changeset 25451:6f2384c064e4 v8.2.3262
patch 8.2.3262: build failure when ABORT_ON_INTERNAL_ERROR is defined
Commit: https://github.com/vim/vim/commit/9e0ee590197d74f94b7127bf0e033e4f83cf3762
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 31 22:17:28 2021 +0200
patch 8.2.3262: build failure when ABORT_ON_INTERNAL_ERROR is defined
Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
Solution: Adjust how estack_len_before is used.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Jul 2021 22:30:02 +0200 |
parents | 88cb2ee8a901 |
children | d0975ae1f208 |
files | src/ex_docmd.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -664,8 +664,6 @@ do_cmdline( #endif static int call_depth = 0; // recursiveness #ifdef FEAT_EVAL - ESTACK_CHECK_DECLARATION - // For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory // location for storing error messages to be converted to an exception. // This ensures that the do_errthrow() call in do_one_cmd() does not @@ -1397,6 +1395,7 @@ handle_did_throw() { char *p = NULL; msglist_T *messages = NULL; + ESTACK_CHECK_DECLARATION /* * If the uncaught exception is a user exception, report it as an