]> granicus.if.org Git - onig/commitdiff
reduce CHECK_TRY_IN_MATCH_LIMIT points
authorK.Kosako <kosako@sofnec.co.jp>
Mon, 29 Jan 2018 05:52:44 +0000 (14:52 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Mon, 29 Jan 2018 05:52:44 +0000 (14:52 +0900)
src/regexec.c

index f34d0d5352df517817d594226f1736e3dd5400fa..bcb7235b413a9ada9c85282dcd0aa1cb76ef4022 100644 (file)
@@ -3238,7 +3238,6 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
         p = stkp->u.repeat.pcode;
       }
       STACK_PUSH_REPEAT_INC(si);
-      CHECK_TRY_IN_MATCH_LIMIT;
       SOP_OUT;
       CHECK_INTERRUPT_IN_MATCH;
       continue;
@@ -3273,7 +3272,6 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
       else if (stkp->u.repeat.count == reg->repeat_range[mem].upper) {
         STACK_PUSH_REPEAT_INC(si);
       }
-      CHECK_TRY_IN_MATCH_LIMIT;
       SOP_OUT;
       CHECK_INTERRUPT_IN_MATCH;
       continue;