diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-02 15:55:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-02 15:55:55 +0200 |
commit | 69afb7bf0aef4e9b39acbdb7849dd9c44b1345c5 (patch) | |
tree | ee999b818c3de6b4bad4db36f2073877143f7d17 /src/regexp.h | |
parent | 5de820b916c38d95f6af7f4315f827764d587497 (diff) | |
download | vim-git-69afb7bf0aef4e9b39acbdb7849dd9c44b1345c5.tar.gz |
updated for version 7.3.1092v7.3.1092
Problem: Can't build with regexp debugging. NFA debug output shows wrong
pattern.
Solution: Fix debugging code for recent changes. Add the pattern to the
program.
Diffstat (limited to 'src/regexp.h')
-rw-r--r-- | src/regexp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regexp.h b/src/regexp.h index f44578d8f..9809b3c0f 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -86,13 +86,15 @@ typedef struct regengine_T *engine; unsigned regflags; - regprog_T regprog; - nfa_state_T *start; + nfa_state_T *start; /* points into state[] */ int has_zend; /* pattern contains \ze */ int has_backref; /* pattern contains \1 .. \9 */ #ifdef FEAT_SYN_HL int reghasz; #endif +#ifdef DEBUG + char_u *pattern; +#endif int nsubexp; /* number of () */ int nstate; nfa_state_T state[0]; /* actually longer.. */ |