From 1c46544412382db8b3203d6c78e550df885540bd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 12 Mar 2017 20:10:05 +0100 Subject: patch 8.0.0452: some macros are in lower case Problem: Some macros are in lower case. Solution: Make a few more macros upper case. --- src/macros.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/macros.h') diff --git a/src/macros.h b/src/macros.h index 97e7e83223..8ebc8ceb81 100644 --- a/src/macros.h +++ b/src/macros.h @@ -45,6 +45,12 @@ #define LTOREQ_POS(a, b) (LT_POS(a, b) || EQUAL_POS(a, b)) +/* + * VIM_ISWHITE() is used for "^" and the like. It differs from isspace() + * because it doesn't include and and the like. + */ +#define VIM_ISWHITE(x) ((x) == ' ' || (x) == '\t') + /* * LINEEMPTY() - return TRUE if the line is empty */ -- cgit v1.2.3