#ifdef debugging code
From-SVN: r33960
This commit is contained in:
parent
9cb0bef59f
commit
5e36475b82
@ -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
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user