diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-30 17:05:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-30 17:05:39 +0200 |
commit | 428e987b61720a8b23cee6a4c806c0a1c1cdcaac (patch) | |
tree | 12bb8216a60af251e985d5cc52ce74a1009130d2 /src/regexp.h | |
parent | fdde880b0288fd9624352aa7ee5c04eefbdff9df (diff) | |
download | vim-428e987b61720a8b23cee6a4c806c0a1c1cdcaac.zip |
updated for version 7.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.h | 1 |
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.. */ |