changeset 55811:d8ee27fc17e9

(print_partial_compiled_pattern): Add missing 'break' after 'case wordend'. For symbeg and symend, print to stderr, like the other cases.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 28 May 2004 22:28:09 +0000
parents b2e8aa96ff9d
children 093305d9b188
files src/regex.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.c	Fri May 28 21:58:31 2004 +0000
+++ b/src/regex.c	Fri May 28 22:28:09 2004 +0000
@@ -1096,13 +1096,14 @@
 
 	case wordend:
 	  fprintf (stderr, "/wordend");
+	  break;
 
 	case symbeg:
-	  printf ("/symbeg");
+	  fprintf (stderr, "/symbeg");
 	  break;
 
 	case symend:
-	  printf ("/symend");
+	  fprintf (stderr, "/symend");
 	  break;
 
 	case syntaxspec: