]> granicus.if.org Git - vim/commitdiff
patch 9.0.1323: build failure with +eval feature v9.0.1323
authorBram Moolenaar <Bram@vim.org>
Sat, 18 Feb 2023 19:49:32 +0000 (19:49 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 18 Feb 2023 19:49:32 +0000 (19:49 +0000)
Problem:    Build failure with +eval feature.
Solution:   Add missing part for using funcerror_T.

src/version.c
src/vim9expr.c

index 214e33a16292a95e7ee6d3ea43128d4dc8a50cd7..e6ccb9242e73b7b679cecabd322408f8137f2c6a 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1323,
 /**/
     1322,
 /**/
index 88d9ec18d62ba5aac3bf8cc332492d6141422ffd..2fa8b57de3ff32e37b0cf58d21c3acb458e797a1 100644 (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()