diff src/regexp.h @ 4718:ec72bb4a0fc2 v7.3.1106

updated for version 7.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.
author Bram Moolenaar <bram@vim.org>
date Mon, 03 Jun 2013 12:17:04 +0200
parents 9d97a0c045ef
children 03375ccf28a2
line wrap: on
line diff
--- 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;
 };