Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: print the pcre2_jit_on value
[gitweb.git]
/
grep.c
diff --git
a/grep.c
b/grep.c
index 4db1510d167c9fc3cc7b129c90aa874a4c7c2b0f..c2bce6c2c7b6160331c18dff7744b6e180e1d922 100644
(file)
--- a/
grep.c
+++ b/
grep.c
@@
-559,7
+559,7
@@
static void compile_pcre2_pattern(struct grep_pat *p, const struct grep_opt *opt
pcre2_jit_stack_assign(p->pcre2_match_context, NULL, p->pcre2_jit_stack);
} else if (p->pcre2_jit_on != 0) {
BUG("The pcre2_jit_on variable should be 0 or 1, not %d",
- p->pcre
1
_jit_on);
+ p->pcre
2
_jit_on);
}
}