#ifdef debugging code
authorBruce Korb <bkorb@gnu.org>
Wed, 17 May 2000 16:15:22 +0000 (16:15 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Wed, 17 May 2000 16:15:22 +0000 (16:15 +0000)
From-SVN: r33960

gcc/ChangeLog
gcc/fixinc/fixfixes.c

index 3f9fd2d0a6e263303b0cb9540b4d9f3917095e3d..f3e232b77e1f5745fbd3356db1fa8cb8c796e109 100644 (file)
@@ -7,7 +7,7 @@
 
        * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
        * fixinc/server.c: likewise
-       * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
+       * fixinc/fixfixes.c( char_macro_def_fix ): fix regex + #ifdef debugging code
        * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
        on C++ math namespace
 
index 1652e183fa712078e45045a574257e45a37c5add..68ce22729bf00d4f32597fc66a6754505feff1db 100644 (file)
@@ -403,11 +403,13 @@ FIX_PROC_HEAD( char_macro_def_fix )
 
   compile_re (pz_pat, &re, 1, "macro pattern", "char_macro_def_fix");
 
+#ifdef DEBUG
   if ((rerr = regexec (&re, text, 3, rm, 0)) != 0)
     {
       fprintf( stderr, "Match error %d:\n%s\n", rerr, pz_pat );
       exit(3);
     }
+#endif
 
   free (pz_pat);