Revert r122114 (CallbackVH observing use-list changes) because it caused severe slowd...
[oota-llvm.git] / lib / Support / regcomp.c
index 2755fd83a82208a8affa476d47ea0e5577a74d4b..cd018d5dc5bc4d3628dcacbff4d72b1cb0cfc53f 100644 (file)
@@ -142,6 +142,7 @@ static char nuls[10];               /* place to point scanner in event of error */
 #else
 #define        DUPMAX  255
 #endif
+#define        INFINITY        (DUPMAX + 1)
 
 #ifndef NDEBUG
 static int never = 0;          /* for use in asserts; shuts lint up */
@@ -256,8 +257,8 @@ static void
 p_ere(struct parse *p, int stop)       /* character this ERE should end at */
 {
        char c;
-       sopno prevback = prevback;
-       sopno prevfwd = prevfwd;
+       sopno prevback = 0;
+       sopno prevfwd = 0;
        sopno conc;
        int first = 1;          /* is this the first alternative? */