mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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.
This commit is contained in:
@@ -664,8 +664,6 @@ do_cmdline(
|
|||||||
#endif
|
#endif
|
||||||
static int call_depth = 0; // recursiveness
|
static int call_depth = 0; // recursiveness
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
ESTACK_CHECK_DECLARATION
|
|
||||||
|
|
||||||
// For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory
|
// 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.
|
// location for storing error messages to be converted to an exception.
|
||||||
// This ensures that the do_errthrow() call in do_one_cmd() does not
|
// This ensures that the do_errthrow() call in do_one_cmd() does not
|
||||||
@@ -1397,6 +1395,7 @@ handle_did_throw()
|
|||||||
{
|
{
|
||||||
char *p = NULL;
|
char *p = NULL;
|
||||||
msglist_T *messages = NULL;
|
msglist_T *messages = NULL;
|
||||||
|
ESTACK_CHECK_DECLARATION
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If the uncaught exception is a user exception, report it as an
|
* If the uncaught exception is a user exception, report it as an
|
||||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3262,
|
||||||
/**/
|
/**/
|
||||||
3261,
|
3261,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user