summaryrefslogtreecommitdiff
path: root/src/regexp.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-03 12:17:04 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-03 12:17:04 +0200
commitdd2ccdf6eaf3de0a5e9a4bb3b9e08dd55168c629 (patch)
tree05ee9716b71c1850e6bbedf54cab22cb1123fc2d /src/regexp.h
parentf46da70603be5280555da3bc8b5519b807e93afd (diff)
downloadvim-git-dd2ccdf6eaf3de0a5e9a4bb3b9e08dd55168c629.tar.gz
updated for version 7.3.1106v7.3.1106
Problem: New regexp engine: saving and restoring lastlist in the states takes a lot of time. Solution: Use a second lastlist value for the first recursive call.
Diffstat (limited to 'src/regexp.h')
-rw-r--r--src/regexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp.h b/src/regexp.h
index 9809b3c0f..4841cd34f 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -72,7 +72,7 @@ struct nfa_state
nfa_state_T *out;
nfa_state_T *out1;
int id;
- int lastlist;
+ int lastlist[2]; /* 0: normal, 1: recursive */
int negated;
int val;
};