]> granicus.if.org Git - onig/commitdiff
Invalidate PR #43 partially for Issue #61
authorK.Kosako <kosako@sofnec.co.jp>
Wed, 31 May 2017 09:01:53 +0000 (18:01 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Wed, 31 May 2017 09:03:42 +0000 (18:03 +0900)
src/regcomp.c

index 0e9a9ab38c0a7f5007e4823bc5cfbd59b0488bf6..29a443d2437c3b0df86fa961a0e89c0fed88569d 100644 (file)
@@ -3865,10 +3865,12 @@ setup_tree(Node* node, regex_t* reg, int state, ScanEnv* env)
         }
         if (IS_ENCLOSE_CALLED(en))
           state |= IN_CALL;
+#if 0
         if (IS_ENCLOSE_RECURSION(en))
           state |= IN_RECCALL;
         else if ((state & IN_RECCALL) != 0)
           SET_CALL_RECURSION(node);
+#endif
         r = setup_tree(en->target, reg, state, env);
         break;