diff options
author | Guido van Rossum <guido@python.org> | 1996-12-30 16:17:54 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-30 16:17:54 +0000 |
commit | 408027ea4635de5c892b28c4fdf41840eb9089a4 (patch) | |
tree | 26a28bfbfa94697565ce4440da84772e2bb96acb /Python/ceval.c | |
parent | a0dc1c4a613f11e1b6e20fa25658823533ca201b (diff) | |
download | cpython-git-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.gz |
Rename DEBUG macro to Py_DEBUG
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 7b7fdf0ac5..816973f86a 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -51,7 +51,7 @@ PERFORMANCE OF THIS SOFTWARE. /* Turn this on if your compiler chokes on the big switch: */ /* #define CASE_TOO_BIG 1 */ -#ifdef DEBUG +#ifdef Py_DEBUG /* For debugging the interpreter: */ #define LLTRACE 1 /* Low-level trace feature */ #define CHECKEXC 1 /* Double-check exception checking */ @@ -339,7 +339,7 @@ eval_code2(co, globals, locals, #ifdef LLTRACE int lltrace; #endif -#if defined(DEBUG) || defined(LLTRACE) +#if defined(Py_DEBUG) || defined(LLTRACE) /* Make it easier to find out where we are with a debugger */ char *filename = getstringvalue(co->co_filename); #endif @@ -602,7 +602,7 @@ eval_code2(co, globals, locals, /* Extract opcode and argument */ -#if defined(DEBUG) || defined(LLTRACE) +#if defined(Py_DEBUG) || defined(LLTRACE) f->f_lasti = INSTR_OFFSET(); #endif |