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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user