changeset 21596:c18d00494b60 v8.2.1348

patch 8.2.1348: build failure without the eval feature Commit: https://github.com/vim/vim/commit/e4218b9416bdcd78b9779a06258198573a0c369e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 21:11:38 2020 +0200 patch 8.2.1348: build failure without the eval feature Problem: Build failure without the eval feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 21:15:04 +0200
parents 72b5304e75a5
children b26b1529cb9b
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -8581,7 +8581,6 @@ eval_vars(
 				 (long)(current_sctx.sc_lnum + SOURCING_LNUM));
 		result = strbuf;
 		break;
-#endif
 
 	case SPEC_SID:
 		if (current_sctx.sc_sid <= 0)
@@ -8592,6 +8591,7 @@ eval_vars(
 		sprintf((char *)strbuf, "<SNR>%d_", current_sctx.sc_sid);
 		result = strbuf;
 		break;
+#endif
 
 #ifdef FEAT_CLIENTSERVER
 	case SPEC_CLIENT:	// Source of last submitted input
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1348,
+/**/
     1347,
 /**/
     1346,