Skip to content

@mattn /gist:6256782
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Something went wrong with that request. Please try again.