aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp_nfa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/regexp_nfa.c')
-rw-r--r--src/nvim/regexp_nfa.c5
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;