[pcre-dev] Empty spaces in pcre_compile.c:4678

Góra strony
Delete this message
Autor: Giuseppe D'Angelo
Data:  
Dla: pcre-dev
Temat: [pcre-dev] Empty spaces in pcre_compile.c:4678
r1616 introduced some empty spaces brokeness. I'd happily patch it but
then I can't push the changes :) So here's the patch.

Cheers,
--
Giuseppe D'Angelo
Index: pcre_compile.c
===================================================================
--- pcre_compile.c    (revision 1620)
+++ pcre_compile.c    (working copy)
@@ -4671,17 +4671,17 @@
         }
       goto NORMAL_CHAR;
       }
-      
+
     /* Check for the start of a \Q...\E sequence. We must do this here rather
     than later in case it is immediately followed by \E, which turns it into a
-    "do nothing" sequence. */                                            
-                                                                          
+    "do nothing" sequence. */
+
     if (c == CHAR_BACKSLASH && ptr[1] == CHAR_Q)
-      {                                                                   
-      inescq = TRUE;                                                      
-      ptr++;                                                  
+      {
+      inescq = TRUE;
+      ptr++;
       continue;
-      }           
+      }
     }


/* In extended mode, skip white space and comments. */