From e2543b02bfdea10303a7067a772bab56702ff4f9 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 28 May 2004 22:28:09 +0000 Subject: [PATCH] (print_partial_compiled_pattern): Add missing 'break' after 'case wordend'. For symbeg and symend, print to stderr, like the other cases. --- src/regex.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/regex.c b/src/regex.c index 0c1343bf584..db69275c312 100644 --- a/src/regex.c +++ b/src/regex.c @@ -1096,13 +1096,14 @@ print_partial_compiled_pattern (start, end) case wordend: fprintf (stderr, "/wordend"); + break; case symbeg: - printf ("/symbeg"); + fprintf (stderr, "/symbeg"); break; case symend: - printf ("/symend"); + fprintf (stderr, "/symend"); break; case syntaxspec: -- 2.39.5