summaryrefslogtreecommitdiff
path: root/src/regexp.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-26 21:47:28 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-26 21:47:28 +0200
commit963fee2d694cd2033ef67045e54ce549bf198c28 (patch)
tree8833154ed8b7e4c6179144632cf7f2717164f5a4 /src/regexp.h
parentc4912e555bb609604f7e86ee2c38fe600c25f369 (diff)
downloadvim-git-963fee2d694cd2033ef67045e54ce549bf198c28.tar.gz
updated for version 7.3.1028v7.3.1028
Problem: New regexp performance: Copying a lot of position state. Solution: Only copy the sub-expressions that are being used.
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 3b698a358..011eabf71 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -87,6 +87,7 @@ typedef struct
regprog_T regprog;
nfa_state_T *start;
int has_zend; /* pattern contains \ze */
+ int nsubexp; /* number of () */
int nstate;
nfa_state_T state[0]; /* actually longer.. */
} nfa_regprog_T;