# HG changeset patch # User Bram Moolenaar # Date 1634747403 -7200 # Node ID cb5f2515a45070b02e3ffcdb5042e62887118b87 # Parent 2f42137853b0671b0d681d7d0b41d65cccbd8085 patch 8.2.3546: build failure without the +eval feature Commit: https://github.com/vim/vim/commit/09f7723d5a8694889350b13e3f6b4a9c3ed4c41f Author: zeertzjq Date: Wed Oct 20 17:21:24 2021 +0100 patch 8.2.3546: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdef. (closes https://github.com/vim/vim/issues/9025) diff --git a/src/errors.h b/src/errors.h --- a/src/errors.h +++ b/src/errors.h @@ -160,10 +160,12 @@ EXTERN char e_list_value_does_not_have_e INIT(= N_("E711: List value does not have enough items")); EXTERN char e_cannot_slice_dictionary[] INIT(= N_("E719: Cannot slice a Dictionary")); +#endif EXTERN char e_conflicts_with_value_of_listchars[] INIT(= N_("E834: Conflicts with value of 'listchars'")); EXTERN char e_conflicts_with_value_of_fillchars[] INIT(= N_("E835: Conflicts with value of 'fillchars'")); +#ifdef FEAT_EVAL EXTERN char e_assert_fails_second_arg[] INIT(= N_("E856: \"assert_fails()\" second argument must be a string or a list with one or two strings")); EXTERN char e_using_invalid_value_as_string_str[] diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3546, +/**/ 3545, /**/ 3544,