diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-02-18 19:49:32 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-18 19:49:32 +0000 |
commit | 3e1ac1443af0bce41351b9d917651ac4fe41928d (patch) | |
tree | e80b27ac5521f0de45c885dfb76cc0a4955677d3 | |
parent | 2c1c803c7e0cc356dd55a2cd49fbffbbf7db766e (diff) | |
download | vim-git-3e1ac1443af0bce41351b9d917651ac4fe41928d.tar.gz |
patch 9.0.1323: build failure with +eval featurev9.0.1323
Problem: Build failure with +eval feature.
Solution: Add missing part for using funcerror_T.
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim9expr.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c index 214e33a16..e6ccb9242 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1323, +/**/ 1322, /**/ 1321, diff --git a/src/vim9expr.c b/src/vim9expr.c index 88d9ec18d..2fa8b57de 100644 --- a/src/vim9expr.c +++ b/src/vim9expr.c @@ -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() |