Increase size of failure stack in regular expression matcher.
authorChris Hanson <org/chris-hanson/cph>
Thu, 2 Apr 1992 11:23:05 +0000 (11:23 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 2 Apr 1992 11:23:05 +0000 (11:23 +0000)
v7/src/microcode/regex.c

index 379837ec96730ce4fb5882b1be2bbdd11b72c4bd..db08ce19e1eb8250794b9a442e420c3128e56874 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/regex.c,v 1.10 1992/01/15 04:08:53 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/regex.c,v 1.11 1992/04/02 11:23:05 cph Exp $
 
 Copyright (c) 1987-92 Massachusetts Institute of Technology
 
@@ -58,7 +58,9 @@ extern void free ();
   switch ((enum enum_type) (expression))
 #endif /* not SWITCH_ENUM */
 
-#define RE_NFAILURES 80
+#ifndef RE_NFAILURES
+#define RE_NFAILURES 512
+#endif
 
 #define FOR_INDEX_RANGE(index, start, end)                             \
   for (index = (start); (index < (end)); index += 1)