From 69afb7bf0aef4e9b39acbdb7849dd9c44b1345c5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 2 Jun 2013 15:55:55 +0200 Subject: 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. --- src/regexp.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/regexp.h') diff --git a/src/regexp.h b/src/regexp.h index f44578d8f..9809b3c0f 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -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; -- cgit v1.2.1