summaryrefslogtreecommitdiff
path: root/src/regexp.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-26 16:57:28 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-26 16:57:28 +0200
commit57a285b105478be7bff338d8ae7847b40f58434a (patch)
tree3d7a3e00a28acade65e115c80a9cf41cbfcb66f7 /src/regexp.h
parent3451d662447cf0e78ebd55320d26791f228123f2 (diff)
downloadvim-git-57a285b105478be7bff338d8ae7847b40f58434a.tar.gz
updated for version 7.3.1024v7.3.1024
Problem: New regexp: End of matching pattern not set correctly. (Cesar Romani) Solution: Quit the loop after finding the match. Store nfa_has_zend in the program.
Diffstat (limited to 'src/regexp.h')
-rw-r--r--src/regexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regexp.h b/src/regexp.h
index 88f9cfbf6..3b698a358 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -86,6 +86,7 @@ typedef struct
regprog_T regprog;
nfa_state_T *start;
+ int has_zend; /* pattern contains \ze */
int nstate;
nfa_state_T state[0]; /* actually longer.. */
} nfa_regprog_T;