Created
August 17, 2013 13:12
-
-
Save mattn/6256782 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r ae6c19fb32e1 src/regexp_nfa.c | |
--- a/src/regexp_nfa.c Wed Aug 14 17:45:29 2013 +0200 | |
+++ b/src/regexp_nfa.c Sat Aug 17 22:12:07 2013 +0900 | |
@@ -5091,6 +5091,10 @@ | |
#endif | |
nfa_match = FALSE; | |
+ fast_breakcheck(); | |
+ if (got_int) | |
+ return FALSE; | |
+ | |
/* Allocate memory for the lists of nodes. */ | |
size = (nstate + 1) * sizeof(nfa_thread_T); | |
list[0].t = (nfa_thread_T *)lalloc(size, TRUE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment