From: Neal Norwitz Date: Fri, 21 Oct 2005 04:28:38 +0000 (+0000) Subject: Fix some mods that got dropped from the AST merge X-Git-Tag: v2.5a0~1271 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f5153e8717d0de661e8b402ab0fd6859ebd0e5d;p=thirdparty%2FPython%2Fcpython.git Fix some mods that got dropped from the AST merge --- diff --git a/Python/ceval.c b/Python/ceval.c index fdfe83e0e451..9e16c6ec6bc4 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -543,7 +543,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw) #ifdef LLTRACE int lltrace; #endif -#if defined(Py_DEBUG) +#if defined(Py_DEBUG) || defined(LLTRACE) /* Make it easier to find out where we are with a debugger */ char *filename; #endif @@ -745,7 +745,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw) #ifdef LLTRACE lltrace = PyDict_GetItemString(f->f_globals, "__lltrace__") != NULL; #endif -#if defined(Py_DEBUG) +#if defined(Py_DEBUG) || defined(LLTRACE) filename = PyString_AsString(co->co_filename); #endif