#ifdef debugging code

From-SVN: r33960
This commit is contained in:
Bruce Korb 2000-05-17 16:15:22 +00:00 committed by Bruce Korb
parent 9cb0bef59f
commit 5e36475b82
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
* fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
* fixinc/server.c: likewise * 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 * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
on C++ math namespace on C++ math namespace

View File

@ -403,11 +403,13 @@ FIX_PROC_HEAD( char_macro_def_fix )
compile_re (pz_pat, &re, 1, "macro pattern", "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) if ((rerr = regexec (&re, text, 3, rm, 0)) != 0)
{ {
fprintf( stderr, "Match error %d:\n%s\n", rerr, pz_pat ); fprintf( stderr, "Match error %d:\n%s\n", rerr, pz_pat );
exit(3); exit(3);
} }
#endif
free (pz_pat); free (pz_pat);