diff options
author | Billy Su <g4691821@gmail.com> | 2019-03-04 09:47:13 +0800 |
---|---|---|
committer | Billy Su <g4691821@gmail.com> | 2019-03-08 00:08:16 +0800 |
commit | 96e2c3945f13453070894c70c74e4da29d421dab (patch) | |
tree | 87c8f2adcf21a3aa2092331e9902fd3133a6988d /src/nvim/regexp_nfa.c | |
parent | 0a471e009a1410a822384321dbd48a36b0117c5c (diff) | |
download | rneovim-96e2c3945f13453070894c70c74e4da29d421dab.tar.gz rneovim-96e2c3945f13453070894c70c74e4da29d421dab.tar.bz2 rneovim-96e2c3945f13453070894c70c74e4da29d421dab.zip |
lint: fix coding style
Diffstat (limited to 'src/nvim/regexp_nfa.c')
-rw-r--r-- | src/nvim/regexp_nfa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c index c44e0c9979..e7ea036a3b 100644 --- a/src/nvim/regexp_nfa.c +++ b/src/nvim/regexp_nfa.c @@ -1341,10 +1341,11 @@ static int nfa_regatom(void) { int refnum = no_Magic(c) - '1'; - if (!seen_endbrace(refnum + 1)) + if (!seen_endbrace(refnum + 1)) { return FAIL; + } EMIT(NFA_BACKREF1 + refnum); - nfa_has_backref = TRUE; + nfa_has_backref = true; } break; |