0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 9.0.1323: build failure with +eval feature

Problem:    Build failure with +eval feature.
Solution:   Add missing part for using funcerror_T.
This commit is contained in:
Bram Moolenaar
2023-02-18 19:49:32 +00:00
parent 2c1c803c7e
commit 3e1ac1443a
2 changed files with 3 additions and 1 deletions

View File

@@ -695,6 +695,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 */
/**/
1323,
/**/ /**/
1322, 1322,
/**/ /**/

View File

@@ -919,7 +919,6 @@ compile_call(
char_u namebuf[MAX_FUNC_NAME_LEN]; char_u namebuf[MAX_FUNC_NAME_LEN];
char_u fname_buf[FLEN_FIXED + 1]; char_u fname_buf[FLEN_FIXED + 1];
char_u *tofree = NULL; char_u *tofree = NULL;
int error = FCERR_NONE;
ufunc_T *ufunc = NULL; ufunc_T *ufunc = NULL;
int res = FAIL; int res = FAIL;
int is_autoload; int is_autoload;
@@ -990,6 +989,7 @@ compile_call(
if (generate_ppconst(cctx, ppconst) == FAIL) if (generate_ppconst(cctx, ppconst) == FAIL)
return FAIL; return FAIL;
funcerror_T error;
name = fname_trans_sid(namebuf, fname_buf, &tofree, &error); name = fname_trans_sid(namebuf, fname_buf, &tofree, &error);
// We handle the "skip" argument of searchpair() and searchpairpos() // We handle the "skip" argument of searchpair() and searchpairpos()