aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-18 02:43:38 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-01-18 02:43:38 +0100
commitce6a5fb94bdc62f00c50ffa1bfaf291da01b4a6e (patch)
tree8f97fe937cc1610f73f3267fdba01dfe33837988 /src/nvim/regexp.c
parent6cd3912a51e2c49d3ec7b9a52ff6f754537dd3ea (diff)
downloadrneovim-ce6a5fb94bdc62f00c50ffa1bfaf291da01b4a6e.tar.gz
rneovim-ce6a5fb94bdc62f00c50ffa1bfaf291da01b4a6e.tar.bz2
rneovim-ce6a5fb94bdc62f00c50ffa1bfaf291da01b4a6e.zip
PVS/V560: expression is always true
This macro serves as a sanity-check / documentation.
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 0b9e1cfdec..a70b150e9b 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -230,6 +230,7 @@
#define UPPER 47 /* Match uppercase char */
#define NUPPER 48 /* Match non-uppercase char */
#define LAST_NL NUPPER + ADD_NL
+// -V:WITH_NL:560
#define WITH_NL(op) ((op) >= FIRST_NL && (op) <= LAST_NL)
#define MOPEN 80 // -89 Mark this point in input as start of