diff options
author | Guido van Rossum <guido@python.org> | 1995-03-29 16:57:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-29 16:57:48 (GMT) |
commit | 6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d (patch) | |
tree | 0d7aa77f255a4660ce7792da77f84d7441fbafaa /Python | |
parent | 07432c0ef60635739151160f626d222bed45cf2c (diff) | |
download | cpython-6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d.zip cpython-6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d.tar.gz cpython-6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d.tar.bz2 |
fix dusty debugging macros
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 2 | ||||
-rw-r--r-- | Python/pythonrun.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 041ae4d..3fa03c0 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -288,7 +288,7 @@ eval_code(co, globals, locals, owner, arg) #ifdef LLTRACE int lltrace; #endif -#ifdef DEBUG +#if defined( DEBUG ) || defined( LLTRACE ) /* Make it easier to find out where we are with dbx */ char *filename = getstringvalue(co->co_filename); #endif diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 96f385f..734b72b 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -155,7 +155,7 @@ run_tty_loop(fp, filename) for (;;) { ret = run_tty_1(fp, filename); #ifdef REF_DEBUG - fprintf(stderr, "[%ld refs]\n", ref_total); + fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); #endif if (ret == E_EOF) return 0; @@ -664,7 +664,7 @@ goaway(sts) err_clear(); #ifdef REF_DEBUG - fprintf(stderr, "[%ld refs]\n", ref_total); + fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); #endif #ifdef TRACE_REFS |