aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-20 23:42:23 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-21 00:05:06 -0400
commit01b2fa53f4593024437f5df25b7744b16b164e4f (patch)
tree16bc5fa1f461139f25ee67dcca7cfa5acbb92bdd /src/nvim/regexp.c
parent300a7a4cf464c32c9dfca577c4434060ab9d6ad2 (diff)
downloadrneovim-01b2fa53f4593024437f5df25b7744b16b164e4f.tar.gz
rneovim-01b2fa53f4593024437f5df25b7744b16b164e4f.tar.bz2
rneovim-01b2fa53f4593024437f5df25b7744b16b164e4f.zip
lint
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 1c63654b49..15a701f022 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -1805,7 +1805,7 @@ static char_u *regatom(int *flagp)
if (c == '[')
goto collection;
- /* "\_x" is character class plus newline */
+ // "\_x" is character class plus newline
FALLTHROUGH;
/*
@@ -5154,7 +5154,7 @@ regrepeat (
case IDENT:
case IDENT + ADD_NL:
- testval = TRUE;
+ testval = 1;
FALLTHROUGH;
case SIDENT:
case SIDENT + ADD_NL:
@@ -5181,7 +5181,7 @@ regrepeat (
case KWORD:
case KWORD + ADD_NL:
- testval = TRUE;
+ testval = 1;
FALLTHROUGH;
case SKWORD:
case SKWORD + ADD_NL:
@@ -5210,7 +5210,7 @@ regrepeat (
case FNAME:
case FNAME + ADD_NL:
- testval = TRUE;
+ testval = 1;
FALLTHROUGH;
case SFNAME:
case SFNAME + ADD_NL:
@@ -5238,7 +5238,7 @@ regrepeat (
case PRINT:
case PRINT + ADD_NL:
- testval = TRUE;
+ testval = 1;
FALLTHROUGH;
case SPRINT:
case SPRINT + ADD_NL:
@@ -5417,7 +5417,7 @@ do_class:
case ANYOF:
case ANYOF + ADD_NL:
- testval = TRUE;
+ testval = 1;
FALLTHROUGH;
case ANYBUT: