From a061f34191712df7dde7716705fe0ec074e9758e Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sun, 22 May 2022 19:13:49 +0100 Subject: patch 8.2.5003: cannot do bitwise shifts Problem: Cannot do bitwise shifts. Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457) --- src/vim.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vim.h') diff --git a/src/vim.h b/src/vim.h index 4e213b2c9e..b7af316bf1 100644 --- a/src/vim.h +++ b/src/vim.h @@ -2808,4 +2808,5 @@ long elapsed(DWORD start_tick); #define FFED_IS_GLOBAL 1 // "g:" was used #define FFED_NO_GLOBAL 2 // only check for script-local functions +#define MAX_LSHIFT_BITS (varnumber_T)((sizeof(uvarnumber_T) * 8) - 1) #endif // VIM__H -- cgit v1.2.3