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/pgen.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/pgen.c')
-rw-r--r-- | Parser/pgen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c index 0232a76..1827477 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c @@ -162,7 +162,7 @@ static char REQNFMT[] = "metacompile: less than %d children\n"; #define REQN(i, count) \ if (i < count) { \ fprintf(stderr, REQNFMT, count); \ - abort(); \ + fatal("REQN"); \ } else #else @@ -390,7 +390,7 @@ dumpnfa(ll, nf) /* PART TWO -- CONSTRUCT DFA -- Algorithm 3.1 from [Aho&Ullman 77] */ -static int +static void addclosure(ss, nf, istate) bitset ss; nfa *nf; @@ -628,7 +628,7 @@ simplify(xx_nstates, xx_state) ss_state *xx_state; { int changes; - int i, j, k; + int i, j; do { changes = 0; |