Add missing PUSH(x) statements to the C code.

This commit is contained in:
Guido van Rossum 2002-02-12 05:04:30 +00:00
parent e74c220526
commit 12c98c195b
1 changed files with 3 additions and 0 deletions

View File

@ -440,6 +440,7 @@ FAQs
}
}
Py_INCREF(x);
PUSH(x);
continue;
We could even write it like this (idea courtesy of Ka-Ping Yee):
@ -449,6 +450,7 @@ FAQs
x = cell->cellptr->objptr;
if (x != NULL) {
Py_INCREF(x);
PUSH(x);
continue;
}
... error recovery ...
@ -467,6 +469,7 @@ FAQs
x = cell->objptr;
if (x != NULL) {
Py_INCREF(x);
PUSH(x);
continue;
}
... error recovery ...