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.
diff --git a/src/regexp.h b/src/regexp.h
index f44578d..9809b3c 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -86,13 +86,15 @@
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.. */