summaryrefslogtreecommitdiff
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-14 12:34:56 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-14 12:34:56 +0200
commit3fb14bc73468b6d1da51c75a237e3150f6cc76ee (patch)
treedd3c9061f745bc398674db7981ec885f5cf4f967 /src/regexp_nfa.c
parentee31be64a39fcce71d40c9b15a44c6b3a9e84ee4 (diff)
downloadvim-git-3fb14bc73468b6d1da51c75a237e3150f6cc76ee.tar.gz
updated for version 7.4a.020v7.4a.020
Problem: Superfluous mb_ptr_adv(). Solution: Remove the call. (Dominique Pelle)
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r--src/regexp_nfa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index b16ba56ea..02fe49ea1 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -1516,7 +1516,6 @@ collection:
EMIT('-');
EMIT(NFA_CONCAT);
}
- mb_ptr_adv(regparse);
/* skip the trailing ] */
regparse = endp;
@@ -4582,7 +4581,7 @@ recursive_regmatch(state, pim, prog, submatch, m, listids)
/* Go back the specified number of bytes, or as far as the
* start of the previous line, to try matching "\@<=" or
- * not matching "\@<!". This is very ineffecient, limit the number of
+ * not matching "\@<!". This is very inefficient, limit the number of
* bytes if possible. */
if (state->val <= 0)
{