]> granicus.if.org Git - onig/commitdiff
fix STACK_EMPTY_CHECK_REC()
authorK.Kosako <kosako@sofnec.co.jp>
Wed, 28 Jun 2017 01:20:58 +0000 (10:20 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Wed, 28 Jun 2017 01:20:58 +0000 (10:20 +0900)
src/regexec.c

index 3cfb878fc5bff534732761586e4b555e029a28e5..cb358ff12bddecc8025c7e965faa67ba370ec615 100644 (file)
@@ -881,8 +881,8 @@ stack_double(int is_alloca, char** arg_alloc_base,
           (isnull) = (k->u.empty_check.pstr == (s));\
           break;\
         }\
-        else level--;\
       }\
+      level--;\
     }\
     else if (k->type == STK_EMPTY_CHECK_END) {\
       level++;\