* parsermodule.c, Makefile, config.c: rudimentary interface to the Python

parser.
* mappingobject.c (lookmapping): 'freeslot' was never used due to a bug in
  the code.
This commit is contained in:
Guido van Rossum 1993-11-10 12:53:24 +00:00
parent a3d78fb268
commit 52f2c05401
4 changed files with 117 additions and 2 deletions

View file

@ -147,7 +147,7 @@ lookmapping(mp, key, hash)
return ep;
}
if (ep->me_key == dummy) {
if (freeslot != NULL)
if (freeslot == NULL)
freeslot = ep;
}
else if (ep->me_hash == hash &&

View file

@ -147,7 +147,7 @@ lookmapping(mp, key, hash)
return ep;
}
if (ep->me_key == dummy) {
if (freeslot != NULL)
if (freeslot == NULL)
freeslot = ep;
}
else if (ep->me_hash == hash &&