0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -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

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