mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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)
|
||||
#define VTRACE(v) printf v
|
||||
#else
|
||||
#define VTRACE(v)
|
||||
#define VTRACE(v) do {} while(0) /* do nothing */
|
||||
#endif
|
||||
|
||||
/* Report failure */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue