diff src/ex_docmd.c @ 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 5daca8504c63
children 9ab43576a13b
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