This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

#ifdef-ed fixinc debugging code




Index: fixfixes.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/fixinc/fixfixes.c,v
retrieving revision 1.24
diff -C3 -r1.24 fixfixes.c
*** fixfixes.c  2000/05/17 14:56:13     1.24
--- fixfixes.c  2000/05/17 16:16:11
***************
*** 403,413 ****
--- 403,415 ----

    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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]