diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-10-20 17:21:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-20 17:21:24 +0100 |
commit | 09f7723d5a8694889350b13e3f6b4a9c3ed4c41f (patch) | |
tree | 605ea77a87e22a59977740247ef652156d649d66 /src/errors.h | |
parent | 94358a1e6e640ca5ebeb295efdddd4e92b700673 (diff) |
patch 8.2.3546: build failure without the +eval featurev8.2.3546
Problem: Build failure without the +eval feature.
Solution: Add #ifdef. (closes #9025)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 96a9b2fc93..7778b39602 100644 --- a/src/errors.h +++ b/src/errors.h @@ -160,10 +160,12 @@ EXTERN char e_list_value_does_not_have_enough_items[] 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[] |