summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-08-07 21:02:50 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-08-07 21:02:50 (GMT)
commit0d15908629647f9c9a027c89db74b411e90380c1 (patch)
tree6dad318c2989c532b0eb9b30c9f6d0dcc7737a07
parent275abb3f1b66d891e760c59961e7dac13646e83f (diff)
downloadcpython-0d15908629647f9c9a027c89db74b411e90380c1.zip
cpython-0d15908629647f9c9a027c89db74b411e90380c1.tar.gz
cpython-0d15908629647f9c9a027c89db74b411e90380c1.tar.bz2
Added a missing } in the USE_STACKCHECK code.
-rw-r--r--Modules/_sre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index fb8fc2a..a0e284d 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -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)