diff options
author | Guido van Rossum <guido@python.org> | 1994-12-30 15:46:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-12-30 15:46:02 (GMT) |
commit | 588633daa2fe7276ae4b0c99723094add0d965ff (patch) | |
tree | 531b98a64c67825f81af62a682cacc29707b4b6a /Parser/parser.c | |
parent | 66cb311fba7e824f11964090bce8b6b91f00d2e4 (diff) | |
download | cpython-588633daa2fe7276ae4b0c99723094add0d965ff.zip cpython-588633daa2fe7276ae4b0c99723094add0d965ff.tar.gz cpython-588633daa2fe7276ae4b0c99723094add0d965ff.tar.bz2 |
Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing;
rest: abort() -> fatal(); small things
Diffstat (limited to 'Parser/parser.c')
-rw-r--r-- | Parser/parser.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Parser/parser.c b/Parser/parser.c index 9167a9d..1b11801 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -86,10 +86,8 @@ static void s_pop(s) register stack *s; { - if (s_empty(s)) { - fprintf(stderr, "s_pop: parser stack underflow -- FATAL\n"); - abort(); - } + if (s_empty(s)) + fatal("s_pop: parser stack underflow -- FATAL"); s->s_top++; } |