changeset 27197:80f2c282ef9c v8.2.4127

patch 8.2.4127: build failure without the +eval feature Commit: https://github.com/vim/vim/commit/78f60322f70ab91a32e572fbf3d97c792acbc83a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 17 22:16:33 2022 +0000 patch 8.2.4127: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Jan 2022 23:30:03 +0100
parents ee01902c9e73
children ebfde3a7b387
files src/usercmd.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/usercmd.c
+++ b/src/usercmd.c
@@ -548,6 +548,7 @@ uc_list(char_u *name, size_t name_len)
 		{
 		    STRCPY(IObuff + len, command_complete[j].name);
 		    len += (int)STRLEN(IObuff + len);
+#ifdef FEAT_EVAL
 		    if (p_verbose > 0 && cmd->uc_compl_arg != NULL
 					    && STRLEN(cmd->uc_compl_arg) < 200)
 		    {
@@ -555,6 +556,7 @@ uc_list(char_u *name, size_t name_len)
 			STRCPY(IObuff + len + 1, cmd->uc_compl_arg);
 			len += (int)STRLEN(IObuff + len);
 		    }
+#endif
 		    break;
 		}
 
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4127,
+/**/
     4126,
 /**/
     4125,