diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-21 04:28:38 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-21 04:28:38 (GMT) |
commit | 5f5153e8717d0de661e8b402ab0fd6859ebd0e5d (patch) | |
tree | 743b561ca5fe625a586a55edc4076df056a03919 /Python | |
parent | 58a7985465c7c6051c8487b0906c03555c2f8a7d (diff) | |
download | cpython-5f5153e8717d0de661e8b402ab0fd6859ebd0e5d.zip cpython-5f5153e8717d0de661e8b402ab0fd6859ebd0e5d.tar.gz cpython-5f5153e8717d0de661e8b402ab0fd6859ebd0e5d.tar.bz2 |
Fix some mods that got dropped from the AST merge
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index fdfe83e..9e16c6e 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 |