diff options
author | Guido van Rossum <guido@python.org> | 1996-12-30 16:17:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-30 16:17:54 (GMT) |
commit | 408027ea4635de5c892b28c4fdf41840eb9089a4 (patch) | |
tree | 26a28bfbfa94697565ce4440da84772e2bb96acb /Parser/parser.c | |
parent | a0dc1c4a613f11e1b6e20fa25658823533ca201b (diff) | |
download | cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.zip cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.gz cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.bz2 |
Rename DEBUG macro to Py_DEBUG
Diffstat (limited to 'Parser/parser.c')
-rw-r--r-- | Parser/parser.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Parser/parser.c b/Parser/parser.c index e6fc180..e42fb11 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -44,7 +44,7 @@ PERFORMANCE OF THIS SOFTWARE. #include "errcode.h" -#ifdef DEBUG +#ifdef Py_DEBUG extern int debugging; #define D(x) if (!debugging); else x #else @@ -85,7 +85,7 @@ s_push(s, d, parent) return 0; } -#ifdef DEBUG +#ifdef Py_DEBUG static void s_pop PROTO((stack *)); @@ -98,7 +98,7 @@ s_pop(s) s->s_top++; } -#else /* !DEBUG */ +#else /* !Py_DEBUG */ #define s_pop(s) (s)->s_top++ @@ -309,7 +309,7 @@ addtoken(ps, type, str, lineno) } -#ifdef DEBUG +#ifdef Py_DEBUG /* DEBUG OUTPUT */ @@ -379,7 +379,7 @@ printtree(ps) printf("\n"); } -#endif /* DEBUG */ +#endif /* Py_DEBUG */ /* |