summaryrefslogtreecommitdiff
path: root/pcregrep.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-09-11 14:31:21 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-09-11 14:31:21 +0000
commit872e41011c69ee598dbdd32444dcde8fa30a23ee (patch)
treebbc0b9c2afdae0e564bc94b160ebf1a9fbe1744f /pcregrep.c
parent3e3345effab1548229f5cf368f19ace0b64d782b (diff)
downloadpcre-872e41011c69ee598dbdd32444dcde8fa30a23ee.tar.gz
Final source and document tidies for 8.20-RC1.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@691 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcregrep.c')
-rw-r--r--pcregrep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pcregrep.c b/pcregrep.c
index 69e00c7..8ddd65d 100644
--- a/pcregrep.c
+++ b/pcregrep.c
@@ -1871,7 +1871,7 @@ switch(letter)
case N_HELP: help(); pcregrep_exit(0);
case N_LBUFFER: line_buffered = TRUE; break;
case N_LOFFSETS: line_offsets = number = TRUE; break;
- case N_NOJIT: study_options &= ~PCRE_STUDY_JIT_COMPILE; break;
+ case N_NOJIT: study_options &= ~PCRE_STUDY_JIT_COMPILE; break;
case 'c': count_only = TRUE; break;
case 'F': process_options |= PO_FIXED_STRINGS; break;
case 'H': filenames = FN_FORCE; break;
@@ -2586,14 +2586,14 @@ if (pattern_filename != NULL)
if (f != stdin) fclose(f);
}
-/* Study the regular expressions, as we will be running them many times. Unless
+/* 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. */
#ifdef SUPPORT_PCREGREP_JIT
if ((study_options & PCRE_STUDY_JIT_COMPILE) != 0)
jit_stack = pcre_jit_stack_alloc(32*1024, 1024*1024);
-#endif
-
+#endif
+
for (j = 0; j < pattern_count; j++)
{
hints_list[j] = pcre_study(pattern_list[j], study_options, &error);
@@ -2606,7 +2606,7 @@ for (j = 0; j < pattern_count; j++)
}
hint_count++;
#ifdef SUPPORT_PCREGREP_JIT
- if (jit_stack != NULL && hints_list[j] != NULL)
+ if (jit_stack != NULL && hints_list[j] != NULL)
pcre_assign_jit_stack(hints_list[j], NULL, jit_stack);
#endif
}