Set auto-possessify limit to 1000 from 10000 (to match the Changelog).

This commit is contained in:
Zoltán Herczeg 2015-04-01 13:56:11 +00:00
parent 2f265daed0
commit 9300cb6418
1 changed files with 2 additions and 2 deletions

View File

@ -1136,7 +1136,7 @@ for (;;)
get_chr_property_list(code, utf, cb->fcc, list) : NULL; get_chr_property_list(code, utf, cb->fcc, list) : NULL;
list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO; list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO;
rec_limit = 10000; rec_limit = 1000;
if (end != NULL && compare_opcodes(end, utf, cb, list, end, &rec_limit)) if (end != NULL && compare_opcodes(end, utf, cb, list, end, &rec_limit))
{ {
switch(c) switch(c)
@ -1193,7 +1193,7 @@ for (;;)
list[1] = (c & 1) == 0; list[1] = (c & 1) == 0;
rec_limit = 10000; rec_limit = 1000;
if (compare_opcodes(end, utf, cb, list, end, &rec_limit)) if (compare_opcodes(end, utf, cb, list, end, &rec_limit))
{ {
switch (c) switch (c)