[Pcre-svn] [1004] code/trunk/pcregrep.c: Fix typos #DEFINE s…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1004] code/trunk/pcregrep.c: Fix typos #DEFINE should be #define.
Revision: 1004
          http://vcs.pcre.org/viewvc?view=rev&revision=1004
Author:   ph10
Date:     2012-08-17 09:26:17 +0100 (Fri, 17 Aug 2012)


Log Message:
-----------
Fix typos #DEFINE should be #define.

Modified Paths:
--------------
    code/trunk/pcregrep.c


Modified: code/trunk/pcregrep.c
===================================================================
--- code/trunk/pcregrep.c    2012-08-15 16:45:36 UTC (rev 1003)
+++ code/trunk/pcregrep.c    2012-08-17 08:26:17 UTC (rev 1004)
@@ -616,7 +616,7 @@
 WIN32_FIND_DATA data;
 } directory_type;


-#DEFINE FILESEP '/'
+#define FILESEP '/'

int
isdirectory(char *filename)
@@ -722,7 +722,7 @@

#else

-#DEFINE FILESEP 0;
+#define FILESEP 0;
typedef void directory_type;

 int isdirectory(char *filename) { return 0; }
@@ -2874,7 +2874,7 @@
   {
   if (!read_pattern_file(fn->name, &patterns, &patterns_last, process_options))
     goto EXIT2;
-  } 
+  }


/* Study the regular expressions, as we will be running them many times. Unless
JIT has been explicitly disabled, arrange a stack for it to use. */