diff Python/ceval.c @ 4839:4567e158d20c legacy-trunk

Rename DEBUG macro to Py_DEBUG
author Guido van Rossum <guido@python.org>
date Mon, 30 Dec 1996 16:17:54 +0000
parents c42379e4653b
children 11bacb8d731a
line wrap: on
line diff
--- a/Python/ceval.c	Mon Dec 30 02:37:07 1996 +0000
+++ b/Python/ceval.c	Mon Dec 30 16:17:54 1996 +0000
@@ -51,7 +51,7 @@
 /* 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 @@
 #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 @@
 
 		/* Extract opcode and argument */
 
-#if defined(DEBUG) || defined(LLTRACE)
+#if defined(Py_DEBUG) || defined(LLTRACE)
 		f->f_lasti = INSTR_OFFSET();
 #endif