aboutsummaryrefslogtreecommitdiffstats
path: root/regex/engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex/engine.c')
-rw-r--r--regex/engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex/engine.c b/regex/engine.c
index 069a473921c5..056be0c9786e 100644
--- a/regex/engine.c
+++ b/regex/engine.c
@@ -118,7 +118,7 @@ static char *pchar(int ch);
#ifdef REDEBUG
#define SP(t, s, c) print(m, t, s, c, stdout)
#define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2)
-#define NOTE(str) { if (m->eflags&REG_TRACE) printf("=%s\n", (str)); }
+#define NOTE(str) do { if (m->eflags&REG_TRACE) printf("=%s\n", (str)); } while(0);
#else
#define SP(t, s, c) /* nothing */
#define AT(t, p1, p2, s1, s2) /* nothing */