summaryrefslogtreecommitdiff
path: root/src/regexp.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-30 17:05:39 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-30 17:05:39 +0200
commit428e987b61720a8b23cee6a4c806c0a1c1cdcaac (patch)
tree12bb8216a60af251e985d5cc52ce74a1009130d2 /src/regexp.h
parentfdde880b0288fd9624352aa7ee5c04eefbdff9df (diff)
downloadvim-git-428e987b61720a8b23cee6a4c806c0a1c1cdcaac.tar.gz
updated for version 7.3.1071v7.3.1071
Problem: New regexp engine: backreferences don't work correctly. Solution: Add every possible start/end position on the state stack.
Diffstat (limited to 'src/regexp.h')
-rw-r--r--src/regexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regexp.h b/src/regexp.h
index 69075b5f5..e609cd291 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -87,6 +87,7 @@ typedef struct
regprog_T regprog;
nfa_state_T *start;
int has_zend; /* pattern contains \ze */
+ int has_backref; /* pattern contains \1 .. \9 */
int nsubexp; /* number of () */
int nstate;
nfa_state_T state[0]; /* actually longer.. */