0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Parser
Guido van Rossum e3c3b27d33 Fix a bug in stack overflow error handling. This fixes half of Bug
#115555.

The error from s_push() on stack overflow was -1, which was passed
through unchanged by push(), but not tested for by push()'s caller --
which only expected positive error codes.  Fixed by changing s_push()
to return E_NOMEM on stack overflow.  (Not quite the proper error code
either, but I can't be bothered adding a new E_STACKOVERFLOW error
code in all the right places.)
2000-10-02 10:21:59 +00:00
..
.cvsignore
acceler.c
assert.h
bitset.c
firstsets.c
grammar1.c
grammar.c
intrcheck.c
listnode.c
Makefile.in
metagrammar.c
myreadline.c
node.c More limits.h stuff in node.c. 2000-09-26 06:11:54 +00:00
parser.c Fix a bug in stack overflow error handling. This fixes half of Bug 2000-10-02 10:21:59 +00:00
parser.h
parsetok.c
pgen.c
pgen.h
pgenmain.c
printgrammar.c
tokenizer.c
tokenizer.h