diff src/errors.h @ 28962:abdea69d21b6 v8.2.5003

patch 8.2.5003: cannot do bitwise shifts Commit: https://github.com/vim/vim/commit/a061f34191712df7dde7716705fe0ec074e9758e Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun May 22 19:13:49 2022 +0100 patch 8.2.5003: cannot do bitwise shifts Problem: Cannot do bitwise shifts. Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8457)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 May 2022 20:15:03 +0200
parents e25196adb7c1
children 45c182c4f7e9
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -3279,3 +3279,9 @@ EXTERN char e_illegal_character_in_word[
 #endif
 EXTERN char e_atom_engine_must_be_at_start_of_pattern[]
 	INIT(= N_("E1281: Atom '\\%%#=%c' must be at the start of the pattern"));
+#ifdef FEAT_EVAL
+EXTERN char e_bitshift_ops_must_be_number[]
+	INIT(= N_("E1282: bitshift operands must be numbers"));
+EXTERN char e_bitshift_ops_must_be_postive[]
+	INIT(= N_("E1283: bitshift amount must be a positive number"));
+#endif