]> granicus.if.org Git - python/commitdiff
Added a missing } in the USE_STACKCHECK code.
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 7 Aug 2000 21:02:50 +0000 (21:02 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 7 Aug 2000 21:02:50 +0000 (21:02 +0000)
Modules/_sre.c

index fb8fc2a64e1fff70b8de57825ece2d808cfb71f9..a0e284dd176e8e188a95787d97c04ebf8e7c6ed5 100644 (file)
@@ -570,6 +570,7 @@ SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern, int level)
 #if defined(USE_STACKCHECK)
     if (level % 10 == 0 && PyOS_CheckStack()) {
         return SRE_ERROR_RECURSION_LIMIT;
+    }
 #endif
 
 #if defined(USE_RECURSION_LIMIT)