aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-02-17 19:14:40 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-02-17 19:14:40 -0500
commitd8b4fb7838eb6e9ff907bb014144fef9b6cd2933 (patch)
tree1828cf9b5cc70f40a94c24af27a6f6e2c983d39f /src
parent55821948cfb553bcf8bbb23f77a0f43070b4fdb0 (diff)
downloadrneovim-d8b4fb7838eb6e9ff907bb014144fef9b6cd2933.tar.gz
rneovim-d8b4fb7838eb6e9ff907bb014144fef9b6cd2933.tar.bz2
rneovim-d8b4fb7838eb6e9ff907bb014144fef9b6cd2933.zip
lint
Diffstat (limited to 'src')
-rw-r--r--src/nvim/regexp_nfa.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c
index 4e5f855e7f..d34e653058 100644
--- a/src/nvim/regexp_nfa.c
+++ b/src/nvim/regexp_nfa.c
@@ -1691,16 +1691,16 @@ collection:
) {
MB_PTR_ADV(regparse);
- if (*regparse == 'n')
+ if (*regparse == 'n') {
startc = (reg_string || emit_range || regparse[1] == '-')
? NL : NFA_NEWL;
- else if (*regparse == 'd'
- || *regparse == 'o'
- || *regparse == 'x'
- || *regparse == 'u'
- || *regparse == 'U'
- ) {
- /* TODO(RE) This needs more testing */
+ } else if (*regparse == 'd'
+ || *regparse == 'o'
+ || *regparse == 'x'
+ || *regparse == 'u'
+ || *regparse == 'U'
+ ) {
+ // TODO(RE): This needs more testing
startc = coll_get_char();
got_coll_char = true;
MB_PTR_BACK(old_regparse, regparse);