diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-10 19:42:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-10 19:42:03 +0200 |
commit | c323527d67081cfaff22503d1d282495976c7042 (patch) | |
tree | c59f38df837b94ee91d62ab3c7d6cdefe32b5fce /src/errors.h | |
parent | fe3418abe0dac65e42e85b5a91c5d0c975bc65bb (diff) |
patch 8.2.3137: Vim9: no error when a line only has a variable namev8.2.3137
Problem: Vim9: no error when a line only has a variable name.
Solution: Give an error when an expression is evaluated without an effect.
(closes #8538)
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 14c5b8def8..d4f3179abe 100644 --- a/src/errors.h +++ b/src/errors.h @@ -494,3 +494,5 @@ EXTERN char e_no_white_space_allowed_between_option_and[] INIT(= N_("E1205: No white space allowed between option and")); EXTERN char e_dict_required_for_argument_nr[] INIT(= N_("E1206: Dictionary required for argument %d")); +EXTERN char e_expression_without_effect_str[] + INIT(= N_("E1207: Expression without an effect: %s")); |