summaryrefslogtreecommitdiffstats
path: root/Parser/parser.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-10-18 18:53:57 (GMT)
committerGuido van Rossum <guido@python.org>1992-10-18 18:53:57 (GMT)
commita9e7dc10816dcf5eda63d3ef00930ef9d55e0675 (patch)
tree5454bc7a52a71fe9639ec7f0cef856c413b25157 /Parser/parser.h
parent2db91358def94cf8081f27b736988320d14eba39 (diff)
downloadcpython-a9e7dc10816dcf5eda63d3ef00930ef9d55e0675.zip
cpython-a9e7dc10816dcf5eda63d3ef00930ef9d55e0675.tar.gz
cpython-a9e7dc10816dcf5eda63d3ef00930ef9d55e0675.tar.bz2
* bltinmodule.c: added built-in function cmp(a, b)
* flmodule.c: added {do,check}_only_forms to fl's list of functions; and don't print a message when an unknown object is returned. * pythonrun.c: catch SIGHUP and SIGTERM to do essential cleanup. * Made jpegmodule.c smaller by using getargs() and mkvalue() consistently. * Increased parser stack size to 500 in parser.h. * Implemented custom allocation of stack frames to frameobject.c and added dynamic stack overflow checks (value stack only) to ceval.c. (There seems to be a bug left: sometimes stack traces don't make sense.)
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 72aa927..2c0e327 100644
--- a/Parser/parser.h
+++ b/Parser/parser.h
@@ -24,7 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Parser interface */
-#define MAXSTACK 100
+#define MAXSTACK 500
typedef struct _stackentry {
int s_state; /* State in current DFA */