diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-12 20:10:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-12 20:10:05 +0100 |
commit | 1c46544412382db8b3203d6c78e550df885540bd (patch) | |
tree | d4dc51020d3ebdbee4548b0d5628221f921af2f3 /src/macros.h | |
parent | 91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f (diff) | |
download | vim-git-1c46544412382db8b3203d6c78e550df885540bd.tar.gz |
patch 8.0.0452: some macros are in lower casev8.0.0452
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h index 97e7e8322..8ebc8ceb8 100644 --- a/src/macros.h +++ b/src/macros.h @@ -46,6 +46,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 <CR> and <LF> and the like. + */ +#define VIM_ISWHITE(x) ((x) == ' ' || (x) == '\t') + +/* * LINEEMPTY() - return TRUE if the line is empty */ #define LINEEMPTY(p) (*ml_get(p) == NUL) |