changeset 31982:9113d903a2c6 v9.0.1323

patch 9.0.1323: build failure with +eval feature Commit: https://github.com/vim/vim/commit/3e1ac1443af0bce41351b9d917651ac4fe41928d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 18 19:49:32 2023 +0000 patch 9.0.1323: build failure with +eval feature Problem: Build failure with +eval feature. Solution: Add missing part for using funcerror_T.
author Bram Moolenaar <Bram@vim.org>
date Sat, 18 Feb 2023 21:00:03 +0100
parents 834ba9805a25
children 6e76bc357434
files src/version.c src/vim9expr.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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()