low-hanging fruit in Python/ - g++ still hates all the enum_kind declarations

in Python/Python-ast.c. Not sure what to do about those.
This commit is contained in:
Anthony Baxter 2006-04-11 07:43:46 +00:00
parent a62862120d
commit a863d334aa
4 changed files with 24 additions and 22 deletions

View file

@ -507,7 +507,7 @@ PyEval_EvalFrame(PyFrameObject *f) {
}
PyObject *
PyEval_EvalFrameEx(PyFrameObject *f, int throw)
PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
{
#ifdef DXPAIRS
int lastopcode = 0;
@ -756,7 +756,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw)
x = Py_None; /* Not a reference, just anything non-NULL */
w = NULL;
if (throw) { /* support for generator.throw() */
if (throwflag) { /* support for generator.throw() */
why = WHY_EXCEPTION;
goto on_error;
}