[Python-checkins] python/dist/src/Python ceval.c,2.314.2.1,2.314.2.2
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Mon, 21 Oct 2002 14:28:27 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv24094/Python
Modified Files:
Tag: ast-branch
ceval.c
Log Message:
Py_DEBUG defines LLTRACE. So defined(Py_DEBUG) implies defined(LLTRACE).
Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.314.2.1
retrieving revision 2.314.2.2
diff -C2 -d -r2.314.2.1 -r2.314.2.2
*** ceval.c 9 Jul 2002 13:22:01 -0000 2.314.2.1
--- ceval.c 21 Oct 2002 21:28:25 -0000 2.314.2.2
***************
*** 517,521 ****
int lltrace;
#endif
! #if defined(Py_DEBUG) || defined(LLTRACE)
/* Make it easier to find out where we are with a debugger */
char *filename;
--- 517,521 ----
int lltrace;
#endif
! #if defined(Py_DEBUG)
/* Make it easier to find out where we are with a debugger */
char *filename;
***************
*** 630,636 ****
#ifdef LLTRACE
! lltrace = PyDict_GetItemString(f->f_globals,"__lltrace__") != NULL;
#endif
! #if defined(Py_DEBUG) || defined(LLTRACE)
filename = PyString_AsString(co->co_filename);
#endif
--- 630,636 ----
#ifdef LLTRACE
! lltrace = PyDict_GetItemString(f->f_globals, "__lltrace__") != NULL;
#endif
! #if defined(Py_DEBUG)
filename = PyString_AsString(co->co_filename);
#endif
***************
*** 691,695 ****
/* Extract opcode and argument */
! #if defined(Py_DEBUG) || defined(LLTRACE)
f->f_lasti = INSTR_OFFSET();
#endif
--- 691,695 ----
/* Extract opcode and argument */
! #if defined(Py_DEBUG)
f->f_lasti = INSTR_OFFSET();
#endif