1
0
forked from aniani/vim

updated for version 7.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.
This commit is contained in:
Bram Moolenaar
2013-06-02 15:55:55 +02:00
parent 5de820b916
commit 69afb7bf0a
3 changed files with 26 additions and 11 deletions

View File

@@ -86,12 +86,14 @@ 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;