summaryrefslogtreecommitdiffstats
path: root/Parser/parser.h
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-02-23 12:01:13 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2008-02-23 12:01:13 (GMT)
commitfc2d01032fa4eb2d5563c2619811d05567faf528 (patch)
tree735d908f0418bacf869c516b8deb6b545f5cacba /Parser/parser.h
parent7832d4d534ff7105a0253694db734d5007b62e91 (diff)
downloadcpython-fc2d01032fa4eb2d5563c2619811d05567faf528.zip
cpython-fc2d01032fa4eb2d5563c2619811d05567faf528.tar.gz
cpython-fc2d01032fa4eb2d5563c2619811d05567faf528.tar.bz2
Issue 1881. Increased the stack limit from 500 to 1500. Also added
a test for this (and because of this test you'll see in stderr a message that parser.c sends before raising MemoryError). Thanks Ralf Schmitt.
Diffstat (limited to 'Parser/parser.h')
-rw-r--r--Parser/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/parser.h b/Parser/parser.h
index bdca3e9..403236d 100644
--- a/Parser/parser.h
+++ b/Parser/parser.h
@@ -7,7 +7,7 @@ extern "C" {
/* Parser interface */
-#define MAXSTACK 500
+#define MAXSTACK 1500
typedef struct {
int s_state; /* State in current DFA */