Mercurial > vim
diff src/errors.h @ 27982:06c6563d3768 v8.2.4516
patch 8.2.4516: build failure without the +eval feature
Commit: https://github.com/vim/vim/commit/525eba00ef818f50fb3ba71c54409a7a8962b344
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 5 22:07:32 2022 +0000
patch 8.2.4516: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Move error message outside of #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Mar 2022 23:15:02 +0100 |
parents | 40e35cefeac6 |
children | 632a84e2ce92 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -3246,6 +3246,6 @@ EXTERN char e_cannot_use_s_colon_in_vim9 INIT(= N_("E1268: Cannot use s: in Vim9 script: %s")); EXTERN char e_cannot_create_vim9_script_variable_in_function_str[] INIT(= N_("E1269: Cannot create a Vim9 script variable in a function: %s")); +#endif EXTERN char e_cannot_use_s_backslash_in_vim9_script[] INIT(= N_("E1270: Cannot use :s\\/sub/ in Vim9 script")); -#endif