[Python-checkins] cpython (merge 3.2 -> default): default - Fix closes Issue 12604 - Use a proper no-op macro expansion for
senthil.kumaran
python-checkins at python.org
Wed Oct 19 20:17:17 CEST 2011
http://hg.python.org/cpython/rev/847afc310190
changeset: 72996:847afc310190
parent: 72993:55318658e1be
parent: 72995:ab028084f704
user: Senthil Kumaran <senthil at uthcode.com>
date: Thu Oct 20 02:16:59 2011 +0800
summary:
default - Fix closes Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
Patch by Petri Lehtinen and Josh Triplett.
files:
Modules/_sre.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_sre.c b/Modules/_sre.c
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -2730,7 +2730,7 @@
#if defined(VVERBOSE)
#define VTRACE(v) printf v
#else
-#define VTRACE(v)
+#define VTRACE(v) do {} while(0) /* do nothing */
#endif
/* Report failure */
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list