mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
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.
This commit is contained in:
commit
c6b4ef105e
1 changed files with 1 additions and 1 deletions
|
|
@ -2730,7 +2730,7 @@ _compile(PyObject* self_, PyObject* args)
|
||||||
#if defined(VVERBOSE)
|
#if defined(VVERBOSE)
|
||||||
#define VTRACE(v) printf v
|
#define VTRACE(v) printf v
|
||||||
#else
|
#else
|
||||||
#define VTRACE(v)
|
#define VTRACE(v) do {} while(0) /* do nothing */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Report failure */
|
/* Report failure */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue